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 the customers that are enrolled to the reseller identified by the `partnerId` argument. This list includes customers that the reseller created and customers that enrolled themselves using the portal.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.partners.customers.list
.
Synopsis
- type PartnersCustomersListResource = "v1" :> ("partners" :> (Capture "partnerId" (Textual Int64) :> ("customers" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListCustomersResponse)))))))))))
- partnersCustomersList :: Int64 -> PartnersCustomersList
- data PartnersCustomersList
- pclXgafv :: Lens' PartnersCustomersList (Maybe Xgafv)
- pclUploadProtocol :: Lens' PartnersCustomersList (Maybe Text)
- pclAccessToken :: Lens' PartnersCustomersList (Maybe Text)
- pclPartnerId :: Lens' PartnersCustomersList Int64
- pclUploadType :: Lens' PartnersCustomersList (Maybe Text)
- pclPageToken :: Lens' PartnersCustomersList (Maybe Text)
- pclPageSize :: Lens' PartnersCustomersList (Maybe Int32)
- pclCallback :: Lens' PartnersCustomersList (Maybe Text)
REST Resource
type PartnersCustomersListResource = "v1" :> ("partners" :> (Capture "partnerId" (Textual Int64) :> ("customers" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListCustomersResponse))))))))))) Source #
A resource alias for androiddeviceprovisioning.partners.customers.list
method which the
PartnersCustomersList
request conforms to.
Creating a Request
partnersCustomersList Source #
Creates a value of PartnersCustomersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PartnersCustomersList Source #
Lists the customers that are enrolled to the reseller identified by the `partnerId` argument. This list includes customers that the reseller created and customers that enrolled themselves using the portal.
See: partnersCustomersList
smart constructor.
Instances
Request Lenses
pclUploadProtocol :: Lens' PartnersCustomersList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pclAccessToken :: Lens' PartnersCustomersList (Maybe Text) Source #
OAuth access token.
pclPartnerId :: Lens' PartnersCustomersList Int64 Source #
Required. The ID of the reseller partner.
pclUploadType :: Lens' PartnersCustomersList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pclPageToken :: Lens' PartnersCustomersList (Maybe Text) Source #
A token identifying a page of results returned by the server.
pclPageSize :: Lens' PartnersCustomersList (Maybe Int32) Source #
The maximum number of results to be returned. If not specified or 0, all the records are returned.
pclCallback :: Lens' PartnersCustomersList (Maybe Text) Source #
JSONP