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

MicrosoftGraphRecipient Class

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

Implements

public class MicrosoftGraphRecipient
implements JsonSerializable<MicrosoftGraphRecipient>

recipient.

Constructor Summary

Constructor Description
MicrosoftGraphRecipient()

Creates an instance of MicrosoftGraphRecipient class.

Method Summary

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

Get the additionalProperties property: recipient.

MicrosoftGraphEmailAddress emailAddress()

Get the emailAddress property: emailAddress.

static MicrosoftGraphRecipient fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphRecipient from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphRecipient withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: recipient.

MicrosoftGraphRecipient withEmailAddress(MicrosoftGraphEmailAddress emailAddress)

Set the emailAddress property: emailAddress.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphRecipient

public MicrosoftGraphRecipient()

Creates an instance of MicrosoftGraphRecipient class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: recipient.

Returns:

the additionalProperties value.

emailAddress

public MicrosoftGraphEmailAddress emailAddress()

Get the emailAddress property: emailAddress.

Returns:

the emailAddress value.

fromJson

public static MicrosoftGraphRecipient fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphRecipient from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphRecipient withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: recipient.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphRecipient object itself.

withEmailAddress

public MicrosoftGraphRecipient withEmailAddress(MicrosoftGraphEmailAddress emailAddress)

Set the emailAddress property: emailAddress.

Parameters:

emailAddress - the emailAddress value to set.

Returns:

the MicrosoftGraphRecipient object itself.

Applies to