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.AppsReseller.Types

Contents

Description

 

Synopsis

Service Configuration

appsResellerService :: ServiceConfig Source #

Default request referring to version v1 of the Enterprise Apps Reseller API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

appsOrderReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/apps.order.readonly"] Source #

Manage users on your domain

appsOrderScope :: Proxy '["https://www.googleapis.com/auth/apps.order"] Source #

Manage users on your domain

SubscriptionTrialSettings

data SubscriptionTrialSettings Source #

Trial Settings of the subscription.

See: subscriptionTrialSettings smart constructor.

Instances

Eq SubscriptionTrialSettings Source # 
Data SubscriptionTrialSettings Source # 

Methods

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

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

toConstr :: SubscriptionTrialSettings -> Constr #

dataTypeOf :: SubscriptionTrialSettings -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionTrialSettings Source # 
Generic SubscriptionTrialSettings Source # 
ToJSON SubscriptionTrialSettings Source # 
FromJSON SubscriptionTrialSettings Source # 
type Rep SubscriptionTrialSettings Source # 
type Rep SubscriptionTrialSettings = D1 (MetaData "SubscriptionTrialSettings" "Network.Google.AppsReseller.Types.Product" "gogol-apps-reseller-0.2.0-JlDPhzPDTwcOUIy0DvIMP" False) (C1 (MetaCons "SubscriptionTrialSettings'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_stsIsInTrial") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_stsTrialEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))

subscriptionTrialSettings :: SubscriptionTrialSettings Source #

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

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

stsIsInTrial :: Lens' SubscriptionTrialSettings (Maybe Bool) Source #

Whether the subscription is in trial.

stsTrialEndTime :: Lens' SubscriptionTrialSettings (Maybe Int64) Source #

End time of the trial in milliseconds since Unix epoch.

Address

data Address Source #

JSON template for address of a customer.

See: address smart constructor.

Instances

Eq Address Source # 

Methods

(==) :: Address -> Address -> Bool #

(/=) :: Address -> Address -> Bool #

Data Address Source # 

Methods

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

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

toConstr :: Address -> Constr #

dataTypeOf :: Address -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Address Source # 
Generic Address Source # 

Associated Types

type Rep Address :: * -> * #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

ToJSON Address Source # 
FromJSON Address Source # 
type Rep Address Source # 

address :: Address Source #

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

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

aOrganizationName :: Lens' Address (Maybe Text) Source #

Name of the organization.

aKind :: Lens' Address Text Source #

Identifies the resource as a customer address.

aPostalCode :: Lens' Address (Maybe Text) Source #

The postal code. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.

aAddressLine1 :: Lens' Address (Maybe Text) Source #

Address line 1 of the address.

aLocality :: Lens' Address (Maybe Text) Source #

Name of the locality. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.

aContactName :: Lens' Address (Maybe Text) Source #

Name of the contact person.

aAddressLine2 :: Lens' Address (Maybe Text) Source #

Address line 2 of the address.

aCountryCode :: Lens' Address (Maybe Text) Source #

ISO 3166 country code.

aRegion :: Lens' Address (Maybe Text) Source #

Name of the region. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.

aAddressLine3 :: Lens' Address (Maybe Text) Source #

Address line 3 of the address.

Customer

data Customer Source #

JSON template for a customer.

See: customer smart constructor.

Instances

Eq Customer Source # 
Data Customer Source # 

Methods

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

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

toConstr :: Customer -> Constr #

dataTypeOf :: Customer -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Customer Source # 
Generic Customer Source # 

Associated Types

type Rep Customer :: * -> * #

Methods

from :: Customer -> Rep Customer x #

to :: Rep Customer x -> Customer #

ToJSON Customer Source # 
FromJSON Customer Source # 
type Rep Customer Source # 

customer :: Customer Source #

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

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

cCustomerDomainVerified :: Lens' Customer (Maybe Bool) Source #

Whether the customer's primary domain has been verified.

cResourceUiURL :: Lens' Customer (Maybe Text) Source #

Ui url for customer resource.

cKind :: Lens' Customer Text Source #

Identifies the resource as a customer.

cCustomerId :: Lens' Customer (Maybe Text) Source #

The id of the customer.

cAlternateEmail :: Lens' Customer (Maybe Text) Source #

The alternate email of the customer.

cCustomerDomain :: Lens' Customer (Maybe Text) Source #

The domain name of the customer.

cPhoneNumber :: Lens' Customer (Maybe Text) Source #

The phone number of the customer.

cPostalAddress :: Lens' Customer (Maybe Address) Source #

The postal address of the customer.

ChangePlanRequest

data ChangePlanRequest Source #

JSON template for the ChangePlan rpc request.

See: changePlanRequest smart constructor.

Instances

Eq ChangePlanRequest Source # 
Data ChangePlanRequest Source # 

Methods

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

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

toConstr :: ChangePlanRequest -> Constr #

dataTypeOf :: ChangePlanRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ChangePlanRequest Source # 
Generic ChangePlanRequest Source # 
ToJSON ChangePlanRequest Source # 
FromJSON ChangePlanRequest Source # 
type Rep ChangePlanRequest Source # 
type Rep ChangePlanRequest = D1 (MetaData "ChangePlanRequest" "Network.Google.AppsReseller.Types.Product" "gogol-apps-reseller-0.2.0-JlDPhzPDTwcOUIy0DvIMP" False) (C1 (MetaCons "ChangePlanRequest'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cprKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cprDealCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cprPlanName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cprPurchaseOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cprSeats") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Seats)))))))

changePlanRequest :: ChangePlanRequest Source #

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

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

cprKind :: Lens' ChangePlanRequest Text Source #

Identifies the resource as a subscription change plan request.

cprDealCode :: Lens' ChangePlanRequest (Maybe Text) Source #

External name of the deal code applicable for the subscription. This field is optional. If missing, the deal price plan won't be used.

cprPlanName :: Lens' ChangePlanRequest (Maybe Text) Source #

Name of the plan to change to.

cprPurchaseOrderId :: Lens' ChangePlanRequest (Maybe Text) Source #

Purchase order id for your order tracking purposes.

cprSeats :: Lens' ChangePlanRequest (Maybe Seats) Source #

Number/Limit of seats in the new plan.

SubscriptionPlanCommitmentInterval

data SubscriptionPlanCommitmentInterval Source #

Interval of the commitment if it is a commitment plan.

See: subscriptionPlanCommitmentInterval smart constructor.

Instances

Eq SubscriptionPlanCommitmentInterval Source # 
Data SubscriptionPlanCommitmentInterval Source # 

Methods

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

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

toConstr :: SubscriptionPlanCommitmentInterval -> Constr #

dataTypeOf :: SubscriptionPlanCommitmentInterval -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionPlanCommitmentInterval Source # 
Generic SubscriptionPlanCommitmentInterval Source # 
ToJSON SubscriptionPlanCommitmentInterval Source # 
FromJSON SubscriptionPlanCommitmentInterval Source # 
type Rep SubscriptionPlanCommitmentInterval Source # 
type Rep SubscriptionPlanCommitmentInterval = D1 (MetaData "SubscriptionPlanCommitmentInterval" "Network.Google.AppsReseller.Types.Product" "gogol-apps-reseller-0.2.0-JlDPhzPDTwcOUIy0DvIMP" False) (C1 (MetaCons "SubscriptionPlanCommitmentInterval'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_spciStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_spciEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))

subscriptionPlanCommitmentInterval :: SubscriptionPlanCommitmentInterval Source #

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

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

spciStartTime :: Lens' SubscriptionPlanCommitmentInterval (Maybe Int64) Source #

Start time of the commitment interval in milliseconds since Unix epoch.

spciEndTime :: Lens' SubscriptionPlanCommitmentInterval (Maybe Int64) Source #

End time of the commitment interval in milliseconds since Unix epoch.

SubscriptionsDeleteDeletionType

data SubscriptionsDeleteDeletionType Source #

Whether the subscription is to be fully cancelled or downgraded

Constructors

Cancel

cancel Cancels the subscription immediately

Downgrade

downgrade Downgrades a Google Apps for Business subscription to Google Apps

Suspend

suspend Suspends the subscriptions for 4 days before cancelling it

TransferToDirect

transfer_to_direct Transfers a subscription directly to Google

Instances

Enum SubscriptionsDeleteDeletionType Source # 
Eq SubscriptionsDeleteDeletionType Source # 
Data SubscriptionsDeleteDeletionType Source # 

Methods

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

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

toConstr :: SubscriptionsDeleteDeletionType -> Constr #

dataTypeOf :: SubscriptionsDeleteDeletionType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord SubscriptionsDeleteDeletionType Source # 
Read SubscriptionsDeleteDeletionType Source # 
Show SubscriptionsDeleteDeletionType Source # 
Generic SubscriptionsDeleteDeletionType Source # 
Hashable SubscriptionsDeleteDeletionType Source # 
ToJSON SubscriptionsDeleteDeletionType Source # 
FromJSON SubscriptionsDeleteDeletionType Source # 
FromHttpApiData SubscriptionsDeleteDeletionType Source # 
ToHttpApiData SubscriptionsDeleteDeletionType Source # 
type Rep SubscriptionsDeleteDeletionType Source # 
type Rep SubscriptionsDeleteDeletionType = D1 (MetaData "SubscriptionsDeleteDeletionType" "Network.Google.AppsReseller.Types.Sum" "gogol-apps-reseller-0.2.0-JlDPhzPDTwcOUIy0DvIMP" False) ((:+:) ((:+:) (C1 (MetaCons "Cancel" PrefixI False) U1) (C1 (MetaCons "Downgrade" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Suspend" PrefixI False) U1) (C1 (MetaCons "TransferToDirect" PrefixI False) U1)))

SubscriptionPlan

data SubscriptionPlan Source #

Plan details of the subscription

See: subscriptionPlan smart constructor.

Instances

Eq SubscriptionPlan Source # 
Data SubscriptionPlan Source # 

Methods

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

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

toConstr :: SubscriptionPlan -> Constr #

dataTypeOf :: SubscriptionPlan -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionPlan Source # 
Generic SubscriptionPlan Source # 
ToJSON SubscriptionPlan Source # 
FromJSON SubscriptionPlan Source # 
type Rep SubscriptionPlan Source # 
type Rep SubscriptionPlan = D1 (MetaData "SubscriptionPlan" "Network.Google.AppsReseller.Types.Product" "gogol-apps-reseller-0.2.0-JlDPhzPDTwcOUIy0DvIMP" False) (C1 (MetaCons "SubscriptionPlan'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_spCommitmentInterval") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SubscriptionPlanCommitmentInterval))) ((:*:) (S1 (MetaSel (Just Symbol "_spIsCommitmentPlan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_spPlanName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

subscriptionPlan :: SubscriptionPlan Source #

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

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

spCommitmentInterval :: Lens' SubscriptionPlan (Maybe SubscriptionPlanCommitmentInterval) Source #

Interval of the commitment if it is a commitment plan.

spIsCommitmentPlan :: Lens' SubscriptionPlan (Maybe Bool) Source #

Whether the plan is a commitment plan or not.

spPlanName :: Lens' SubscriptionPlan (Maybe Text) Source #

The plan name of this subscription's plan.

Subscriptions

data Subscriptions Source #

JSON template for a subscription list.

See: subscriptions smart constructor.

Instances

Eq Subscriptions Source # 
Data Subscriptions Source # 

Methods

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

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

toConstr :: Subscriptions -> Constr #

dataTypeOf :: Subscriptions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Subscriptions Source # 
Generic Subscriptions Source # 

Associated Types

type Rep Subscriptions :: * -> * #

ToJSON Subscriptions Source # 
FromJSON Subscriptions Source # 
type Rep Subscriptions Source # 
type Rep Subscriptions = D1 (MetaData "Subscriptions" "Network.Google.AppsReseller.Types.Product" "gogol-apps-reseller-0.2.0-JlDPhzPDTwcOUIy0DvIMP" False) (C1 (MetaCons "Subscriptions'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_sKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_sSubscriptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Subscription]))))))

subscriptions :: Subscriptions Source #

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

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

sNextPageToken :: Lens' Subscriptions (Maybe Text) Source #

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

sKind :: Lens' Subscriptions Text Source #

Identifies the resource as a collection of subscriptions.

sSubscriptions :: Lens' Subscriptions [Subscription] Source #

The subscriptions in this page of results.

Seats

data Seats Source #

JSON template for subscription seats.

See: seats smart constructor.

Instances

Eq Seats Source # 

Methods

(==) :: Seats -> Seats -> Bool #

(/=) :: Seats -> Seats -> Bool #

Data Seats Source # 

Methods

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

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

toConstr :: Seats -> Constr #

dataTypeOf :: Seats -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Seats Source # 

Methods

showsPrec :: Int -> Seats -> ShowS #

show :: Seats -> String #

showList :: [Seats] -> ShowS #

Generic Seats Source # 

Associated Types

type Rep Seats :: * -> * #

Methods

from :: Seats -> Rep Seats x #

to :: Rep Seats x -> Seats #

ToJSON Seats Source # 
FromJSON Seats Source # 
type Rep Seats Source # 
type Rep Seats = D1 (MetaData "Seats" "Network.Google.AppsReseller.Types.Product" "gogol-apps-reseller-0.2.0-JlDPhzPDTwcOUIy0DvIMP" False) (C1 (MetaCons "Seats'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_seaNumberOfSeats") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_seaMaximumNumberOfSeats") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) ((:*:) (S1 (MetaSel (Just Symbol "_seaLicensedNumberOfSeats") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_seaKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

seats :: Seats Source #

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

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

seaNumberOfSeats :: Lens' Seats (Maybe Int32) Source #

Number of seats to purchase. This is applicable only for a commitment plan.

seaMaximumNumberOfSeats :: Lens' Seats (Maybe Int32) Source #

Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.

seaLicensedNumberOfSeats :: Lens' Seats (Maybe Int32) Source #

Read-only field containing the current number of licensed seats for FLEXIBLE Google-Apps subscriptions and secondary subscriptions such as Google-Vault and Drive-storage.

seaKind :: Lens' Seats Text Source #

Identifies the resource as a subscription change plan request.

RenewalSettings

data RenewalSettings Source #

JSON template for a subscription renewal settings.

See: renewalSettings smart constructor.

Instances

Eq RenewalSettings Source # 
Data RenewalSettings Source # 

Methods

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

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

toConstr :: RenewalSettings -> Constr #

dataTypeOf :: RenewalSettings -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RenewalSettings Source # 
Generic RenewalSettings Source # 
ToJSON RenewalSettings Source # 
FromJSON RenewalSettings Source # 
type Rep RenewalSettings Source # 
type Rep RenewalSettings = D1 (MetaData "RenewalSettings" "Network.Google.AppsReseller.Types.Product" "gogol-apps-reseller-0.2.0-JlDPhzPDTwcOUIy0DvIMP" False) (C1 (MetaCons "RenewalSettings'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rsKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rsRenewalType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

renewalSettings :: RenewalSettings Source #

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

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

rsKind :: Lens' RenewalSettings Text Source #

Identifies the resource as a subscription renewal setting.

rsRenewalType :: Lens' RenewalSettings (Maybe Text) Source #

Subscription renewal type.

Subscription

data Subscription Source #

JSON template for a subscription.

See: subscription smart constructor.

Instances

Eq Subscription Source # 
Data Subscription Source # 

Methods

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

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

toConstr :: Subscription -> Constr #

dataTypeOf :: Subscription -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Subscription Source # 
Generic Subscription Source # 

Associated Types

type Rep Subscription :: * -> * #

ToJSON Subscription Source # 
FromJSON Subscription Source # 
type Rep Subscription Source # 
type Rep Subscription = D1 (MetaData "Subscription" "Network.Google.AppsReseller.Types.Product" "gogol-apps-reseller-0.2.0-JlDPhzPDTwcOUIy0DvIMP" False) (C1 (MetaCons "Subscription'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_subCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_subBillingMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_subStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_subTrialSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SubscriptionTrialSettings))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_subResourceUiURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_subKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_subSKUId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_subPlan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SubscriptionPlan)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_subDealCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_subCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_subCustomerDomain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_subSuspensionReasons") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_subTransferInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SubscriptionTransferInfo))) (S1 (MetaSel (Just Symbol "_subPurchaseOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_subSeats") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Seats))) ((:*:) (S1 (MetaSel (Just Symbol "_subRenewalSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RenewalSettings))) (S1 (MetaSel (Just Symbol "_subSubscriptionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))))

subCreationTime :: Lens' Subscription (Maybe Int64) Source #

Creation time of this subscription in milliseconds since Unix epoch.

subBillingMethod :: Lens' Subscription (Maybe Text) Source #

Billing method of this subscription.

subStatus :: Lens' Subscription (Maybe Text) Source #

Status of the subscription.

subResourceUiURL :: Lens' Subscription (Maybe Text) Source #

Ui url for subscription resource.

subKind :: Lens' Subscription Text Source #

Identifies the resource as a Subscription.

subSKUId :: Lens' Subscription (Maybe Text) Source #

Name of the sku for which this subscription is purchased.

subPlan :: Lens' Subscription (Maybe SubscriptionPlan) Source #

Plan details of the subscription

subDealCode :: Lens' Subscription (Maybe Text) Source #

External name of the deal, if this subscription was provisioned under one. Otherwise this field will be empty.

subCustomerId :: Lens' Subscription (Maybe Text) Source #

The id of the customer to whom the subscription belongs.

subCustomerDomain :: Lens' Subscription (Maybe Text) Source #

Primary domain name of the customer

subSuspensionReasons :: Lens' Subscription [Text] Source #

Read-only field containing an enumerable of all the current suspension reasons for a subscription. It is possible for a subscription to have many concurrent, overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all pending suspensions are removed. Possible options include: - PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the Google Apps Resold Terms of Services. - RENEWAL_WITH_TYPE_CANCEL - The customer's commitment ended and their service was cancelled at the end of their term. - RESELLER_INITIATED - A manual suspension invoked by a Reseller. - TRIAL_ENDED - The customer's trial expired without a plan selected. - OTHER - The customer is suspended for an internal Google reason (e.g. abuse or otherwise).

subTransferInfo :: Lens' Subscription (Maybe SubscriptionTransferInfo) Source #

Transfer related information for the subscription.

subPurchaseOrderId :: Lens' Subscription (Maybe Text) Source #

Purchase order id for your order tracking purposes.

subSeats :: Lens' Subscription (Maybe Seats) Source #

Number/Limit of seats in the new plan.

subRenewalSettings :: Lens' Subscription (Maybe RenewalSettings) Source #

Renewal settings of the subscription.

subSubscriptionId :: Lens' Subscription (Maybe Text) Source #

The id of the subscription.

SubscriptionTransferInfo

data SubscriptionTransferInfo Source #

Transfer related information for the subscription.

See: subscriptionTransferInfo smart constructor.

Instances

Eq SubscriptionTransferInfo Source # 
Data SubscriptionTransferInfo Source # 

Methods

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

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

toConstr :: SubscriptionTransferInfo -> Constr #

dataTypeOf :: SubscriptionTransferInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionTransferInfo Source # 
Generic SubscriptionTransferInfo Source # 
ToJSON SubscriptionTransferInfo Source # 
FromJSON SubscriptionTransferInfo Source # 
type Rep SubscriptionTransferInfo Source # 
type Rep SubscriptionTransferInfo = D1 (MetaData "SubscriptionTransferInfo" "Network.Google.AppsReseller.Types.Product" "gogol-apps-reseller-0.2.0-JlDPhzPDTwcOUIy0DvIMP" False) (C1 (MetaCons "SubscriptionTransferInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_stiTransferabilityExpirationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_stiMinimumTransferableSeats") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

subscriptionTransferInfo :: SubscriptionTransferInfo Source #

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

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

stiTransferabilityExpirationTime :: Lens' SubscriptionTransferInfo (Maybe Int64) Source #

Time when transfer token or intent to transfer will expire.