MicrosoftGraphPlannerGroup Class

public final class MicrosoftGraphPlannerGroup
extends MicrosoftGraphEntity

plannerGroup.

Constructor Summary

Constructor Description
MicrosoftGraphPlannerGroup()

Creates an instance of MicrosoftGraphPlannerGroup class.

Method Summary

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

Get the additionalProperties property: plannerGroup.

static MicrosoftGraphPlannerGroup fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerGroup from the JsonReader.

List<MicrosoftGraphPlannerPlan> plans()

Get the plans property: Read-only.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphPlannerGroup withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: plannerGroup.

MicrosoftGraphPlannerGroup withId(String id)

Set the id property: Read-only.

MicrosoftGraphPlannerGroup withPlans(List<MicrosoftGraphPlannerPlan> plans)

Set the plans property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphPlannerGroup

public MicrosoftGraphPlannerGroup()

Creates an instance of MicrosoftGraphPlannerGroup class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: plannerGroup.

Overrides:

MicrosoftGraphPlannerGroup.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphPlannerGroup fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerGroup from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

plans

public List plans()

Get the plans property: Read-only. Nullable. Returns the plannerPlans owned by the group.

Returns:

the plans value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphPlannerGroup.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphPlannerGroup.validate()

withAdditionalProperties

public MicrosoftGraphPlannerGroup withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: plannerGroup.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPlannerGroup object itself.

withId

public MicrosoftGraphPlannerGroup withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphPlannerGroup.withId(String id)

Parameters:

id

withPlans

public MicrosoftGraphPlannerGroup withPlans(List plans)

Set the plans property: Read-only. Nullable. Returns the plannerPlans owned by the group.

Parameters:

plans - the plans value to set.

Returns:

the MicrosoftGraphPlannerGroup object itself.

Applies to