Interface ProjectChangeCurrenciesAction

All Superinterfaces:
ProjectUpdateAction, ResourceUpdateAction<ProjectUpdateAction>

public interface ProjectChangeCurrenciesAction extends ProjectUpdateAction
ProjectChangeCurrenciesAction
Example to create an instance using the builder pattern

     ProjectChangeCurrenciesAction projectChangeCurrenciesAction = ProjectChangeCurrenciesAction.builder()
             .plusCurrencies(currenciesBuilder -> currenciesBuilder)
             .build()
 
  • Field Details

    • CHANGE_CURRENCIES

      static final String CHANGE_CURRENCIES
      discriminator value for ProjectChangeCurrenciesAction
      See Also:
  • Method Details

    • getCurrencies

      @NotNull @NotNull List<String> getCurrencies()

      New value to set. Must not be empty.

      Returns:
      currencies
    • setCurrencies

      void setCurrencies(String... currencies)

      New value to set. Must not be empty.

      Parameters:
      currencies - values to be set
    • setCurrencies

      void setCurrencies(List<String> currencies)

      New value to set. Must not be empty.

      Parameters:
      currencies - values to be set
    • of

      factory method
      Returns:
      instance of ProjectChangeCurrenciesAction
    • of

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

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

      builder factory method for ProjectChangeCurrenciesAction
      Returns:
      builder
    • builder

      create builder for ProjectChangeCurrenciesAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProjectChangeCurrenciesAction

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