Partager via


MicrosoftGraphEntity Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity

Implements

public class MicrosoftGraphEntity
implements JsonSerializable<MicrosoftGraphEntity>

entity.

Constructor Summary

Constructor Description
MicrosoftGraphEntity()

Creates an instance of MicrosoftGraphEntity class.

Method Summary

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

Get the additionalProperties property: entity.

static MicrosoftGraphEntity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphEntity from the JsonReader.

String id()

Get the id property: Read-only.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphEntity withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: entity.

MicrosoftGraphEntity withId(String id)

Set the id property: Read-only.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphEntity

public MicrosoftGraphEntity()

Creates an instance of MicrosoftGraphEntity class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: entity.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphEntity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Read-only.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphEntity withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: entity.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphEntity object itself.

withId

public MicrosoftGraphEntity withId(String id)

Set the id property: Read-only.

Parameters:

id - the id value to set.

Returns:

the MicrosoftGraphEntity object itself.

Applies to