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 |
Finds devices by hardware identifiers, such as IMEI.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.partners.devices.findByIdentifier
.
Synopsis
- type PartnersDevicesFindByIdentifierResource = "v1" :> ("partners" :> (Capture "partnerId" (Textual Int64) :> ("devices:findByIdentifier" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FindDevicesByDeviceIdentifierRequest :> Post '[JSON] FindDevicesByDeviceIdentifierResponse))))))))))
- partnersDevicesFindByIdentifier :: Int64 -> FindDevicesByDeviceIdentifierRequest -> PartnersDevicesFindByIdentifier
- data PartnersDevicesFindByIdentifier
- pdfbiXgafv :: Lens' PartnersDevicesFindByIdentifier (Maybe Xgafv)
- pdfbiUploadProtocol :: Lens' PartnersDevicesFindByIdentifier (Maybe Text)
- pdfbiAccessToken :: Lens' PartnersDevicesFindByIdentifier (Maybe Text)
- pdfbiPartnerId :: Lens' PartnersDevicesFindByIdentifier Int64
- pdfbiUploadType :: Lens' PartnersDevicesFindByIdentifier (Maybe Text)
- pdfbiPayload :: Lens' PartnersDevicesFindByIdentifier FindDevicesByDeviceIdentifierRequest
- pdfbiCallback :: Lens' PartnersDevicesFindByIdentifier (Maybe Text)
REST Resource
type PartnersDevicesFindByIdentifierResource = "v1" :> ("partners" :> (Capture "partnerId" (Textual Int64) :> ("devices:findByIdentifier" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FindDevicesByDeviceIdentifierRequest :> Post '[JSON] FindDevicesByDeviceIdentifierResponse)))))))))) Source #
A resource alias for androiddeviceprovisioning.partners.devices.findByIdentifier
method which the
PartnersDevicesFindByIdentifier
request conforms to.
Creating a Request
partnersDevicesFindByIdentifier Source #
Creates a value of PartnersDevicesFindByIdentifier
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PartnersDevicesFindByIdentifier Source #
Finds devices by hardware identifiers, such as IMEI.
See: partnersDevicesFindByIdentifier
smart constructor.
Instances
Request Lenses
pdfbiXgafv :: Lens' PartnersDevicesFindByIdentifier (Maybe Xgafv) Source #
V1 error format.
pdfbiUploadProtocol :: Lens' PartnersDevicesFindByIdentifier (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdfbiAccessToken :: Lens' PartnersDevicesFindByIdentifier (Maybe Text) Source #
OAuth access token.
pdfbiPartnerId :: Lens' PartnersDevicesFindByIdentifier Int64 Source #
Required. The ID of the reseller partner.
pdfbiUploadType :: Lens' PartnersDevicesFindByIdentifier (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdfbiPayload :: Lens' PartnersDevicesFindByIdentifier FindDevicesByDeviceIdentifierRequest Source #
Multipart request metadata.