Package com.qtsurfer.api.client.model
Class ResponseError
java.lang.Object
com.qtsurfer.api.client.model.ResponseError
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.24.0")
public class ResponseError
extends Object
General response error
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ResponseError object is equal to o.getCode()Status codeError descriptiongetNext()Get nextA stable token naming the cause, for a client to branch on without reading `message`.inthashCode()next(ErrorNextCall next) voidvoidsetMessage(String message) voidsetNext(ErrorNextCall next) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
JSON_PROPERTY_NEXT
- See Also:
-
-
Constructor Details
-
ResponseError
public ResponseError()
-
-
Method Details
-
code
-
getCode
Status code- Returns:
- code
-
setCode
-
message
-
getMessage
Error description- Returns:
- message
-
setMessage
-
reason
-
getReason
A stable token naming the cause, for a client to branch on without reading `message`. Present only on an error that has one, and each operation that can return one lists the values it uses. A client treats a value it does not know like an absent `reason`.- Returns:
- reason
-
setReason
-
next
-
getNext
Get next- Returns:
- next
-
setNext
-
equals
Return true if this ResponseError 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
-