Package model
Class IdentityEntityDob
- java.lang.Object
-
- model.IdentityEntityDob
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class IdentityEntityDob extends Object
The control owner's date of birth.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentityEntityDob.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 IdentityEntityDob()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityEntityDobday(Long day)booleanequals(Object o)static IdentityEntityDobfromJson(String jsonString)Create an instance of IdentityEntityDob 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()IdentityEntityDobmonth(Long month)voidsetDay(Long day)voidsetMonth(Long month)voidsetYear(Long year)StringtoJson()Convert an instance of IdentityEntityDob to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundIdentityEntityDobyear(Long year)
-
-
-
Field Detail
-
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
-
SERIALIZED_NAME_YEAR
public static final String SERIALIZED_NAME_YEAR
- See Also:
- Constant Field Values
-
-
Method Detail
-
day
public IdentityEntityDob day(Long day)
-
setDay
public void setDay(Long day)
-
month
public IdentityEntityDob month(Long month)
-
getMonth
@Nullable public Long getMonth()
Month of birth (between 1 and 12). minimum: 1- Returns:
- month
-
setMonth
public void setMonth(Long month)
-
year
public IdentityEntityDob year(Long year)
-
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)
-
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 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
-
-