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 IDs of all of a user's devices.
See: Google Play EMM API Reference for androidenterprise.devices.list
.
Synopsis
- type DevicesListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("devices" :> (QueryParam "alt" AltJSON :> Get '[JSON] DevicesListResponse)))))))
- devicesList :: Text -> Text -> DevicesList
- data DevicesList
- dlEnterpriseId :: Lens' DevicesList Text
- dlUserId :: Lens' DevicesList Text
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
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
Request Lenses
dlEnterpriseId :: Lens' DevicesList Text Source #
The ID of the enterprise.