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.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 # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Entitlements.Get

Data EntitlementsGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Entitlements.Get

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 # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Entitlements.Get

Generic EntitlementsGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Entitlements.Get

Associated Types

type Rep EntitlementsGet :: Type -> Type #

GoogleRequest EntitlementsGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Entitlements.Get

Associated Types

type Rs EntitlementsGet :: Type #

type Scopes EntitlementsGet :: [Symbol] #

type Rep EntitlementsGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Entitlements.Get

type Rep EntitlementsGet = D1 (MetaData "EntitlementsGet" "Network.Google.Resource.AndroidEnterprise.Entitlements.Get" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "EntitlementsGet'" PrefixI True) (S1 (MetaSel (Just "_egEntitlementId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_egEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_egUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes EntitlementsGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Entitlements.Get

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

Defined in Network.Google.Resource.AndroidEnterprise.Entitlements.Get

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.