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 |
Lists devices for a given enterprise.
See: Android Management API Reference for androidmanagement.enterprises.devices.list
.
Synopsis
- type EnterprisesDevicesListResource = "v1" :> (Capture "parent" Text :> ("devices" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDevicesResponse))))))))))
- enterprisesDevicesList :: Text -> EnterprisesDevicesList
- data EnterprisesDevicesList
- edlParent :: Lens' EnterprisesDevicesList Text
- edlXgafv :: Lens' EnterprisesDevicesList (Maybe Xgafv)
- edlUploadProtocol :: Lens' EnterprisesDevicesList (Maybe Text)
- edlAccessToken :: Lens' EnterprisesDevicesList (Maybe Text)
- edlUploadType :: Lens' EnterprisesDevicesList (Maybe Text)
- edlPageToken :: Lens' EnterprisesDevicesList (Maybe Text)
- edlPageSize :: Lens' EnterprisesDevicesList (Maybe Int32)
- edlCallback :: Lens' EnterprisesDevicesList (Maybe Text)
REST Resource
type EnterprisesDevicesListResource = "v1" :> (Capture "parent" Text :> ("devices" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDevicesResponse)))))))))) Source #
A resource alias for androidmanagement.enterprises.devices.list
method which the
EnterprisesDevicesList
request conforms to.
Creating a Request
enterprisesDevicesList Source #
Creates a value of EnterprisesDevicesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesDevicesList Source #
Lists devices for a given enterprise.
See: enterprisesDevicesList
smart constructor.
Instances
Request Lenses
edlParent :: Lens' EnterprisesDevicesList Text Source #
The name of the enterprise in the form enterprises/{enterpriseId}.
edlUploadProtocol :: Lens' EnterprisesDevicesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
edlAccessToken :: Lens' EnterprisesDevicesList (Maybe Text) Source #
OAuth access token.
edlUploadType :: Lens' EnterprisesDevicesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
edlPageToken :: Lens' EnterprisesDevicesList (Maybe Text) Source #
A token identifying a page of results returned by the server.
edlPageSize :: Lens' EnterprisesDevicesList (Maybe Int32) Source #
The requested page size. The actual page size may be fixed to a min or max value.
edlCallback :: Lens' EnterprisesDevicesList (Maybe Text) Source #
JSONP