Interface McpServerRemoveToolCustomizationAction
- All Superinterfaces:
McpServerUpdateAction
Removes the tool customization matching the given tool name. Has no effect if no customization exists for that tool.
Example to create an instance using the builder pattern
McpServerRemoveToolCustomizationAction mcpServerRemoveToolCustomizationAction = McpServerRemoveToolCustomizationAction.builder()
.toolCustomization(toolCustomizationBuilder -> toolCustomizationBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for McpServerRemoveToolCustomizationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for McpServerRemoveToolCustomizationActioncreate builder for McpServerRemoveToolCustomizationAction instancecopyDeep()factory method to create a deep copy of McpServerRemoveToolCustomizationAction@NotNull @Valid RemoveToolCustomizationTargetIdentifies the tool customization to remove by its tool name.of()factory methodof(McpServerRemoveToolCustomizationAction template) factory method to create a shallow copy McpServerRemoveToolCustomizationActionvoidsetToolCustomization(RemoveToolCustomizationTarget toolCustomization) Identifies the tool customization to remove by its tool name.static tools.jackson.core.type.TypeReference<McpServerRemoveToolCustomizationAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithMcpServerRemoveToolCustomizationAction(Function<McpServerRemoveToolCustomizationAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.mcp_server.McpServerUpdateAction
getAction, withMcpServerUpdateAction
-
Field Details
-
REMOVE_TOOL_CUSTOMIZATION
discriminator value for McpServerRemoveToolCustomizationAction- See Also:
-
-
Method Details
-
getToolCustomization
Identifies the tool customization to remove by its tool name.
- Returns:
- toolCustomization
-
setToolCustomization
Identifies the tool customization to remove by its tool name.
- Parameters:
toolCustomization- value to be set
-
of
factory method- Returns:
- instance of McpServerRemoveToolCustomizationAction
-
of
factory method to create a shallow copy McpServerRemoveToolCustomizationAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
McpServerRemoveToolCustomizationAction copyDeep()- Specified by:
copyDeepin interfaceMcpServerUpdateAction
-
deepCopy
@Nullable static McpServerRemoveToolCustomizationAction deepCopy(@Nullable McpServerRemoveToolCustomizationAction template) factory method to create a deep copy of McpServerRemoveToolCustomizationAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for McpServerRemoveToolCustomizationAction- Returns:
- builder
-
builder
static McpServerRemoveToolCustomizationActionBuilder builder(McpServerRemoveToolCustomizationAction template) create builder for McpServerRemoveToolCustomizationAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withMcpServerRemoveToolCustomizationAction
default <T> T withMcpServerRemoveToolCustomizationAction(Function<McpServerRemoveToolCustomizationAction, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static tools.jackson.core.type.TypeReference<McpServerRemoveToolCustomizationAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-