{-# 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.AdExchangeBuyer.Accounts.List
(
AccountsListResource
, accountsList'
, AccountsList'
) where
import Network.Google.AdExchangeBuyer.Types
import Network.Google.Prelude
type AccountsListResource =
"adexchangebuyer" :>
"v1.4" :>
"accounts" :>
QueryParam "alt" AltJSON :> Get '[JSON] AccountsList
data AccountsList' =
AccountsList''
deriving (Eq,Show,Data,Typeable,Generic)
accountsList'
:: AccountsList'
accountsList' = AccountsList''
instance GoogleRequest AccountsList' where
type Rs AccountsList' = AccountsList
type Scopes AccountsList' =
'["https://www.googleapis.com/auth/adexchange.buyer"]
requestClient AccountsList''{}
= go (Just AltJSON) adExchangeBuyerService
where go
= buildClient (Proxy :: Proxy AccountsListResource)
mempty