gogol-books-0.2.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.Associated.List

Contents

Description

Return a list of associated books.

See: Books API Reference for books.volumes.associated.list.

Synopsis

REST Resource

type VolumesAssociatedListResource = "books" :> ("v1" :> ("volumes" :> (Capture "volumeId" Text :> ("associated" :> (QueryParam "locale" Text :> (QueryParam "maxAllowedMaturityRating" VolumesAssociatedListMaxAllowedMaturityRating :> (QueryParam "source" Text :> (QueryParam "association" VolumesAssociatedListAssociation :> (QueryParam "alt" AltJSON :> Get '[JSON] Volumes))))))))) Source #

A resource alias for books.volumes.associated.list method which the VolumesAssociatedList request conforms to.

Creating a Request

volumesAssociatedList Source #

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

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

data VolumesAssociatedList Source #

Return a list of associated books.

See: volumesAssociatedList smart constructor.

Instances

Eq VolumesAssociatedList Source # 
Data VolumesAssociatedList Source # 

Methods

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

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

toConstr :: VolumesAssociatedList -> Constr #

dataTypeOf :: VolumesAssociatedList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VolumesAssociatedList Source # 
Generic VolumesAssociatedList Source # 
GoogleRequest VolumesAssociatedList Source # 
type Rep VolumesAssociatedList Source # 
type Rep VolumesAssociatedList = D1 (MetaData "VolumesAssociatedList" "Network.Google.Resource.Books.Volumes.Associated.List" "gogol-books-0.2.0-5Ye9jkpXNyYIQzuxFUGse4" False) (C1 (MetaCons "VolumesAssociatedList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_valLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_valMaxAllowedMaturityRating") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VolumesAssociatedListMaxAllowedMaturityRating)))) ((:*:) (S1 (MetaSel (Just Symbol "_valVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_valSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_valAssociation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VolumesAssociatedListAssociation)))))))
type Scopes VolumesAssociatedList Source # 
type Scopes VolumesAssociatedList = (:) Symbol "https://www.googleapis.com/auth/books" ([] Symbol)
type Rs VolumesAssociatedList Source # 

Request Lenses

valLocale :: Lens' VolumesAssociatedList (Maybe Text) Source #

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

valMaxAllowedMaturityRating :: Lens' VolumesAssociatedList (Maybe VolumesAssociatedListMaxAllowedMaturityRating) Source #

The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.

valVolumeId :: Lens' VolumesAssociatedList Text Source #

ID of the source volume.

valSource :: Lens' VolumesAssociatedList (Maybe Text) Source #

String to identify the originator of this request.