Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves the details of a device.
See: Google Play EMM API Reference for androidenterprise.devices.get
.
Synopsis
- type DevicesGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("devices" :> (Capture "deviceId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Device))))))))
- devicesGet :: Text -> Text -> Text -> DevicesGet
- data DevicesGet
- dgEnterpriseId :: Lens' DevicesGet Text
- dgUserId :: Lens' DevicesGet Text
- dgDeviceId :: Lens' DevicesGet Text
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
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
Request Lenses
dgEnterpriseId :: Lens' DevicesGet Text Source #
The ID of the enterprise.
dgDeviceId :: Lens' DevicesGet Text Source #
The ID of the device.