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 claimed for customers. The results only contain devices registered to the reseller that's identified by the `partnerId` argument. The customer's devices purchased from other resellers don't appear in the results.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.partners.devices.findByOwner
.
Synopsis
- type PartnersDevicesFindByOwnerResource = "v1" :> ("partners" :> (Capture "partnerId" (Textual Int64) :> ("devices:findByOwner" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FindDevicesByOwnerRequest :> Post '[JSON] FindDevicesByOwnerResponse))))))))))
- partnersDevicesFindByOwner :: Int64 -> FindDevicesByOwnerRequest -> PartnersDevicesFindByOwner
- data PartnersDevicesFindByOwner
- pdfboXgafv :: Lens' PartnersDevicesFindByOwner (Maybe Xgafv)
- pdfboUploadProtocol :: Lens' PartnersDevicesFindByOwner (Maybe Text)
- pdfboAccessToken :: Lens' PartnersDevicesFindByOwner (Maybe Text)
- pdfboPartnerId :: Lens' PartnersDevicesFindByOwner Int64
- pdfboUploadType :: Lens' PartnersDevicesFindByOwner (Maybe Text)
- pdfboPayload :: Lens' PartnersDevicesFindByOwner FindDevicesByOwnerRequest
- pdfboCallback :: Lens' PartnersDevicesFindByOwner (Maybe Text)
REST Resource
type PartnersDevicesFindByOwnerResource = "v1" :> ("partners" :> (Capture "partnerId" (Textual Int64) :> ("devices:findByOwner" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FindDevicesByOwnerRequest :> Post '[JSON] FindDevicesByOwnerResponse)))))))))) Source #
A resource alias for androiddeviceprovisioning.partners.devices.findByOwner
method which the
PartnersDevicesFindByOwner
request conforms to.
Creating a Request
partnersDevicesFindByOwner Source #
Creates a value of PartnersDevicesFindByOwner
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PartnersDevicesFindByOwner Source #
Finds devices claimed for customers. The results only contain devices registered to the reseller that's identified by the `partnerId` argument. The customer's devices purchased from other resellers don't appear in the results.
See: partnersDevicesFindByOwner
smart constructor.
Instances
Request Lenses
pdfboXgafv :: Lens' PartnersDevicesFindByOwner (Maybe Xgafv) Source #
V1 error format.
pdfboUploadProtocol :: Lens' PartnersDevicesFindByOwner (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdfboAccessToken :: Lens' PartnersDevicesFindByOwner (Maybe Text) Source #
OAuth access token.
pdfboPartnerId :: Lens' PartnersDevicesFindByOwner Int64 Source #
Required. The ID of the reseller partner.
pdfboUploadType :: Lens' PartnersDevicesFindByOwner (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdfboPayload :: Lens' PartnersDevicesFindByOwner FindDevicesByOwnerRequest Source #
Multipart request metadata.
pdfboCallback :: Lens' PartnersDevicesFindByOwner (Maybe Text) Source #
JSONP