Compartilhar via


MicrosoftGraphTodoTaskList Class

public final class MicrosoftGraphTodoTaskList
extends MicrosoftGraphEntity

todoTaskList.

Constructor Summary

Constructor Description
MicrosoftGraphTodoTaskList()

Creates an instance of MicrosoftGraphTodoTaskList class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: todoTaskList.

String displayName()

Get the displayName property: The name of the task list.

List<MicrosoftGraphExtension> extensions()

Get the extensions property: The collection of open extensions defined for the task list.

static MicrosoftGraphTodoTaskList fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTodoTaskList from the JsonReader.

Boolean isOwner()

Get the isOwner property: True if the user is owner of the given task list.

Boolean isShared()

Get the isShared property: True if the task list is shared with other users.

List<MicrosoftGraphTodoTask> tasks()

Get the tasks property: The tasks in this task list.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphWellknownListName wellknownListName()

Get the wellknownListName property: wellknownListName.

MicrosoftGraphTodoTaskList withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: todoTaskList.

MicrosoftGraphTodoTaskList withDisplayName(String displayName)

Set the displayName property: The name of the task list.

MicrosoftGraphTodoTaskList withExtensions(List<MicrosoftGraphExtension> extensions)

Set the extensions property: The collection of open extensions defined for the task list.

MicrosoftGraphTodoTaskList withId(String id)

Set the id property: Read-only.

MicrosoftGraphTodoTaskList withIsOwner(Boolean isOwner)

Set the isOwner property: True if the user is owner of the given task list.

MicrosoftGraphTodoTaskList withIsShared(Boolean isShared)

Set the isShared property: True if the task list is shared with other users.

MicrosoftGraphTodoTaskList withTasks(List<MicrosoftGraphTodoTask> tasks)

Set the tasks property: The tasks in this task list.

MicrosoftGraphTodoTaskList withWellknownListName(MicrosoftGraphWellknownListName wellknownListName)

Set the wellknownListName property: wellknownListName.

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 additionalProperties()

Get the additionalProperties property: todoTaskList.

Overrides:

MicrosoftGraphTodoTaskList.additionalProperties()

Returns:

the additionalProperties value.

displayName

public String displayName()

Get the displayName property: The name of the task list.

Returns:

the displayName value.

extensions

public List extensions()

Get the extensions property: The collection of open extensions defined for the task list. Nullable.

Returns:

the extensions value.

fromJson

public static MicrosoftGraphTodoTaskList fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTodoTaskList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphTodoTaskList if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphTodoTaskList.

isOwner

public Boolean isOwner()

Get the isOwner property: True if the user is owner of the given task list.

Returns:

the isOwner value.

isShared

public Boolean isShared()

Get the isShared property: True if the task list is shared with other users.

Returns:

the isShared value.

tasks

public List tasks()

Get the tasks property: The tasks in this task list. Read-only. Nullable.

Returns:

the tasks value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphTodoTaskList.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphTodoTaskList.validate()

wellknownListName

public MicrosoftGraphWellknownListName wellknownListName()

Get the wellknownListName property: wellknownListName.

Returns:

the wellknownListName value.

withAdditionalProperties

public MicrosoftGraphTodoTaskList withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: todoTaskList.

Overrides:

MicrosoftGraphTodoTaskList.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTodoTaskList object itself.

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.

withExtensions

public MicrosoftGraphTodoTaskList withExtensions(List 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.

withId

public MicrosoftGraphTodoTaskList withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphTodoTaskList.withId(String id)

Parameters:

id

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.

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.

withTasks

public MicrosoftGraphTodoTaskList withTasks(List tasks)

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.

withWellknownListName

public MicrosoftGraphTodoTaskList withWellknownListName(MicrosoftGraphWellknownListName wellknownListName)

Set the wellknownListName property: wellknownListName.

Parameters:

wellknownListName - the wellknownListName value to set.

Returns:

the MicrosoftGraphTodoTaskList object itself.

Applies to