Class LocationStatistics

java.lang.Object
com.veeroute.lss.studio.model.LocationStatistics

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:47:57.513559297+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class LocationStatistics extends Object
Statistics for a specific trip.
  • Field Details

    • SERIALIZED_NAME_LOCATION_KEY

      public static final String SERIALIZED_NAME_LOCATION_KEY
      See Also:
    • SERIALIZED_NAME_LOCATION_LIMITS_PENALTY

      public static final String SERIALIZED_NAME_LOCATION_LIMITS_PENALTY
      See Also:
    • SERIALIZED_NAME_TOTAL_CARGOS_STATISTICS

      public static final String SERIALIZED_NAME_TOTAL_CARGOS_STATISTICS
      See Also:
    • SERIALIZED_NAME_TOTAL_TRANSPORTS_STATISTICS

      public static final String SERIALIZED_NAME_TOTAL_TRANSPORTS_STATISTICS
      See Also:
    • SERIALIZED_NAME_LIMITS_STATISTICS

      public static final String SERIALIZED_NAME_LIMITS_STATISTICS
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • LocationStatistics

      public LocationStatistics()
  • Method Details

    • locationKey

      public LocationStatistics locationKey(@Nonnull String locationKey)
    • getLocationKey

      @Nonnull public String getLocationKey()
      Location key.
      Returns:
      locationKey
    • setLocationKey

      public void setLocationKey(@Nonnull String locationKey)
    • locationLimitsPenalty

      public LocationStatistics locationLimitsPenalty(@Nonnull Double locationLimitsPenalty)
    • getLocationLimitsPenalty

      @Nonnull public Double getLocationLimitsPenalty()
      Amount of fines for violating location's capacity limit. minimum: 0 maximum: 1000000000
      Returns:
      locationLimitsPenalty
    • setLocationLimitsPenalty

      public void setLocationLimitsPenalty(@Nonnull Double locationLimitsPenalty)
    • totalCargosStatistics

      @Deprecated public LocationStatistics totalCargosStatistics(@Nonnull LocationCargosLimit totalCargosStatistics)
      Deprecated.
    • getTotalCargosStatistics

      @Deprecated @Nonnull public LocationCargosLimit getTotalCargosStatistics()
      Deprecated.
      For location - The amount of measures of cargos moved and the amount of fines for violating restrictions on the movement of cargos.
      Returns:
      totalCargosStatistics
    • setTotalCargosStatistics

      @Deprecated public void setTotalCargosStatistics(@Nonnull LocationCargosLimit totalCargosStatistics)
      Deprecated.
    • totalTransportsStatistics

      @Deprecated public LocationStatistics totalTransportsStatistics(@Nonnull LocationTransportsLimit totalTransportsStatistics)
      Deprecated.
    • getTotalTransportsStatistics

      @Deprecated @Nonnull public LocationTransportsLimit getTotalTransportsStatistics()
      Deprecated.
      For location - the number of transports serviced on average during a specified time window and the amount of fines for violating transport service restrictions.
      Returns:
      totalTransportsStatistics
    • setTotalTransportsStatistics

      @Deprecated public void setTotalTransportsStatistics(@Nonnull LocationTransportsLimit totalTransportsStatistics)
      Deprecated.
    • limitsStatistics

      public LocationStatistics limitsStatistics(@Nonnull List<LocationLimitStatistics> limitsStatistics)
    • addLimitsStatisticsItem

      public LocationStatistics addLimitsStatisticsItem(LocationLimitStatistics limitsStatisticsItem)
    • getLimitsStatistics

      @Nonnull public List<LocationLimitStatistics> getLimitsStatistics()
      Location capacity limit statistics.
      Returns:
      limitsStatistics
    • setLimitsStatistics

      public void setLimitsStatistics(@Nonnull List<LocationLimitStatistics> limitsStatistics)
    • putAdditionalProperty

      public LocationStatistics putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the LocationStatistics instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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 LocationStatistics
    • fromJson

      public static LocationStatistics fromJson(String jsonString) throws IOException
      Create an instance of LocationStatistics given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of LocationStatistics
      Throws:
      IOException - if the JSON string is invalid with respect to LocationStatistics
    • toJson

      public String toJson()
      Convert an instance of LocationStatistics to an JSON string
      Returns:
      JSON string