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.Accept

Contents

Description

  • - |

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

Synopsis

REST Resource

type PromoOfferAcceptResource = "books" :> ("v1" :> ("promooffer" :> ("accept" :> (QueryParam "manufacturer" Text :> (QueryParam "serial" Text :> (QueryParam "device" Text :> (QueryParam "model" Text :> (QueryParam "volumeId" Text :> (QueryParam "offerId" Text :> (QueryParam "product" Text :> (QueryParam "androidId" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))))))))) Source #

A resource alias for books.promooffer.accept method which the PromoOfferAccept request conforms to.

Creating a Request

promoOfferAccept :: PromoOfferAccept Source #

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

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

data PromoOfferAccept Source #

See: promoOfferAccept smart constructor.

Instances
Eq PromoOfferAccept Source # 
Instance details

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

Data PromoOfferAccept Source # 
Instance details

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

Methods

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

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

toConstr :: PromoOfferAccept -> Constr #

dataTypeOf :: PromoOfferAccept -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PromoOfferAccept Source # 
Instance details

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

Generic PromoOfferAccept Source # 
Instance details

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

Associated Types

type Rep PromoOfferAccept :: Type -> Type #

GoogleRequest PromoOfferAccept Source # 
Instance details

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

Associated Types

type Rs PromoOfferAccept :: Type #

type Scopes PromoOfferAccept :: [Symbol] #

type Rep PromoOfferAccept Source # 
Instance details

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

type Scopes PromoOfferAccept Source # 
Instance details

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

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

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

Request Lenses

poaVolumeId :: Lens' PromoOfferAccept (Maybe Text) Source #

Volume id to exercise the offer