Interface ShoppingListSetKeyAction
- All Superinterfaces:
ResourceUpdateAction<ShoppingListUpdateAction>
,ShoppingListUpdateAction
ShoppingListSetKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShoppingListSetKeyAction shoppingListSetKeyAction = ShoppingListSetKeyAction.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ShoppingListSetKeyActionbuilder
(ShoppingListSetKeyAction template) create builder for ShoppingListSetKeyAction instancestatic ShoppingListSetKeyAction
deepCopy
(ShoppingListSetKeyAction template) factory method to create a deep copy of ShoppingListSetKeyActiongetKey()
Value to set.static ShoppingListSetKeyAction
of()
factory methodstatic ShoppingListSetKeyAction
of
(ShoppingListSetKeyAction template) factory method to create a shallow copy ShoppingListSetKeyActionstatic ShoppingListSetKeyAction
ofUnset()
void
Value to set.static com.fasterxml.jackson.core.type.TypeReference<ShoppingListSetKeyAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.shopping_list.ShoppingListUpdateAction
getAction, withShoppingListUpdateAction
-
Field Details
-
SET_KEY
discriminator value for ShoppingListSetKeyAction- 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 ShoppingListSetKeyAction
-
of
factory method to create a shallow copy ShoppingListSetKeyAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ShoppingListSetKeyAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShoppingListSetKeyAction- Returns:
- builder
-
builder
create builder for ShoppingListSetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withShoppingListSetKeyAction
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
-