gogol-books-0.5.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.MyLibrary.ReadingPositions.SetPosition

Contents

Description

Sets my reading position information for a volume.

See: Books API Reference for books.mylibrary.readingpositions.setPosition.

Synopsis

REST Resource

type MyLibraryReadingPositionsSetPositionResource = "books" :> ("v1" :> ("mylibrary" :> ("readingpositions" :> (Capture "volumeId" Text :> ("setPosition" :> (QueryParam "timestamp" Text :> (QueryParam "position" Text :> (QueryParam "deviceCookie" Text :> (QueryParam "contentVersion" Text :> (QueryParam "action" MyLibraryReadingPositionsSetPositionAction :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))))))))) Source #

A resource alias for books.mylibrary.readingpositions.setPosition method which the MyLibraryReadingPositionsSetPosition request conforms to.

Creating a Request

data MyLibraryReadingPositionsSetPosition Source #

Sets my reading position information for a volume.

See: myLibraryReadingPositionsSetPosition smart constructor.

Instances
Eq MyLibraryReadingPositionsSetPosition Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.ReadingPositions.SetPosition

Data MyLibraryReadingPositionsSetPosition Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.ReadingPositions.SetPosition

Methods

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

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

toConstr :: MyLibraryReadingPositionsSetPosition -> Constr #

dataTypeOf :: MyLibraryReadingPositionsSetPosition -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MyLibraryReadingPositionsSetPosition Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.ReadingPositions.SetPosition

Generic MyLibraryReadingPositionsSetPosition Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.ReadingPositions.SetPosition

GoogleRequest MyLibraryReadingPositionsSetPosition Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.ReadingPositions.SetPosition

type Rep MyLibraryReadingPositionsSetPosition Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.ReadingPositions.SetPosition

type Rep MyLibraryReadingPositionsSetPosition = D1 (MetaData "MyLibraryReadingPositionsSetPosition" "Network.Google.Resource.Books.MyLibrary.ReadingPositions.SetPosition" "gogol-books-0.5.0-5eGHzODss8vLDz8eryP3W5" False) (C1 (MetaCons "MyLibraryReadingPositionsSetPosition'" PrefixI True) ((S1 (MetaSel (Just "_mlrpspDeviceCookie") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_mlrpspContentVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mlrpspAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MyLibraryReadingPositionsSetPositionAction)))) :*: ((S1 (MetaSel (Just "_mlrpspVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mlrpspSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_mlrpspTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mlrpspPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes MyLibraryReadingPositionsSetPosition Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.ReadingPositions.SetPosition

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

Defined in Network.Google.Resource.Books.MyLibrary.ReadingPositions.SetPosition

Request Lenses

mlrpspDeviceCookie :: Lens' MyLibraryReadingPositionsSetPosition (Maybe Text) Source #

Random persistent device cookie optional on set position.

mlrpspContentVersion :: Lens' MyLibraryReadingPositionsSetPosition (Maybe Text) Source #

Volume content version for which this reading position applies.

mlrpspVolumeId :: Lens' MyLibraryReadingPositionsSetPosition Text Source #

ID of volume for which to update the reading position.

mlrpspSource :: Lens' MyLibraryReadingPositionsSetPosition (Maybe Text) Source #

String to identify the originator of this request.

mlrpspTimestamp :: Lens' MyLibraryReadingPositionsSetPosition Text Source #

RFC 3339 UTC format timestamp associated with this reading position.

mlrpspPosition :: Lens' MyLibraryReadingPositionsSetPosition Text Source #

Position string for the new volume reading position.