Class AgroPlanStatistics

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

@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 AgroPlanStatistics extends Object
General statistics.
  • Field Details

  • Constructor Details

    • AgroPlanStatistics

      public AgroPlanStatistics()
  • Method Details

    • daysCount

      public AgroPlanStatistics daysCount(@Nonnull Integer daysCount)
    • getDaysCount

      @Nonnull public Integer getDaysCount()
      The number of planned fields. minimum: 0 maximum: 3653
      Returns:
      daysCount
    • setDaysCount

      public void setDaysCount(@Nonnull Integer daysCount)
    • cropsCount

      public AgroPlanStatistics cropsCount(@Nonnull Integer cropsCount)
    • getCropsCount

      @Nonnull public Integer getCropsCount()
      The total number of planned crops. minimum: 0 maximum: 501
      Returns:
      cropsCount
    • setCropsCount

      public void setCropsCount(@Nonnull Integer cropsCount)
    • fieldsCount

      public AgroPlanStatistics fieldsCount(@Nonnull Integer fieldsCount)
    • getFieldsCount

      @Nonnull public Integer getFieldsCount()
      The total number of planned fields. minimum: 0 maximum: 20001
      Returns:
      fieldsCount
    • setFieldsCount

      public void setFieldsCount(@Nonnull Integer fieldsCount)
    • fieldsPartCount

      public AgroPlanStatistics fieldsPartCount(@Nonnull Integer fieldsPartCount)
    • getFieldsPartCount

      @Nonnull public Integer getFieldsPartCount()
      Total number of partially harvested fields. minimum: 0 maximum: 20001
      Returns:
      fieldsPartCount
    • setFieldsPartCount

      public void setFieldsPartCount(@Nonnull Integer fieldsPartCount)
    • elevatorsCount

      public AgroPlanStatistics elevatorsCount(@Nonnull Integer elevatorsCount)
    • getElevatorsCount

      @Nonnull public Integer getElevatorsCount()
      The total number of planned elevators. minimum: 0 maximum: 501
      Returns:
      elevatorsCount
    • setElevatorsCount

      public void setElevatorsCount(@Nonnull Integer elevatorsCount)
    • factoryCount

      public AgroPlanStatistics factoryCount(@Nonnull Integer factoryCount)
    • getFactoryCount

      @Nonnull public Integer getFactoryCount()
      The total number of planned factories. minimum: 0 maximum: 501
      Returns:
      factoryCount
    • setFactoryCount

      public void setFactoryCount(@Nonnull Integer factoryCount)
    • marketsCount

      public AgroPlanStatistics marketsCount(@Nonnull Integer marketsCount)
    • getMarketsCount

      @Nonnull public Integer getMarketsCount()
      The total number of planned markets. minimum: 0 maximum: 501
      Returns:
      marketsCount
    • setMarketsCount

      public void setMarketsCount(@Nonnull Integer marketsCount)
    • totalDistance

      public AgroPlanStatistics totalDistance(@Nonnull Integer totalDistance)
    • getTotalDistance

      @Nonnull public Integer getTotalDistance()
      Total mileage, in km. minimum: 0 maximum: 10000000000
      Returns:
      totalDistance
    • setTotalDistance

      public void setTotalDistance(@Nonnull Integer totalDistance)
    • totalCost

      public AgroPlanStatistics totalCost(@Nonnull Double totalCost)
    • getTotalCost

      @Nonnull public Double getTotalCost()
      The total cost of all transactions, in conventional monetary units. minimum: -1000000000000 maximum: 1000000000000
      Returns:
      totalCost
    • setTotalCost

      public void setTotalCost(@Nonnull Double totalCost)
    • unplannedCropsCount

      public AgroPlanStatistics unplannedCropsCount(@Nonnull Integer unplannedCropsCount)
    • getUnplannedCropsCount

      @Nonnull public Integer getUnplannedCropsCount()
      Total number of unused crops. minimum: 0 maximum: 501
      Returns:
      unplannedCropsCount
    • setUnplannedCropsCount

      public void setUnplannedCropsCount(@Nonnull Integer unplannedCropsCount)
    • unplannedFieldsCount

      public AgroPlanStatistics unplannedFieldsCount(@Nonnull Integer unplannedFieldsCount)
    • getUnplannedFieldsCount

      @Nonnull public Integer getUnplannedFieldsCount()
      Total number of unharvested fields. minimum: 0 maximum: 20001
      Returns:
      unplannedFieldsCount
    • setUnplannedFieldsCount

      public void setUnplannedFieldsCount(@Nonnull Integer unplannedFieldsCount)
    • unplannedElevatorsCount

      public AgroPlanStatistics unplannedElevatorsCount(@Nonnull Integer unplannedElevatorsCount)
    • getUnplannedElevatorsCount

      @Nonnull public Integer getUnplannedElevatorsCount()
      Total number of unused elevators. minimum: 0 maximum: 10001
      Returns:
      unplannedElevatorsCount
    • setUnplannedElevatorsCount

      public void setUnplannedElevatorsCount(@Nonnull Integer unplannedElevatorsCount)
    • unplannedFactoriesCount

      public AgroPlanStatistics unplannedFactoriesCount(@Nonnull Integer unplannedFactoriesCount)
    • getUnplannedFactoriesCount

      @Nonnull public Integer getUnplannedFactoriesCount()
      Total number of unused factories. minimum: 0 maximum: 501
      Returns:
      unplannedFactoriesCount
    • setUnplannedFactoriesCount

      public void setUnplannedFactoriesCount(@Nonnull Integer unplannedFactoriesCount)
    • unplannedMarketsCount

      public AgroPlanStatistics unplannedMarketsCount(@Nonnull Integer unplannedMarketsCount)
    • getUnplannedMarketsCount

      @Nonnull public Integer getUnplannedMarketsCount()
      Total number of unused markets. minimum: 0 maximum: 501
      Returns:
      unplannedMarketsCount
    • setUnplannedMarketsCount

      public void setUnplannedMarketsCount(@Nonnull Integer unplannedMarketsCount)
    • putAdditionalProperty

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

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

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