你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphIdentity Class

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

Implements

public final class MicrosoftGraphIdentity
implements JsonSerializable<MicrosoftGraphIdentity>

identity.

Constructor Summary

Constructor Description
MicrosoftGraphIdentity()

Creates an instance of MicrosoftGraphIdentity class.

Method Summary

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

Get the additionalProperties property: identity.

String displayName()

Get the displayName property: The identity's display name.

static MicrosoftGraphIdentity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphIdentity from the JsonReader.

String id()

Get the id property: Unique identifier for the identity.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphIdentity withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: identity.

MicrosoftGraphIdentity withDisplayName(String displayName)

Set the displayName property: The identity's display name.

MicrosoftGraphIdentity withId(String id)

Set the id property: Unique identifier for the identity.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphIdentity

public MicrosoftGraphIdentity()

Creates an instance of MicrosoftGraphIdentity class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: identity.

Returns:

the additionalProperties value.

displayName

public String displayName()

Get the displayName property: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphIdentity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Unique identifier for the identity.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphIdentity withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: identity.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphIdentity object itself.

withDisplayName

public MicrosoftGraphIdentity withDisplayName(String displayName)

Set the displayName property: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphIdentity object itself.

withId

public MicrosoftGraphIdentity withId(String id)

Set the id property: Unique identifier for the identity.

Parameters:

id - the id value to set.

Returns:

the MicrosoftGraphIdentity object itself.

Applies to