Class MicrosoftGraphPhone


  • public final class MicrosoftGraphPhone
    extends Object
    phone.
    • Constructor Detail

      • MicrosoftGraphPhone

        public MicrosoftGraphPhone()
    • 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.
      • 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.