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.MyLibrary.Annotations.Update

Contents

Description

Updates an existing annotation.

See: Books API Reference for books.mylibrary.annotations.update.

Synopsis

REST Resource

type MyLibraryAnnotationsUpdateResource = "books" :> ("v1" :> ("mylibrary" :> ("annotations" :> (Capture "annotationId" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Annotation :> Put '[JSON] Annotation))))))) Source #

A resource alias for books.mylibrary.annotations.update method which the MyLibraryAnnotationsUpdate request conforms to.

Creating a Request

myLibraryAnnotationsUpdate Source #

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

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

data MyLibraryAnnotationsUpdate Source #

Updates an existing annotation.

See: myLibraryAnnotationsUpdate smart constructor.

Instances
Eq MyLibraryAnnotationsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.Annotations.Update

Data MyLibraryAnnotationsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.Annotations.Update

Methods

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

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

toConstr :: MyLibraryAnnotationsUpdate -> Constr #

dataTypeOf :: MyLibraryAnnotationsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MyLibraryAnnotationsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.Annotations.Update

Generic MyLibraryAnnotationsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.Annotations.Update

Associated Types

type Rep MyLibraryAnnotationsUpdate :: Type -> Type #

GoogleRequest MyLibraryAnnotationsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.Annotations.Update

type Rep MyLibraryAnnotationsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.Annotations.Update

type Rep MyLibraryAnnotationsUpdate = D1 (MetaData "MyLibraryAnnotationsUpdate" "Network.Google.Resource.Books.MyLibrary.Annotations.Update" "gogol-books-0.4.0-JsYtirrXlXLDWYQKuxGcRl" False) (C1 (MetaCons "MyLibraryAnnotationsUpdate'" PrefixI True) (S1 (MetaSel (Just "_mlauPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Annotation) :*: (S1 (MetaSel (Just "_mlauAnnotationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mlauSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes MyLibraryAnnotationsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Books.MyLibrary.Annotations.Update

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

Defined in Network.Google.Resource.Books.MyLibrary.Annotations.Update

Request Lenses

mlauAnnotationId :: Lens' MyLibraryAnnotationsUpdate Text Source #

The ID for the annotation to update.

mlauSource :: Lens' MyLibraryAnnotationsUpdate (Maybe Text) Source #

String to identify the originator of this request.