Share via


MicrosoftGraphInsightIdentity Class

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

Implements

public final class MicrosoftGraphInsightIdentity
implements JsonSerializable<MicrosoftGraphInsightIdentity>

Represents an insight identity.

Constructor Summary

Constructor Description
MicrosoftGraphInsightIdentity()

Creates an instance of MicrosoftGraphInsightIdentity class.

Method Summary

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

Get the additionalProperties property: insightIdentity.

String address()

Get the address property: The email address of the user who shared the item.

String displayName()

Get the displayName property: The display name of the user who shared the item.

static MicrosoftGraphInsightIdentity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphInsightIdentity from the JsonReader.

String id()

Get the id property: The id of the user who shared the item.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphInsightIdentity withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: insightIdentity.

MicrosoftGraphInsightIdentity withAddress(String address)

Set the address property: The email address of the user who shared the item.

MicrosoftGraphInsightIdentity withDisplayName(String displayName)

Set the displayName property: The display name of the user who shared the item.

MicrosoftGraphInsightIdentity withId(String id)

Set the id property: The id of the user who shared the item.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphInsightIdentity

public MicrosoftGraphInsightIdentity()

Creates an instance of MicrosoftGraphInsightIdentity class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: insightIdentity.

Returns:

the additionalProperties value.

address

public String address()

Get the address property: The email address of the user who shared the item.

Returns:

the address value.

displayName

public String displayName()

Get the displayName property: The display name of the user who shared the item.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphInsightIdentity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphInsightIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The id of the user who shared the item.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

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

Set the additionalProperties property: insightIdentity.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphInsightIdentity object itself.

withAddress

public MicrosoftGraphInsightIdentity withAddress(String address)

Set the address property: The email address of the user who shared the item.

Parameters:

address - the address value to set.

Returns:

the MicrosoftGraphInsightIdentity object itself.

withDisplayName

public MicrosoftGraphInsightIdentity withDisplayName(String displayName)

Set the displayName property: The display name of the user who shared the item.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphInsightIdentity object itself.

withId

public MicrosoftGraphInsightIdentity withId(String id)

Set the id property: The id of the user who shared the item.

Parameters:

id - the id value to set.

Returns:

the MicrosoftGraphInsightIdentity object itself.

Applies to