Interface ExtensionSetExpansionPathsAction
- All Superinterfaces:
ExtensionUpdateAction,ResourceUpdateAction<ExtensionUpdateAction>
ExtensionSetExpansionPathsAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ExtensionSetExpansionPathsAction extensionSetExpansionPathsAction = ExtensionSetExpansionPathsAction.builder()
.plusExpansionPaths(expansionPathsBuilder -> expansionPathsBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ExtensionSetExpansionPathsAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ExtensionSetExpansionPathsActionbuilder(ExtensionSetExpansionPathsAction template) create builder for ExtensionSetExpansionPathsAction instancecopyDeep()deepCopy(ExtensionSetExpansionPathsAction template) factory method to create a deep copy of ExtensionSetExpansionPathsActionExpansion paths used for reference expansion of the payload.of()factory methodof(ExtensionSetExpansionPathsAction template) factory method to create a shallow copy ExtensionSetExpansionPathsActionvoidsetExpansionPaths(String... expansionPaths) Expansion paths used for reference expansion of the payload.voidsetExpansionPaths(List<String> expansionPaths) Expansion paths used for reference expansion of the payload.static com.fasterxml.jackson.core.type.TypeReference<ExtensionSetExpansionPathsAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.extension.ExtensionUpdateAction
getAction, withExtensionUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_EXPANSION_PATHS
discriminator value for ExtensionSetExpansionPathsAction- See Also:
-
-
Method Details
-
getExpansionPaths
Expansion paths used for reference expansion of the payload.
Be aware of the limits of this feature and its performance impact.
- Returns:
- expansionPaths
-
setExpansionPaths
Expansion paths used for reference expansion of the payload.
Be aware of the limits of this feature and its performance impact.
- Parameters:
expansionPaths- values to be set
-
setExpansionPaths
Expansion paths used for reference expansion of the payload.
Be aware of the limits of this feature and its performance impact.
- Parameters:
expansionPaths- values to be set
-
of
factory method- Returns:
- instance of ExtensionSetExpansionPathsAction
-
of
factory method to create a shallow copy ExtensionSetExpansionPathsAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ExtensionSetExpansionPathsAction copyDeep()- Specified by:
copyDeepin interfaceExtensionUpdateAction
-
deepCopy
@Nullable static ExtensionSetExpansionPathsAction deepCopy(@Nullable ExtensionSetExpansionPathsAction template) factory method to create a deep copy of ExtensionSetExpansionPathsAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ExtensionSetExpansionPathsAction- Returns:
- builder
-
builder
create builder for ExtensionSetExpansionPathsAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withExtensionSetExpansionPathsAction
default <T> T withExtensionSetExpansionPathsAction(Function<ExtensionSetExpansionPathsAction, 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<ExtensionSetExpansionPathsAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-