gogol-apps-reseller-0.1.1: 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.Activate

Contents

Description

Activates a subscription previously suspended by the reseller

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

Synopsis

REST Resource

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

A resource alias for reseller.subscriptions.activate method which the SubscriptionsActivate request conforms to.

Creating a Request

subscriptionsActivate Source #

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

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

data SubscriptionsActivate Source #

Activates a subscription previously suspended by the reseller

See: subscriptionsActivate smart constructor.

Instances

Eq SubscriptionsActivate Source # 
Data SubscriptionsActivate Source # 

Methods

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

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

toConstr :: SubscriptionsActivate -> Constr #

dataTypeOf :: SubscriptionsActivate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionsActivate Source # 
Generic SubscriptionsActivate Source # 
GoogleRequest SubscriptionsActivate Source # 
type Rep SubscriptionsActivate Source # 
type Rep SubscriptionsActivate = D1 (MetaData "SubscriptionsActivate" "Network.Google.Resource.Reseller.Subscriptions.Activate" "gogol-apps-reseller-0.1.1-7FDt0pLj6b48adpqi1YUwx" False) (C1 (MetaCons "SubscriptionsActivate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_saCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_saSubscriptionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SubscriptionsActivate Source # 
type Scopes SubscriptionsActivate = (:) Symbol "https://www.googleapis.com/auth/apps.order" ([] Symbol)
type Rs SubscriptionsActivate Source # 

Request Lenses

saSubscriptionId :: Lens' SubscriptionsActivate Text Source #

Id of the subscription, which is unique for a customer