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 user's customer accounts.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.customers.list
.
Synopsis
- type CustomersListResource = "v1" :> ("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] CustomerListCustomersResponse)))))))))
- customersList :: CustomersList
- data CustomersList
- clXgafv :: Lens' CustomersList (Maybe Xgafv)
- clUploadProtocol :: Lens' CustomersList (Maybe Text)
- clAccessToken :: Lens' CustomersList (Maybe Text)
- clUploadType :: Lens' CustomersList (Maybe Text)
- clPageToken :: Lens' CustomersList (Maybe Text)
- clPageSize :: Lens' CustomersList (Maybe Int32)
- clCallback :: Lens' CustomersList (Maybe Text)
REST Resource
type CustomersListResource = "v1" :> ("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] CustomerListCustomersResponse))))))))) Source #
A resource alias for androiddeviceprovisioning.customers.list
method which the
CustomersList
request conforms to.
Creating a Request
customersList :: CustomersList Source #
Creates a value of CustomersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomersList Source #
Lists the user's customer accounts.
See: customersList
smart constructor.
Instances
Request Lenses
clUploadProtocol :: Lens' CustomersList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
clAccessToken :: Lens' CustomersList (Maybe Text) Source #
OAuth access token.
clUploadType :: Lens' CustomersList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
clPageToken :: Lens' CustomersList (Maybe Text) Source #
A token specifying which result page to return.
clPageSize :: Lens' CustomersList (Maybe Int32) Source #
The maximum number of customers to show in a page of results. A number between 1 and 100 (inclusive).
clCallback :: Lens' CustomersList (Maybe Text) Source #
JSONP