MicrosoftGraphTodoTaskList Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphTodoTaskList
- com.
- com.
public final class MicrosoftGraphTodoTaskList
extends MicrosoftGraphEntity
todoTaskList.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphTodoTaskList() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
displayName()
Get the display |
List<Microsoft |
extensions()
Get the extensions property: The collection of open extensions defined for the task list. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
isOwner()
Get the is |
Boolean |
isShared()
Get the is |
List<Microsoft |
tasks()
Get the tasks property: The tasks in this task list. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
wellknownListName()
Get the wellknown |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withExtensions(List<MicrosoftGraphExtension> extensions)
Set the extensions property: The collection of open extensions defined for the task list. |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withIsOwner(Boolean isOwner)
Set the is |
Microsoft |
withIsShared(Boolean isShared)
Set the is |
Microsoft |
withTasks(List<MicrosoftGraphTodoTask> tasks)
Set the tasks property: The tasks in this task list. |
Microsoft |
withWellknownListName(MicrosoftGraphWellknownListName wellknownListName)
Set the wellknown |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphTodoTaskList
public MicrosoftGraphTodoTaskList()
Creates an instance of MicrosoftGraphTodoTaskList class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: todoTaskList.
Overrides:
MicrosoftGraphTodoTaskList.additionalProperties()Returns:
displayName
public String displayName()
Get the displayName property: The name of the task list.
Returns:
extensions
public List
Get the extensions property: The collection of open extensions defined for the task list. Nullable.
Returns:
fromJson
public static MicrosoftGraphTodoTaskList fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphTodoTaskList from the JsonReader.
Parameters:
Returns:
Throws:
isOwner
public Boolean isOwner()
Get the isOwner property: True if the user is owner of the given task list.
Returns:
isShared
public Boolean isShared()
Get the isShared property: True if the task list is shared with other users.
Returns:
tasks
public List
Get the tasks property: The tasks in this task list. Read-only. Nullable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphTodoTaskList.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphTodoTaskList.validate()wellknownListName
public MicrosoftGraphWellknownListName wellknownListName()
Get the wellknownListName property: wellknownListName.
Returns:
withAdditionalProperties
public MicrosoftGraphTodoTaskList withAdditionalProperties(Map
Set the additionalProperties property: todoTaskList.
Overrides:
MicrosoftGraphTodoTaskList.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withDisplayName
public MicrosoftGraphTodoTaskList withDisplayName(String displayName)
Set the displayName property: The name of the task list.
Parameters:
Returns:
withExtensions
public MicrosoftGraphTodoTaskList withExtensions(List
Set the extensions property: The collection of open extensions defined for the task list. Nullable.
Parameters:
Returns:
withId
public MicrosoftGraphTodoTaskList withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphTodoTaskList.withId(String id)Parameters:
withIsOwner
public MicrosoftGraphTodoTaskList withIsOwner(Boolean isOwner)
Set the isOwner property: True if the user is owner of the given task list.
Parameters:
Returns:
withIsShared
public MicrosoftGraphTodoTaskList withIsShared(Boolean isShared)
Set the isShared property: True if the task list is shared with other users.
Parameters:
Returns:
withTasks
public MicrosoftGraphTodoTaskList withTasks(List
Set the tasks property: The tasks in this task list. Read-only. Nullable.
Parameters:
Returns:
withWellknownListName
public MicrosoftGraphTodoTaskList withWellknownListName(MicrosoftGraphWellknownListName wellknownListName)
Set the wellknownListName property: wellknownListName.
Parameters:
Returns:
Applies to
Azure SDK for Java