Interface ProjectChangeCountriesAction

All Superinterfaces:
ProjectUpdateAction, ResourceUpdateAction<ProjectUpdateAction>

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

     ProjectChangeCountriesAction projectChangeCountriesAction = ProjectChangeCountriesAction.builder()
             .plusCountries(countriesBuilder -> countriesBuilder)
             .build()
 
  • Field Details

    • CHANGE_COUNTRIES

      static final String CHANGE_COUNTRIES
      discriminator value for ProjectChangeCountriesAction
      See Also:
  • Method Details

    • getCountries

      @NotNull @NotNull List<String> getCountries()

      New value to set. Must not be empty.

      Returns:
      countries
    • setCountries

      void setCountries(String... countries)

      New value to set. Must not be empty.

      Parameters:
      countries - values to be set
    • setCountries

      void setCountries(List<String> countries)

      New value to set. Must not be empty.

      Parameters:
      countries - values to be set
    • of

      factory method
      Returns:
      instance of ProjectChangeCountriesAction
    • of

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

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

      builder factory method for ProjectChangeCountriesAction
      Returns:
      builder
    • builder

      create builder for ProjectChangeCountriesAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProjectChangeCountriesAction

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