Class ApiContactInformation


  • public final class ApiContactInformation
    extends Object
    API contact information.
    • Constructor Detail

      • ApiContactInformation

        public ApiContactInformation()
    • Method Detail

      • name

        public String name()
        Get the name property: The identifying name of the contact person/organization.
        Returns:
        the name value.
      • withName

        public ApiContactInformation withName​(String name)
        Set the name property: The identifying name of the contact person/organization.
        Parameters:
        name - the name value to set.
        Returns:
        the ApiContactInformation object itself.
      • url

        public String url()
        Get the url property: The URL pointing to the contact information. MUST be in the format of a URL.
        Returns:
        the url value.
      • withUrl

        public ApiContactInformation withUrl​(String url)
        Set the url property: The URL pointing to the contact information. MUST be in the format of a URL.
        Parameters:
        url - the url value to set.
        Returns:
        the ApiContactInformation object itself.
      • email

        public String email()
        Get the email property: The email address of the contact person/organization. MUST be in the format of an email address.
        Returns:
        the email value.
      • withEmail

        public ApiContactInformation withEmail​(String email)
        Set the email property: The email address of the contact person/organization. MUST be in the format of an email address.
        Parameters:
        email - the email value to set.
        Returns:
        the ApiContactInformation object itself.
      • validate

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