Class MicrosoftGraphEmailAddress


  • public final class MicrosoftGraphEmailAddress
    extends Object
    emailAddress.
    • Constructor Detail

      • MicrosoftGraphEmailAddress

        public MicrosoftGraphEmailAddress()
    • Method Detail

      • address

        public String address()
        Get the address property: The email address of the person or entity.
        Returns:
        the address value.
      • withAddress

        public MicrosoftGraphEmailAddress withAddress​(String address)
        Set the address property: The email address of the person or entity.
        Parameters:
        address - the address value to set.
        Returns:
        the MicrosoftGraphEmailAddress object itself.
      • name

        public String name()
        Get the name property: The display name of the person or entity.
        Returns:
        the name value.
      • withName

        public MicrosoftGraphEmailAddress withName​(String name)
        Set the name property: The display name of the person or entity.
        Parameters:
        name - the name value to set.
        Returns:
        the MicrosoftGraphEmailAddress object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: emailAddress.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphEmailAddress withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: emailAddress.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphEmailAddress object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.