Class Task
Implements
Inherited Members
Namespace: Google.Apis.Tasks.v1.Data
Assembly: Google.Apis.Tasks.v1.dll
Syntax
public class Task : IDirectResponseSchema
Properties
Completed
Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
Declaration
[JsonProperty("completed")]
public virtual string Completed { get; set; }
Property Value
Type | Description |
---|---|
string |
Deleted
Flag indicating whether the task has been deleted. The default is False.
Declaration
[JsonProperty("deleted")]
public virtual bool? Deleted { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Due
Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API.
Declaration
[JsonProperty("due")]
public virtual string Due { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
ETag of the resource.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Hidden
Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.
Declaration
[JsonProperty("hidden")]
public virtual bool? Hidden { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Id
Task identifier.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Type of the resource. This is always "tasks#task".
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Links
Collection of links. This collection is read-only.
Declaration
[JsonProperty("links")]
public virtual IList<Task.LinksData> Links { get; set; }
Property Value
Type | Description |
---|---|
IList<Task.LinksData> |
Notes
Notes describing the task. Optional. Maximum length allowed: 8192 characters.
Declaration
[JsonProperty("notes")]
public virtual string Notes { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level.
Declaration
[JsonProperty("parent")]
public virtual string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
Position
String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position.
Declaration
[JsonProperty("position")]
public virtual string Position { get; set; }
Property Value
Type | Description |
---|---|
string |
SelfLink
URL pointing to this task. Used to retrieve, update, or delete this task.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
Status of the task. This is either "needsAction" or "completed".
Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type | Description |
---|---|
string |
Title
Title of the task. Maximum length allowed: 1024 characters.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
Updated
Last modification time of the task (as a RFC 3339 timestamp).
Declaration
[JsonProperty("updated")]
public virtual string Updated { get; set; }
Property Value
Type | Description |
---|---|
string |
WebViewLink
An absolute link to the task in the Google Tasks Web UI. This field is read-only.
Declaration
[JsonProperty("webViewLink")]
public virtual string WebViewLink { get; set; }
Property Value
Type | Description |
---|---|
string |