Package com.veeroute.lss.agro.model
Class OperationTarget
java.lang.Object
com.veeroute.lss.agro.model.OperationTarget
@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 OperationTarget
extends Object
Operation target.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) attributes(Set<Attribute> attributes) booleanstatic OperationTargetCreate an instance of OperationTarget given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes.Get cropTypegetDate()Date in the YYYY-MM-DD format.Humidity crop, in ppm (‰).getMass()Weight, in tn.The key of the object part, if it exists for this operation - [more](#/section/description/project).Target key.Get targetTypeinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(Set<Attribute> attributes) voidsetCropType(CropType cropType) voidvoidsetHumidity(Integer humidity) voidvoidsetTargetDetailKey(String targetDetailKey) voidsetTargetKey(String targetKey) voidsetTargetType(ObjectType targetType) targetDetailKey(String targetDetailKey) targetType(ObjectType targetType) toJson()Convert an instance of OperationTarget to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DATE
- See Also:
-
SERIALIZED_NAME_TARGET_KEY
- See Also:
-
SERIALIZED_NAME_TARGET_TYPE
- See Also:
-
SERIALIZED_NAME_TARGET_DETAIL_KEY
- See Also:
-
SERIALIZED_NAME_CROP_TYPE
- See Also:
-
SERIALIZED_NAME_HUMIDITY
- See Also:
-
SERIALIZED_NAME_MASS
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
OperationTarget
public OperationTarget()
-
-
Method Details
-
date
-
getDate
Date in the YYYY-MM-DD format.- Returns:
- date
-
setDate
-
targetKey
-
getTargetKey
Target key.- Returns:
- targetKey
-
setTargetKey
-
targetType
-
getTargetType
Get targetType- Returns:
- targetType
-
setTargetType
-
targetDetailKey
-
getTargetDetailKey
The key of the object part, if it exists for this operation - [more](#/section/description/project).- Returns:
- targetDetailKey
-
setTargetDetailKey
-
cropType
-
getCropType
Get cropType- Returns:
- cropType
-
setCropType
-
humidity
-
getHumidity
Humidity crop, in ppm (‰). minimum: 1 maximum: 999- Returns:
- humidity
-
setHumidity
-
mass
-
getMass
Weight, in tn. minimum: 0 maximum: 10000000.1- Returns:
- mass
-
setMass
-
attributes
-
addAttributesItem
-
getAttributes
Attributes. Used to add service information.- Returns:
- attributes
-
setAttributes
-
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 OperationTarget 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 OperationTarget
-
fromJson
Create an instance of OperationTarget given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OperationTarget
- Throws:
IOException- if the JSON string is invalid with respect to OperationTarget
-
toJson
Convert an instance of OperationTarget to an JSON string- Returns:
- JSON string
-