Class StateAddRolesActionImpl
java.lang.Object
com.commercetools.api.models.state.StateAddRolesActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StateUpdateAction>
,StateAddRolesAction
,StateUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StateAddRolesActionImpl
extends Object
implements StateAddRolesAction, io.vrap.rmf.base.client.ModelBase
StateAddRolesAction
-
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.StateAddRolesAction
ADD_ROLES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getRoles()
Value to append to the array.int
hashCode()
void
setRoles
(StateRoleEnum... roles) Value to append to the array.void
setRoles
(List<StateRoleEnum> roles) Value to append to the array.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
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.StateAddRolesAction
withStateAddRolesAction
Methods inherited from interface com.commercetools.api.models.state.StateUpdateAction
withStateUpdateAction
-
Constructor Details
-
StateAddRolesActionImpl
public StateAddRolesActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StateUpdateAction>
- Specified by:
getAction
in interfaceStateUpdateAction
- Returns:
- action
-
getRoles
Value to append to the array.
- Specified by:
getRoles
in interfaceStateAddRolesAction
- Returns:
- roles
-
setRoles
Description copied from interface:StateAddRolesAction
Value to append to the array.
- Specified by:
setRoles
in interfaceStateAddRolesAction
- Parameters:
roles
- values to be set
-
setRoles
Description copied from interface:StateAddRolesAction
Value to append to the array.
- Specified by:
setRoles
in interfaceStateAddRolesAction
- Parameters:
roles
- values to be set
-
equals
-
hashCode
public int hashCode()
-