Class Track

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

@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 Track extends Object
Track for map.
  • Field Details

  • Constructor Details

    • Track

      public Track()
  • Method Details

    • geotrack

      public Track geotrack(@Nonnull List<Trackpoint> geotrack)
    • addGeotrackItem

      public Track addGeotrackItem(Trackpoint geotrackItem)
    • getGeotrack

      @Nonnull public List<Trackpoint> getGeotrack()
      An array of geographic points with time reference between which a path is built.
      Returns:
      geotrack
    • setGeotrack

      public void setGeotrack(@Nonnull List<Trackpoint> geotrack)
    • tripKey

      public Track tripKey(@Nonnull String tripKey)
    • getTripKey

      @Nonnull public String getTripKey()
      Trip key, unique identifier.
      Returns:
      tripKey
    • setTripKey

      public void setTripKey(@Nonnull String tripKey)
    • tripName

      public Track tripName(@Nullable String tripName)
    • getTripName

      @Nullable public String getTripName()
      Name, information field.
      Returns:
      tripName
    • setTripName

      public void setTripName(@Nullable String tripName)
    • performerKey

      public Track performerKey(@Nonnull String performerKey)
    • getPerformerKey

      @Nonnull public String getPerformerKey()
      Performer's key.
      Returns:
      performerKey
    • setPerformerKey

      public void setPerformerKey(@Nonnull String performerKey)
    • performerShiftKey

      public Track performerShiftKey(@Nonnull String performerShiftKey)
    • getPerformerShiftKey

      @Nonnull public String getPerformerShiftKey()
      Performer shift's key, unique identifier.
      Returns:
      performerShiftKey
    • setPerformerShiftKey

      public void setPerformerShiftKey(@Nonnull String performerShiftKey)
    • transportKey

      public Track transportKey(@Nonnull String transportKey)
    • getTransportKey

      @Nonnull public String getTransportKey()
      Transport's key.
      Returns:
      transportKey
    • setTransportKey

      public void setTransportKey(@Nonnull String transportKey)
    • transportShiftKey

      public Track transportShiftKey(@Nonnull String transportShiftKey)
    • getTransportShiftKey

      @Nonnull public String getTransportShiftKey()
      Transport shift's key, unique identifier.
      Returns:
      transportShiftKey
    • setTransportShiftKey

      public void setTransportShiftKey(@Nonnull String transportShiftKey)
    • putAdditionalProperty

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

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

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