Class ErrorResponse
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ErrorResponse
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ErrorResponse
extends Object
implements Serializable
ErrorResponse
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ErrorResponseCreate an instance of ErrorResponse given an JSON string@NotNull StringThe error message.inthashCode()voidsetMessage(String message) toJson()Convert an instance of ErrorResponse to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ErrorResponse
public ErrorResponse()
-
-
Method Details
-
message
-
getMessage
The error message.- Returns:
- message
-
setMessage
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ErrorResponse
-
fromJson
Create an instance of ErrorResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ErrorResponse
- Throws:
IOException- if the JSON string is invalid with respect to ErrorResponse
-
toJson
Convert an instance of ErrorResponse to an JSON string- Returns:
- JSON string
-