@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class EducationDate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EducationDate.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DAY |
static String |
SERIALIZED_NAME_MONTH |
static String |
SERIALIZED_NAME_YEAR |
| Constructor and Description |
|---|
EducationDate() |
| Modifier and Type | Method and Description |
|---|---|
EducationDate |
day(Integer day) |
boolean |
equals(Object o) |
static EducationDate |
fromJson(String jsonString)
Create an instance of EducationDate given an JSON string
|
Integer |
getDay()
Get day
|
Integer |
getMonth()
Get month
|
Integer |
getYear()
Get year
|
int |
hashCode() |
EducationDate |
month(Integer month) |
void |
setDay(Integer day) |
void |
setMonth(Integer month) |
void |
setYear(Integer year) |
String |
toJson()
Convert an instance of EducationDate to an JSON string
|
String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
EducationDate |
year(Integer year) |
public static final String SERIALIZED_NAME_YEAR
public static final String SERIALIZED_NAME_MONTH
public static final String SERIALIZED_NAME_DAY
public EducationDate year(Integer year)
public void setYear(Integer year)
public EducationDate month(Integer month)
public void setMonth(Integer month)
public EducationDate day(Integer day)
public void setDay(Integer day)
public static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws IOException
jsonElement - JSON ElementIOException - if the JSON Element is invalid with respect to EducationDatepublic static EducationDate fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to EducationDatepublic String toJson()
Copyright © 2024. All rights reserved.