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.Collections.Insert

Contents

Description

Creates a new collection.

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

Synopsis

REST Resource

type CollectionsInsertResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Collection :> Post '[JSON] Collection)))))) Source #

A resource alias for androidenterprise.collections.insert method which the CollectionsInsert request conforms to.

Creating a Request

collectionsInsert Source #

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

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

data CollectionsInsert Source #

Creates a new collection.

See: collectionsInsert smart constructor.

Instances

Eq CollectionsInsert Source # 
Data CollectionsInsert Source # 

Methods

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

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

toConstr :: CollectionsInsert -> Constr #

dataTypeOf :: CollectionsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

ciEnterpriseId :: Lens' CollectionsInsert Text Source #

The ID of the enterprise.

ciPayload :: Lens' CollectionsInsert Collection Source #

Multipart request metadata.