Show / Hide Table of Contents

Class TasksResource.MoveRequest

Moves the specified task to another position in the destination task list. If the destination list is not specified, the task is moved within its current 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
object
ClientServiceRequest
ClientServiceRequest<Task>
TasksBaseServiceRequest<Task>
TasksResource.MoveRequest
Implements
IClientServiceRequest<Task>
IClientServiceRequest
Inherited Members
TasksBaseServiceRequest<Task>.Xgafv
TasksBaseServiceRequest<Task>.AccessToken
TasksBaseServiceRequest<Task>.Alt
TasksBaseServiceRequest<Task>.Callback
TasksBaseServiceRequest<Task>.Fields
TasksBaseServiceRequest<Task>.Key
TasksBaseServiceRequest<Task>.OauthToken
TasksBaseServiceRequest<Task>.PrettyPrint
TasksBaseServiceRequest<Task>.QuotaUser
TasksBaseServiceRequest<Task>.UploadType
TasksBaseServiceRequest<Task>.UploadProtocol
ClientServiceRequest<Task>.Execute()
ClientServiceRequest<Task>.ExecuteAsStream()
ClientServiceRequest<Task>.ExecuteAsync()
ClientServiceRequest<Task>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Task>.ExecuteAsStreamAsync()
ClientServiceRequest<Task>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Task>.CreateRequest(bool?)
ClientServiceRequest<Task>.GenerateRequestUri()
ClientServiceRequest<Task>.GetBody()
ClientServiceRequest<Task>.GetDefaultETagAction(string)
ClientServiceRequest<Task>.ETagAction
ClientServiceRequest<Task>.ModifyRequest
ClientServiceRequest<Task>.ValidateParameters
ClientServiceRequest<Task>.ApiVersion
ClientServiceRequest<Task>.RequestParameters
ClientServiceRequest<Task>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

DestinationTasklist

Optional. Destination task list identifier. If set, the task is moved from tasklist to the destinationTasklist list. Otherwise the task is moved within its current list. Recurrent tasks cannot currently be moved between lists.

Declaration
[RequestParameter("destinationTasklist", RequestParameterType.Query)]
public virtual string DestinationTasklist { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Task>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Task>.MethodName

Parent

Optional. New parent task identifier. If the task is moved to the top level, this parameter is omitted. The task set as parent must exist in the task list and can not be hidden. Exceptions: 1. Assigned and repeating tasks cannot be set as parent tasks (have subtasks), or be moved under a parent task (become subtasks). 2. Tasks that are both completed and hidden cannot be nested, so the parent field must be empty.

Declaration
[RequestParameter("parent", RequestParameterType.Query)]
public virtual string Parent { get; set; }
Property Value
Type Description
string

Previous

Optional. New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. The task set as previous must exist in the task list and can not be hidden. Exceptions: 1. Tasks that are both completed and hidden can only be moved to position 0, so the previous field must be empty.

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
ClientServiceRequest<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()
Overrides
TasksBaseServiceRequest<Task>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX