Class ContactDetails


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.8.0")
    public class ContactDetails
    extends Object
    ContactDetails
    • Constructor Detail

      • ContactDetails

        public ContactDetails()
    • Method Detail

      • getEmail

        @Nonnull
        public String getEmail()
        Get email
        Returns:
        email
      • setEmail

        public void setEmail​(String email)
      • setName

        public void setName​(String name)
      • getPhoneNumber

        @Nullable
        public PhoneNumber getPhoneNumber()
        Get phoneNumber
        Returns:
        phoneNumber
      • setPhoneNumber

        public void setPhoneNumber​(PhoneNumber phoneNumber)
      • getJobTitle

        @Nullable
        public String getJobTitle()
        Get jobTitle
        Returns:
        jobTitle
      • setJobTitle

        public void setJobTitle​(String jobTitle)
      • getCompanyName

        @Nullable
        public String getCompanyName()
        Get companyName
        Returns:
        companyName
      • setCompanyName

        public void setCompanyName​(String companyName)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to ContactDetails
      • fromJson

        public static ContactDetails fromJson​(String jsonString)
                                       throws IOException
        Create an instance of ContactDetails given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ContactDetails
        Throws:
        IOException - if the JSON string is invalid with respect to ContactDetails
      • toJson

        public String toJson()
        Convert an instance of ContactDetails to an JSON string
        Returns:
        JSON string