Interface MyShoppingListChangeTextLineItemNameAction

All Superinterfaces:
MyShoppingListUpdateAction, ResourceUpdateAction<MyShoppingListUpdateAction>

public interface MyShoppingListChangeTextLineItemNameAction extends MyShoppingListUpdateAction
MyShoppingListChangeTextLineItemNameAction
Example to create an instance using the builder pattern

     MyShoppingListChangeTextLineItemNameAction myShoppingListChangeTextLineItemNameAction = MyShoppingListChangeTextLineItemNameAction.builder()
             .name(nameBuilder -> nameBuilder)
             .build()
 
  • Field Details

    • CHANGE_TEXT_LINE_ITEM_NAME

      static final String CHANGE_TEXT_LINE_ITEM_NAME
      discriminator value for MyShoppingListChangeTextLineItemNameAction
      See Also:
  • Method Details

    • getTextLineItemId

      String getTextLineItemId()

      The id of the TextLineItem to update. Either lineItemId or lineItemKey is required.

      Returns:
      textLineItemId
    • getTextLineItemKey

      String getTextLineItemKey()

      The key of the TextLineItem to update. Either lineItemId or lineItemKey is required.

      Returns:
      textLineItemKey
    • getName

      @NotNull @Valid @NotNull @Valid LocalizedString getName()

      New value to set. Must not be empty.

      Returns:
      name
    • setTextLineItemId

      void setTextLineItemId(String textLineItemId)

      The id of the TextLineItem to update. Either lineItemId or lineItemKey is required.

      Parameters:
      textLineItemId - value to be set
    • setTextLineItemKey

      void setTextLineItemKey(String textLineItemKey)

      The key of the TextLineItem to update. Either lineItemId or lineItemKey is required.

      Parameters:
      textLineItemKey - value to be set
    • setName

      void setName(LocalizedString name)

      New value to set. Must not be empty.

      Parameters:
      name - value to be set
    • of

      factory method
      Returns:
      instance of MyShoppingListChangeTextLineItemNameAction
    • of

      factory method to create a shallow copy MyShoppingListChangeTextLineItemNameAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of MyShoppingListChangeTextLineItemNameAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for MyShoppingListChangeTextLineItemNameAction
      Returns:
      builder
    • builder

      create builder for MyShoppingListChangeTextLineItemNameAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withMyShoppingListChangeTextLineItemNameAction

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