Class MylibraryResource.BookshelvesResource.AddVolumeRequest
Adds a volume to a bookshelf.
Inheritance
System.Object
MylibraryResource.BookshelvesResource.AddVolumeRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Books.v1
Assembly: Google.Apis.Books.v1.dll
Syntax
public class 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 | |
| System.String | shelf | |
| System.String | volumeId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.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 |
|---|---|
| System.Nullable<MylibraryResource.BookshelvesResource.AddVolumeRequest.ReasonEnum> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.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 |
|---|---|
| System.String |
VolumeId
ID of volume to add.
Declaration
[RequestParameter("volumeId", RequestParameterType.Query)]
public virtual string VolumeId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
InitParameters()
Initializes AddVolume parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Books.v1.BooksBaseServiceRequest<Google.Apis.Books.v1.Data.Empty>.InitParameters()