gogol-books-0.1.1: 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 # 
Data PromoOfferGet Source # 

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 # 
Generic PromoOfferGet Source # 

Associated Types

type Rep PromoOfferGet :: * -> * #

GoogleRequest PromoOfferGet Source # 

Associated Types

type Rs PromoOfferGet :: * #

type Scopes PromoOfferGet :: [Symbol] #

type Rep PromoOfferGet Source # 
type Rep PromoOfferGet = D1 (MetaData "PromoOfferGet" "Network.Google.Resource.Books.PromoOffer.Get" "gogol-books-0.1.1-DJUI82Cepnh73t90lnxv9L" False) (C1 (MetaCons "PromoOfferGet'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pogManufacturer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pogSerial") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pogDevice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_pogModel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pogProduct") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pogAndroidId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes PromoOfferGet Source # 
type Scopes PromoOfferGet = (:) Symbol "https://www.googleapis.com/auth/books" ([] Symbol)
type Rs PromoOfferGet Source # 

Request Lenses