gogol-android-enterprise-0.1.1: 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.Insert

Contents

Description

Establishes the binding between the EMM and an enterprise. This is now deprecated; use enroll instead.

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

Synopsis

REST Resource

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

A resource alias for androidenterprise.enterprises.insert method which the EnterprisesInsert request conforms to.

Creating a Request

enterprisesInsert Source #

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

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

data EnterprisesInsert Source #

Establishes the binding between the EMM and an enterprise. This is now deprecated; use enroll instead.

See: enterprisesInsert smart constructor.

Instances

Eq EnterprisesInsert Source # 
Data EnterprisesInsert Source # 

Methods

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

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

toConstr :: EnterprisesInsert -> Constr #

dataTypeOf :: EnterprisesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesInsert Source # 
Generic EnterprisesInsert Source # 
GoogleRequest EnterprisesInsert Source # 
type Rep EnterprisesInsert Source # 
type Rep EnterprisesInsert = D1 (MetaData "EnterprisesInsert" "Network.Google.Resource.AndroidEnterprise.Enterprises.Insert" "gogol-android-enterprise-0.1.1-2K85VOQSryw9Pbs20PQ0Qt" False) (C1 (MetaCons "EnterprisesInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_eiToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_eiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Enterprise))))
type Scopes EnterprisesInsert Source # 
type Scopes EnterprisesInsert = (:) Symbol "https://www.googleapis.com/auth/androidenterprise" ([] Symbol)
type Rs EnterprisesInsert Source # 

Request Lenses

eiToken :: Lens' EnterprisesInsert Text Source #

The token provided by the enterprise to register the EMM.

eiPayload :: Lens' EnterprisesInsert Enterprise Source #

Multipart request metadata.