gogol-androiddeviceprovisioning-0.4.0: Google Android Device Provisioning Partner SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AndroidDeviceProvisioning.Partners.Customers.List

Contents

Description

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

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
Eq PartnersCustomersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Customers.List

Data PartnersCustomersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Customers.List

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PartnersCustomersList -> c PartnersCustomersList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PartnersCustomersList #

toConstr :: PartnersCustomersList -> Constr #

dataTypeOf :: PartnersCustomersList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PartnersCustomersList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PartnersCustomersList) #

gmapT :: (forall b. Data b => b -> b) -> PartnersCustomersList -> PartnersCustomersList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PartnersCustomersList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PartnersCustomersList -> r #

gmapQ :: (forall d. Data d => d -> u) -> PartnersCustomersList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PartnersCustomersList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PartnersCustomersList -> m PartnersCustomersList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PartnersCustomersList -> m PartnersCustomersList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PartnersCustomersList -> m PartnersCustomersList #

Show PartnersCustomersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Customers.List

Generic PartnersCustomersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Customers.List

Associated Types

type Rep PartnersCustomersList :: Type -> Type #

GoogleRequest PartnersCustomersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Customers.List

type Rep PartnersCustomersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Customers.List

type Rep PartnersCustomersList = D1 (MetaData "PartnersCustomersList" "Network.Google.Resource.AndroidDeviceProvisioning.Partners.Customers.List" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "PartnersCustomersList'" PrefixI True) (((S1 (MetaSel (Just "_pclXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pclUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pclAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pclPartnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))) :*: ((S1 (MetaSel (Just "_pclUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pclPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pclPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pclCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes PartnersCustomersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Customers.List

type Rs PartnersCustomersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Customers.List

Request Lenses

pclUploadProtocol :: Lens' PartnersCustomersList (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

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.