Class MicrosoftGraphTodoTaskListInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTodoTaskListInner
-
public final class MicrosoftGraphTodoTaskListInner extends MicrosoftGraphEntity
todoTaskList.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphTodoTaskListInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: todoTaskList.StringdisplayName()Get the displayName property: The name of the task list.List<MicrosoftGraphExtensionInner>extensions()Get the extensions property: The collection of open extensions defined for the task list.BooleanisOwner()Get the isOwner property: True if the user is owner of the given task list.BooleanisShared()Get the isShared property: True if the task list is shared with other users.List<MicrosoftGraphTodoTaskInner>tasks()Get the tasks property: The tasks in this task list.voidvalidate()Validates the instance.MicrosoftGraphWellknownListNamewellknownListName()Get the wellknownListName property: The wellknownListName property.MicrosoftGraphTodoTaskListInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: todoTaskList.MicrosoftGraphTodoTaskListInnerwithDisplayName(String displayName)Set the displayName property: The name of the task list.MicrosoftGraphTodoTaskListInnerwithExtensions(List<MicrosoftGraphExtensionInner> extensions)Set the extensions property: The collection of open extensions defined for the task list.MicrosoftGraphTodoTaskListInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphTodoTaskListInnerwithIsOwner(Boolean isOwner)Set the isOwner property: True if the user is owner of the given task list.MicrosoftGraphTodoTaskListInnerwithIsShared(Boolean isShared)Set the isShared property: True if the task list is shared with other users.MicrosoftGraphTodoTaskListInnerwithTasks(List<MicrosoftGraphTodoTaskInner> tasks)Set the tasks property: The tasks in this task list.MicrosoftGraphTodoTaskListInnerwithWellknownListName(MicrosoftGraphWellknownListName wellknownListName)Set the wellknownListName property: The wellknownListName property.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: The name of the task list.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphTodoTaskListInner withDisplayName(String displayName)
Set the displayName property: The name of the task list.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphTodoTaskListInner 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 MicrosoftGraphTodoTaskListInner 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 MicrosoftGraphTodoTaskListInner 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 MicrosoftGraphTodoTaskListInner 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 MicrosoftGraphTodoTaskListInner object itself.
-
wellknownListName
public MicrosoftGraphWellknownListName wellknownListName()
Get the wellknownListName property: The wellknownListName property.- Returns:
- the wellknownListName value.
-
withWellknownListName
public MicrosoftGraphTodoTaskListInner withWellknownListName(MicrosoftGraphWellknownListName wellknownListName)
Set the wellknownListName property: The wellknownListName property.- Parameters:
wellknownListName- the wellknownListName value to set.- Returns:
- the MicrosoftGraphTodoTaskListInner object itself.
-
extensions
public List<MicrosoftGraphExtensionInner> extensions()
Get the extensions property: The collection of open extensions defined for the task list. Nullable.- Returns:
- the extensions value.
-
withExtensions
public MicrosoftGraphTodoTaskListInner withExtensions(List<MicrosoftGraphExtensionInner> 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 MicrosoftGraphTodoTaskListInner object itself.
-
tasks
public List<MicrosoftGraphTodoTaskInner> tasks()
Get the tasks property: The tasks in this task list. Read-only. Nullable.- Returns:
- the tasks value.
-
withTasks
public MicrosoftGraphTodoTaskListInner withTasks(List<MicrosoftGraphTodoTaskInner> tasks)
Set the tasks property: The tasks in this task list. Read-only. Nullable.- Parameters:
tasks- the tasks value to set.- Returns:
- the MicrosoftGraphTodoTaskListInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: todoTaskList.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphTodoTaskListInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: todoTaskList.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTodoTaskListInner object itself.
-
withId
public MicrosoftGraphTodoTaskListInner 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.
-
-