Class MicrosoftGraphTodoTaskList

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

public final class MicrosoftGraphTodoTaskList extends MicrosoftGraphEntity
todoTaskList.
  • Constructor Details

    • MicrosoftGraphTodoTaskList

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

    • displayName

      public String displayName()
      Get the displayName property: The name of the task list.
      Returns:
      the displayName value.
    • withDisplayName

      public MicrosoftGraphTodoTaskList withDisplayName(String displayName)
      Set the displayName property: The name of the task list.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MicrosoftGraphTodoTaskList object itself.
    • isOwner

      public Boolean isOwner()
      Get the isOwner property: True if the user is owner of the given task list.
      Returns:
      the isOwner value.
    • withIsOwner

      public MicrosoftGraphTodoTaskList withIsOwner(Boolean isOwner)
      Set the isOwner property: True if the user is owner of the given task list.
      Parameters:
      isOwner - the isOwner value to set.
      Returns:
      the MicrosoftGraphTodoTaskList object itself.
    • isShared

      public Boolean isShared()
      Get the isShared property: True if the task list is shared with other users.
      Returns:
      the isShared value.
    • withIsShared

      public MicrosoftGraphTodoTaskList withIsShared(Boolean isShared)
      Set the isShared property: True if the task list is shared with other users.
      Parameters:
      isShared - the isShared value to set.
      Returns:
      the MicrosoftGraphTodoTaskList object itself.
    • wellknownListName

      public MicrosoftGraphWellknownListName wellknownListName()
      Get the wellknownListName property: wellknownListName.
      Returns:
      the wellknownListName value.
    • withWellknownListName

      public MicrosoftGraphTodoTaskList withWellknownListName(MicrosoftGraphWellknownListName wellknownListName)
      Set the wellknownListName property: wellknownListName.
      Parameters:
      wellknownListName - the wellknownListName value to set.
      Returns:
      the MicrosoftGraphTodoTaskList object itself.
    • extensions

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

      public MicrosoftGraphTodoTaskList withExtensions(List<MicrosoftGraphExtension> extensions)
      Set the extensions property: The collection of open extensions defined for the task list. Nullable.
      Parameters:
      extensions - the extensions value to set.
      Returns:
      the MicrosoftGraphTodoTaskList object itself.
    • tasks

      public List<MicrosoftGraphTodoTask> tasks()
      Get the tasks property: The tasks in this task list. Read-only. Nullable.
      Returns:
      the tasks value.
    • withTasks

      Set the tasks property: The tasks in this task list. Read-only. Nullable.
      Parameters:
      tasks - the tasks value to set.
      Returns:
      the MicrosoftGraphTodoTaskList object itself.
    • additionalProperties

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

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

      public MicrosoftGraphTodoTaskList 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.