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.List

Contents

Description

Retrieves the IDs of all of a user's devices.

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

Synopsis

REST Resource

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

A resource alias for androidenterprise.devices.list method which the DevicesList request conforms to.

Creating a Request

devicesList Source #

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

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

data DevicesList Source #

Retrieves the IDs of all of a user's devices.

See: devicesList smart constructor.

Instances
Eq DevicesList Source # 
Instance details

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

Data DevicesList Source # 
Instance details

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

Methods

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

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

toConstr :: DevicesList -> Constr #

dataTypeOf :: DevicesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DevicesList Source # 
Instance details

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

Generic DevicesList Source # 
Instance details

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

Associated Types

type Rep DevicesList :: Type -> Type #

GoogleRequest DevicesList Source # 
Instance details

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

Associated Types

type Rs DevicesList :: Type #

type Scopes DevicesList :: [Symbol] #

type Rep DevicesList Source # 
Instance details

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

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

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

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

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

Request Lenses

dlEnterpriseId :: Lens' DevicesList Text Source #

The ID of the enterprise.

dlUserId :: Lens' DevicesList Text Source #

The ID of the user.