Interface ExtensionSetDependenciesAction
- All Superinterfaces:
ExtensionUpdateAction,ResourceUpdateAction<ExtensionUpdateAction>
ExtensionSetDependenciesAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ExtensionSetDependenciesAction extensionSetDependenciesAction = ExtensionSetDependenciesAction.builder()
.plusDependencies(dependenciesBuilder -> dependenciesBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ExtensionSetDependenciesAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ExtensionSetDependenciesActionbuilder(ExtensionSetDependenciesAction template) create builder for ExtensionSetDependenciesAction instancecopyDeep()deepCopy(ExtensionSetDependenciesAction template) factory method to create a deep copy of ExtensionSetDependenciesAction@NotNull @Valid List<ExtensionResourceIdentifier>Extensions this Extension depends on, identified byidorkey.of()factory methodof(ExtensionSetDependenciesAction template) factory method to create a shallow copy ExtensionSetDependenciesActionvoidsetDependencies(ExtensionResourceIdentifier... dependencies) Extensions this Extension depends on, identified byidorkey.voidsetDependencies(List<ExtensionResourceIdentifier> dependencies) Extensions this Extension depends on, identified byidorkey.static com.fasterxml.jackson.core.type.TypeReference<ExtensionSetDependenciesAction>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_DEPENDENCIES
discriminator value for ExtensionSetDependenciesAction- See Also:
-
-
Method Details
-
getDependencies
Extensions this Extension depends on, identified by
idorkey. Set to an empty array to remove all dependencies. Maximum 5 entries.- Returns:
- dependencies
-
setDependencies
Extensions this Extension depends on, identified by
idorkey. Set to an empty array to remove all dependencies. Maximum 5 entries.- Parameters:
dependencies- values to be set
-
setDependencies
Extensions this Extension depends on, identified by
idorkey. Set to an empty array to remove all dependencies. Maximum 5 entries.- Parameters:
dependencies- values to be set
-
of
factory method- Returns:
- instance of ExtensionSetDependenciesAction
-
of
factory method to create a shallow copy ExtensionSetDependenciesAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ExtensionSetDependenciesAction copyDeep()- Specified by:
copyDeepin interfaceExtensionUpdateAction
-
deepCopy
@Nullable static ExtensionSetDependenciesAction deepCopy(@Nullable ExtensionSetDependenciesAction template) factory method to create a deep copy of ExtensionSetDependenciesAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ExtensionSetDependenciesAction- Returns:
- builder
-
builder
create builder for ExtensionSetDependenciesAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withExtensionSetDependenciesAction
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<ExtensionSetDependenciesAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-