MicrosoftGraphExtension Class

public final class MicrosoftGraphExtension
extends MicrosoftGraphEntity

extension.

Constructor Summary

Constructor Description
MicrosoftGraphExtension()

Creates an instance of MicrosoftGraphExtension class.

Method Summary

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

Get the additionalProperties property: extension.

static MicrosoftGraphExtension fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphExtension from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphExtension withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: extension.

MicrosoftGraphExtension withId(String id)

Set the id property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphExtension

public MicrosoftGraphExtension()

Creates an instance of MicrosoftGraphExtension class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: extension.

Overrides:

MicrosoftGraphExtension.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphExtension fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphExtension from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphExtension.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphExtension.validate()

withAdditionalProperties

public MicrosoftGraphExtension withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: extension.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphExtension object itself.

withId

public MicrosoftGraphExtension withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphExtension.withId(String id)

Parameters:

id

Applies to