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
-
Method Summary
Modifier and TypeMethodDescriptionstatic CategorySetKeyActionBuilder
builder()
builder factory method for CategorySetKeyActionstatic CategorySetKeyActionBuilder
builder
(CategorySetKeyAction template) create builder for CategorySetKeyAction instancestatic CategorySetKeyAction
deepCopy
(CategorySetKeyAction template) factory method to create a deep copy of CategorySetKeyActiongetKey()
Value to set.static CategorySetKeyAction
of()
factory methodstatic CategorySetKeyAction
of
(CategorySetKeyAction template) factory method to create a shallow copy CategorySetKeyActionstatic CategorySetKeyAction
ofUnset()
void
Value to set.static com.fasterxml.jackson.core.type.TypeReference<CategorySetKeyAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withCategorySetKeyAction
(Function<CategorySetKeyAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.category.CategoryUpdateAction
getAction, withCategoryUpdateAction
Methods 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
-
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
-