Interface ExtensionSetKeyAction
- All Superinterfaces:
ExtensionUpdateAction,ResourceUpdateAction<ExtensionUpdateAction>
ExtensionSetKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ExtensionSetKeyAction extensionSetKeyAction = ExtensionSetKeyAction.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionSetKeyActionBuilderbuilder()builder factory method for ExtensionSetKeyActionstatic ExtensionSetKeyActionBuilderbuilder(ExtensionSetKeyAction template) create builder for ExtensionSetKeyAction instancecopyDeep()static ExtensionSetKeyActiondeepCopy(ExtensionSetKeyAction template) factory method to create a deep copy of ExtensionSetKeyActiongetKey()Value to set.static ExtensionSetKeyActionof()factory methodstatic ExtensionSetKeyActionof(ExtensionSetKeyAction template) factory method to create a shallow copy ExtensionSetKeyActionstatic ExtensionSetKeyActionofUnset()voidValue to set.static com.fasterxml.jackson.core.type.TypeReference<ExtensionSetKeyAction>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_KEY
discriminator value for ExtensionSetKeyAction- See Also:
-
-
Method Details
-
getKey
String getKey()Value to set. If empty, any existing value will be removed.
- Returns:
- key
-
setKey
Value to set. If empty, any existing value will be removed.
- Parameters:
key- value to be set
-
of
factory method- Returns:
- instance of ExtensionSetKeyAction
-
of
factory method to create a shallow copy ExtensionSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ExtensionSetKeyAction copyDeep()- Specified by:
copyDeepin interfaceExtensionUpdateAction
-
deepCopy
factory method to create a deep copy of ExtensionSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ExtensionSetKeyAction- Returns:
- builder
-
builder
create builder for ExtensionSetKeyAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withExtensionSetKeyAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
ofUnset
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-