Share via


MicrosoftGraphSingleValueLegacyExtendedProperty Class

public final class MicrosoftGraphSingleValueLegacyExtendedProperty
extends MicrosoftGraphEntity

Represents a single value legacy extended property.

Constructor Summary

Constructor Description
MicrosoftGraphSingleValueLegacyExtendedProperty()

Creates an instance of MicrosoftGraphSingleValueLegacyExtendedProperty class.

Method Summary

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

Get the additionalProperties property: singleValueLegacyExtendedProperty.

static MicrosoftGraphSingleValueLegacyExtendedProperty fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSingleValueLegacyExtendedProperty from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: A property value.

MicrosoftGraphSingleValueLegacyExtendedProperty withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: singleValueLegacyExtendedProperty.

MicrosoftGraphSingleValueLegacyExtendedProperty withId(String id)

Set the id property: Read-only.

MicrosoftGraphSingleValueLegacyExtendedProperty withValue(String value)

Set the value property: A property value.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphSingleValueLegacyExtendedProperty

public MicrosoftGraphSingleValueLegacyExtendedProperty()

Creates an instance of MicrosoftGraphSingleValueLegacyExtendedProperty class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: singleValueLegacyExtendedProperty.

Overrides:

MicrosoftGraphSingleValueLegacyExtendedProperty.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphSingleValueLegacyExtendedProperty fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSingleValueLegacyExtendedProperty from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphSingleValueLegacyExtendedProperty.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphSingleValueLegacyExtendedProperty.validate()

value

public String value()

Get the value property: A property value.

Returns:

the value value.

withAdditionalProperties

public MicrosoftGraphSingleValueLegacyExtendedProperty withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: singleValueLegacyExtendedProperty.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphSingleValueLegacyExtendedProperty object itself.

withId

public MicrosoftGraphSingleValueLegacyExtendedProperty withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphSingleValueLegacyExtendedProperty.withId(String id)

Parameters:

id

withValue

public MicrosoftGraphSingleValueLegacyExtendedProperty withValue(String value)

Set the value property: A property value.

Parameters:

value - the value value to set.

Returns:

the MicrosoftGraphSingleValueLegacyExtendedProperty object itself.

Applies to