Partilhar via


MicrosoftGraphPlannerUser Class

public final class MicrosoftGraphPlannerUser
extends MicrosoftGraphEntity

plannerUser.

Constructor Summary

Constructor Description
MicrosoftGraphPlannerUser()

Creates an instance of MicrosoftGraphPlannerUser class.

Method Summary

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

Get the additionalProperties property: plannerUser.

static MicrosoftGraphPlannerUser fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerUser from the JsonReader.

List<MicrosoftGraphPlannerPlan> plans()

Get the plans property: Read-only.

List<MicrosoftGraphPlannerTask> tasks()

Get the tasks property: Read-only.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphPlannerUser withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: plannerUser.

MicrosoftGraphPlannerUser withId(String id)

Set the id property: Read-only.

MicrosoftGraphPlannerUser withPlans(List<MicrosoftGraphPlannerPlan> plans)

Set the plans property: Read-only.

MicrosoftGraphPlannerUser withTasks(List<MicrosoftGraphPlannerTask> tasks)

Set the tasks property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphPlannerUser

public MicrosoftGraphPlannerUser()

Creates an instance of MicrosoftGraphPlannerUser class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: plannerUser.

Overrides:

MicrosoftGraphPlannerUser.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphPlannerUser fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerUser from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

plans

public List plans()

Get the plans property: Read-only. Nullable. Returns the plannerTasks assigned to the user.

Returns:

the plans value.

tasks

public List tasks()

Get the tasks property: Read-only. Nullable. Returns the plannerPlans shared with the user.

Returns:

the tasks value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphPlannerUser.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphPlannerUser.validate()

withAdditionalProperties

public MicrosoftGraphPlannerUser withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: plannerUser.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPlannerUser object itself.

withId

public MicrosoftGraphPlannerUser withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphPlannerUser.withId(String id)

Parameters:

id

withPlans

public MicrosoftGraphPlannerUser withPlans(List plans)

Set the plans property: Read-only. Nullable. Returns the plannerTasks assigned to the user.

Parameters:

plans - the plans value to set.

Returns:

the MicrosoftGraphPlannerUser object itself.

withTasks

public MicrosoftGraphPlannerUser withTasks(List tasks)

Set the tasks property: Read-only. Nullable. Returns the plannerPlans shared with the user.

Parameters:

tasks - the tasks value to set.

Returns:

the MicrosoftGraphPlannerUser object itself.

Applies to