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

Contents

Description

Gets the annotation data for a volume and layer.

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

Synopsis

REST Resource

type LayersAnnotationDataListResource = "books" :> ("v1" :> ("volumes" :> (Capture "volumeId" Text :> ("layers" :> (Capture "layerId" Text :> ("data" :> (QueryParam "contentVersion" Text :> (QueryParam "w" (Textual Int32) :> (QueryParam "scale" (Textual Int32) :> (QueryParam "locale" Text :> (QueryParam "updatedMax" Text :> (QueryParam "updatedMin" Text :> (QueryParams "annotationDataId" Text :> (QueryParam "source" Text :> (QueryParam "h" (Textual Int32) :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AnnotationsData)))))))))))))))))) Source #

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

Creating a Request

data LayersAnnotationDataList Source #

Gets the annotation data for a volume and layer.

See: layersAnnotationDataList smart constructor.

Instances
Eq LayersAnnotationDataList Source # 
Instance details

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

Data LayersAnnotationDataList Source # 
Instance details

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

Methods

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

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

toConstr :: LayersAnnotationDataList -> Constr #

dataTypeOf :: LayersAnnotationDataList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LayersAnnotationDataList Source # 
Instance details

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

Generic LayersAnnotationDataList Source # 
Instance details

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

Associated Types

type Rep LayersAnnotationDataList :: Type -> Type #

GoogleRequest LayersAnnotationDataList Source # 
Instance details

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

type Rep LayersAnnotationDataList Source # 
Instance details

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

type Rep LayersAnnotationDataList = D1 (MetaData "LayersAnnotationDataList" "Network.Google.Resource.Books.Layers.AnnotationData.List" "gogol-books-0.4.0-JsYtirrXlXLDWYQKuxGcRl" False) (C1 (MetaCons "LayersAnnotationDataList'" PrefixI True) (((S1 (MetaSel (Just "_ladlW") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_ladlScale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_ladlLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ladlContentVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ladlUpdatedMax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ladlUpdatedMin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_ladlAnnotationDataId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_ladlVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ladlSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ladlH") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_ladlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ladlLayerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ladlMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))))
type Scopes LayersAnnotationDataList Source # 
Instance details

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

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

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

Request Lenses

ladlW :: Lens' LayersAnnotationDataList (Maybe Int32) Source #

The requested pixel width for any images. If width is provided height must also be provided.

ladlScale :: Lens' LayersAnnotationDataList (Maybe Int32) Source #

The requested scale for the image.

ladlLocale :: Lens' LayersAnnotationDataList (Maybe Text) Source #

The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.

ladlContentVersion :: Lens' LayersAnnotationDataList Text Source #

The content version for the requested volume.

ladlUpdatedMax :: Lens' LayersAnnotationDataList (Maybe Text) Source #

RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).

ladlUpdatedMin :: Lens' LayersAnnotationDataList (Maybe Text) Source #

RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).

ladlAnnotationDataId :: Lens' LayersAnnotationDataList [Text] Source #

The list of Annotation Data Ids to retrieve. Pagination is ignored if this is set.

ladlVolumeId :: Lens' LayersAnnotationDataList Text Source #

The volume to retrieve annotation data for.

ladlSource :: Lens' LayersAnnotationDataList (Maybe Text) Source #

String to identify the originator of this request.

ladlH :: Lens' LayersAnnotationDataList (Maybe Int32) Source #

The requested pixel height for any images. If height is provided width must also be provided.

ladlPageToken :: Lens' LayersAnnotationDataList (Maybe Text) Source #

The value of the nextToken from the previous page.

ladlLayerId :: Lens' LayersAnnotationDataList Text Source #

The ID for the layer to get the annotation data.

ladlMaxResults :: Lens' LayersAnnotationDataList (Maybe Word32) Source #

Maximum number of results to return