Package com.veeroute.lss.agro.model
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.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncropsCount(Integer cropsCount) elevatorsCount(Integer elevatorsCount) booleanfactoryCount(Integer factoryCount) fieldsCount(Integer fieldsCount) fieldsPartCount(Integer fieldsPartCount) static AgroPlanStatisticsCreate an instance of AgroPlanStatistics given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The total number of planned crops.The number of planned fields.The total number of planned elevators.The total number of planned factories.The total number of planned fields.Total number of partially harvested fields.The total number of planned markets.The total cost of all transactions, in conventional monetary units.Total mileage, in km.Total number of unused crops.Total number of unused elevators.Total number of unused factories.Total number of unharvested fields.Total number of unused markets.inthashCode()marketsCount(Integer marketsCount) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCropsCount(Integer cropsCount) voidsetDaysCount(Integer daysCount) voidsetElevatorsCount(Integer elevatorsCount) voidsetFactoryCount(Integer factoryCount) voidsetFieldsCount(Integer fieldsCount) voidsetFieldsPartCount(Integer fieldsPartCount) voidsetMarketsCount(Integer marketsCount) voidsetTotalCost(Double totalCost) voidsetTotalDistance(Integer totalDistance) voidsetUnplannedCropsCount(Integer unplannedCropsCount) voidsetUnplannedElevatorsCount(Integer unplannedElevatorsCount) voidsetUnplannedFactoriesCount(Integer unplannedFactoriesCount) voidsetUnplannedFieldsCount(Integer unplannedFieldsCount) voidsetUnplannedMarketsCount(Integer unplannedMarketsCount) toJson()Convert an instance of AgroPlanStatistics to an JSON stringtoString()totalDistance(Integer totalDistance) unplannedCropsCount(Integer unplannedCropsCount) unplannedElevatorsCount(Integer unplannedElevatorsCount) unplannedFactoriesCount(Integer unplannedFactoriesCount) unplannedFieldsCount(Integer unplannedFieldsCount) unplannedMarketsCount(Integer unplannedMarketsCount) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DAYS_COUNT
- See Also:
-
SERIALIZED_NAME_CROPS_COUNT
- See Also:
-
SERIALIZED_NAME_FIELDS_COUNT
- See Also:
-
SERIALIZED_NAME_FIELDS_PART_COUNT
- See Also:
-
SERIALIZED_NAME_ELEVATORS_COUNT
- See Also:
-
SERIALIZED_NAME_FACTORY_COUNT
- See Also:
-
SERIALIZED_NAME_MARKETS_COUNT
- See Also:
-
SERIALIZED_NAME_TOTAL_DISTANCE
- See Also:
-
SERIALIZED_NAME_TOTAL_COST
- See Also:
-
SERIALIZED_NAME_UNPLANNED_CROPS_COUNT
- See Also:
-
SERIALIZED_NAME_UNPLANNED_FIELDS_COUNT
- See Also:
-
SERIALIZED_NAME_UNPLANNED_ELEVATORS_COUNT
- See Also:
-
SERIALIZED_NAME_UNPLANNED_FACTORIES_COUNT
- See Also:
-
SERIALIZED_NAME_UNPLANNED_MARKETS_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AgroPlanStatistics
public AgroPlanStatistics()
-
-
Method Details
-
daysCount
-
getDaysCount
The number of planned fields. minimum: 0 maximum: 3653- Returns:
- daysCount
-
setDaysCount
-
cropsCount
-
getCropsCount
The total number of planned crops. minimum: 0 maximum: 501- Returns:
- cropsCount
-
setCropsCount
-
fieldsCount
-
getFieldsCount
The total number of planned fields. minimum: 0 maximum: 20001- Returns:
- fieldsCount
-
setFieldsCount
-
fieldsPartCount
-
getFieldsPartCount
Total number of partially harvested fields. minimum: 0 maximum: 20001- Returns:
- fieldsPartCount
-
setFieldsPartCount
-
elevatorsCount
-
getElevatorsCount
The total number of planned elevators. minimum: 0 maximum: 501- Returns:
- elevatorsCount
-
setElevatorsCount
-
factoryCount
-
getFactoryCount
The total number of planned factories. minimum: 0 maximum: 501- Returns:
- factoryCount
-
setFactoryCount
-
marketsCount
-
getMarketsCount
The total number of planned markets. minimum: 0 maximum: 501- Returns:
- marketsCount
-
setMarketsCount
-
totalDistance
-
getTotalDistance
Total mileage, in km. minimum: 0 maximum: 10000000000- Returns:
- totalDistance
-
setTotalDistance
-
totalCost
-
getTotalCost
The total cost of all transactions, in conventional monetary units. minimum: -1000000000000 maximum: 1000000000000- Returns:
- totalCost
-
setTotalCost
-
unplannedCropsCount
-
getUnplannedCropsCount
Total number of unused crops. minimum: 0 maximum: 501- Returns:
- unplannedCropsCount
-
setUnplannedCropsCount
-
unplannedFieldsCount
-
getUnplannedFieldsCount
Total number of unharvested fields. minimum: 0 maximum: 20001- Returns:
- unplannedFieldsCount
-
setUnplannedFieldsCount
-
unplannedElevatorsCount
-
getUnplannedElevatorsCount
Total number of unused elevators. minimum: 0 maximum: 10001- Returns:
- unplannedElevatorsCount
-
setUnplannedElevatorsCount
-
unplannedFactoriesCount
-
getUnplannedFactoriesCount
Total number of unused factories. minimum: 0 maximum: 501- Returns:
- unplannedFactoriesCount
-
setUnplannedFactoriesCount
-
unplannedMarketsCount
-
getUnplannedMarketsCount
Total number of unused markets. minimum: 0 maximum: 501- Returns:
- unplannedMarketsCount
-
setUnplannedMarketsCount
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the AgroPlanStatistics instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of AgroPlanStatistics to an JSON string- Returns:
- JSON string
-