gogol-books-0.4.0: Google Books 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.Books.PromoOffer.Get

Contents

Description

Returns a list of promo offers available to the user

See: Books API Reference for books.promooffer.get.

Synopsis

REST Resource

type PromoOfferGetResource = "books" :> ("v1" :> ("promooffer" :> ("get" :> (QueryParam "manufacturer" Text :> (QueryParam "serial" Text :> (QueryParam "device" Text :> (QueryParam "model" Text :> (QueryParam "product" Text :> (QueryParam "androidId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Offers)))))))))) Source #

A resource alias for books.promooffer.get method which the PromoOfferGet request conforms to.

Creating a Request

promoOfferGet :: PromoOfferGet Source #

Creates a value of PromoOfferGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data PromoOfferGet Source #

Returns a list of promo offers available to the user

See: promoOfferGet smart constructor.

Instances
Eq PromoOfferGet Source # 
Instance details

Defined in Network.Google.Resource.Books.PromoOffer.Get

Data PromoOfferGet Source # 
Instance details

Defined in Network.Google.Resource.Books.PromoOffer.Get

Methods

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

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

toConstr :: PromoOfferGet -> Constr #

dataTypeOf :: PromoOfferGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PromoOfferGet Source # 
Instance details

Defined in Network.Google.Resource.Books.PromoOffer.Get

Generic PromoOfferGet Source # 
Instance details

Defined in Network.Google.Resource.Books.PromoOffer.Get

Associated Types

type Rep PromoOfferGet :: Type -> Type #

GoogleRequest PromoOfferGet Source # 
Instance details

Defined in Network.Google.Resource.Books.PromoOffer.Get

Associated Types

type Rs PromoOfferGet :: Type #

type Scopes PromoOfferGet :: [Symbol] #

type Rep PromoOfferGet Source # 
Instance details

Defined in Network.Google.Resource.Books.PromoOffer.Get

type Rep PromoOfferGet = D1 (MetaData "PromoOfferGet" "Network.Google.Resource.Books.PromoOffer.Get" "gogol-books-0.4.0-JsYtirrXlXLDWYQKuxGcRl" False) (C1 (MetaCons "PromoOfferGet'" PrefixI True) ((S1 (MetaSel (Just "_pogManufacturer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pogSerial") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pogDevice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pogModel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pogProduct") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pogAndroidId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes PromoOfferGet Source # 
Instance details

Defined in Network.Google.Resource.Books.PromoOffer.Get

type Scopes PromoOfferGet = "https://www.googleapis.com/auth/books" ': ([] :: [Symbol])
type Rs PromoOfferGet Source # 
Instance details

Defined in Network.Google.Resource.Books.PromoOffer.Get

Request Lenses