Class MylibraryResource.BookshelvesResource.AddVolumeRequest
Adds a volume to a bookshelf.
Inheritance
MylibraryResource.BookshelvesResource.AddVolumeRequest
Inherited Members
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()