public class Books.Mylibrary.Bookshelves extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Books.Mylibrary.Bookshelves.AddVolume |
class |
Books.Mylibrary.Bookshelves.ClearVolumes |
class |
Books.Mylibrary.Bookshelves.Get |
class |
Books.Mylibrary.Bookshelves.List |
class |
Books.Mylibrary.Bookshelves.MoveVolume |
class |
Books.Mylibrary.Bookshelves.RemoveVolume |
class |
Books.Mylibrary.Bookshelves.Volumes
The "volumes" collection of methods.
|
| Constructor and Description |
|---|
Bookshelves() |
| Modifier and Type | Method and Description |
|---|---|
Books.Mylibrary.Bookshelves.AddVolume |
addVolume(String shelf,
String volumeId)
Adds a volume to a bookshelf.
|
Books.Mylibrary.Bookshelves.ClearVolumes |
clearVolumes(String shelf)
Clears all volumes from a bookshelf.
|
Books.Mylibrary.Bookshelves.Get |
get(String shelf)
Retrieves metadata for a specific bookshelf belonging to the authenticated user.
|
Books.Mylibrary.Bookshelves.List |
list()
Retrieves a list of bookshelves belonging to the authenticated user.
|
Books.Mylibrary.Bookshelves.MoveVolume |
moveVolume(String shelf,
String volumeId,
Integer volumePosition)
Moves a volume within a bookshelf.
|
Books.Mylibrary.Bookshelves.RemoveVolume |
removeVolume(String shelf,
String volumeId)
Removes a volume from a bookshelf.
|
Books.Mylibrary.Bookshelves.Volumes |
volumes()
An accessor for creating requests from the Volumes collection.
|
public Books.Mylibrary.Bookshelves.AddVolume addVolume(String shelf, String volumeId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.shelf - ID of bookshelf to which to add a volume.volumeId - ID of volume to add.IOExceptionpublic Books.Mylibrary.Bookshelves.ClearVolumes clearVolumes(String shelf) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.shelf - ID of bookshelf from which to remove a volume.IOExceptionpublic Books.Mylibrary.Bookshelves.Get get(String shelf) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.shelf - ID of bookshelf to retrieve.IOExceptionpublic Books.Mylibrary.Bookshelves.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic Books.Mylibrary.Bookshelves.MoveVolume moveVolume(String shelf, String volumeId, Integer volumePosition) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.shelf - ID of bookshelf with the volume.volumeId - ID of volume to move.volumePosition - 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.)IOExceptionpublic Books.Mylibrary.Bookshelves.RemoveVolume removeVolume(String shelf, String volumeId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.shelf - ID of bookshelf from which to remove a volume.volumeId - ID of volume to remove.IOExceptionpublic Books.Mylibrary.Bookshelves.Volumes volumes()
The typical use is:
Books books = new Books(...);Books.Volumes.List request = books.volumes().list(parameters ...)
Copyright © 2011–2019 Google. All rights reserved.