gogol-android-enterprise-0.4.0: Google Play EMM 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.AndroidEnterprise.Enterprises.Enroll

Contents

Description

Enrolls an enterprise with the calling EMM.

See: Google Play EMM API Reference for androidenterprise.enterprises.enroll.

Synopsis

REST Resource

type EnterprisesEnrollResource = "androidenterprise" :> ("v1" :> ("enterprises" :> ("enroll" :> (QueryParam "token" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Enterprise :> Post '[JSON] Enterprise)))))) Source #

A resource alias for androidenterprise.enterprises.enroll method which the EnterprisesEnroll request conforms to.

Creating a Request

enterprisesEnroll Source #

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

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

data EnterprisesEnroll Source #

Enrolls an enterprise with the calling EMM.

See: enterprisesEnroll smart constructor.

Instances
Eq EnterprisesEnroll Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll

Data EnterprisesEnroll Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll

Methods

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

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

toConstr :: EnterprisesEnroll -> Constr #

dataTypeOf :: EnterprisesEnroll -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesEnroll Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll

Generic EnterprisesEnroll Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll

Associated Types

type Rep EnterprisesEnroll :: Type -> Type #

GoogleRequest EnterprisesEnroll Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll

Associated Types

type Rs EnterprisesEnroll :: Type #

type Scopes EnterprisesEnroll :: [Symbol] #

type Rep EnterprisesEnroll Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll

type Rep EnterprisesEnroll = D1 (MetaData "EnterprisesEnroll" "Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "EnterprisesEnroll'" PrefixI True) (S1 (MetaSel (Just "_eeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_eePayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Enterprise)))
type Scopes EnterprisesEnroll Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll

type Scopes EnterprisesEnroll = "https://www.googleapis.com/auth/androidenterprise" ': ([] :: [Symbol])
type Rs EnterprisesEnroll Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll

Request Lenses

eeToken :: Lens' EnterprisesEnroll Text Source #

The token provided by the enterprise to register the EMM.

eePayload :: Lens' EnterprisesEnroll Enterprise Source #

Multipart request metadata.