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 a device.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.partners.devices.get
.
Synopsis
- type PartnersDevicesGetResource = "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)))))))
- partnersDevicesGet :: Text -> PartnersDevicesGet
- data PartnersDevicesGet
- pdgXgafv :: Lens' PartnersDevicesGet (Maybe Xgafv)
- pdgUploadProtocol :: Lens' PartnersDevicesGet (Maybe Text)
- pdgAccessToken :: Lens' PartnersDevicesGet (Maybe Text)
- pdgUploadType :: Lens' PartnersDevicesGet (Maybe Text)
- pdgName :: Lens' PartnersDevicesGet Text
- pdgCallback :: Lens' PartnersDevicesGet (Maybe Text)
REST Resource
type PartnersDevicesGetResource = "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.partners.devices.get
method which the
PartnersDevicesGet
request conforms to.
Creating a Request
Creates a value of PartnersDevicesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PartnersDevicesGet Source #
Gets a device.
See: partnersDevicesGet
smart constructor.
Instances
Request Lenses
pdgUploadProtocol :: Lens' PartnersDevicesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdgAccessToken :: Lens' PartnersDevicesGet (Maybe Text) Source #
OAuth access token.
pdgUploadType :: Lens' PartnersDevicesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdgName :: Lens' PartnersDevicesGet Text Source #
Required. The device API resource name in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.
pdgCallback :: Lens' PartnersDevicesGet (Maybe Text) Source #
JSONP