Package com.exoscale.sdk.model
Class ErrorResponse
java.lang.Object
com.exoscale.sdk.model.ErrorResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class ErrorResponse
extends Object
RFC 9457 Problem Details error response
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this error-response object is equal to o.A highly contextual, readable explanation breaking down explicitly what triggered this error scenario.Get status minimum: 100 maximum: 599getTitle()A brief summary defining the class of failure, optimal for quick user interface groupings.getType()An absolute or relative URI reference pointing to human-readable documentation concerning the specific problem type encountered.inthashCode()voidvoidvoidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_DETAIL
- See Also:
-
-
Constructor Details
-
ErrorResponse
public ErrorResponse()
-
-
Method Details
-
type
-
getType
An absolute or relative URI reference pointing to human-readable documentation concerning the specific problem type encountered.- Returns:
- type
-
setType
-
title
-
getTitle
A brief summary defining the class of failure, optimal for quick user interface groupings.- Returns:
- title
-
setTitle
-
status
-
getStatus
Get status minimum: 100 maximum: 599- Returns:
- status
-
setStatus
-
detail
-
getDetail
A highly contextual, readable explanation breaking down explicitly what triggered this error scenario.- Returns:
- detail
-
setDetail
-
equals
Return true if this error-response object is equal to o. -
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
-