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.Volumes.Recommended.Rate

Contents

Description

Rate a recommended book for the current user.

See: Books API Reference for books.volumes.recommended.rate.

Synopsis

REST Resource

type VolumesRecommendedRateResource = "books" :> ("v1" :> ("volumes" :> ("recommended" :> ("rate" :> (QueryParam "rating" VolumesRecommendedRateRating :> (QueryParam "volumeId" Text :> (QueryParam "locale" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] BooksVolumesRecommendedRateResponse))))))))) Source #

A resource alias for books.volumes.recommended.rate method which the VolumesRecommendedRate request conforms to.

Creating a Request

volumesRecommendedRate Source #

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

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

data VolumesRecommendedRate Source #

Rate a recommended book for the current user.

See: volumesRecommendedRate smart constructor.

Instances
Eq VolumesRecommendedRate Source # 
Instance details

Defined in Network.Google.Resource.Books.Volumes.Recommended.Rate

Data VolumesRecommendedRate Source # 
Instance details

Defined in Network.Google.Resource.Books.Volumes.Recommended.Rate

Methods

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

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

toConstr :: VolumesRecommendedRate -> Constr #

dataTypeOf :: VolumesRecommendedRate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VolumesRecommendedRate Source # 
Instance details

Defined in Network.Google.Resource.Books.Volumes.Recommended.Rate

Generic VolumesRecommendedRate Source # 
Instance details

Defined in Network.Google.Resource.Books.Volumes.Recommended.Rate

Associated Types

type Rep VolumesRecommendedRate :: Type -> Type #

GoogleRequest VolumesRecommendedRate Source # 
Instance details

Defined in Network.Google.Resource.Books.Volumes.Recommended.Rate

type Rep VolumesRecommendedRate Source # 
Instance details

Defined in Network.Google.Resource.Books.Volumes.Recommended.Rate

type Rep VolumesRecommendedRate = D1 (MetaData "VolumesRecommendedRate" "Network.Google.Resource.Books.Volumes.Recommended.Rate" "gogol-books-0.4.0-JsYtirrXlXLDWYQKuxGcRl" False) (C1 (MetaCons "VolumesRecommendedRate'" PrefixI True) ((S1 (MetaSel (Just "_vrrRating") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 VolumesRecommendedRateRating) :*: S1 (MetaSel (Just "_vrrLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_vrrVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_vrrSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes VolumesRecommendedRate Source # 
Instance details

Defined in Network.Google.Resource.Books.Volumes.Recommended.Rate

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

Defined in Network.Google.Resource.Books.Volumes.Recommended.Rate

Request Lenses

vrrLocale :: Lens' VolumesRecommendedRate (Maybe Text) Source #

ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.

vrrSource :: Lens' VolumesRecommendedRate (Maybe Text) Source #

String to identify the originator of this request.