@Generated(value="Generated by https://konfigthis.com") public class ErrorExtended extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorExtended.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADDITIONAL_INFO |
static String |
SERIALIZED_NAME_CODE |
static String |
SERIALIZED_NAME_EXTRA_DATA |
static String |
SERIALIZED_NAME_MESSAGE |
| Constructor and Description |
|---|
ErrorExtended() |
| Modifier and Type | Method and Description |
|---|---|
ErrorExtended |
additionalInfo(String additionalInfo) |
ErrorExtended |
code(String code) |
boolean |
equals(Object o) |
ErrorExtended |
extraData(Map<String,String> extraData) |
static ErrorExtended |
fromJson(String jsonString)
Create an instance of ErrorExtended given an JSON string
|
String |
getAdditionalInfo()
Get additionalInfo
|
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
|
Map<String,String> |
getExtraData()
Get extraData
|
String |
getMessage()
Get message
|
int |
hashCode() |
ErrorExtended |
message(String message) |
ErrorExtended |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
ErrorExtended |
putExtraDataItem(String key,
String extraDataItem) |
void |
setAdditionalInfo(String additionalInfo) |
void |
setCode(String code) |
void |
setExtraData(Map<String,String> extraData) |
void |
setMessage(String message) |
String |
toJson()
Convert an instance of ErrorExtended 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_CODE
public static final String SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_ADDITIONAL_INFO
public static final String SERIALIZED_NAME_EXTRA_DATA
public ErrorExtended code(String code)
public void setCode(String code)
public ErrorExtended message(String message)
public void setMessage(String message)
public ErrorExtended additionalInfo(String additionalInfo)
@Nullable public String getAdditionalInfo()
public void setAdditionalInfo(String additionalInfo)
public ErrorExtended extraData(Map<String,String> extraData)
public ErrorExtended putExtraDataItem(String key, String extraDataItem)
public ErrorExtended 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 ErrorExtendedpublic static ErrorExtended fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ErrorExtendedpublic String toJson()
Copyright © 2023. All rights reserved.