Interface ShoppingListsConfiguration


public interface ShoppingListsConfiguration
ShoppingListsConfiguration
Example to create an instance using the builder pattern

     ShoppingListsConfiguration shoppingListsConfiguration = ShoppingListsConfiguration.builder()
             .build()
 
  • 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

      void setDeleteDaysAfterLastModification(Long deleteDaysAfterLastModification)

      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

      default <T> T withShoppingListsConfiguration(Function<ShoppingListsConfiguration,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<ShoppingListsConfiguration> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference