Interface AssociateRoleNameSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Name update action.
Example to create an instance using the builder pattern
AssociateRoleNameSetMessagePayload associateRoleNameSetMessagePayload = AssociateRoleNameSetMessagePayload.builder()
.name("{name}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for AssociateRoleNameSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AssociateRoleNameSetMessagePayloadbuilder
(AssociateRoleNameSetMessagePayload template) create builder for AssociateRoleNameSetMessagePayload instancedeepCopy
(AssociateRoleNameSetMessagePayload template) factory method to create a deep copy of AssociateRoleNameSetMessagePayload@NotNull String
getName()
Updated name of the AssociateRole.of()
factory methodof
(AssociateRoleNameSetMessagePayload template) factory method to create a shallow copy AssociateRoleNameSetMessagePayloadvoid
Updated name of the AssociateRole.static com.fasterxml.jackson.core.type.TypeReference<AssociateRoleNameSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
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 AssociateRoleNameSetMessagePayload- 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 AssociateRoleNameSetMessagePayload
-
of
factory method to create a shallow copy AssociateRoleNameSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static AssociateRoleNameSetMessagePayload deepCopy(@Nullable AssociateRoleNameSetMessagePayload template) factory method to create a deep copy of AssociateRoleNameSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AssociateRoleNameSetMessagePayload- Returns:
- builder
-
builder
static AssociateRoleNameSetMessagePayloadBuilder builder(AssociateRoleNameSetMessagePayload template) create builder for AssociateRoleNameSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAssociateRoleNameSetMessagePayload
default <T> T withAssociateRoleNameSetMessagePayload(Function<AssociateRoleNameSetMessagePayload, 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<AssociateRoleNameSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-