Class AgroPlanResult

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

@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 AgroPlanResult extends Object
Planning result.
  • Field Details

  • Constructor Details

    • AgroPlanResult

      public AgroPlanResult()
  • Method Details

    • tracedata

      public AgroPlanResult tracedata(@Nonnull Tracedata tracedata)
    • getTracedata

      @Nonnull public Tracedata getTracedata()
      Get tracedata
      Returns:
      tracedata
    • setTracedata

      public void setTracedata(@Nonnull Tracedata tracedata)
    • project

      public AgroPlanResult project(@Nonnull List<ManufacturingOperation> project)
    • addProjectItem

      public AgroPlanResult addProjectItem(ManufacturingOperation projectItem)
    • getProject

      @Nonnull public List<ManufacturingOperation> getProject()
      Production plan. The sequence of work.
      Returns:
      project
    • setProject

      public void setProject(@Nonnull List<ManufacturingOperation> project)
    • statistics

      public AgroPlanResult statistics(@Nonnull AgroPlanStatistics statistics)
    • getStatistics

      @Nonnull public AgroPlanStatistics getStatistics()
      Get statistics
      Returns:
      statistics
    • setStatistics

      public void setStatistics(@Nonnull AgroPlanStatistics statistics)
    • warnings

      public AgroPlanResult warnings(@Nullable List<AgroEntityWarning> warnings)
    • addWarningsItem

      public AgroPlanResult addWarningsItem(AgroEntityWarning warningsItem)
    • getWarnings

      @Nullable public List<AgroEntityWarning> getWarnings()
      List of warnings. Depending on the flag `calculation_settings.treat_warnings_as_errors` - triggered checks are interpreted as errors or result in the removal of incorrect data from the calculation.
      Returns:
      warnings
    • setWarnings

      public void setWarnings(@Nullable List<AgroEntityWarning> warnings)
    • unplannedItems

      public AgroPlanResult unplannedItems(@Nullable AgroUnplannedItems unplannedItems)
    • getUnplannedItems

      @Nullable public AgroUnplannedItems getUnplannedItems()
      Get unplannedItems
      Returns:
      unplannedItems
    • setUnplannedItems

      public void setUnplannedItems(@Nullable AgroUnplannedItems unplannedItems)
    • calculationProgress

      public AgroPlanResult calculationProgress(@Nonnull Integer calculationProgress)
    • getCalculationProgress

      @Nonnull public Integer getCalculationProgress()
      Calculation progress as a percentage. The progress displays the current number of completed steps. minimum: 0 maximum: 100
      Returns:
      calculationProgress
    • setCalculationProgress

      public void setCalculationProgress(@Nonnull Integer calculationProgress)
    • calculationInfo

      public AgroPlanResult calculationInfo(@Nonnull CalculationInfo calculationInfo)
    • getCalculationInfo

      @Nonnull public CalculationInfo getCalculationInfo()
      Get calculationInfo
      Returns:
      calculationInfo
    • setCalculationInfo

      public void setCalculationInfo(@Nonnull CalculationInfo calculationInfo)
    • putAdditionalProperty

      public AgroPlanResult 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 AgroPlanResult 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 AgroPlanResult
    • fromJson

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

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