Class TasksResource.MoveRequest
Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task.
Inheritance
TasksResource.MoveRequest
Inherited Members
Namespace: Google.Apis.Tasks.v1
Assembly: Google.Apis.Tasks.v1.dll
Syntax
public class TasksResource.MoveRequest : TasksBaseServiceRequest<Task>, IClientServiceRequest<Task>, IClientServiceRequest
Constructors
MoveRequest(IClientService, string, string)
Constructs a new Move request.
Declaration
public MoveRequest(IClientService service, string tasklist, string task)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | tasklist | |
string | task |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Tasks.v1.Data.Task>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Tasks.v1.Data.Task>.MethodName
Parent
New parent task identifier. If the task is moved to the top level, this parameter is omitted. Optional.
Declaration
[RequestParameter("parent", RequestParameterType.Query)]
public virtual string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
Previous
New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. Optional.
Declaration
[RequestParameter("previous", RequestParameterType.Query)]
public virtual string Previous { get; set; }
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.Tasks.v1.Data.Task>.RestPath
Task
Task identifier.
Declaration
[RequestParameter("task", RequestParameterType.Path)]
public virtual string Task { get; }
Property Value
Type | Description |
---|---|
string |
Tasklist
Task list identifier.
Declaration
[RequestParameter("tasklist", RequestParameterType.Path)]
public virtual string Tasklist { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Move parameter list.
Declaration
protected override void InitParameters()