Package model
Class IdentityEntityIncorporationDate
- java.lang.Object
-
- model.IdentityEntityIncorporationDate
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class IdentityEntityIncorporationDate extends Object
The date the company was founded and registered with the US.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentityEntityIncorporationDate.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 IdentityEntityIncorporationDate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityEntityIncorporationDateday(Long day)booleanequals(Object o)static IdentityEntityIncorporationDatefromJson(String jsonString)Create an instance of IdentityEntityIncorporationDate given an JSON stringLonggetDay()Day business was incorporated (between 1 and 31).LonggetMonth()Month business was incorporated (between 1 and 12).LonggetYear()Year business was incorporated (4-digit).inthashCode()IdentityEntityIncorporationDatemonth(Long month)voidsetDay(Long day)voidsetMonth(Long month)voidsetYear(Long year)StringtoJson()Convert an instance of IdentityEntityIncorporationDate to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundIdentityEntityIncorporationDateyear(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 IdentityEntityIncorporationDate day(Long day)
-
getDay
@Nullable public Long getDay()
Day business was incorporated (between 1 and 31).- Returns:
- day
-
setDay
public void setDay(Long day)
-
month
public IdentityEntityIncorporationDate month(Long month)
-
getMonth
@Nullable public Long getMonth()
Month business was incorporated (between 1 and 12).- Returns:
- month
-
setMonth
public void setMonth(Long month)
-
year
public IdentityEntityIncorporationDate year(Long 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 IdentityEntityIncorporationDate
-
fromJson
public static IdentityEntityIncorporationDate fromJson(String jsonString) throws IOException
Create an instance of IdentityEntityIncorporationDate given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IdentityEntityIncorporationDate
- Throws:
IOException- if the JSON string is invalid with respect to IdentityEntityIncorporationDate
-
toJson
public String toJson()
Convert an instance of IdentityEntityIncorporationDate to an JSON string- Returns:
- JSON string
-
-