Class MicrosoftGraphPhone
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPhone
-
public final class MicrosoftGraphPhone extends Object
phone.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPhone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: phone.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.MicrosoftGraphPhoneType
type()
Get the type property: The type property.void
validate()
Validates the instance.MicrosoftGraphPhone
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: phone.MicrosoftGraphPhone
withLanguage(String language)
Set the language property: The language property.MicrosoftGraphPhone
withNumber(String number)
Set the number property: The phone number.MicrosoftGraphPhone
withRegion(String region)
Set the region property: The region property.MicrosoftGraphPhone
withType(MicrosoftGraphPhoneType type)
Set the type property: The type property.
-
-
-
Method Detail
-
language
public String language()
Get the language property: The language property.- Returns:
- the language value.
-
withLanguage
public MicrosoftGraphPhone withLanguage(String language)
Set the language property: The language property.- Parameters:
language
- the language value to set.- Returns:
- the MicrosoftGraphPhone object itself.
-
number
public String number()
Get the number property: The phone number.- Returns:
- the number value.
-
withNumber
public MicrosoftGraphPhone withNumber(String number)
Set the number property: The phone number.- Parameters:
number
- the number value to set.- Returns:
- the MicrosoftGraphPhone object itself.
-
region
public String region()
Get the region property: The region property.- Returns:
- the region value.
-
withRegion
public MicrosoftGraphPhone withRegion(String region)
Set the region property: The region property.- Parameters:
region
- the region value to set.- Returns:
- the MicrosoftGraphPhone object itself.
-
type
public MicrosoftGraphPhoneType type()
Get the type property: The type property.- Returns:
- the type value.
-
withType
public MicrosoftGraphPhone withType(MicrosoftGraphPhoneType type)
Set the type property: The type property.- Parameters:
type
- the type value to set.- Returns:
- the MicrosoftGraphPhone object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: phone.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPhone withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: phone.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPhone object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-