Package model
Class IdentityEntityFormDob
- java.lang.Object
-
- model.IdentityEntityFormDob
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class IdentityEntityFormDob extends Object
Principal's date of birth.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentityEntityFormDob.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DAYstatic StringSERIALIZED_NAME_MONTHstatic StringSERIALIZED_NAME_YEAR
-
Constructor Summary
Constructors Constructor Description IdentityEntityFormDob()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityEntityFormDobday(Long day)booleanequals(Object o)static IdentityEntityFormDobfromJson(String jsonString)Create an instance of IdentityEntityFormDob given an JSON stringLonggetDay()Day of birth (between 1 and 31).LonggetMonth()Month of birth (between 1 and 12).LonggetYear()Year of birth (4-digit).inthashCode()IdentityEntityFormDobmonth(Long month)voidsetDay(Long day)voidsetMonth(Long month)voidsetYear(Long year)StringtoJson()Convert an instance of IdentityEntityFormDob to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundIdentityEntityFormDobyear(Long year)
-
-
-
Field Detail
-
SERIALIZED_NAME_YEAR
public static final String SERIALIZED_NAME_YEAR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DAY
public static final String SERIALIZED_NAME_DAY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MONTH
public static final String SERIALIZED_NAME_MONTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
year
public IdentityEntityFormDob year(Long year)
-
setYear
public void setYear(Long year)
-
day
public IdentityEntityFormDob day(Long day)
-
setDay
public void setDay(Long day)
-
month
public IdentityEntityFormDob month(Long month)
-
setMonth
public void setMonth(Long month)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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 IdentityEntityFormDob
-
fromJson
public static IdentityEntityFormDob fromJson(String jsonString) throws IOException
Create an instance of IdentityEntityFormDob given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IdentityEntityFormDob
- Throws:
IOException- if the JSON string is invalid with respect to IdentityEntityFormDob
-
toJson
public String toJson()
Convert an instance of IdentityEntityFormDob to an JSON string- Returns:
- JSON string
-
-