Class StatisticsTask

java.lang.Object
com.veeroute.lss.universal.model.StatisticsTask

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:48:07.156941043+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class StatisticsTask extends Object
Task for recalculating statistics.
  • Field Details

  • Constructor Details

    • StatisticsTask

      public StatisticsTask()
  • Method Details

    • locations

      public StatisticsTask locations(@Nonnull Set<Location> locations)
    • addLocationsItem

      public StatisticsTask addLocationsItem(Location locationsItem)
    • getLocations

      @Nonnull public Set<Location> getLocations()
      List of locations used for orders and shifts.
      Returns:
      locations
    • setLocations

      public void setLocations(@Nonnull Set<Location> locations)
    • orders

      public StatisticsTask orders(@Nonnull Set<Order> orders)
    • addOrdersItem

      public StatisticsTask addOrdersItem(Order ordersItem)
    • getOrders

      @Nonnull public Set<Order> getOrders()
      List of orders that need to be completed.
      Returns:
      orders
    • setOrders

      public void setOrders(@Nonnull Set<Order> orders)
    • performers

      public StatisticsTask performers(@Nonnull Set<Performer> performers)
    • addPerformersItem

      public StatisticsTask addPerformersItem(Performer performersItem)
    • getPerformers

      @Nonnull public Set<Performer> getPerformers()
      Available performers list. The performer fulfills orders using transport.
      Returns:
      performers
    • setPerformers

      public void setPerformers(@Nonnull Set<Performer> performers)
    • transports

      public StatisticsTask transports(@Nonnull Set<Transport> transports)
    • addTransportsItem

      public StatisticsTask addTransportsItem(Transport transportsItem)
    • getTransports

      @Nonnull public Set<Transport> getTransports()
      Available transports list. Transport is used by the trip performer to fulfill orders.
      Returns:
      transports
    • setTransports

      public void setTransports(@Nonnull Set<Transport> transports)
    • hardlinks

      public StatisticsTask hardlinks(@Nullable Set<Hardlink> hardlinks)
    • addHardlinksItem

      public StatisticsTask addHardlinksItem(Hardlink hardlinksItem)
    • getHardlinks

      @Nullable public Set<Hardlink> getHardlinks()
      Assignments list.
      Returns:
      hardlinks
    • setHardlinks

      public void setHardlinks(@Nullable Set<Hardlink> hardlinks)
    • trips

      public StatisticsTask trips(@Nonnull Set<Trip> trips)
    • addTripsItem

      public StatisticsTask addTripsItem(Trip tripsItem)
    • getTrips

      @Nonnull public Set<Trip> getTrips()
      Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a [change in the states](#/section/description/trip-model) of the performer.
      Returns:
      trips
    • setTrips

      public void setTrips(@Nonnull Set<Trip> trips)
    • planSettings

      public StatisticsTask planSettings(@Nullable PlanSettings planSettings)
    • getPlanSettings

      @Nullable public PlanSettings getPlanSettings()
      Get planSettings
      Returns:
      planSettings
    • setPlanSettings

      public void setPlanSettings(@Nullable PlanSettings planSettings)
    • externalRouting

      public StatisticsTask externalRouting(@Nullable Set<RoutingTransportMatrix> externalRouting)
    • addExternalRoutingItem

      public StatisticsTask addExternalRoutingItem(RoutingTransportMatrix externalRoutingItem)
    • getExternalRouting

      @Nullable public Set<RoutingTransportMatrix> getExternalRouting()
      List of matrices of times and distances for each type of transport that are indicated in the data. The matrix should describe all locations for each type of transport from the data. When specifying an external routing matrix `external_routing`, the `plan_settings.geo_settings` parameters are not taken into account.
      Returns:
      externalRouting
    • setExternalRouting

      public void setExternalRouting(@Nullable Set<RoutingTransportMatrix> externalRouting)
    • datasetName

      public StatisticsTask datasetName(@Nullable String datasetName)
    • getDatasetName

      @Nullable public String getDatasetName()
      The name of the dataset. A technical field that does not affect calculation.
      Returns:
      datasetName
    • setDatasetName

      public void setDatasetName(@Nullable String datasetName)
    • putAdditionalProperty

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

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

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