Package com.veeroute.lss.monitor.model
Class TrackerOrderInfo
java.lang.Object
com.veeroute.lss.monitor.model.TrackerOrderInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:38.388455705+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class TrackerOrderInfo
extends Object
Tracked order information.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCargosItem(Cargo cargosItem) addDemandsItem(TrackerDemand demandsItem) demands(List<TrackerDemand> demands) booleanstatic TrackerOrderInfoCreate an instance of TrackerOrderInfo given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The list of cargoes referred to by the demands of this order.List of tracked demands.Name, information field.Get orderStatusGet settingsinthashCode()orderStatus(OrderStatus orderStatus) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetDemands(List<TrackerDemand> demands) voidsetOrderName(String orderName) voidsetOrderStatus(OrderStatus orderStatus) voidsetSettings(TrackerSettings settings) settings(TrackerSettings settings) toJson()Convert an instance of TrackerOrderInfo 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_ORDER_STATUS
- See Also:
-
SERIALIZED_NAME_ORDER_NAME
- See Also:
-
SERIALIZED_NAME_DEMANDS
- See Also:
-
SERIALIZED_NAME_CARGOS
- See Also:
-
SERIALIZED_NAME_SETTINGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TrackerOrderInfo
public TrackerOrderInfo()
-
-
Method Details
-
orderStatus
-
getOrderStatus
Get orderStatus- Returns:
- orderStatus
-
setOrderStatus
-
orderName
-
getOrderName
Name, information field.- Returns:
- orderName
-
setOrderName
-
demands
-
addDemandsItem
-
getDemands
List of tracked demands.- Returns:
- demands
-
setDemands
-
cargos
-
addCargosItem
-
getCargos
The list of cargoes referred to by the demands of this order. The list must be empty if all demands in the order are of type `WORK`.- Returns:
- cargos
-
setCargos
-
settings
-
getSettings
Get settings- Returns:
- settings
-
setSettings
-
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 TrackerOrderInfo 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 TrackerOrderInfo
-
fromJson
Create an instance of TrackerOrderInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TrackerOrderInfo
- Throws:
IOException- if the JSON string is invalid with respect to TrackerOrderInfo
-
toJson
Convert an instance of TrackerOrderInfo to an JSON string- Returns:
- JSON string
-