@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-07-31T10:27:15.903+03:00[Asia/Jerusalem]")
public class ErrorResponse
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorResponse.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<java.lang.String> |
openapiFields |
static java.util.HashSet<java.lang.String> |
openapiRequiredFields |
static java.lang.String |
SERIALIZED_NAME_ERROR |
| Constructor and Description |
|---|
ErrorResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ErrorResponse |
error(ErrorResponseError error) |
static ErrorResponse |
fromJson(java.lang.String jsonString)
Create an instance of ErrorResponse given an JSON string
|
ErrorResponseError |
getError()
Get error
|
int |
hashCode() |
void |
setError(ErrorResponseError error) |
java.lang.String |
toJson()
Convert an instance of ErrorResponse to an JSON string
|
java.lang.String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final java.lang.String SERIALIZED_NAME_ERROR
public static java.util.HashSet<java.lang.String> openapiFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
public ErrorResponse error(ErrorResponseError error)
@Nullable public ErrorResponseError getError()
public void setError(ErrorResponseError error)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws java.io.IOException
jsonObj - JSON Objectjava.io.IOException - if the JSON Object is invalid with respect to ErrorResponsepublic static ErrorResponse fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to ErrorResponsepublic java.lang.String toJson()