Class InsufficientScopeErrorImpl
java.lang.Object
com.commercetools.api.models.error.InsufficientScopeErrorImpl
- All Implemented Interfaces:
ErrorObject,InsufficientScopeError,io.vrap.rmf.base.client.ModelBase
public class InsufficientScopeErrorImpl
extends Object
implements InsufficientScopeError, io.vrap.rmf.base.client.ModelBase
This error occurs when your API Client does not have the OAuth scope required for the endpoint. Use an API Client with the required permissions for this endpoint instead.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Field Summary
Fields inherited from interface com.commercetools.api.models.error.InsufficientScopeError
INSUFFICIENT_SCOPE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface com.commercetools.api.models.error.ErrorObject
withErrorObjectMethods inherited from interface com.commercetools.api.models.error.InsufficientScopeError
withInsufficientScopeErrorMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
InsufficientScopeErrorImpl
public InsufficientScopeErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:ErrorObjectError identifier.
- Specified by:
getCodein interfaceErrorObject- Specified by:
getCodein interfaceInsufficientScopeError- Returns:
- code
-
getMessage
"Insufficient scope. One of the following scopes is missing:"- Specified by:
getMessagein interfaceErrorObject- Specified by:
getMessagein interfaceInsufficientScopeError- Returns:
- message
-
values
Error-specific additional fields.
- Specified by:
valuesin interfaceErrorObject- Returns:
- map of the pattern property values
-
setMessage
Description copied from interface:InsufficientScopeError"Insufficient scope. One of the following scopes is missing:"- Specified by:
setMessagein interfaceErrorObject- Specified by:
setMessagein interfaceInsufficientScopeError- Parameters:
message- value to be set
-
setValue
Description copied from interface:ErrorObjectError-specific additional fields.
- Specified by:
setValuein interfaceErrorObject- Parameters:
key- property namevalue- property value
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceErrorObject- Specified by:
copyDeepin interfaceInsufficientScopeError
-