@Generated(value="Generated by https://konfigthis.com") public class Error extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Error.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_MESSAGE |
| Constructor and Description |
|---|
Error() |
| Modifier and Type | Method and Description |
|---|---|
Error |
additionalInfo(String additionalInfo) |
Error |
code(String code) |
boolean |
equals(Object o) |
static Error |
fromJson(String jsonString)
Create an instance of Error 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
|
String |
getMessage()
Get message
|
int |
hashCode() |
Error |
message(String message) |
Error |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAdditionalInfo(String additionalInfo) |
void |
setCode(String code) |
void |
setMessage(String message) |
String |
toJson()
Convert an instance of Error 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 void setCode(String code)
public void setMessage(String message)
@Nullable public String getAdditionalInfo()
public void setAdditionalInfo(String additionalInfo)
public Error 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 Errorpublic static Error fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to Errorpublic String toJson()
Copyright © 2023. All rights reserved.