Interface CategorySetKeyAction
- All Superinterfaces:
CategoryUpdateAction,ResourceUpdateAction<CategoryUpdateAction>
CategorySetKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategorySetKeyAction categorySetKeyAction = CategorySetKeyAction.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic CategorySetKeyActionBuilderbuilder()builder factory method for CategorySetKeyActionstatic CategorySetKeyActionBuilderbuilder(CategorySetKeyAction template) create builder for CategorySetKeyAction instancecopyDeep()static CategorySetKeyActiondeepCopy(CategorySetKeyAction template) factory method to create a deep copy of CategorySetKeyActiongetKey()Value to set.static CategorySetKeyActionof()factory methodstatic CategorySetKeyActionof(CategorySetKeyAction template) factory method to create a shallow copy CategorySetKeyActionstatic CategorySetKeyActionofUnset()voidValue to set.static com.fasterxml.jackson.core.type.TypeReference<CategorySetKeyAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithCategorySetKeyAction(Function<CategorySetKeyAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.category.CategoryUpdateAction
getAction, withCategoryUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_KEY
discriminator value for CategorySetKeyAction- 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 CategorySetKeyAction
-
of
factory method to create a shallow copy CategorySetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CategorySetKeyAction copyDeep()- Specified by:
copyDeepin interfaceCategoryUpdateAction
-
deepCopy
factory method to create a deep copy of CategorySetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CategorySetKeyAction- Returns:
- builder
-
builder
create builder for CategorySetKeyAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCategorySetKeyAction
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
-