Class Error
java.lang.Object
io.camunda.tasklist.generated.model.Error
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-29T10:52:23.981575172Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class Error
extends Object
Error
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanError instance UUID for lookup (e.g., in log messages).A string that provides a brief description of the error that occurred.An integer that represents the HTTP status code of the error response.inthashCode()voidsetInstance(String instance) voidsetMessage(String message) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_INSTANCE
- See Also:
-
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
status
-
getStatus
An integer that represents the HTTP status code of the error response. For example, 400 indicates a 'Bad Request' error, 404 indicates a 'Not Found' error, and so on.- Returns:
- status
-
setStatus
-
message
-
getMessage
A string that provides a brief description of the error that occurred.- Returns:
- message
-
setMessage
-
instance
-
getInstance
Error instance UUID for lookup (e.g., in log messages).- Returns:
- instance
-
setInstance
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-