Class MylibraryResource.ReadingpositionsResource.SetPositionRequest
Sets my reading position information for a volume.
Inheritance
MylibraryResource.ReadingpositionsResource.SetPositionRequest
Inherited Members
Namespace: Google.Apis.Books.v1
Assembly: Google.Apis.Books.v1.dll
Syntax
public class MylibraryResource.ReadingpositionsResource.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 | |
string | volumeId | |
string | position | |
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 |
---|---|
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 |
---|---|
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 |
---|---|
string |
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
Position
Position string for the new volume reading position.
Declaration
[RequestParameter("position", RequestParameterType.Query)]
public virtual string Position { get; }
Property Value
Type | Description |
---|---|
string |
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
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 |
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 |
---|---|
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 |
---|---|
string |
Methods
InitParameters()
Initializes SetPosition parameter list.
Declaration
protected override void InitParameters()