你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphEmailAddress Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEmailAddress
- com.
Implements
public final class MicrosoftGraphEmailAddress
implements JsonSerializable<MicrosoftGraphEmailAddress>
emailAddress.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphEmailAddress() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
address()
Get the address property: The email address of the person or entity. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
name()
Get the name property: The display name of the person or entity. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAddress(String address)
Set the address property: The email address of the person or entity. |
Microsoft |
withName(String name)
Set the name property: The display name of the person or entity. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphEmailAddress
public MicrosoftGraphEmailAddress()
Creates an instance of MicrosoftGraphEmailAddress class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: emailAddress.
Returns:
address
public String address()
Get the address property: The email address of the person or entity.
Returns:
fromJson
public static MicrosoftGraphEmailAddress fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphEmailAddress from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The display name of the person or entity.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphEmailAddress withAdditionalProperties(Map
Set the additionalProperties property: emailAddress.
Parameters:
Returns:
withAddress
public MicrosoftGraphEmailAddress withAddress(String address)
Set the address property: The email address of the person or entity.
Parameters:
Returns:
withName
public MicrosoftGraphEmailAddress withName(String name)
Set the name property: The display name of the person or entity.
Parameters:
Returns: