Class LocationLimitStatistics

java.lang.Object
com.veeroute.lss.monitor.model.LocationLimitStatistics

@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 LocationLimitStatistics extends Object
Statistics on the implementation of location capacity limits within one time window.
  • Field Details

    • SERIALIZED_NAME_LOCATION_LIMIT_KEY

      public static final String SERIALIZED_NAME_LOCATION_LIMIT_KEY
      See Also:
    • SERIALIZED_NAME_CARGOS_STATISTICS

      public static final String SERIALIZED_NAME_CARGOS_STATISTICS
      See Also:
    • SERIALIZED_NAME_TRANSPORTS_STATISTICS

      public static final String SERIALIZED_NAME_TRANSPORTS_STATISTICS
      See Also:
    • SERIALIZED_NAME_LOCATION_LIMIT_PENALTY

      public static final String SERIALIZED_NAME_LOCATION_LIMIT_PENALTY
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • LocationLimitStatistics

      public LocationLimitStatistics()
  • Method Details

    • locationLimitKey

      public LocationLimitStatistics locationLimitKey(@Nonnull String locationLimitKey)
    • getLocationLimitKey

      @Nonnull public String getLocationLimitKey()
      Location limit key, unique identifier.
      Returns:
      locationLimitKey
    • setLocationLimitKey

      public void setLocationLimitKey(@Nonnull String locationLimitKey)
    • cargosStatistics

      public LocationLimitStatistics cargosStatistics(@Nonnull LocationCargosLimit cargosStatistics)
    • getCargosStatistics

      @Nonnull public LocationCargosLimit getCargosStatistics()
      For time window - the amount of measures of cargos moved and the amount of fines for violating restrictions on the movement of cargos.
      Returns:
      cargosStatistics
    • setCargosStatistics

      public void setCargosStatistics(@Nonnull LocationCargosLimit cargosStatistics)
    • transportsStatistics

      public LocationLimitStatistics transportsStatistics(@Nonnull LocationTransportsLimit transportsStatistics)
    • getTransportsStatistics

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

      public void setTransportsStatistics(@Nonnull LocationTransportsLimit transportsStatistics)
    • locationLimitPenalty

      public LocationLimitStatistics locationLimitPenalty(@Nonnull Double locationLimitPenalty)
    • getLocationLimitPenalty

      @Nonnull public Double getLocationLimitPenalty()
      The amount of fines for violating the location's capacity within the limit. minimum: 0 maximum: 1000000000
      Returns:
      locationLimitPenalty
    • setLocationLimitPenalty

      public void setLocationLimitPenalty(@Nonnull Double locationLimitPenalty)
    • putAdditionalProperty

      public LocationLimitStatistics 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 LocationLimitStatistics 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 LocationLimitStatistics
    • fromJson

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

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