Class MicrosoftGraphTodoTask
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTodoTask
todoTask.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphTodoTask class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: todoTask.body()Get the body property: itemBody.Get the bodyLastModifiedDateTime property: The date and time when the task was last modified.Get the completedDateTime property: dateTimeTimeZone.Get the createdDateTime property: The date and time when the task was created.Get the dueDateTime property: dateTimeTimeZone.Get the extensions property: The collection of open extensions defined for the task.Get the importance property: importance.Get the isReminderOn property: Set to true if an alert is set to remind the user of the task.Get the lastModifiedDateTime property: The date and time when the task was last modified.Get the linkedResources property: A collection of resources linked to the task.Get the recurrence property: patternedRecurrence.Get the reminderDateTime property: dateTimeTimeZone.status()Get the status property: taskStatus.title()Get the title property: A brief description of the task.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: todoTask.Set the body property: itemBody.withBodyLastModifiedDateTime(OffsetDateTime bodyLastModifiedDateTime) Set the bodyLastModifiedDateTime property: The date and time when the task was last modified.withCompletedDateTime(MicrosoftGraphDateTimeZone completedDateTime) Set the completedDateTime property: dateTimeTimeZone.withCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: The date and time when the task was created.withDueDateTime(MicrosoftGraphDateTimeZone dueDateTime) Set the dueDateTime property: dateTimeTimeZone.withExtensions(List<MicrosoftGraphExtension> extensions) Set the extensions property: The collection of open extensions defined for the task.Set the id property: Read-only.withImportance(MicrosoftGraphImportance importance) Set the importance property: importance.withIsReminderOn(Boolean isReminderOn) Set the isReminderOn property: Set to true if an alert is set to remind the user of the task.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: The date and time when the task was last modified.withLinkedResources(List<MicrosoftGraphLinkedResource> linkedResources) Set the linkedResources property: A collection of resources linked to the task.withRecurrence(MicrosoftGraphPatternedRecurrence recurrence) Set the recurrence property: patternedRecurrence.withReminderDateTime(MicrosoftGraphDateTimeZone reminderDateTime) Set the reminderDateTime property: dateTimeTimeZone.withStatus(MicrosoftGraphTaskStatus status) Set the status property: taskStatus.Set the title property: A brief description of the task.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphTodoTask
public MicrosoftGraphTodoTask()Creates an instance of MicrosoftGraphTodoTask class.
-
-
Method Details
-
body
Get the body property: itemBody.- Returns:
- the body value.
-
withBody
Set the body property: itemBody.- Parameters:
body- the body value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
bodyLastModifiedDateTime
Get the bodyLastModifiedDateTime property: 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:
- the bodyLastModifiedDateTime value.
-
withBodyLastModifiedDateTime
Set the bodyLastModifiedDateTime property: 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:
bodyLastModifiedDateTime- the bodyLastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
completedDateTime
Get the completedDateTime property: dateTimeTimeZone.- Returns:
- the completedDateTime value.
-
withCompletedDateTime
Set the completedDateTime property: dateTimeTimeZone.- Parameters:
completedDateTime- the completedDateTime value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
createdDateTime
Get the createdDateTime property: 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:
- the createdDateTime value.
-
withCreatedDateTime
Set the createdDateTime property: 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:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
dueDateTime
Get the dueDateTime property: dateTimeTimeZone.- Returns:
- the dueDateTime value.
-
withDueDateTime
Set the dueDateTime property: dateTimeTimeZone.- Parameters:
dueDateTime- the dueDateTime value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
importance
Get the importance property: importance.- Returns:
- the importance value.
-
withImportance
Set the importance property: importance.- Parameters:
importance- the importance value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
isReminderOn
Get the isReminderOn property: Set to true if an alert is set to remind the user of the task.- Returns:
- the isReminderOn value.
-
withIsReminderOn
Set the isReminderOn property: Set to true if an alert is set to remind the user of the task.- Parameters:
isReminderOn- the isReminderOn value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
lastModifiedDateTime
Get the lastModifiedDateTime property: 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:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
Set the lastModifiedDateTime property: 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:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
recurrence
Get the recurrence property: patternedRecurrence.- Returns:
- the recurrence value.
-
withRecurrence
Set the recurrence property: patternedRecurrence.- Parameters:
recurrence- the recurrence value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
reminderDateTime
Get the reminderDateTime property: dateTimeTimeZone.- Returns:
- the reminderDateTime value.
-
withReminderDateTime
Set the reminderDateTime property: dateTimeTimeZone.- Parameters:
reminderDateTime- the reminderDateTime value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
status
Get the status property: taskStatus.- Returns:
- the status value.
-
withStatus
Set the status property: taskStatus.- Parameters:
status- the status value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
title
Get the title property: A brief description of the task.- Returns:
- the title value.
-
withTitle
Set the title property: A brief description of the task.- Parameters:
title- the title value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
extensions
Get the extensions property: The collection of open extensions defined for the task. Nullable.- Returns:
- the extensions value.
-
withExtensions
Set the extensions property: The collection of open extensions defined for the task. Nullable.- Parameters:
extensions- the extensions value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
linkedResources
Get the linkedResources property: A collection of resources linked to the task.- Returns:
- the linkedResources value.
-
withLinkedResources
public MicrosoftGraphTodoTask withLinkedResources(List<MicrosoftGraphLinkedResource> linkedResources) Set the linkedResources property: A collection of resources linked to the task.- Parameters:
linkedResources- the linkedResources value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
additionalProperties
Get the additionalProperties property: todoTask.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: todoTask.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTodoTask object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-