Package com.qtsurfer.api.client.model
Class InsufficientScopeError
java.lang.Object
com.qtsurfer.api.client.model.InsufficientScopeError
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.24.0")
public class InsufficientScopeError
extends Object
Error envelope of a `403` returned when the API key behind the token does not carry the scope the operation needs.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumMachine-readable error reason. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this InsufficientScopeError object is equal to o.getCode()Machine-readable error reason.Human-readable description of the failure.The scope the operation needs, as `resource:action`, in lower case.inthashCode()voidvoidsetMessage(String message) voidsetRequired(String required) 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:
-
JSON_PROPERTY_REQUIRED
- See Also:
-
-
Constructor Details
-
InsufficientScopeError
public InsufficientScopeError()
-
-
Method Details
-
code
-
getCode
Machine-readable error reason.- Returns:
- code
-
setCode
-
message
-
getMessage
Human-readable description of the failure.- Returns:
- message
-
setMessage
-
required
-
getRequired
The scope the operation needs, as `resource:action`, in lower case.- Returns:
- required
-
setRequired
-
equals
Return true if this InsufficientScopeError 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
-