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.Layers.List

Contents

Description

List the layer summaries for a volume.

See: Books API Reference for books.layers.list.

Synopsis

REST Resource

type LayersListResource = "books" :> ("v1" :> ("volumes" :> (Capture "volumeId" Text :> ("layersummary" :> (QueryParam "contentVersion" Text :> (QueryParam "source" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Layersummaries))))))))) Source #

A resource alias for books.layers.list method which the LayersList request conforms to.

Creating a Request

layersList Source #

Arguments

:: Text

llVolumeId

-> LayersList 

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

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

data LayersList Source #

List the layer summaries for a volume.

See: layersList smart constructor.

Instances
Eq LayersList Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.List

Data LayersList Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.List

Methods

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

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

toConstr :: LayersList -> Constr #

dataTypeOf :: LayersList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LayersList Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.List

Generic LayersList Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.List

Associated Types

type Rep LayersList :: Type -> Type #

GoogleRequest LayersList Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.List

Associated Types

type Rs LayersList :: Type #

type Scopes LayersList :: [Symbol] #

type Rep LayersList Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.List

type Rep LayersList = D1 (MetaData "LayersList" "Network.Google.Resource.Books.Layers.List" "gogol-books-0.4.0-JsYtirrXlXLDWYQKuxGcRl" False) (C1 (MetaCons "LayersList'" PrefixI True) ((S1 (MetaSel (Just "_llContentVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_llVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_llSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_llPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_llMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))
type Scopes LayersList Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.List

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

Defined in Network.Google.Resource.Books.Layers.List

Request Lenses

llContentVersion :: Lens' LayersList (Maybe Text) Source #

The content version for the requested volume.

llVolumeId :: Lens' LayersList Text Source #

The volume to retrieve layers for.

llSource :: Lens' LayersList (Maybe Text) Source #

String to identify the originator of this request.

llPageToken :: Lens' LayersList (Maybe Text) Source #

The value of the nextToken from the previous page.

llMaxResults :: Lens' LayersList (Maybe Word32) Source #

Maximum number of results to return