Show / Hide Table of Contents

Class MylibraryResource.BookshelvesResource.AddVolumeRequest

Adds a volume to a bookshelf.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Empty>
BooksBaseServiceRequest<Empty>
MylibraryResource.BookshelvesResource.AddVolumeRequest
Implements
IClientServiceRequest<Empty>
IClientServiceRequest
Inherited Members
BooksBaseServiceRequest<Empty>.Xgafv
BooksBaseServiceRequest<Empty>.AccessToken
BooksBaseServiceRequest<Empty>.Alt
BooksBaseServiceRequest<Empty>.Callback
BooksBaseServiceRequest<Empty>.Fields
BooksBaseServiceRequest<Empty>.Key
BooksBaseServiceRequest<Empty>.OauthToken
BooksBaseServiceRequest<Empty>.PrettyPrint
BooksBaseServiceRequest<Empty>.QuotaUser
BooksBaseServiceRequest<Empty>.UploadType
BooksBaseServiceRequest<Empty>.UploadProtocol
ClientServiceRequest<Empty>.Execute()
ClientServiceRequest<Empty>.ExecuteAsStream()
ClientServiceRequest<Empty>.ExecuteAsync()
ClientServiceRequest<Empty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Empty>.ExecuteAsStreamAsync()
ClientServiceRequest<Empty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Empty>.CreateRequest(bool?)
ClientServiceRequest<Empty>.GenerateRequestUri()
ClientServiceRequest<Empty>.GetBody()
ClientServiceRequest<Empty>.GetDefaultETagAction(string)
ClientServiceRequest<Empty>.ETagAction
ClientServiceRequest<Empty>.ModifyRequest
ClientServiceRequest<Empty>.ValidateParameters
ClientServiceRequest<Empty>.ApiVersion
ClientServiceRequest<Empty>.RequestParameters
ClientServiceRequest<Empty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Books.v1
Assembly: Google.Apis.Books.v1.dll
Syntax
public class MylibraryResource.BookshelvesResource.AddVolumeRequest : BooksBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest

Constructors

AddVolumeRequest(IClientService, string, string)

Constructs a new AddVolume request.

Declaration
public AddVolumeRequest(IClientService service, string shelf, string volumeId)
Parameters
Type Name Description
IClientService service
string shelf
string volumeId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Books.v1.Data.Empty>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Books.v1.Data.Empty>.MethodName

Reason

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

Declaration
[RequestParameter("reason", RequestParameterType.Query)]
public virtual MylibraryResource.BookshelvesResource.AddVolumeRequest.ReasonEnum? Reason { get; set; }
Property Value
Type Description
MylibraryResource.BookshelvesResource.AddVolumeRequest.ReasonEnum?

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Books.v1.Data.Empty>.RestPath

Shelf

ID of bookshelf to which to add a volume.

Declaration
[RequestParameter("shelf", RequestParameterType.Path)]
public virtual string Shelf { get; }
Property Value
Type Description
string

Source

String to identify the originator of this request.

Declaration
[RequestParameter("source", RequestParameterType.Query)]
public virtual string Source { get; set; }
Property Value
Type Description
string

VolumeId

ID of volume to add.

Declaration
[RequestParameter("volumeId", RequestParameterType.Query)]
public virtual string VolumeId { get; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes AddVolume parameter list.

Declaration
protected override void InitParameters()
Overrides
BooksBaseServiceRequest<Empty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX