Package com.commercetools.api.models.me
Interface MyShoppingListSetDeleteDaysAfterLastModificationAction
- All Superinterfaces:
MyShoppingListUpdateAction
,ResourceUpdateAction<MyShoppingListUpdateAction>
public interface MyShoppingListSetDeleteDaysAfterLastModificationAction
extends MyShoppingListUpdateAction
MyShoppingListSetDeleteDaysAfterLastModificationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyShoppingListSetDeleteDaysAfterLastModificationAction myShoppingListSetDeleteDaysAfterLastModificationAction = MyShoppingListSetDeleteDaysAfterLastModificationAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for MyShoppingListSetDeleteDaysAfterLastModificationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for MyShoppingListSetDeleteDaysAfterLastModificationActioncreate builder for MyShoppingListSetDeleteDaysAfterLastModificationAction instancefactory method to create a deep copy of MyShoppingListSetDeleteDaysAfterLastModificationActionValue to set.of()
factory methodfactory method to create a shallow copy MyShoppingListSetDeleteDaysAfterLastModificationActionvoid
setDeleteDaysAfterLastModification
(Long deleteDaysAfterLastModification) Value to set.static com.fasterxml.jackson.core.type.TypeReference<MyShoppingListSetDeleteDaysAfterLastModificationAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withMyShoppingListSetDeleteDaysAfterLastModificationAction
(Function<MyShoppingListSetDeleteDaysAfterLastModificationAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.me.MyShoppingListUpdateAction
getAction, withMyShoppingListUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_DELETE_DAYS_AFTER_LAST_MODIFICATION
discriminator value for MyShoppingListSetDeleteDaysAfterLastModificationAction- 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 MyShoppingListSetDeleteDaysAfterLastModificationAction
-
of
static MyShoppingListSetDeleteDaysAfterLastModificationAction of(MyShoppingListSetDeleteDaysAfterLastModificationAction template) factory method to create a shallow copy MyShoppingListSetDeleteDaysAfterLastModificationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static MyShoppingListSetDeleteDaysAfterLastModificationAction deepCopy(@Nullable MyShoppingListSetDeleteDaysAfterLastModificationAction template) factory method to create a deep copy of MyShoppingListSetDeleteDaysAfterLastModificationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyShoppingListSetDeleteDaysAfterLastModificationAction- Returns:
- builder
-
builder
static MyShoppingListSetDeleteDaysAfterLastModificationActionBuilder builder(MyShoppingListSetDeleteDaysAfterLastModificationAction template) create builder for MyShoppingListSetDeleteDaysAfterLastModificationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMyShoppingListSetDeleteDaysAfterLastModificationAction
default <T> T withMyShoppingListSetDeleteDaysAfterLastModificationAction(Function<MyShoppingListSetDeleteDaysAfterLastModificationAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<MyShoppingListSetDeleteDaysAfterLastModificationAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-