Package model

Class IdentityEntityDob


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class IdentityEntityDob
    extends Object
    The control owner's date of birth.
    • Constructor Detail

      • IdentityEntityDob

        public IdentityEntityDob()
    • Method Detail

      • getDay

        @Nullable
        public Long getDay()
        Day of birth (between 1 and 31). minimum: 1
        Returns:
        day
      • setDay

        public void setDay​(Long day)
      • getMonth

        @Nullable
        public Long getMonth()
        Month of birth (between 1 and 12). minimum: 1
        Returns:
        month
      • setMonth

        public void setMonth​(Long month)
      • getYear

        @Nullable
        public Long getYear()
        Year of birth (4-digit). Year must be greater than 1900. minimum: 1900
        Returns:
        year
      • setYear

        public void setYear​(Long year)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to IdentityEntityDob
      • fromJson

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

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