gogol-apps-reseller-0.3.0: Google Enterprise Apps Reseller SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Reseller.Subscriptions.Suspend

Contents

Description

Suspends an active subscription

See: Enterprise Apps Reseller API Reference for reseller.subscriptions.suspend.

Synopsis

REST Resource

type SubscriptionsSuspendResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("suspend" :> (QueryParam "alt" AltJSON :> Post '[JSON] Subscription)))))))) Source #

A resource alias for reseller.subscriptions.suspend method which the SubscriptionsSuspend request conforms to.

Creating a Request

subscriptionsSuspend Source #

Creates a value of SubscriptionsSuspend with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SubscriptionsSuspend Source #

Suspends an active subscription

See: subscriptionsSuspend smart constructor.

Instances

Eq SubscriptionsSuspend Source # 
Data SubscriptionsSuspend Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SubscriptionsSuspend -> c SubscriptionsSuspend #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SubscriptionsSuspend #

toConstr :: SubscriptionsSuspend -> Constr #

dataTypeOf :: SubscriptionsSuspend -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SubscriptionsSuspend) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SubscriptionsSuspend) #

gmapT :: (forall b. Data b => b -> b) -> SubscriptionsSuspend -> SubscriptionsSuspend #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SubscriptionsSuspend -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SubscriptionsSuspend -> r #

gmapQ :: (forall d. Data d => d -> u) -> SubscriptionsSuspend -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SubscriptionsSuspend -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SubscriptionsSuspend -> m SubscriptionsSuspend #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SubscriptionsSuspend -> m SubscriptionsSuspend #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SubscriptionsSuspend -> m SubscriptionsSuspend #

Show SubscriptionsSuspend Source # 
Generic SubscriptionsSuspend Source # 
GoogleRequest SubscriptionsSuspend Source # 
type Rep SubscriptionsSuspend Source # 
type Rep SubscriptionsSuspend = D1 (MetaData "SubscriptionsSuspend" "Network.Google.Resource.Reseller.Subscriptions.Suspend" "gogol-apps-reseller-0.3.0-ELCuCD0vJLJA2WA0esmS4u" False) (C1 (MetaCons "SubscriptionsSuspend'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ssCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ssSubscriptionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SubscriptionsSuspend Source # 
type Scopes SubscriptionsSuspend = (:) Symbol "https://www.googleapis.com/auth/apps.order" ([] Symbol)
type Rs SubscriptionsSuspend Source # 

Request Lenses

ssSubscriptionId :: Lens' SubscriptionsSuspend Text Source #

Id of the subscription, which is unique for a customer