Package com.qtsurfer.api.client.model
Class AuthTokenError
java.lang.Object
com.qtsurfer.api.client.model.AuthTokenError
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class AuthTokenError
extends Object
Error envelope returned by `POST /auth/token` when the API key is rejected.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumMachine-readable error reason. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode(AuthTokenError.CodeEnum code) booleanReturn true if this AuthTokenError object is equal to o.getCode()Machine-readable error reason.Human-readable description of the failure.inthashCode()voidvoidsetMessage(String message) toString()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:
-
-
Constructor Details
-
AuthTokenError
public AuthTokenError()
-
-
Method Details
-
code
-
getCode
Machine-readable error reason.- Returns:
- code
-
setCode
-
message
-
getMessage
Human-readable description of the failure.- Returns:
- message
-
setMessage
-
equals
Return true if this AuthTokenError 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
-