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

Copyright(c) 2015 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 :: Service 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 :: OAuthScope Source

Manage users on your domain

appsOrderScope :: OAuthScope Source

Manage users on your domain

SubscriptionTrialSettings

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.

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

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:

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

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.

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

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

SubscriptionPlan

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

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.

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

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

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

subCustomerId :: Lens' Subscription (Maybe Text) Source

The id of the customer to whom the subscription belongs.

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

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.