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 |
Gets the details of a device.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.customers.devices.get
.
Synopsis
- type CustomersDevicesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Device)))))))
- customersDevicesGet :: Text -> CustomersDevicesGet
- data CustomersDevicesGet
- cdgXgafv :: Lens' CustomersDevicesGet (Maybe Xgafv)
- cdgUploadProtocol :: Lens' CustomersDevicesGet (Maybe Text)
- cdgAccessToken :: Lens' CustomersDevicesGet (Maybe Text)
- cdgUploadType :: Lens' CustomersDevicesGet (Maybe Text)
- cdgName :: Lens' CustomersDevicesGet Text
- cdgCallback :: Lens' CustomersDevicesGet (Maybe Text)
REST Resource
type CustomersDevicesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Device))))))) Source #
A resource alias for androiddeviceprovisioning.customers.devices.get
method which the
CustomersDevicesGet
request conforms to.
Creating a Request
Creates a value of CustomersDevicesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomersDevicesGet Source #
Gets the details of a device.
See: customersDevicesGet
smart constructor.
Instances
Request Lenses
cdgUploadProtocol :: Lens' CustomersDevicesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cdgAccessToken :: Lens' CustomersDevicesGet (Maybe Text) Source #
OAuth access token.
cdgUploadType :: Lens' CustomersDevicesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cdgName :: Lens' CustomersDevicesGet Text Source #
Required. The device to get. An API resource name in the format `customers/[CUSTOMER_ID]/devices/[DEVICE_ID]`.
cdgCallback :: Lens' CustomersDevicesGet (Maybe Text) Source #
JSONP