Class MicrosoftGraphPhone

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPhone

public final class MicrosoftGraphPhone extends Object
phone.
  • Constructor Details

    • MicrosoftGraphPhone

      public MicrosoftGraphPhone()
      Creates an instance of MicrosoftGraphPhone class.
  • Method Details

    • 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

      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.