Class MicrosoftGraphTodoTask

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTodoTask

public final class MicrosoftGraphTodoTask extends MicrosoftGraphEntity
todoTask.
  • Constructor Details

    • MicrosoftGraphTodoTask

      public MicrosoftGraphTodoTask()
      Creates an instance of MicrosoftGraphTodoTask class.
  • Method Details

    • body

      public MicrosoftGraphItemBody 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

      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 MicrosoftGraphTodoTask 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 MicrosoftGraphTodoTask object itself.
    • completedDateTime

      public MicrosoftGraphDateTimeZone completedDateTime()
      Get the completedDateTime property: dateTimeTimeZone.
      Returns:
      the completedDateTime value.
    • withCompletedDateTime

      public MicrosoftGraphTodoTask withCompletedDateTime(MicrosoftGraphDateTimeZone completedDateTime)
      Set the completedDateTime property: dateTimeTimeZone.
      Parameters:
      completedDateTime - the completedDateTime value to set.
      Returns:
      the MicrosoftGraphTodoTask 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 MicrosoftGraphTodoTask 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 MicrosoftGraphTodoTask object itself.
    • dueDateTime

      public MicrosoftGraphDateTimeZone dueDateTime()
      Get the dueDateTime property: dateTimeTimeZone.
      Returns:
      the dueDateTime value.
    • withDueDateTime

      public MicrosoftGraphTodoTask withDueDateTime(MicrosoftGraphDateTimeZone dueDateTime)
      Set the dueDateTime property: dateTimeTimeZone.
      Parameters:
      dueDateTime - the dueDateTime value to set.
      Returns:
      the MicrosoftGraphTodoTask object itself.
    • importance

      public MicrosoftGraphImportance importance()
      Get the importance property: importance.
      Returns:
      the importance value.
    • withImportance

      public MicrosoftGraphTodoTask withImportance(MicrosoftGraphImportance importance)
      Set the importance property: importance.
      Parameters:
      importance - the importance value to set.
      Returns:
      the MicrosoftGraphTodoTask 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 MicrosoftGraphTodoTask 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 MicrosoftGraphTodoTask 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 MicrosoftGraphTodoTask 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 MicrosoftGraphTodoTask object itself.
    • recurrence

      public MicrosoftGraphPatternedRecurrence recurrence()
      Get the recurrence property: patternedRecurrence.
      Returns:
      the recurrence value.
    • withRecurrence

      public MicrosoftGraphTodoTask withRecurrence(MicrosoftGraphPatternedRecurrence recurrence)
      Set the recurrence property: patternedRecurrence.
      Parameters:
      recurrence - the recurrence value to set.
      Returns:
      the MicrosoftGraphTodoTask object itself.
    • reminderDateTime

      public MicrosoftGraphDateTimeZone reminderDateTime()
      Get the reminderDateTime property: dateTimeTimeZone.
      Returns:
      the reminderDateTime value.
    • withReminderDateTime

      public MicrosoftGraphTodoTask withReminderDateTime(MicrosoftGraphDateTimeZone reminderDateTime)
      Set the reminderDateTime property: dateTimeTimeZone.
      Parameters:
      reminderDateTime - the reminderDateTime value to set.
      Returns:
      the MicrosoftGraphTodoTask object itself.
    • status

      public MicrosoftGraphTaskStatus 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

      public String title()
      Get the title property: A brief description of the task.
      Returns:
      the title value.
    • withTitle

      public MicrosoftGraphTodoTask withTitle(String title)
      Set the title property: A brief description of the task.
      Parameters:
      title - the title value to set.
      Returns:
      the MicrosoftGraphTodoTask object itself.
    • extensions

      public List<MicrosoftGraphExtension> extensions()
      Get the extensions property: The collection of open extensions defined for the task. Nullable.
      Returns:
      the extensions value.
    • withExtensions

      public MicrosoftGraphTodoTask withExtensions(List<MicrosoftGraphExtension> extensions)
      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

      public List<MicrosoftGraphLinkedResource> 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

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: todoTask.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphTodoTask withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: todoTask.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphTodoTask object itself.
    • withId

      public MicrosoftGraphTodoTask withId(String id)
      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.