Package com.redhat.parodos.sdk.model
Class ErrorMessageDTO
java.lang.Object
com.redhat.parodos.sdk.model.ErrorMessageDTO
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ErrorMessageDTO
extends Object
ErrorMessageDTO
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanstatic ErrorMessageDTOCreate an instance of ErrorMessageDTO given an JSON stringgetDate()Get dateGet descriptionGet messageGet statusinthashCode()voidvoidsetDescription(String description) voidsetMessage(String message) voidtoJson()Convert an instance of ErrorMessageDTO 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_DATE
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ErrorMessageDTO
public ErrorMessageDTO()
-
-
Method Details
-
date
-
getDate
Get date- Returns:
- date
-
setDate
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
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 ErrorMessageDTO
-
fromJson
Create an instance of ErrorMessageDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ErrorMessageDTO
- Throws:
IOException- if the JSON string is invalid with respect to ErrorMessageDTO
-
toJson
Convert an instance of ErrorMessageDTO to an JSON string- Returns:
- JSON string
-