Class MicrosoftGraphPhone
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPhone
phone.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: phone.language()Get the language property: The language property.number()Get the number property: The phone number.region()Get the region property: The region property.type()Get the type property: The type property.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: phone.withLanguage(String language) Set the language property: The language property.withNumber(String number) Set the number property: The phone number.withRegion(String region) Set the region property: The region property.Set the type property: The type property.
-
Constructor Details
-
MicrosoftGraphPhone
public MicrosoftGraphPhone()Creates an instance of MicrosoftGraphPhone class.
-
-
Method Details
-
language
Get the language property: The language property.- Returns:
- the language value.
-
withLanguage
Set the language property: The language property.- Parameters:
language- the language value to set.- Returns:
- the MicrosoftGraphPhone object itself.
-
number
Get the number property: The phone number.- Returns:
- the number value.
-
withNumber
Set the number property: The phone number.- Parameters:
number- the number value to set.- Returns:
- the MicrosoftGraphPhone object itself.
-
region
Get the region property: The region property.- Returns:
- the region value.
-
withRegion
Set the region property: The region property.- Parameters:
region- the region value to set.- Returns:
- the MicrosoftGraphPhone object itself.
-
type
Get the type property: The type property.- Returns:
- the type value.
-
withType
Set the type property: The type property.- Parameters:
type- the type value to set.- Returns:
- the MicrosoftGraphPhone object itself.
-
additionalProperties
Get the additionalProperties property: phone.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
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.
-