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.Devices.Get

Contents

Description

Retrieves the details of a device.

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

Synopsis

REST Resource

type DevicesGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("devices" :> (Capture "deviceId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Device)))))))) Source #

A resource alias for androidenterprise.devices.get method which the DevicesGet request conforms to.

Creating a Request

devicesGet Source #

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

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

data DevicesGet Source #

Retrieves the details of a device.

See: devicesGet smart constructor.

Instances
Eq DevicesGet Source # 
Instance details

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

Data DevicesGet Source # 
Instance details

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

Methods

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

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

toConstr :: DevicesGet -> Constr #

dataTypeOf :: DevicesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DevicesGet Source # 
Instance details

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

Generic DevicesGet Source # 
Instance details

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

Associated Types

type Rep DevicesGet :: Type -> Type #

GoogleRequest DevicesGet Source # 
Instance details

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

Associated Types

type Rs DevicesGet :: Type #

type Scopes DevicesGet :: [Symbol] #

type Rep DevicesGet Source # 
Instance details

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

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

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

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

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

Request Lenses

dgEnterpriseId :: Lens' DevicesGet Text Source #

The ID of the enterprise.

dgUserId :: Lens' DevicesGet Text Source #

The ID of the user.

dgDeviceId :: Lens' DevicesGet Text Source #

The ID of the device.