Interface ShoppingListSetDeleteDaysAfterLastModificationAction
- All Superinterfaces:
ResourceUpdateAction<ShoppingListUpdateAction>
,ShoppingListUpdateAction
public interface ShoppingListSetDeleteDaysAfterLastModificationAction
extends ShoppingListUpdateAction
ShoppingListSetDeleteDaysAfterLastModificationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShoppingListSetDeleteDaysAfterLastModificationAction shoppingListSetDeleteDaysAfterLastModificationAction = ShoppingListSetDeleteDaysAfterLastModificationAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ShoppingListSetDeleteDaysAfterLastModificationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ShoppingListSetDeleteDaysAfterLastModificationActioncreate builder for ShoppingListSetDeleteDaysAfterLastModificationAction instancefactory method to create a deep copy of ShoppingListSetDeleteDaysAfterLastModificationActionValue to set.of()
factory methodfactory method to create a shallow copy ShoppingListSetDeleteDaysAfterLastModificationActionofUnset()
void
setDeleteDaysAfterLastModification
(Long deleteDaysAfterLastModification) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ShoppingListSetDeleteDaysAfterLastModificationAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withShoppingListSetDeleteDaysAfterLastModificationAction
(Function<ShoppingListSetDeleteDaysAfterLastModificationAction, T> helper) 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_DELETE_DAYS_AFTER_LAST_MODIFICATION
discriminator value for ShoppingListSetDeleteDaysAfterLastModificationAction- See Also:
-
-
Method Details
-
getDeleteDaysAfterLastModification
Long getDeleteDaysAfterLastModification()Value to set. If empty, any existing value will be removed.
- Returns:
- deleteDaysAfterLastModification
-
setDeleteDaysAfterLastModification
Value to set. If empty, any existing value will be removed.
- Parameters:
deleteDaysAfterLastModification
- value to be set
-
of
factory method- Returns:
- instance of ShoppingListSetDeleteDaysAfterLastModificationAction
-
of
static ShoppingListSetDeleteDaysAfterLastModificationAction of(ShoppingListSetDeleteDaysAfterLastModificationAction template) factory method to create a shallow copy ShoppingListSetDeleteDaysAfterLastModificationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ShoppingListSetDeleteDaysAfterLastModificationAction deepCopy(@Nullable ShoppingListSetDeleteDaysAfterLastModificationAction template) factory method to create a deep copy of ShoppingListSetDeleteDaysAfterLastModificationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShoppingListSetDeleteDaysAfterLastModificationAction- Returns:
- builder
-
builder
static ShoppingListSetDeleteDaysAfterLastModificationActionBuilder builder(ShoppingListSetDeleteDaysAfterLastModificationAction template) create builder for ShoppingListSetDeleteDaysAfterLastModificationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withShoppingListSetDeleteDaysAfterLastModificationAction
default <T> T withShoppingListSetDeleteDaysAfterLastModificationAction(Function<ShoppingListSetDeleteDaysAfterLastModificationAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
ofUnset
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ShoppingListSetDeleteDaysAfterLastModificationAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-