Package com.veeroute.lss.packer.model
Class CalculationSettings
java.lang.Object
com.veeroute.lss.packer.model.CalculationSettings
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:46.842085694+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class CalculationSettings
extends Object
Calculation settings.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CalculationSettingsCreate an instance of CalculationSettings given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Max calculation time.Max calculation time.Specifies the calculation accuracy in the decimal point sequence number.Timezone.Calculation result lifetime.Treat warnings as errors and do not run calculations if at least one entity contains invalid data.Calculation tag, used to select the calculation pool.inthashCode()maxCalculationTime(String maxCalculationTime) maxWaitingTime(String maxWaitingTime) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resultTimezone(Integer resultTimezone) voidsetMaxCalculationTime(String maxCalculationTime) voidsetMaxWaitingTime(String maxWaitingTime) voidsetPrecision(Integer precision) voidsetResultTimezone(Integer resultTimezone) voidsetResultTtl(String resultTtl) voidsetTreatWarningsAsErrors(Boolean treatWarningsAsErrors) voidsetWorkerTag(String workerTag) toJson()Convert an instance of CalculationSettings to an JSON stringtoString()treatWarningsAsErrors(Boolean treatWarningsAsErrors) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_MAX_CALCULATION_TIME
- See Also:
-
SERIALIZED_NAME_MAX_WAITING_TIME
- See Also:
-
SERIALIZED_NAME_RESULT_TTL
- See Also:
-
SERIALIZED_NAME_RESULT_TIMEZONE
- See Also:
-
SERIALIZED_NAME_TREAT_WARNINGS_AS_ERRORS
- See Also:
-
SERIALIZED_NAME_PRECISION
- See Also:
-
SERIALIZED_NAME_WORKER_TAG
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CalculationSettings
public CalculationSettings()
-
-
Method Details
-
maxCalculationTime
-
getMaxCalculationTime
Max calculation time. The countdown starts from the time when data is uploaded to the server and calculation starts.- Returns:
- maxCalculationTime
-
setMaxCalculationTime
-
maxWaitingTime
-
getMaxWaitingTime
Max calculation time. The countdown starts from the time when data is uploaded to the server.- Returns:
- maxWaitingTime
-
setMaxWaitingTime
-
resultTtl
-
getResultTtl
Calculation result lifetime. The countdown starts from the time when the calculation is completed.- Returns:
- resultTtl
-
setResultTtl
-
resultTimezone
-
getResultTimezone
Timezone. minimum: -12 maximum: 12- Returns:
- resultTimezone
-
setResultTimezone
-
treatWarningsAsErrors
-
getTreatWarningsAsErrors
Treat warnings as errors and do not run calculations if at least one entity contains invalid data.- Returns:
- treatWarningsAsErrors
-
setTreatWarningsAsErrors
-
precision
-
getPrecision
Specifies the calculation accuracy in the decimal point sequence number. It equals 3 by default, so the accuracy is 0.001. minimum: 0 maximum: 6- Returns:
- precision
-
setPrecision
-
workerTag
-
getWorkerTag
Calculation tag, used to select the calculation pool.- Returns:
- workerTag
-
setWorkerTag
-
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 CalculationSettings 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 CalculationSettings
-
fromJson
Create an instance of CalculationSettings given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CalculationSettings
- Throws:
IOException- if the JSON string is invalid with respect to CalculationSettings
-
toJson
Convert an instance of CalculationSettings to an JSON string- Returns:
- JSON string
-