Interface AssociateRoleNameChangedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Name update action.
Example to create an instance using the builder pattern
AssociateRoleNameChangedMessagePayload associateRoleNameChangedMessagePayload = AssociateRoleNameChangedMessagePayload.builder()
.name("{name}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for AssociateRoleNameChangedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AssociateRoleNameChangedMessagePayloadcreate builder for AssociateRoleNameChangedMessagePayload instancefactory method to create a deep copy of AssociateRoleNameChangedMessagePayload@NotNull String
getName()
Updated name of the AssociateRole.of()
factory methodof
(AssociateRoleNameChangedMessagePayload template) factory method to create a shallow copy AssociateRoleNameChangedMessagePayloadvoid
Updated name of the AssociateRole.static com.fasterxml.jackson.core.type.TypeReference<AssociateRoleNameChangedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withAssociateRoleNameChangedMessagePayload
(Function<AssociateRoleNameChangedMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
ASSOCIATE_ROLE_NAME_SET
discriminator value for AssociateRoleNameChangedMessagePayload- See Also:
-
-
Method Details
-
getName
Updated name of the AssociateRole.
- Returns:
- name
-
setName
Updated name of the AssociateRole.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of AssociateRoleNameChangedMessagePayload
-
of
factory method to create a shallow copy AssociateRoleNameChangedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static AssociateRoleNameChangedMessagePayload deepCopy(@Nullable AssociateRoleNameChangedMessagePayload template) factory method to create a deep copy of AssociateRoleNameChangedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AssociateRoleNameChangedMessagePayload- Returns:
- builder
-
builder
static AssociateRoleNameChangedMessagePayloadBuilder builder(AssociateRoleNameChangedMessagePayload template) create builder for AssociateRoleNameChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAssociateRoleNameChangedMessagePayload
default <T> T withAssociateRoleNameChangedMessagePayload(Function<AssociateRoleNameChangedMessagePayload, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<AssociateRoleNameChangedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-