@Generated(value="Generated by https://konfigthis.com") public class ReferenceEntityBase extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReferenceEntityBase.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CODE |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_ID |
| Constructor and Description |
|---|
ReferenceEntityBase() |
| Modifier and Type | Method and Description |
|---|---|
ReferenceEntityBase |
code(String code) |
ReferenceEntityBase |
description(String description) |
boolean |
equals(Object o) |
static ReferenceEntityBase |
fromJson(String jsonString)
Create an instance of ReferenceEntityBase given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getCode()
Get code
|
String |
getDescription()
Get description
|
Long |
getId()
Get id
|
int |
hashCode() |
ReferenceEntityBase |
id(Long id) |
ReferenceEntityBase |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCode(String code) |
void |
setDescription(String description) |
void |
setId(Long id) |
String |
toJson()
Convert an instance of ReferenceEntityBase to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_CODE
public static final String SERIALIZED_NAME_DESCRIPTION
public ReferenceEntityBase id(Long id)
public void setId(Long id)
public ReferenceEntityBase code(String code)
public void setCode(String code)
public ReferenceEntityBase description(String description)
public void setDescription(String description)
public ReferenceEntityBase putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to ReferenceEntityBasepublic static ReferenceEntityBase fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ReferenceEntityBasepublic String toJson()
Copyright © 2024. All rights reserved.