@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class Employment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Employment.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_COMPANY |
static String |
SERIALIZED_NAME_CURRENT |
static String |
SERIALIZED_NAME_DOMAIN |
static String |
SERIALIZED_NAME_END |
static String |
SERIALIZED_NAME_START |
static String |
SERIALIZED_NAME_TITLE |
| Constructor and Description |
|---|
Employment() |
| Modifier and Type | Method and Description |
|---|---|
Employment |
company(String company) |
Employment |
current(Boolean current) |
Employment |
domain(String domain) |
Employment |
end(EmploymentDate end) |
boolean |
equals(Object o) |
static Employment |
fromJson(String jsonString)
Create an instance of Employment given an JSON string
|
String |
getCompany()
Get company
|
Boolean |
getCurrent()
Get current
|
String |
getDomain()
Get domain
|
EmploymentDate |
getEnd()
Get end
|
EmploymentDate |
getStart()
Get start
|
String |
getTitle()
Get title
|
int |
hashCode() |
void |
setCompany(String company) |
void |
setCurrent(Boolean current) |
void |
setDomain(String domain) |
void |
setEnd(EmploymentDate end) |
void |
setStart(EmploymentDate start) |
void |
setTitle(String title) |
Employment |
start(EmploymentDate start) |
Employment |
title(String title) |
String |
toJson()
Convert an instance of Employment 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
|
public static final String SERIALIZED_NAME_CURRENT
public static final String SERIALIZED_NAME_COMPANY
public static final String SERIALIZED_NAME_TITLE
public static final String SERIALIZED_NAME_DOMAIN
public static final String SERIALIZED_NAME_START
public static final String SERIALIZED_NAME_END
public Employment current(Boolean current)
public void setCurrent(Boolean current)
public Employment company(String company)
public void setCompany(String company)
public Employment title(String title)
public void setTitle(String title)
public Employment domain(String domain)
public void setDomain(String domain)
public Employment start(EmploymentDate start)
@Nullable public EmploymentDate getStart()
public void setStart(EmploymentDate start)
public Employment end(EmploymentDate end)
@Nullable public EmploymentDate getEnd()
public void setEnd(EmploymentDate end)
public static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws IOException
jsonElement - JSON ElementIOException - if the JSON Element is invalid with respect to Employmentpublic static Employment fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to Employmentpublic String toJson()
Copyright © 2024. All rights reserved.