{-# 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.Reseller.Resellernotify.Getwatchdetails
(
ResellernotifyGetwatchdetailsResource
, resellernotifyGetwatchdetails
, ResellernotifyGetwatchdetails
) where
import Network.Google.AppsReseller.Types
import Network.Google.Prelude
type ResellernotifyGetwatchdetailsResource =
"apps" :>
"reseller" :>
"v1" :>
"resellernotify" :>
"getwatchdetails" :>
QueryParam "alt" AltJSON :>
Get '[JSON] ResellernotifyGetwatchdetailsResponse
data ResellernotifyGetwatchdetails =
ResellernotifyGetwatchdetails'
deriving (Eq,Show,Data,Typeable,Generic)
resellernotifyGetwatchdetails
:: ResellernotifyGetwatchdetails
resellernotifyGetwatchdetails = ResellernotifyGetwatchdetails'
instance GoogleRequest ResellernotifyGetwatchdetails
where
type Rs ResellernotifyGetwatchdetails =
ResellernotifyGetwatchdetailsResponse
type Scopes ResellernotifyGetwatchdetails =
'["https://www.googleapis.com/auth/apps.order",
"https://www.googleapis.com/auth/apps.order.readonly"]
requestClient ResellernotifyGetwatchdetails'{}
= go (Just AltJSON) appsResellerService
where go
= buildClient
(Proxy ::
Proxy ResellernotifyGetwatchdetailsResource)
mempty