Interface ShoppingListsConfiguration
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 instancecopyDeep()static ShoppingListsConfigurationdeepCopy(ShoppingListsConfiguration template) factory method to create a deep copy of ShoppingListsConfigurationDefault value for thedeleteDaysAfterLastModificationparameter of the ShoppingListDraft.static ShoppingListsConfigurationof()factory methodstatic ShoppingListsConfigurationof(ShoppingListsConfiguration template) factory method to create a shallow copy ShoppingListsConfigurationvoidsetDeleteDaysAfterLastModification(Long deleteDaysAfterLastModification) Default value for thedeleteDaysAfterLastModificationparameter of the ShoppingListDraft.static com.fasterxml.jackson.core.type.TypeReference<ShoppingListsConfiguration>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getDeleteDaysAfterLastModification
Long getDeleteDaysAfterLastModification()Default value for the
deleteDaysAfterLastModificationparameter of the ShoppingListDraft. This field may not be present on Projects created before January 2020.- Returns:
- deleteDaysAfterLastModification
-
setDeleteDaysAfterLastModification
Default value for the
deleteDaysAfterLastModificationparameter 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
-
copyDeep
ShoppingListsConfiguration copyDeep() -
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
-