Class TodoTask

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.TodoTask
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class TodoTask extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Todo Task.
  • Field Details

    • body

      @SerializedName(value="body", alternate="Body") @Expose @Nullable public ItemBody body
      The Body. The task body that typically contains information about the task.
    • bodyLastModifiedDateTime

      @SerializedName(value="bodyLastModifiedDateTime", alternate="BodyLastModifiedDateTime") @Expose @Nullable public OffsetDateTime bodyLastModifiedDateTime
      The Body Last Modified Date Time. The date and time when the task body was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
    • categories

      @SerializedName(value="categories", alternate="Categories") @Expose @Nullable public List<String> categories
      The Categories. The categories associated with the task. Each category corresponds to the displayName property of an outlookCategory that the user has defined.
    • completedDateTime

      @SerializedName(value="completedDateTime", alternate="CompletedDateTime") @Expose @Nullable public DateTimeTimeZone completedDateTime
      The Completed Date Time. The date and time in the specified time zone that the task was finished.
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
    • dueDateTime

      @SerializedName(value="dueDateTime", alternate="DueDateTime") @Expose @Nullable public DateTimeTimeZone dueDateTime
      The Due Date Time. The date and time in the specified time zone that the task is to be finished.
    • hasAttachments

      @SerializedName(value="hasAttachments", alternate="HasAttachments") @Expose @Nullable public Boolean hasAttachments
      The Has Attachments.
    • importance

      @SerializedName(value="importance", alternate="Importance") @Expose @Nullable public Importance importance
      The Importance. The importance of the task. Possible values are: low, normal, high.
    • isReminderOn

      @SerializedName(value="isReminderOn", alternate="IsReminderOn") @Expose @Nullable public Boolean isReminderOn
      The Is Reminder On. Set to true if an alert is set to remind the user of the task.
    • lastModifiedDateTime

      @SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTime
      The Last Modified Date Time. The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
    • recurrence

      @SerializedName(value="recurrence", alternate="Recurrence") @Expose @Nullable public PatternedRecurrence recurrence
      The Recurrence. The recurrence pattern for the task.
    • reminderDateTime

      @SerializedName(value="reminderDateTime", alternate="ReminderDateTime") @Expose @Nullable public DateTimeTimeZone reminderDateTime
      The Reminder Date Time. The date and time in the specified time zone for a reminder alert of the task to occur.
    • startDateTime

      @SerializedName(value="startDateTime", alternate="StartDateTime") @Expose @Nullable public DateTimeTimeZone startDateTime
      The Start Date Time.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public TaskStatus status
      The Status. Indicates the state or progress of the task. Possible values are: notStarted, inProgress, completed, waitingOnOthers, deferred.
    • title

      @SerializedName(value="title", alternate="Title") @Expose @Nullable public String title
      The Title. A brief description of the task.
    • attachments

      @SerializedName(value="attachments", alternate="Attachments") @Expose @Nullable public AttachmentBaseCollectionPage attachments
      The Attachments.
    • attachmentSessions

      @SerializedName(value="attachmentSessions", alternate="AttachmentSessions") @Expose @Nullable public AttachmentSessionCollectionPage attachmentSessions
      The Attachment Sessions.
    • checklistItems

      @SerializedName(value="checklistItems", alternate="ChecklistItems") @Expose @Nullable public ChecklistItemCollectionPage checklistItems
      The Checklist Items. A collection of checklistItems linked to a task.
    • extensions

      @SerializedName(value="extensions", alternate="Extensions") @Expose @Nullable public ExtensionCollectionPage extensions
      The Extensions. The collection of open extensions defined for the task. Nullable.
    • linkedResources

      @SerializedName(value="linkedResources", alternate="LinkedResources") @Expose @Nullable public LinkedResourceCollectionPage linkedResources
      The Linked Resources. A collection of resources linked to the task.
  • Constructor Details

    • TodoTask

      public TodoTask()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to