Interface ProjectChangeMessagesConfigurationAction
- All Superinterfaces:
ProjectUpdateAction,ResourceUpdateAction<ProjectUpdateAction>
ProjectChangeMessagesConfigurationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeMessagesConfigurationAction projectChangeMessagesConfigurationAction = ProjectChangeMessagesConfigurationAction.builder()
.messagesConfiguration(messagesConfigurationBuilder -> messagesConfigurationBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ProjectChangeMessagesConfigurationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProjectChangeMessagesConfigurationActioncreate builder for ProjectChangeMessagesConfigurationAction instancecopyDeep()factory method to create a deep copy of ProjectChangeMessagesConfigurationAction@NotNull @Valid MessagesConfigurationDraftConfiguration for the Messages Query feature.of()factory methodof(ProjectChangeMessagesConfigurationAction template) factory method to create a shallow copy ProjectChangeMessagesConfigurationActionvoidsetMessagesConfiguration(MessagesConfigurationDraft messagesConfiguration) Configuration for the Messages Query feature.static com.fasterxml.jackson.core.type.TypeReference<ProjectChangeMessagesConfigurationAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithProjectChangeMessagesConfigurationAction(Function<ProjectChangeMessagesConfigurationAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.project.ProjectUpdateAction
getAction, withProjectUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_MESSAGES_CONFIGURATION
discriminator value for ProjectChangeMessagesConfigurationAction- See Also:
-
-
Method Details
-
getMessagesConfiguration
Configuration for the Messages Query feature.
- Returns:
- messagesConfiguration
-
setMessagesConfiguration
Configuration for the Messages Query feature.
- Parameters:
messagesConfiguration- value to be set
-
of
factory method- Returns:
- instance of ProjectChangeMessagesConfigurationAction
-
of
static ProjectChangeMessagesConfigurationAction of(ProjectChangeMessagesConfigurationAction template) factory method to create a shallow copy ProjectChangeMessagesConfigurationAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ProjectChangeMessagesConfigurationAction copyDeep()- Specified by:
copyDeepin interfaceProjectUpdateAction
-
deepCopy
@Nullable static ProjectChangeMessagesConfigurationAction deepCopy(@Nullable ProjectChangeMessagesConfigurationAction template) factory method to create a deep copy of ProjectChangeMessagesConfigurationAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectChangeMessagesConfigurationAction- Returns:
- builder
-
builder
static ProjectChangeMessagesConfigurationActionBuilder builder(ProjectChangeMessagesConfigurationAction template) create builder for ProjectChangeMessagesConfigurationAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withProjectChangeMessagesConfigurationAction
default <T> T withProjectChangeMessagesConfigurationAction(Function<ProjectChangeMessagesConfigurationAction, 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<ProjectChangeMessagesConfigurationAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-