Package com.veeroute.lss.monitor.model
Class TripStatistics
java.lang.Object
com.veeroute.lss.monitor.model.TripStatistics
@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 TripStatistics
extends Object
Statistics for a specific trip.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) addFactStopStatisticsItem(StopStatistics factStopStatisticsItem) addRoundtripStatisticsItem(RoundtripStatistics roundtripStatisticsItem) addStopStatisticsItem(StopStatistics stopStatisticsItem) attributes(Set<Attribute> attributes) booleanfactStopStatistics(List<StopStatistics> factStopStatistics) static TripStatisticsCreate an instance of TripStatistics given an JSON stringgeneralStatistics(GeneralStatistics generalStatistics) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes.Statistics per stop during the trip.General statistics for trip.Get loadStatisticsStatistics per roundtrip during the trip.Statistics per stop during the trip.Trip key, unique identifier.inthashCode()loadStatistics(LoadStatistics loadStatistics) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.roundtripStatistics(List<RoundtripStatistics> roundtripStatistics) voidsetAttributes(Set<Attribute> attributes) voidsetFactStopStatistics(List<StopStatistics> factStopStatistics) voidsetGeneralStatistics(GeneralStatistics generalStatistics) voidsetLoadStatistics(LoadStatistics loadStatistics) voidsetRoundtripStatistics(List<RoundtripStatistics> roundtripStatistics) voidsetStopStatistics(List<StopStatistics> stopStatistics) voidsetTripKey(String tripKey) stopStatistics(List<StopStatistics> stopStatistics) toJson()Convert an instance of TripStatistics 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_TRIP_KEY
- See Also:
-
SERIALIZED_NAME_GENERAL_STATISTICS
- See Also:
-
SERIALIZED_NAME_LOAD_STATISTICS
- See Also:
-
SERIALIZED_NAME_STOP_STATISTICS
- See Also:
-
SERIALIZED_NAME_FACT_STOP_STATISTICS
- See Also:
-
SERIALIZED_NAME_ROUNDTRIP_STATISTICS
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TripStatistics
public TripStatistics()
-
-
Method Details
-
tripKey
-
getTripKey
Trip key, unique identifier.- Returns:
- tripKey
-
setTripKey
-
generalStatistics
-
getGeneralStatistics
General statistics for trip.- Returns:
- generalStatistics
-
setGeneralStatistics
-
loadStatistics
-
getLoadStatistics
Get loadStatistics- Returns:
- loadStatistics
-
setLoadStatistics
-
stopStatistics
-
addStopStatisticsItem
-
getStopStatistics
Statistics per stop during the trip.- Returns:
- stopStatistics
-
setStopStatistics
-
factStopStatistics
-
addFactStopStatisticsItem
-
getFactStopStatistics
Statistics per stop during the trip.- Returns:
- factStopStatistics
-
setFactStopStatistics
-
roundtripStatistics
-
addRoundtripStatisticsItem
-
getRoundtripStatistics
Statistics per roundtrip during the trip.- Returns:
- roundtripStatistics
-
setRoundtripStatistics
-
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 TripStatistics 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 TripStatistics
-
fromJson
Create an instance of TripStatistics given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TripStatistics
- Throws:
IOException- if the JSON string is invalid with respect to TripStatistics
-
toJson
Convert an instance of TripStatistics to an JSON string- Returns:
- JSON string
-