gogol-books-0.0.1: Google Books SDK.

Copyright(c) 2015 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.Bookshelves.AddVolume

Contents

Description

Adds a volume to a bookshelf.

See: Books API Reference for books.mylibrary.bookshelves.addVolume.

Synopsis

REST Resource

type MyLibraryBookshelvesAddVolumeResource = "books" :> ("v1" :> ("mylibrary" :> ("bookshelves" :> (Capture "shelf" Text :> ("addVolume" :> (QueryParam "volumeId" Text :> (QueryParam "reason" MyLibraryBookshelvesAddVolumeReason :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post `[JSON]` ()))))))))) Source

A resource alias for books.mylibrary.bookshelves.addVolume method which the MyLibraryBookshelvesAddVolume request conforms to.

Creating a Request

myLibraryBookshelvesAddVolume Source

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

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

Request Lenses

mlbavReason :: Lens' MyLibraryBookshelvesAddVolume (Maybe MyLibraryBookshelvesAddVolumeReason) Source

The reason for which the book is added to the library.

mlbavShelf :: Lens' MyLibraryBookshelvesAddVolume Text Source

ID of bookshelf to which to add a volume.

mlbavSource :: Lens' MyLibraryBookshelvesAddVolume (Maybe Text) Source

String to identify the originator of this request.