Interface AssociateRoleUpdateAction
- All Superinterfaces:
ResourceUpdateAction<AssociateRoleUpdateAction>
- All Known Subinterfaces:
AssociateRoleAddPermissionAction
,AssociateRoleChangeBuyerAssignableAction
,AssociateRoleRemovePermissionAction
,AssociateRoleSetCustomFieldAction
,AssociateRoleSetCustomTypeAction
,AssociateRoleSetNameAction
,AssociateRoleSetPermissionsAction
AssociateRoleUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
AssociateRoleUpdateAction associateRoleUpdateAction = AssociateRoleUpdateAction.addPermissionBuilder()
permission(Permission.ADD_CHILD_UNITS)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addPermission subtypebuilder for changeBuyerAssignable subtypestatic AssociateRoleUpdateAction
deepCopy
(AssociateRoleUpdateAction template) factory method to create a deep copy of AssociateRoleUpdateAction@NotNull String
builder for removePermission subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setName subtypebuilder for setPermissions subtypestatic com.fasterxml.jackson.core.type.TypeReference<AssociateRoleUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<AssociateRoleUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of AssociateRoleUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addPermissionBuilder
builder for addPermission subtype- Returns:
- builder
-
changeBuyerAssignableBuilder
builder for changeBuyerAssignable subtype- Returns:
- builder
-
removePermissionBuilder
builder for removePermission subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setNameBuilder
builder for setName subtype- Returns:
- builder
-
setPermissionsBuilder
builder for setPermissions subtype- Returns:
- builder
-
withAssociateRoleUpdateAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-