Class MicrosoftGraphTodoTaskInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTodoTaskInner
-
public final class MicrosoftGraphTodoTaskInner extends MicrosoftGraphEntity
todoTask.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphTodoTaskInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: todoTask.MicrosoftGraphItemBodybody()Get the body property: itemBody.OffsetDateTimebodyLastModifiedDateTime()Get the bodyLastModifiedDateTime property: The date and time when the task was last modified.MicrosoftGraphDateTimeZonecompletedDateTime()Get the completedDateTime property: dateTimeTimeZone.OffsetDateTimecreatedDateTime()Get the createdDateTime property: The date and time when the task was created.MicrosoftGraphDateTimeZonedueDateTime()Get the dueDateTime property: dateTimeTimeZone.List<MicrosoftGraphExtensionInner>extensions()Get the extensions property: The collection of open extensions defined for the task.MicrosoftGraphImportanceimportance()Get the importance property: The importance property.BooleanisReminderOn()Get the isReminderOn property: Set to true if an alert is set to remind the user of the task.OffsetDateTimelastModifiedDateTime()Get the lastModifiedDateTime property: The date and time when the task was last modified.List<MicrosoftGraphLinkedResourceInner>linkedResources()Get the linkedResources property: A collection of resources linked to the task.MicrosoftGraphPatternedRecurrencerecurrence()Get the recurrence property: patternedRecurrence.MicrosoftGraphDateTimeZonereminderDateTime()Get the reminderDateTime property: dateTimeTimeZone.MicrosoftGraphTaskStatusstatus()Get the status property: The status property.Stringtitle()Get the title property: A brief description of the task.voidvalidate()Validates the instance.MicrosoftGraphTodoTaskInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: todoTask.MicrosoftGraphTodoTaskInnerwithBody(MicrosoftGraphItemBody body)Set the body property: itemBody.MicrosoftGraphTodoTaskInnerwithBodyLastModifiedDateTime(OffsetDateTime bodyLastModifiedDateTime)Set the bodyLastModifiedDateTime property: The date and time when the task was last modified.MicrosoftGraphTodoTaskInnerwithCompletedDateTime(MicrosoftGraphDateTimeZone completedDateTime)Set the completedDateTime property: dateTimeTimeZone.MicrosoftGraphTodoTaskInnerwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The date and time when the task was created.MicrosoftGraphTodoTaskInnerwithDueDateTime(MicrosoftGraphDateTimeZone dueDateTime)Set the dueDateTime property: dateTimeTimeZone.MicrosoftGraphTodoTaskInnerwithExtensions(List<MicrosoftGraphExtensionInner> extensions)Set the extensions property: The collection of open extensions defined for the task.MicrosoftGraphTodoTaskInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphTodoTaskInnerwithImportance(MicrosoftGraphImportance importance)Set the importance property: The importance property.MicrosoftGraphTodoTaskInnerwithIsReminderOn(Boolean isReminderOn)Set the isReminderOn property: Set to true if an alert is set to remind the user of the task.MicrosoftGraphTodoTaskInnerwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: The date and time when the task was last modified.MicrosoftGraphTodoTaskInnerwithLinkedResources(List<MicrosoftGraphLinkedResourceInner> linkedResources)Set the linkedResources property: A collection of resources linked to the task.MicrosoftGraphTodoTaskInnerwithRecurrence(MicrosoftGraphPatternedRecurrence recurrence)Set the recurrence property: patternedRecurrence.MicrosoftGraphTodoTaskInnerwithReminderDateTime(MicrosoftGraphDateTimeZone reminderDateTime)Set the reminderDateTime property: dateTimeTimeZone.MicrosoftGraphTodoTaskInnerwithStatus(MicrosoftGraphTaskStatus status)Set the status property: The status property.MicrosoftGraphTodoTaskInnerwithTitle(String title)Set the title property: A brief description of the task.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
body
public MicrosoftGraphItemBody body()
Get the body property: itemBody.- Returns:
- the body value.
-
withBody
public MicrosoftGraphTodoTaskInner withBody(MicrosoftGraphItemBody body)
Set the body property: itemBody.- Parameters:
body- the body value to set.- Returns:
- the MicrosoftGraphTodoTaskInner object itself.
-
bodyLastModifiedDateTime
public OffsetDateTime 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
public MicrosoftGraphTodoTaskInner withBodyLastModifiedDateTime(OffsetDateTime bodyLastModifiedDateTime)
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 MicrosoftGraphTodoTaskInner object itself.
-
completedDateTime
public MicrosoftGraphDateTimeZone completedDateTime()
Get the completedDateTime property: dateTimeTimeZone.- Returns:
- the completedDateTime value.
-
withCompletedDateTime
public MicrosoftGraphTodoTaskInner withCompletedDateTime(MicrosoftGraphDateTimeZone completedDateTime)
Set the completedDateTime property: dateTimeTimeZone.- Parameters:
completedDateTime- the completedDateTime value to set.- Returns:
- the MicrosoftGraphTodoTaskInner object itself.
-
createdDateTime
public OffsetDateTime 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
public MicrosoftGraphTodoTaskInner withCreatedDateTime(OffsetDateTime createdDateTime)
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 MicrosoftGraphTodoTaskInner object itself.
-
dueDateTime
public MicrosoftGraphDateTimeZone dueDateTime()
Get the dueDateTime property: dateTimeTimeZone.- Returns:
- the dueDateTime value.
-
withDueDateTime
public MicrosoftGraphTodoTaskInner withDueDateTime(MicrosoftGraphDateTimeZone dueDateTime)
Set the dueDateTime property: dateTimeTimeZone.- Parameters:
dueDateTime- the dueDateTime value to set.- Returns:
- the MicrosoftGraphTodoTaskInner object itself.
-
importance
public MicrosoftGraphImportance importance()
Get the importance property: The importance property.- Returns:
- the importance value.
-
withImportance
public MicrosoftGraphTodoTaskInner withImportance(MicrosoftGraphImportance importance)
Set the importance property: The importance property.- Parameters:
importance- the importance value to set.- Returns:
- the MicrosoftGraphTodoTaskInner object itself.
-
isReminderOn
public Boolean 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
public MicrosoftGraphTodoTaskInner withIsReminderOn(Boolean isReminderOn)
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 MicrosoftGraphTodoTaskInner object itself.
-
lastModifiedDateTime
public OffsetDateTime 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
public MicrosoftGraphTodoTaskInner withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
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 MicrosoftGraphTodoTaskInner object itself.
-
recurrence
public MicrosoftGraphPatternedRecurrence recurrence()
Get the recurrence property: patternedRecurrence.- Returns:
- the recurrence value.
-
withRecurrence
public MicrosoftGraphTodoTaskInner withRecurrence(MicrosoftGraphPatternedRecurrence recurrence)
Set the recurrence property: patternedRecurrence.- Parameters:
recurrence- the recurrence value to set.- Returns:
- the MicrosoftGraphTodoTaskInner object itself.
-
reminderDateTime
public MicrosoftGraphDateTimeZone reminderDateTime()
Get the reminderDateTime property: dateTimeTimeZone.- Returns:
- the reminderDateTime value.
-
withReminderDateTime
public MicrosoftGraphTodoTaskInner withReminderDateTime(MicrosoftGraphDateTimeZone reminderDateTime)
Set the reminderDateTime property: dateTimeTimeZone.- Parameters:
reminderDateTime- the reminderDateTime value to set.- Returns:
- the MicrosoftGraphTodoTaskInner object itself.
-
status
public MicrosoftGraphTaskStatus status()
Get the status property: The status property.- Returns:
- the status value.
-
withStatus
public MicrosoftGraphTodoTaskInner withStatus(MicrosoftGraphTaskStatus status)
Set the status property: The status property.- Parameters:
status- the status value to set.- Returns:
- the MicrosoftGraphTodoTaskInner object itself.
-
title
public String title()
Get the title property: A brief description of the task.- Returns:
- the title value.
-
withTitle
public MicrosoftGraphTodoTaskInner withTitle(String title)
Set the title property: A brief description of the task.- Parameters:
title- the title value to set.- Returns:
- the MicrosoftGraphTodoTaskInner object itself.
-
extensions
public List<MicrosoftGraphExtensionInner> extensions()
Get the extensions property: The collection of open extensions defined for the task. Nullable.- Returns:
- the extensions value.
-
withExtensions
public MicrosoftGraphTodoTaskInner withExtensions(List<MicrosoftGraphExtensionInner> extensions)
Set the extensions property: The collection of open extensions defined for the task. Nullable.- Parameters:
extensions- the extensions value to set.- Returns:
- the MicrosoftGraphTodoTaskInner object itself.
-
linkedResources
public List<MicrosoftGraphLinkedResourceInner> linkedResources()
Get the linkedResources property: A collection of resources linked to the task.- Returns:
- the linkedResources value.
-
withLinkedResources
public MicrosoftGraphTodoTaskInner withLinkedResources(List<MicrosoftGraphLinkedResourceInner> linkedResources)
Set the linkedResources property: A collection of resources linked to the task.- Parameters:
linkedResources- the linkedResources value to set.- Returns:
- the MicrosoftGraphTodoTaskInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: todoTask.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphTodoTaskInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: todoTask.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTodoTaskInner object itself.
-
withId
public MicrosoftGraphTodoTaskInner withId(String id)
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.
-
-