Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Removes a volume from a bookshelf.
See: Books API Reference for books.mylibrary.bookshelves.removeVolume
.
- type MyLibraryBookshelvesRemoveVolumeResource = "books" :> ("v1" :> ("mylibrary" :> ("bookshelves" :> (Capture "shelf" Text :> ("removeVolume" :> (QueryParam "volumeId" Text :> (QueryParam "reason" MyLibraryBookshelvesRemoveVolumeReason :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post `[JSON]` ())))))))))
- myLibraryBookshelvesRemoveVolume :: Text -> Text -> MyLibraryBookshelvesRemoveVolume
- data MyLibraryBookshelvesRemoveVolume
- mlbrvReason :: Lens' MyLibraryBookshelvesRemoveVolume (Maybe MyLibraryBookshelvesRemoveVolumeReason)
- mlbrvShelf :: Lens' MyLibraryBookshelvesRemoveVolume Text
- mlbrvVolumeId :: Lens' MyLibraryBookshelvesRemoveVolume Text
- mlbrvSource :: Lens' MyLibraryBookshelvesRemoveVolume (Maybe Text)
REST Resource
type MyLibraryBookshelvesRemoveVolumeResource = "books" :> ("v1" :> ("mylibrary" :> ("bookshelves" :> (Capture "shelf" Text :> ("removeVolume" :> (QueryParam "volumeId" Text :> (QueryParam "reason" MyLibraryBookshelvesRemoveVolumeReason :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post `[JSON]` ()))))))))) Source
A resource alias for books.mylibrary.bookshelves.removeVolume
method which the
MyLibraryBookshelvesRemoveVolume
request conforms to.
Creating a Request
myLibraryBookshelvesRemoveVolume Source
Creates a value of MyLibraryBookshelvesRemoveVolume
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MyLibraryBookshelvesRemoveVolume Source
Removes a volume from a bookshelf.
See: myLibraryBookshelvesRemoveVolume
smart constructor.
Request Lenses
mlbrvReason :: Lens' MyLibraryBookshelvesRemoveVolume (Maybe MyLibraryBookshelvesRemoveVolumeReason) Source
The reason for which the book is removed from the library.
mlbrvShelf :: Lens' MyLibraryBookshelvesRemoveVolume Text Source
ID of bookshelf from which to remove a volume.
mlbrvVolumeId :: Lens' MyLibraryBookshelvesRemoveVolume Text Source
ID of volume to remove.
mlbrvSource :: Lens' MyLibraryBookshelvesRemoveVolume (Maybe Text) Source
String to identify the originator of this request.