Interface ShoppingListsConfiguration
- All Known Implementing Classes:
ShoppingListsConfigurationImpl
public interface ShoppingListsConfiguration
ShoppingListsConfiguration
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShoppingListsConfiguration shoppingListsConfiguration = ShoppingListsConfiguration.builder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ShoppingListsConfigurationbuilder
(ShoppingListsConfiguration template) create builder for ShoppingListsConfiguration instancestatic ShoppingListsConfiguration
deepCopy
(ShoppingListsConfiguration template) factory method to create a deep copy of ShoppingListsConfigurationDefault value for thedeleteDaysAfterLastModification
parameter of the ShoppingListDraft.static ShoppingListsConfiguration
of()
factory methodstatic ShoppingListsConfiguration
of
(ShoppingListsConfiguration template) factory method to create a shallow copy ShoppingListsConfigurationvoid
setDeleteDaysAfterLastModification
(Long deleteDaysAfterLastModification) Default value for thedeleteDaysAfterLastModification
parameter of the ShoppingListDraft.static com.fasterxml.jackson.core.type.TypeReference<ShoppingListsConfiguration>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getDeleteDaysAfterLastModification
Long getDeleteDaysAfterLastModification()Default value for the
deleteDaysAfterLastModification
parameter of the ShoppingListDraft. This field may not be present on Projects created before January 2020.- Returns:
- deleteDaysAfterLastModification
-
setDeleteDaysAfterLastModification
Default value for the
deleteDaysAfterLastModification
parameter of the ShoppingListDraft. This field may not be present on Projects created before January 2020.- Parameters:
deleteDaysAfterLastModification
- value to be set
-
of
factory method- Returns:
- instance of ShoppingListsConfiguration
-
of
factory method to create a shallow copy ShoppingListsConfiguration- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ShoppingListsConfiguration- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShoppingListsConfiguration- Returns:
- builder
-
builder
create builder for ShoppingListsConfiguration instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withShoppingListsConfiguration
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-