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