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 |
Retrieve all Mobile Devices of a customer (paginated)
See: Admin Directory API Reference for directory.mobiledevices.list
.
Synopsis
- type MobileDevicesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("mobile" :> (QueryParam "orderBy" MobileDevicesListOrderBy :> (QueryParam "sortOrder" MobileDevicesListSortOrder :> (QueryParam "query" Text :> (QueryParam "projection" MobileDevicesListProjection :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] MobileDevices)))))))))))))
- mobileDevicesList :: Text -> MobileDevicesList
- data MobileDevicesList
- mdlOrderBy :: Lens' MobileDevicesList (Maybe MobileDevicesListOrderBy)
- mdlCustomerId :: Lens' MobileDevicesList Text
- mdlSortOrder :: Lens' MobileDevicesList (Maybe MobileDevicesListSortOrder)
- mdlQuery :: Lens' MobileDevicesList (Maybe Text)
- mdlProjection :: Lens' MobileDevicesList (Maybe MobileDevicesListProjection)
- mdlPageToken :: Lens' MobileDevicesList (Maybe Text)
- mdlMaxResults :: Lens' MobileDevicesList (Maybe Int32)
REST Resource
type MobileDevicesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("mobile" :> (QueryParam "orderBy" MobileDevicesListOrderBy :> (QueryParam "sortOrder" MobileDevicesListSortOrder :> (QueryParam "query" Text :> (QueryParam "projection" MobileDevicesListProjection :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] MobileDevices))))))))))))) Source #
A resource alias for directory.mobiledevices.list
method which the
MobileDevicesList
request conforms to.
Creating a Request
Creates a value of MobileDevicesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MobileDevicesList Source #
Retrieve all Mobile Devices of a customer (paginated)
See: mobileDevicesList
smart constructor.
Instances
Request Lenses
mdlOrderBy :: Lens' MobileDevicesList (Maybe MobileDevicesListOrderBy) Source #
Column to use for sorting results
mdlCustomerId :: Lens' MobileDevicesList Text Source #
Immutable ID of the G Suite account
mdlSortOrder :: Lens' MobileDevicesList (Maybe MobileDevicesListSortOrder) Source #
Whether to return results in ascending or descending order. Only of use when orderBy is also used
mdlQuery :: Lens' MobileDevicesList (Maybe Text) Source #
Search string in the format given at http://support.google.com/a/bin/answer.py?answer=1408863#search
mdlProjection :: Lens' MobileDevicesList (Maybe MobileDevicesListProjection) Source #
Restrict information returned to a set of selected fields.
mdlPageToken :: Lens' MobileDevicesList (Maybe Text) Source #
Token to specify next page in the list
mdlMaxResults :: Lens' MobileDevicesList (Maybe Int32) Source #
Maximum number of results to return. Default is 100