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.Devices.FindByOwner

Contents

Description

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

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

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

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.FindByOwner

Data PartnersDevicesFindByOwner Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.FindByOwner

Methods

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

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

toConstr :: PartnersDevicesFindByOwner -> Constr #

dataTypeOf :: PartnersDevicesFindByOwner -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PartnersDevicesFindByOwner Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.FindByOwner

Generic PartnersDevicesFindByOwner Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.FindByOwner

Associated Types

type Rep PartnersDevicesFindByOwner :: Type -> Type #

GoogleRequest PartnersDevicesFindByOwner Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.FindByOwner

type Rep PartnersDevicesFindByOwner Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.FindByOwner

type Rep PartnersDevicesFindByOwner = D1 (MetaData "PartnersDevicesFindByOwner" "Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.FindByOwner" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "PartnersDevicesFindByOwner'" PrefixI True) ((S1 (MetaSel (Just "_pdfboXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pdfboUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdfboAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pdfboPartnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_pdfboUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pdfboPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 FindDevicesByOwnerRequest) :*: S1 (MetaSel (Just "_pdfboCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes PartnersDevicesFindByOwner Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.FindByOwner

type Rs PartnersDevicesFindByOwner Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.FindByOwner

Request Lenses

pdfboUploadProtocol :: Lens' PartnersDevicesFindByOwner (Maybe Text) Source #

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

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").