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 a customer's devices.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.customers.devices.list
.
Synopsis
- type CustomersDevicesListResource = "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 Int64) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomerListDevicesResponse))))))))))
- customersDevicesList :: Text -> CustomersDevicesList
- data CustomersDevicesList
- cParent :: Lens' CustomersDevicesList Text
- cXgafv :: Lens' CustomersDevicesList (Maybe Xgafv)
- cUploadProtocol :: Lens' CustomersDevicesList (Maybe Text)
- cAccessToken :: Lens' CustomersDevicesList (Maybe Text)
- cUploadType :: Lens' CustomersDevicesList (Maybe Text)
- cPageToken :: Lens' CustomersDevicesList (Maybe Text)
- cPageSize :: Lens' CustomersDevicesList (Maybe Int64)
- cCallback :: Lens' CustomersDevicesList (Maybe Text)
REST Resource
type CustomersDevicesListResource = "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 Int64) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomerListDevicesResponse)))))))))) Source #
A resource alias for androiddeviceprovisioning.customers.devices.list
method which the
CustomersDevicesList
request conforms to.
Creating a Request
Creates a value of CustomersDevicesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomersDevicesList Source #
Lists a customer's devices.
See: customersDevicesList
smart constructor.
Instances
Request Lenses
cParent :: Lens' CustomersDevicesList Text Source #
Required. The customer managing the devices. An API resource name in the format `customers/[CUSTOMER_ID]`.
cUploadProtocol :: Lens' CustomersDevicesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cAccessToken :: Lens' CustomersDevicesList (Maybe Text) Source #
OAuth access token.
cUploadType :: Lens' CustomersDevicesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cPageToken :: Lens' CustomersDevicesList (Maybe Text) Source #
A token specifying which result page to return.