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 of the vendor.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.partners.vendors.customers.list
.
Synopsis
- type PartnersVendorsCustomersListResource = "v1" :> (Capture "parent" Text :> ("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] ListVendorCustomersResponse))))))))))
- partnersVendorsCustomersList :: Text -> PartnersVendorsCustomersList
- data PartnersVendorsCustomersList
- pvclParent :: Lens' PartnersVendorsCustomersList Text
- pvclXgafv :: Lens' PartnersVendorsCustomersList (Maybe Xgafv)
- pvclUploadProtocol :: Lens' PartnersVendorsCustomersList (Maybe Text)
- pvclAccessToken :: Lens' PartnersVendorsCustomersList (Maybe Text)
- pvclUploadType :: Lens' PartnersVendorsCustomersList (Maybe Text)
- pvclPageToken :: Lens' PartnersVendorsCustomersList (Maybe Text)
- pvclPageSize :: Lens' PartnersVendorsCustomersList (Maybe Int32)
- pvclCallback :: Lens' PartnersVendorsCustomersList (Maybe Text)
REST Resource
type PartnersVendorsCustomersListResource = "v1" :> (Capture "parent" Text :> ("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] ListVendorCustomersResponse)))))))))) Source #
A resource alias for androiddeviceprovisioning.partners.vendors.customers.list
method which the
PartnersVendorsCustomersList
request conforms to.
Creating a Request
partnersVendorsCustomersList Source #
Creates a value of PartnersVendorsCustomersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PartnersVendorsCustomersList Source #
Lists the customers of the vendor.
See: partnersVendorsCustomersList
smart constructor.
Instances
Request Lenses
pvclParent :: Lens' PartnersVendorsCustomersList Text Source #
Required. The resource name in the format `partners/[PARTNER_ID]/vendors/[VENDOR_ID]`.
pvclUploadProtocol :: Lens' PartnersVendorsCustomersList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pvclAccessToken :: Lens' PartnersVendorsCustomersList (Maybe Text) Source #
OAuth access token.
pvclUploadType :: Lens' PartnersVendorsCustomersList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pvclPageToken :: Lens' PartnersVendorsCustomersList (Maybe Text) Source #
A token identifying a page of results returned by the server.
pvclPageSize :: Lens' PartnersVendorsCustomersList (Maybe Int32) Source #
The maximum number of results to be returned.
pvclCallback :: Lens' PartnersVendorsCustomersList (Maybe Text) Source #
JSONP