MicrosoftGraphGroupSetting Class

public final class MicrosoftGraphGroupSetting
extends MicrosoftGraphEntity

groupSetting.

Constructor Summary

Constructor Description
MicrosoftGraphGroupSetting()

Creates an instance of MicrosoftGraphGroupSetting class.

Method Summary

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

Get the additionalProperties property: groupSetting.

String displayName()

Get the displayName property: Display name of this group of settings, which comes from the associated template.

static MicrosoftGraphGroupSetting fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphGroupSetting from the JsonReader.

String templateId()

Get the templateId property: Unique identifier for the template used to create this group of settings.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<MicrosoftGraphSettingValue> values()

Get the values property: Collection of name value pairs.

MicrosoftGraphGroupSetting withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: groupSetting.

MicrosoftGraphGroupSetting withDisplayName(String displayName)

Set the displayName property: Display name of this group of settings, which comes from the associated template.

MicrosoftGraphGroupSetting withId(String id)

Set the id property: Read-only.

MicrosoftGraphGroupSetting withTemplateId(String templateId)

Set the templateId property: Unique identifier for the template used to create this group of settings.

MicrosoftGraphGroupSetting withValues(List<MicrosoftGraphSettingValue> values)

Set the values property: Collection of name value pairs.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphGroupSetting

public MicrosoftGraphGroupSetting()

Creates an instance of MicrosoftGraphGroupSetting class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: groupSetting.

Overrides:

MicrosoftGraphGroupSetting.additionalProperties()

Returns:

the additionalProperties value.

displayName

public String displayName()

Get the displayName property: Display name of this group of settings, which comes from the associated template.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphGroupSetting fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphGroupSetting from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

templateId

public String templateId()

Get the templateId property: Unique identifier for the template used to create this group of settings. Read-only.

Returns:

the templateId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphGroupSetting.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphGroupSetting.validate()

values

public List values()

Get the values property: Collection of name value pairs. Must contain and set all the settings defined in the template.

Returns:

the values value.

withAdditionalProperties

public MicrosoftGraphGroupSetting withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: groupSetting.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphGroupSetting object itself.

withDisplayName

public MicrosoftGraphGroupSetting withDisplayName(String displayName)

Set the displayName property: Display name of this group of settings, which comes from the associated template.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphGroupSetting object itself.

withId

public MicrosoftGraphGroupSetting withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphGroupSetting.withId(String id)

Parameters:

id

withTemplateId

public MicrosoftGraphGroupSetting withTemplateId(String templateId)

Set the templateId property: Unique identifier for the template used to create this group of settings. Read-only.

Parameters:

templateId - the templateId value to set.

Returns:

the MicrosoftGraphGroupSetting object itself.

withValues

public MicrosoftGraphGroupSetting withValues(List values)

Set the values property: Collection of name value pairs. Must contain and set all the settings defined in the template.

Parameters:

values - the values value to set.

Returns:

the MicrosoftGraphGroupSetting object itself.

Applies to