gogol-android-enterprise-0.3.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.Entitlements.Get

Contents

Description

Retrieves details of an entitlement.

See: Google Play EMM API Reference for androidenterprise.entitlements.get.

Synopsis

REST Resource

type EntitlementsGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("entitlements" :> (Capture "entitlementId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Entitlement)))))))) Source #

A resource alias for androidenterprise.entitlements.get method which the EntitlementsGet request conforms to.

Creating a Request

entitlementsGet Source #

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

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

data EntitlementsGet Source #

Retrieves details of an entitlement.

See: entitlementsGet smart constructor.

Instances

Eq EntitlementsGet Source # 
Data EntitlementsGet Source # 

Methods

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

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

toConstr :: EntitlementsGet -> Constr #

dataTypeOf :: EntitlementsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EntitlementsGet Source # 
Generic EntitlementsGet Source # 
GoogleRequest EntitlementsGet Source # 
type Rep EntitlementsGet Source # 
type Rep EntitlementsGet = D1 (MetaData "EntitlementsGet" "Network.Google.Resource.AndroidEnterprise.Entitlements.Get" "gogol-android-enterprise-0.3.0-CY7ecx5snBQ31L6me2CTsO" False) (C1 (MetaCons "EntitlementsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_egEntitlementId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_egEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_egUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes EntitlementsGet Source # 
type Scopes EntitlementsGet = (:) Symbol "https://www.googleapis.com/auth/androidenterprise" ([] Symbol)
type Rs EntitlementsGet Source # 

Request Lenses

egEntitlementId :: Lens' EntitlementsGet Text Source #

The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".

egEnterpriseId :: Lens' EntitlementsGet Text Source #

The ID of the enterprise.

egUserId :: Lens' EntitlementsGet Text Source #

The ID of the user.