| Copyright | (c) 2015-2016 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 |
Network.Google.Resource.Books.MyLibrary.Bookshelves.MoveVolume
Description
Moves a volume within a bookshelf.
See: Books API Reference for books.mylibrary.bookshelves.moveVolume.
- type MyLibraryBookshelvesMoveVolumeResource = "books" :> ("v1" :> ("mylibrary" :> ("bookshelves" :> (Capture "shelf" Text :> ("moveVolume" :> (QueryParam "volumeId" Text :> (QueryParam "volumePosition" (Textual Int32) :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))))))
- myLibraryBookshelvesMoveVolume :: Text -> Text -> Int32 -> MyLibraryBookshelvesMoveVolume
- data MyLibraryBookshelvesMoveVolume
- mlbmvShelf :: Lens' MyLibraryBookshelvesMoveVolume Text
- mlbmvVolumeId :: Lens' MyLibraryBookshelvesMoveVolume Text
- mlbmvSource :: Lens' MyLibraryBookshelvesMoveVolume (Maybe Text)
- mlbmvVolumePosition :: Lens' MyLibraryBookshelvesMoveVolume Int32
REST Resource
type MyLibraryBookshelvesMoveVolumeResource = "books" :> ("v1" :> ("mylibrary" :> ("bookshelves" :> (Capture "shelf" Text :> ("moveVolume" :> (QueryParam "volumeId" Text :> (QueryParam "volumePosition" (Textual Int32) :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))))) Source #
A resource alias for books.mylibrary.bookshelves.moveVolume method which the
MyLibraryBookshelvesMoveVolume request conforms to.
Creating a Request
myLibraryBookshelvesMoveVolume Source #
Arguments
| :: Text | |
| -> Text | |
| -> Int32 | |
| -> MyLibraryBookshelvesMoveVolume |
Creates a value of MyLibraryBookshelvesMoveVolume with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MyLibraryBookshelvesMoveVolume Source #
Moves a volume within a bookshelf.
See: myLibraryBookshelvesMoveVolume smart constructor.
Instances
Request Lenses
mlbmvShelf :: Lens' MyLibraryBookshelvesMoveVolume Text Source #
ID of bookshelf with the volume.
mlbmvVolumeId :: Lens' MyLibraryBookshelvesMoveVolume Text Source #
ID of volume to move.
mlbmvSource :: Lens' MyLibraryBookshelvesMoveVolume (Maybe Text) Source #
String to identify the originator of this request.
mlbmvVolumePosition :: Lens' MyLibraryBookshelvesMoveVolume Int32 Source #
Position on shelf to move the item (0 puts the item before the current first item, 1 puts it between the first and the second and so on.)