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
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ShoppingListSetKeyActionbuilder(ShoppingListSetKeyAction template) create builder for ShoppingListSetKeyAction instancecopyDeep()static ShoppingListSetKeyActiondeepCopy(ShoppingListSetKeyAction template) factory method to create a deep copy of ShoppingListSetKeyActiongetKey()Value to set.static ShoppingListSetKeyActionof()factory methodstatic ShoppingListSetKeyActionof(ShoppingListSetKeyAction template) factory method to create a shallow copy ShoppingListSetKeyActionstatic ShoppingListSetKeyActionofUnset()voidValue to set.static com.fasterxml.jackson.core.type.TypeReference<ShoppingListSetKeyAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods 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
-
copyDeep
ShoppingListSetKeyAction copyDeep()- Specified by:
copyDeepin interfaceShoppingListUpdateAction
-
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
-