Package com.microsoft.graph.models
Class TodoTask
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.TodoTask
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class TodoTask
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TodoTaskcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the attachments property value.Gets the attachmentSessions property value.getBody()Gets the body property value.Gets the bodyLastModifiedDateTime property value.Gets the categories property value.Gets the checklistItems property value.Gets the completedDateTime property value.Gets the createdDateTime property value.Gets the dueDateTime property value.Gets the extensions property value.The deserialization information for the current modelGets the hasAttachments property value.Gets the importance property value.Gets the isReminderOn property value.Gets the lastModifiedDateTime property value.Gets the linkedResources property value.Gets the recurrence property value.Gets the reminderDateTime property value.Gets the startDateTime property value.Gets the status property value.getTitle()Gets the title property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAttachments(List<AttachmentBase> value) Sets the attachments property value.voidSets the attachmentSessions property value.voidSets the body property value.voidSets the bodyLastModifiedDateTime property value.voidsetCategories(List<String> value) Sets the categories property value.voidsetChecklistItems(List<ChecklistItem> value) Sets the checklistItems property value.voidSets the completedDateTime property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidsetDueDateTime(DateTimeTimeZone value) Sets the dueDateTime property value.voidsetExtensions(List<Extension> value) Sets the extensions property value.voidsetHasAttachments(Boolean value) Sets the hasAttachments property value.voidsetImportance(Importance value) Sets the importance property value.voidsetIsReminderOn(Boolean value) Sets the isReminderOn property value.voidSets the lastModifiedDateTime property value.voidsetLinkedResources(List<LinkedResource> value) Sets the linkedResources property value.voidsetRecurrence(PatternedRecurrence value) Sets the recurrence property value.voidSets the reminderDateTime property value.voidsetStartDateTime(DateTimeTimeZone value) Sets the startDateTime property value.voidsetStatus(TaskStatus value) Sets the status property value.voidSets the title property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
TodoTask
public TodoTask()Instantiates a newTodoTaskand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static TodoTask createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
TodoTask
-
getAttachments
Gets the attachments property value. A collection of file attachments for the task.- Returns:
- a
List<AttachmentBase>
-
getAttachmentSessions
Gets the attachmentSessions property value. The attachmentSessions property- Returns:
- a
List<AttachmentSession>
-
getBody
Gets the body property value. The task body that typically contains information about the task.- Returns:
- a
ItemBody
-
getBodyLastModifiedDateTime
Gets the bodyLastModifiedDateTime property value. 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'.- Returns:
- a
OffsetDateTime
-
getCategories
Gets the categories property value. The categories associated with the task. Each category corresponds to the displayName property of an outlookCategory that the user has defined. -
getChecklistItems
Gets the checklistItems property value. A collection of checklistItems linked to a task.- Returns:
- a
List<ChecklistItem>
-
getCompletedDateTime
Gets the completedDateTime property value. The date and time in the specified time zone that the task was finished.- Returns:
- a
DateTimeTimeZone
-
getCreatedDateTime
Gets the createdDateTime property value. 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'.- Returns:
- a
OffsetDateTime
-
getDueDateTime
Gets the dueDateTime property value. The date and time in the specified time zone that the task is to be finished.- Returns:
- a
DateTimeTimeZone
-
getExtensions
Gets the extensions property value. The collection of open extensions defined for the task. Nullable. -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getHasAttachments
Gets the hasAttachments property value. Indicates whether the task has attachments.- Returns:
- a
Boolean
-
getImportance
Gets the importance property value. The importance property- Returns:
- a
Importance
-
getIsReminderOn
Gets the isReminderOn property value. Set to true if an alert is set to remind the user of the task.- Returns:
- a
Boolean
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. 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'.- Returns:
- a
OffsetDateTime
-
getLinkedResources
Gets the linkedResources property value. A collection of resources linked to the task.- Returns:
- a
List<LinkedResource>
-
getRecurrence
Gets the recurrence property value. The recurrence pattern for the task.- Returns:
- a
PatternedRecurrence
-
getReminderDateTime
Gets the reminderDateTime property value. The date and time in the specified time zone for a reminder alert of the task to occur.- Returns:
- a
DateTimeTimeZone
-
getStartDateTime
Gets the startDateTime property value. The date and time in the specified time zone at which the task is scheduled to start.- Returns:
- a
DateTimeTimeZone
-
getStatus
Gets the status property value. The status property- Returns:
- a
TaskStatus
-
getTitle
Gets the title property value. A brief description of the task.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAttachments
Sets the attachments property value. A collection of file attachments for the task.- Parameters:
value- Value to set for the attachments property.
-
setAttachmentSessions
Sets the attachmentSessions property value. The attachmentSessions property- Parameters:
value- Value to set for the attachmentSessions property.
-
setBody
Sets the body property value. The task body that typically contains information about the task.- Parameters:
value- Value to set for the body property.
-
setBodyLastModifiedDateTime
Sets the bodyLastModifiedDateTime property value. 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'.- Parameters:
value- Value to set for the bodyLastModifiedDateTime property.
-
setCategories
Sets the categories property value. The categories associated with the task. Each category corresponds to the displayName property of an outlookCategory that the user has defined.- Parameters:
value- Value to set for the categories property.
-
setChecklistItems
Sets the checklistItems property value. A collection of checklistItems linked to a task.- Parameters:
value- Value to set for the checklistItems property.
-
setCompletedDateTime
Sets the completedDateTime property value. The date and time in the specified time zone that the task was finished.- Parameters:
value- Value to set for the completedDateTime property.
-
setCreatedDateTime
Sets the createdDateTime property value. 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'.- Parameters:
value- Value to set for the createdDateTime property.
-
setDueDateTime
Sets the dueDateTime property value. The date and time in the specified time zone that the task is to be finished.- Parameters:
value- Value to set for the dueDateTime property.
-
setExtensions
Sets the extensions property value. The collection of open extensions defined for the task. Nullable.- Parameters:
value- Value to set for the extensions property.
-
setHasAttachments
Sets the hasAttachments property value. Indicates whether the task has attachments.- Parameters:
value- Value to set for the hasAttachments property.
-
setImportance
Sets the importance property value. The importance property- Parameters:
value- Value to set for the importance property.
-
setIsReminderOn
Sets the isReminderOn property value. Set to true if an alert is set to remind the user of the task.- Parameters:
value- Value to set for the isReminderOn property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. 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'.- Parameters:
value- Value to set for the lastModifiedDateTime property.
-
setLinkedResources
Sets the linkedResources property value. A collection of resources linked to the task.- Parameters:
value- Value to set for the linkedResources property.
-
setRecurrence
Sets the recurrence property value. The recurrence pattern for the task.- Parameters:
value- Value to set for the recurrence property.
-
setReminderDateTime
Sets the reminderDateTime property value. The date and time in the specified time zone for a reminder alert of the task to occur.- Parameters:
value- Value to set for the reminderDateTime property.
-
setStartDateTime
Sets the startDateTime property value. The date and time in the specified time zone at which the task is scheduled to start.- Parameters:
value- Value to set for the startDateTime property.
-
setStatus
Sets the status property value. The status property- Parameters:
value- Value to set for the status property.
-
setTitle
Sets the title property value. A brief description of the task.- Parameters:
value- Value to set for the title property.
-