gogol-apps-reseller-0.2.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.ChangeSeats

Contents

Description

Changes the seats configuration of a subscription

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

Synopsis

REST Resource

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

A resource alias for reseller.subscriptions.changeSeats method which the SubscriptionsChangeSeats request conforms to.

Creating a Request

subscriptionsChangeSeats Source #

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

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

data SubscriptionsChangeSeats Source #

Changes the seats configuration of a subscription

See: subscriptionsChangeSeats smart constructor.

Instances

Eq SubscriptionsChangeSeats Source # 
Data SubscriptionsChangeSeats Source # 

Methods

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

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

toConstr :: SubscriptionsChangeSeats -> Constr #

dataTypeOf :: SubscriptionsChangeSeats -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionsChangeSeats Source # 
Generic SubscriptionsChangeSeats Source # 
GoogleRequest SubscriptionsChangeSeats Source # 
type Rep SubscriptionsChangeSeats Source # 
type Rep SubscriptionsChangeSeats = D1 (MetaData "SubscriptionsChangeSeats" "Network.Google.Resource.Reseller.Subscriptions.ChangeSeats" "gogol-apps-reseller-0.2.0-JlDPhzPDTwcOUIy0DvIMP" False) (C1 (MetaCons "SubscriptionsChangeSeats'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_scsPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Seats)) ((:*:) (S1 (MetaSel (Just Symbol "_scsCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_scsSubscriptionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes SubscriptionsChangeSeats Source # 
type Scopes SubscriptionsChangeSeats = (:) Symbol "https://www.googleapis.com/auth/apps.order" ([] Symbol)
type Rs SubscriptionsChangeSeats Source # 

Request Lenses

scsPayload :: Lens' SubscriptionsChangeSeats Seats Source #

Multipart request metadata.

scsSubscriptionId :: Lens' SubscriptionsChangeSeats Text Source #

Id of the subscription, which is unique for a customer