Class MicrosoftGraphTodoTaskList
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTodoTaskList
todoTaskList.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphTodoTaskList class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: todoTaskList.Get the displayName property: The name of the task list.Get the extensions property: The collection of open extensions defined for the task list.isOwner()Get the isOwner property: True if the user is owner of the given task list.isShared()Get the isShared property: True if the task list is shared with other users.tasks()Get the tasks property: The tasks in this task list.voidvalidate()Validates the instance.Get the wellknownListName property: wellknownListName.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: todoTaskList.withDisplayName(String displayName) Set the displayName property: The name of the task list.withExtensions(List<MicrosoftGraphExtension> extensions) Set the extensions property: The collection of open extensions defined for the task list.Set the id property: Read-only.withIsOwner(Boolean isOwner) Set the isOwner property: True if the user is owner of the given task list.withIsShared(Boolean isShared) Set the isShared property: True if the task list is shared with other users.withTasks(List<MicrosoftGraphTodoTask> tasks) Set the tasks property: The tasks in this task list.withWellknownListName(MicrosoftGraphWellknownListName wellknownListName) Set the wellknownListName property: wellknownListName.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphTodoTaskList
public MicrosoftGraphTodoTaskList()Creates an instance of MicrosoftGraphTodoTaskList class.
-
-
Method Details
-
displayName
Get the displayName property: The name of the task list.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The name of the task list.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphTodoTaskList object itself.
-
isOwner
Get the isOwner property: True if the user is owner of the given task list.- Returns:
- the isOwner value.
-
withIsOwner
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.
-
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
Get the extensions property: The collection of open extensions defined for the task list. Nullable.- Returns:
- the extensions value.
-
withExtensions
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
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
Get the additionalProperties property: todoTaskList.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: todoTaskList.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTodoTaskList 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.
-