Class MylibraryResource.BookshelvesResource.MoveVolumeRequest
Moves a volume within a bookshelf.
Inheritance
System.Object
MylibraryResource.BookshelvesResource.MoveVolumeRequest
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 MoveVolumeRequest : BooksBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
MoveVolumeRequest(IClientService, String, String, Int32)
Constructs a new MoveVolume request.
Declaration
public MoveVolumeRequest(IClientService service, string shelf, string volumeId, int volumePosition)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | shelf | |
| System.String | volumeId | |
| System.Int32 | volumePosition |
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
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 with the 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 move.
Declaration
[RequestParameter("volumeId", RequestParameterType.Query)]
public virtual string VolumeId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
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.)
Declaration
[RequestParameter("volumePosition", RequestParameterType.Query)]
public virtual int VolumePosition { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
InitParameters()
Initializes MoveVolume parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Books.v1.BooksBaseServiceRequest<Google.Apis.Books.v1.Data.Empty>.InitParameters()