Package com.veeroute.lss.monitor.model
Class StopStatistics
java.lang.Object
com.veeroute.lss.monitor.model.StopStatistics
@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 StopStatistics
extends Object
Statistics for a specific stop during a trip.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) addStopDemandsItem(StopDemand stopDemandsItem) arrivalLoad(TransportLoad arrivalLoad) attributes(Set<Attribute> attributes) departureLoad(TransportLoad departureLoad) download(TransportLoad download) booleanstatic StopStatisticsCreate an instance of StopStatistics given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Transport loading at the time of arrival at this stop.Attributes.Transport loading at the moment of departure from this stop.Unloading from the transport at this stop.Location key for stop.Maximum load of the transport in the process of loading/unloading at a stop.Measurements of times and distances for work on location: * `time_window` - the time window from the start of movement to the stop until the end of the departure from the stop * `driving_time` - driving time from the previous stop to the current location * `waiting_time` - the duration of waiting for the execution of work at the location * `working_time` - the time spent on the direct execution of work at the location * `break_time` - duration of the performer's break * `rest_time` - duration of rest for the performer * `arriving_time` - the time spent on the entrance/parking at the location * `departure_time` - the time taken to leave the location * `total_time` - total time for a stop, composed of `driving_time` + `waiting_time` + `working_time` + `break_time` + `rest_time` + `arriving_time` + `departure_time` * `distance` - the distance from the previous stop to the current locationList of orders completed at this stop.Stop time window - from the beginning of the parking lot to the complete departure from the location.Loading to the transport at this stop.inthashCode()locationKey(String locationKey) maxLoad(TransportLoad maxLoad) measurements(Measurements measurements) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetArrivalLoad(TransportLoad arrivalLoad) voidsetAttributes(Set<Attribute> attributes) voidsetDepartureLoad(TransportLoad departureLoad) voidsetDownload(TransportLoad download) voidsetLocationKey(String locationKey) voidsetMaxLoad(TransportLoad maxLoad) voidsetMeasurements(Measurements measurements) voidsetStopDemands(List<StopDemand> stopDemands) voidsetStopTimeWindow(TimeWindow stopTimeWindow) voidsetUpload(TransportLoad upload) stopDemands(List<StopDemand> stopDemands) stopTimeWindow(TimeWindow stopTimeWindow) toJson()Convert an instance of StopStatistics to an JSON stringtoString()upload(TransportLoad upload) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LOCATION_KEY
- See Also:
-
SERIALIZED_NAME_STOP_DEMANDS
- See Also:
-
SERIALIZED_NAME_STOP_TIME_WINDOW
- See Also:
-
SERIALIZED_NAME_MEASUREMENTS
- See Also:
-
SERIALIZED_NAME_UPLOAD
- See Also:
-
SERIALIZED_NAME_DOWNLOAD
- See Also:
-
SERIALIZED_NAME_MAX_LOAD
- See Also:
-
SERIALIZED_NAME_ARRIVAL_LOAD
- See Also:
-
SERIALIZED_NAME_DEPARTURE_LOAD
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
StopStatistics
public StopStatistics()
-
-
Method Details
-
locationKey
-
getLocationKey
Location key for stop.- Returns:
- locationKey
-
setLocationKey
-
stopDemands
-
addStopDemandsItem
-
getStopDemands
List of orders completed at this stop.- Returns:
- stopDemands
-
setStopDemands
-
stopTimeWindow
-
getStopTimeWindow
Stop time window - from the beginning of the parking lot to the complete departure from the location. The window duration is `waiting_time` + `working_time` + `break_time` + `rest_time` + `arriving_time` + `departure_time`.- Returns:
- stopTimeWindow
-
setStopTimeWindow
-
measurements
-
getMeasurements
Measurements of times and distances for work on location: * `time_window` - the time window from the start of movement to the stop until the end of the departure from the stop * `driving_time` - driving time from the previous stop to the current location * `waiting_time` - the duration of waiting for the execution of work at the location * `working_time` - the time spent on the direct execution of work at the location * `break_time` - duration of the performer's break * `rest_time` - duration of rest for the performer * `arriving_time` - the time spent on the entrance/parking at the location * `departure_time` - the time taken to leave the location * `total_time` - total time for a stop, composed of `driving_time` + `waiting_time` + `working_time` + `break_time` + `rest_time` + `arriving_time` + `departure_time` * `distance` - the distance from the previous stop to the current location- Returns:
- measurements
-
setMeasurements
-
upload
-
getUpload
Loading to the transport at this stop.- Returns:
- upload
-
setUpload
-
download
-
getDownload
Unloading from the transport at this stop.- Returns:
- download
-
setDownload
-
maxLoad
-
getMaxLoad
Maximum load of the transport in the process of loading/unloading at a stop.- Returns:
- maxLoad
-
setMaxLoad
-
arrivalLoad
-
getArrivalLoad
Transport loading at the time of arrival at this stop.- Returns:
- arrivalLoad
-
setArrivalLoad
-
departureLoad
-
getDepartureLoad
Transport loading at the moment of departure from this stop.- Returns:
- departureLoad
-
setDepartureLoad
-
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 StopStatistics 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 StopStatistics
-
fromJson
Create an instance of StopStatistics given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StopStatistics
- Throws:
IOException- if the JSON string is invalid with respect to StopStatistics
-
toJson
Convert an instance of StopStatistics to an JSON string- Returns:
- JSON string
-