public class Books.Mylibrary.Bookshelves.AddVolume extends BooksRequest<Void>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
AddVolume(String shelf,
String volumeId)
Adds a volume to a bookshelf.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getReason()
The reason for which the book is added to the library.
|
String |
getShelf()
ID of bookshelf to which to add a volume.
|
String |
getSource()
String to identify the originator of this request.
|
String |
getVolumeId()
ID of volume to add.
|
Books.Mylibrary.Bookshelves.AddVolume |
set(String parameterName,
Object value) |
Books.Mylibrary.Bookshelves.AddVolume |
setAlt(String alt)
Data format for the response.
|
Books.Mylibrary.Bookshelves.AddVolume |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Books.Mylibrary.Bookshelves.AddVolume |
setKey(String key)
API key.
|
Books.Mylibrary.Bookshelves.AddVolume |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Books.Mylibrary.Bookshelves.AddVolume |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Books.Mylibrary.Bookshelves.AddVolume |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Books.Mylibrary.Bookshelves.AddVolume |
setReason(String reason)
The reason for which the book is added to the library.
|
Books.Mylibrary.Bookshelves.AddVolume |
setShelf(String shelf)
ID of bookshelf to which to add a volume.
|
Books.Mylibrary.Bookshelves.AddVolume |
setSource(String source)
String to identify the originator of this request.
|
Books.Mylibrary.Bookshelves.AddVolume |
setUserIp(String userIp)
Deprecated.
|
Books.Mylibrary.Bookshelves.AddVolume |
setVolumeId(String volumeId)
ID of volume to add.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected AddVolume(String shelf, String volumeId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Books.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
shelf - ID of bookshelf to which to add a volume.volumeId - ID of volume to add.public Books.Mylibrary.Bookshelves.AddVolume setAlt(String alt)
BooksRequestsetAlt in class BooksRequest<Void>public Books.Mylibrary.Bookshelves.AddVolume setFields(String fields)
BooksRequestsetFields in class BooksRequest<Void>public Books.Mylibrary.Bookshelves.AddVolume setKey(String key)
BooksRequestsetKey in class BooksRequest<Void>public Books.Mylibrary.Bookshelves.AddVolume setOauthToken(String oauthToken)
BooksRequestsetOauthToken in class BooksRequest<Void>public Books.Mylibrary.Bookshelves.AddVolume setPrettyPrint(Boolean prettyPrint)
BooksRequestsetPrettyPrint in class BooksRequest<Void>public Books.Mylibrary.Bookshelves.AddVolume setQuotaUser(String quotaUser)
BooksRequestsetQuotaUser in class BooksRequest<Void>public Books.Mylibrary.Bookshelves.AddVolume setUserIp(String userIp)
BooksRequestsetUserIp in class BooksRequest<Void>public String getShelf()
public Books.Mylibrary.Bookshelves.AddVolume setShelf(String shelf)
public String getVolumeId()
public Books.Mylibrary.Bookshelves.AddVolume setVolumeId(String volumeId)
public String getReason()
public Books.Mylibrary.Bookshelves.AddVolume setReason(String reason)
public String getSource()
public Books.Mylibrary.Bookshelves.AddVolume setSource(String source)
public Books.Mylibrary.Bookshelves.AddVolume set(String parameterName, Object value)
set in class BooksRequest<Void>Copyright © 2011–2019 Google. All rights reserved.