MicrosoftGraphTodo Class

public final class MicrosoftGraphTodo
extends MicrosoftGraphEntity

todo.

Constructor Summary

Constructor Description
MicrosoftGraphTodo()

Creates an instance of MicrosoftGraphTodo class.

Method Summary

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

Get the additionalProperties property: todo.

static MicrosoftGraphTodo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTodo from the JsonReader.

List<MicrosoftGraphTodoTaskList> lists()

Get the lists property: The task lists in the users mailbox.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphTodo withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: todo.

MicrosoftGraphTodo withId(String id)

Set the id property: Read-only.

MicrosoftGraphTodo withLists(List<MicrosoftGraphTodoTaskList> lists)

Set the lists property: The task lists in the users mailbox.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTodo

public MicrosoftGraphTodo()

Creates an instance of MicrosoftGraphTodo class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: todo.

Overrides:

MicrosoftGraphTodo.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphTodo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTodo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphTodo 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 MicrosoftGraphTodo.

lists

public List lists()

Get the lists property: The task lists in the users mailbox.

Returns:

the lists value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphTodo.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphTodo.validate()

withAdditionalProperties

public MicrosoftGraphTodo withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: todo.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTodo object itself.

withId

public MicrosoftGraphTodo withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphTodo.withId(String id)

Parameters:

id

withLists

public MicrosoftGraphTodo withLists(List lists)

Set the lists property: The task lists in the users mailbox.

Parameters:

lists - the lists value to set.

Returns:

the MicrosoftGraphTodo object itself.

Applies to