Class StateRemoveRolesActionImpl
java.lang.Object
com.commercetools.api.models.state.StateRemoveRolesActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StateUpdateAction>
,StateRemoveRolesAction
,StateUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StateRemoveRolesActionImpl
extends Object
implements StateRemoveRolesAction, io.vrap.rmf.base.client.ModelBase
StateRemoveRolesAction
-
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.state.StateRemoveRolesAction
REMOVE_ROLES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getRoles()
Roles to remove from the State.int
hashCode()
void
setRoles
(StateRoleEnum... roles) Roles to remove from the State.void
setRoles
(List<StateRoleEnum> roles) Roles to remove from the State.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.state.StateRemoveRolesAction
withStateRemoveRolesAction
Methods inherited from interface com.commercetools.api.models.state.StateUpdateAction
withStateUpdateAction
-
Constructor Details
-
StateRemoveRolesActionImpl
public StateRemoveRolesActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StateUpdateAction>
- Specified by:
getAction
in interfaceStateUpdateAction
- Returns:
- action
-
getRoles
Roles to remove from the State.
- Specified by:
getRoles
in interfaceStateRemoveRolesAction
- Returns:
- roles
-
setRoles
Description copied from interface:StateRemoveRolesAction
Roles to remove from the State.
- Specified by:
setRoles
in interfaceStateRemoveRolesAction
- Parameters:
roles
- values to be set
-
setRoles
Description copied from interface:StateRemoveRolesAction
Roles to remove from the State.
- Specified by:
setRoles
in interfaceStateRemoveRolesAction
- Parameters:
roles
- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-