Class ProjectSettings

java.lang.Object
com.veeroute.lss.agro.model.ProjectSettings

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:47:31.676214391+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class ProjectSettings extends Object
Project settings.
  • Field Details

  • Constructor Details

    • ProjectSettings

      public ProjectSettings()
  • Method Details

    • _configuration

      public ProjectSettings _configuration(@Nullable ProjectConfiguration _configuration)
    • getConfiguration

      @Nullable public ProjectConfiguration getConfiguration()
      Get _configuration
      Returns:
      _configuration
    • setConfiguration

      public void setConfiguration(@Nullable ProjectConfiguration _configuration)
    • startDate

      public ProjectSettings startDate(@Nonnull LocalDate startDate)
    • getStartDate

      @Nonnull public LocalDate getStartDate()
      Window start date in the YYYY-MM-DD format.
      Returns:
      startDate
    • setStartDate

      public void setStartDate(@Nonnull LocalDate startDate)
    • endDate

      public ProjectSettings endDate(@Nonnull LocalDate endDate)
    • getEndDate

      @Nonnull public LocalDate getEndDate()
      Window end date in the YYYY-MM-DD format.
      Returns:
      endDate
    • setEndDate

      public void setEndDate(@Nonnull LocalDate endDate)
    • transportCapacity

      public ProjectSettings transportCapacity(@Nullable Integer transportCapacity)
    • getTransportCapacity

      @Nullable public Integer getTransportCapacity()
      The capacity of one transport is the unit of grain movement between objects, in tons. minimum: 1 maximum: 80
      Returns:
      transportCapacity
    • setTransportCapacity

      public void setTransportCapacity(@Nullable Integer transportCapacity)
    • putAdditionalProperty

      public ProjectSettings putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the ProjectSettings instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to ProjectSettings
    • fromJson

      public static ProjectSettings fromJson(String jsonString) throws IOException
      Create an instance of ProjectSettings given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ProjectSettings
      Throws:
      IOException - if the JSON string is invalid with respect to ProjectSettings
    • toJson

      public String toJson()
      Convert an instance of ProjectSettings to an JSON string
      Returns:
      JSON string