{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Network.Google.Resource.Mirror.Subscriptions.List
(
SubscriptionsListResource
, subscriptionsList
, SubscriptionsList
) where
import Network.Google.Mirror.Types
import Network.Google.Prelude
type SubscriptionsListResource =
"mirror" :>
"v1" :>
"subscriptions" :>
QueryParam "alt" AltJSON :>
Get '[JSON] SubscriptionsListResponse
data SubscriptionsList =
SubscriptionsList'
deriving (Eq,Show,Data,Typeable,Generic)
subscriptionsList
:: SubscriptionsList
subscriptionsList = SubscriptionsList'
instance GoogleRequest SubscriptionsList where
type Rs SubscriptionsList = SubscriptionsListResponse
type Scopes SubscriptionsList =
'["https://www.googleapis.com/auth/glass.timeline"]
requestClient SubscriptionsList'{}
= go (Just AltJSON) mirrorService
where go
= buildClient
(Proxy :: Proxy SubscriptionsListResource)
mempty