Class AssociateRoleSetPermissionsActionImpl
java.lang.Object
com.commercetools.api.models.associate_role.AssociateRoleSetPermissionsActionImpl
- All Implemented Interfaces:
AssociateRoleSetPermissionsAction
,AssociateRoleUpdateAction
,ResourceUpdateAction<AssociateRoleUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class AssociateRoleSetPermissionsActionImpl
extends Object
implements AssociateRoleSetPermissionsAction, io.vrap.rmf.base.client.ModelBase
Updating the Permissions on an AssociateRole generates an AssociateRolePermissionsSet Message.
-
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.associate_role.AssociateRoleSetPermissionsAction
SET_PERMISSIONS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Overrides the current list of Permissions for the AssociateRole.int
hashCode()
void
setPermissions
(Permission... permissions) Overrides the current list of Permissions for the AssociateRole.void
setPermissions
(List<Permission> permissions) Overrides the current list of Permissions for the AssociateRole.toString()
Methods inherited from interface com.commercetools.api.models.associate_role.AssociateRoleSetPermissionsAction
withAssociateRoleSetPermissionsAction
Methods inherited from interface com.commercetools.api.models.associate_role.AssociateRoleUpdateAction
withAssociateRoleUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
AssociateRoleSetPermissionsActionImpl
public AssociateRoleSetPermissionsActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceAssociateRoleUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<AssociateRoleUpdateAction>
- Returns:
- action
-
getPermissions
Overrides the current list of Permissions for the AssociateRole.
- Specified by:
getPermissions
in interfaceAssociateRoleSetPermissionsAction
- Returns:
- permissions
-
setPermissions
Description copied from interface:AssociateRoleSetPermissionsAction
Overrides the current list of Permissions for the AssociateRole.
- Specified by:
setPermissions
in interfaceAssociateRoleSetPermissionsAction
- Parameters:
permissions
- values to be set
-
setPermissions
Description copied from interface:AssociateRoleSetPermissionsAction
Overrides the current list of Permissions for the AssociateRole.
- Specified by:
setPermissions
in interfaceAssociateRoleSetPermissionsAction
- Parameters:
permissions
- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-