Class MylibraryResource.ReadingpositionsResource.SetPositionRequest
Sets my reading position information for a volume.
Inheritance
System.Object
MylibraryResource.ReadingpositionsResource.SetPositionRequest
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 SetPositionRequest : BooksBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
SetPositionRequest(IClientService, String, String, String)
Constructs a new SetPosition request.
Declaration
public SetPositionRequest(IClientService service, string volumeId, string position, string timestamp)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | volumeId | |
| System.String | position | |
| System.String | timestamp |
Properties
Action
Action that caused this reading position to be set.
Declaration
[RequestParameter("action", RequestParameterType.Query)]
public virtual MylibraryResource.ReadingpositionsResource.SetPositionRequest.ActionEnum? Action { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<MylibraryResource.ReadingpositionsResource.SetPositionRequest.ActionEnum> |
ContentVersion
Volume content version for which this reading position applies.
Declaration
[RequestParameter("contentVersion", RequestParameterType.Query)]
public virtual string ContentVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DeviceCookie
Random persistent device cookie optional on set position.
Declaration
[RequestParameter("deviceCookie", RequestParameterType.Query)]
public virtual string DeviceCookie { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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
Position
Position string for the new volume reading position.
Declaration
[RequestParameter("position", RequestParameterType.Query)]
public virtual string Position { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
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
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 |
Timestamp
RFC 3339 UTC format timestamp associated with this reading position.
Declaration
[RequestParameter("timestamp", RequestParameterType.Query)]
public virtual string Timestamp { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
VolumeId
ID of volume for which to update the reading position.
Declaration
[RequestParameter("volumeId", RequestParameterType.Path)]
public virtual string VolumeId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
InitParameters()
Initializes SetPosition parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Books.v1.BooksBaseServiceRequest<Google.Apis.Books.v1.Data.Empty>.InitParameters()