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.Delete

Contents

Description

Deletes an annotation.

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

Synopsis

REST Resource

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

A resource alias for books.mylibrary.annotations.delete method which the MyLibraryAnnotationsDelete request conforms to.

Creating a Request

myLibraryAnnotationsDelete Source #

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

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

data MyLibraryAnnotationsDelete Source #

Deletes an annotation.

See: myLibraryAnnotationsDelete smart constructor.

Instances
Eq MyLibraryAnnotationsDelete Source # 
Instance details

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

Data MyLibraryAnnotationsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: MyLibraryAnnotationsDelete -> Constr #

dataTypeOf :: MyLibraryAnnotationsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MyLibraryAnnotationsDelete Source # 
Instance details

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

Generic MyLibraryAnnotationsDelete Source # 
Instance details

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

Associated Types

type Rep MyLibraryAnnotationsDelete :: Type -> Type #

GoogleRequest MyLibraryAnnotationsDelete Source # 
Instance details

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

type Rep MyLibraryAnnotationsDelete Source # 
Instance details

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

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

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

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

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

Request Lenses

mladAnnotationId :: Lens' MyLibraryAnnotationsDelete Text Source #

The ID for the annotation to delete.

mladSource :: Lens' MyLibraryAnnotationsDelete (Maybe Text) Source #

String to identify the originator of this request.