Class GraphQLAssociateMissingPermissionErrorImpl
- All Implemented Interfaces:
GraphQLAssociateMissingPermissionError
,GraphQLErrorObject
,io.vrap.rmf.base.client.ModelBase
Returned when an Associate is missing a Permission on a B2B resource.
-
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.GraphQLAssociateMissingPermissionError
ASSOCIATE_MISSING_PERMISSION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
ResourceIdentifier to the Associate that tried to perform the action.ResourceIdentifier of the Associate on whose behalf the action is performed.ResourceIdentifier to the BusinessUnit.getCode()
Error identifier.The Permissions that the Associate performing the action lacks.int
hashCode()
void
setAssociate
(CustomerResourceIdentifier associate) ResourceIdentifier to the Associate that tried to perform the action.void
setAssociateOnBehalf
(CustomerResourceIdentifier associateOnBehalf) ResourceIdentifier of the Associate on whose behalf the action is performed.void
setBusinessUnit
(BusinessUnitResourceIdentifier businessUnit) ResourceIdentifier to the BusinessUnit.void
setPermissions
(Permission... permissions) The Permissions that the Associate performing the action lacks.void
setPermissions
(List<Permission> permissions) The Permissions that the Associate performing the action lacks.void
Error-specific additional fields.values()
Error-specific additional fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.error.GraphQLAssociateMissingPermissionError
withGraphQLAssociateMissingPermissionError
Methods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
withGraphQLErrorObject
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLAssociateMissingPermissionErrorImpl
create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLAssociateMissingPermissionError
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Returns:
- code
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceGraphQLErrorObject
- Returns:
- map of the pattern property values
-
getAssociate
ResourceIdentifier to the Associate that tried to perform the action.
- Specified by:
getAssociate
in interfaceGraphQLAssociateMissingPermissionError
- Returns:
- associate
-
getBusinessUnit
ResourceIdentifier to the BusinessUnit.
- Specified by:
getBusinessUnit
in interfaceGraphQLAssociateMissingPermissionError
- Returns:
- businessUnit
-
getAssociateOnBehalf
ResourceIdentifier of the Associate on whose behalf the action is performed.
- Specified by:
getAssociateOnBehalf
in interfaceGraphQLAssociateMissingPermissionError
- Returns:
- associateOnBehalf
-
getPermissions
The Permissions that the Associate performing the action lacks. At least one of these Permissions is needed.
- Specified by:
getPermissions
in interfaceGraphQLAssociateMissingPermissionError
- Returns:
- permissions
-
setValue
Description copied from interface:GraphQLErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceGraphQLErrorObject
- Parameters:
key
- property namevalue
- property value
-
setAssociate
Description copied from interface:GraphQLAssociateMissingPermissionError
ResourceIdentifier to the Associate that tried to perform the action.
- Specified by:
setAssociate
in interfaceGraphQLAssociateMissingPermissionError
- Parameters:
associate
- value to be set
-
setBusinessUnit
Description copied from interface:GraphQLAssociateMissingPermissionError
ResourceIdentifier to the BusinessUnit.
- Specified by:
setBusinessUnit
in interfaceGraphQLAssociateMissingPermissionError
- Parameters:
businessUnit
- value to be set
-
setAssociateOnBehalf
Description copied from interface:GraphQLAssociateMissingPermissionError
ResourceIdentifier of the Associate on whose behalf the action is performed.
- Specified by:
setAssociateOnBehalf
in interfaceGraphQLAssociateMissingPermissionError
- Parameters:
associateOnBehalf
- value to be set
-
setPermissions
Description copied from interface:GraphQLAssociateMissingPermissionError
The Permissions that the Associate performing the action lacks. At least one of these Permissions is needed.
- Specified by:
setPermissions
in interfaceGraphQLAssociateMissingPermissionError
- Parameters:
permissions
- values to be set
-
setPermissions
Description copied from interface:GraphQLAssociateMissingPermissionError
The Permissions that the Associate performing the action lacks. At least one of these Permissions is needed.
- Specified by:
setPermissions
in interfaceGraphQLAssociateMissingPermissionError
- Parameters:
permissions
- values to be set
-
equals
-
hashCode
-