Package com.veeroute.lss.agro.model
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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_configuration(ProjectConfiguration _configuration) booleanstatic ProjectSettingsCreate an instance of ProjectSettings given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get _configurationWindow end date in the YYYY-MM-DD format.Window start date in the YYYY-MM-DD format.The capacity of one transport is the unit of grain movement between objects, in tons.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConfiguration(ProjectConfiguration _configuration) voidsetEndDate(LocalDate endDate) voidsetStartDate(LocalDate startDate) voidsetTransportCapacity(Integer transportCapacity) toJson()Convert an instance of ProjectSettings to an JSON stringtoString()transportCapacity(Integer transportCapacity) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CONFIGURATION
- See Also:
-
SERIALIZED_NAME_START_DATE
- See Also:
-
SERIALIZED_NAME_END_DATE
- See Also:
-
SERIALIZED_NAME_TRANSPORT_CAPACITY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ProjectSettings
public ProjectSettings()
-
-
Method Details
-
_configuration
-
getConfiguration
Get _configuration- Returns:
- _configuration
-
setConfiguration
-
startDate
-
getStartDate
Window start date in the YYYY-MM-DD format.- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
Window end date in the YYYY-MM-DD format.- Returns:
- endDate
-
setEndDate
-
transportCapacity
-
getTransportCapacity
The capacity of one transport is the unit of grain movement between objects, in tons. minimum: 1 maximum: 80- Returns:
- transportCapacity
-
setTransportCapacity
-
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 ProjectSettings 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 ProjectSettings
-
fromJson
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
Convert an instance of ProjectSettings to an JSON string- Returns:
- JSON string
-