gogol-apps-reseller-0.4.0: gen/Network/Google/Resource/Reseller/Resellernotify/Getwatchdetails.hs
{-# 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
-- Copyright : (c) 2015-2016 Brendan Hay
-- License : Mozilla Public License, v. 2.0.
-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Returns all the details of the watch corresponding to the reseller.
--
-- /See:/ <https://developers.google.com/google-apps/reseller/ Enterprise Apps Reseller API Reference> for @reseller.resellernotify.getwatchdetails@.
module Network.Google.Resource.Reseller.Resellernotify.Getwatchdetails
(
-- * REST Resource
ResellernotifyGetwatchdetailsResource
-- * Creating a Request
, resellernotifyGetwatchdetails
, ResellernotifyGetwatchdetails
) where
import Network.Google.AppsReseller.Types
import Network.Google.Prelude
-- | A resource alias for @reseller.resellernotify.getwatchdetails@ method which the
-- 'ResellernotifyGetwatchdetails' request conforms to.
type ResellernotifyGetwatchdetailsResource =
"apps" :>
"reseller" :>
"v1" :>
"resellernotify" :>
"getwatchdetails" :>
QueryParam "alt" AltJSON :>
Get '[JSON] ResellernotifyGetwatchdetailsResponse
-- | Returns all the details of the watch corresponding to the reseller.
--
-- /See:/ 'resellernotifyGetwatchdetails' smart constructor.
data ResellernotifyGetwatchdetails =
ResellernotifyGetwatchdetails'
deriving (Eq,Show,Data,Typeable,Generic)
-- | Creates a value of 'ResellernotifyGetwatchdetails' with the minimum fields required to make a request.
--
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