Class GeoSettings

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

@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 GeoSettings extends Object
Geodata usage settings.
  • Field Details

  • Constructor Details

    • GeoSettings

      public GeoSettings()
  • Method Details

    • geoProvider

      public GeoSettings geoProvider(@Nullable String geoProvider)
    • getGeoProvider

      @Nullable public String getGeoProvider()
      Geodata provider: * `VRT` - geo-data and traffic jams from Veeroute, work all over the world. A specific provider may be specified for a specific region, availability depending on customer settings.
      Returns:
      geoProvider
    • setGeoProvider

      public void setGeoProvider(@Nullable String geoProvider)
    • tollRoads

      public GeoSettings tollRoads(@Nullable Boolean tollRoads)
    • getTollRoads

      @Nullable public Boolean getTollRoads()
      Use toll roads.
      Returns:
      tollRoads
    • setTollRoads

      public void setTollRoads(@Nullable Boolean tollRoads)
    • ferryCrossing

      public GeoSettings ferryCrossing(@Nullable Boolean ferryCrossing)
    • getFerryCrossing

      @Nullable public Boolean getFerryCrossing()
      Use ferry crossing.
      Returns:
      ferryCrossing
    • setFerryCrossing

      public void setFerryCrossing(@Nullable Boolean ferryCrossing)
    • trafficJams

      public GeoSettings trafficJams(@Nullable Boolean trafficJams)
    • getTrafficJams

      @Nullable public Boolean getTrafficJams()
      Accounting for traffic during the route planning.
      Returns:
      trafficJams
    • setTrafficJams

      public void setTrafficJams(@Nullable Boolean trafficJams)
    • flightDistance

      public GeoSettings flightDistance(@Nullable Boolean flightDistance)
    • getFlightDistance

      @Nullable public Boolean getFlightDistance()
      Use for calculating straight line distances. If `false` is specified, distances are calculated by roads. When this parameter is enabled, geo-provider not used and traffic (`traffic_jams`) is automatically disabled.
      Returns:
      flightDistance
    • setFlightDistance

      public void setFlightDistance(@Nullable Boolean flightDistance)
    • attributes

      public GeoSettings attributes(@Nullable Set<Attribute> attributes)
    • addAttributesItem

      public GeoSettings addAttributesItem(Attribute attributesItem)
    • getAttributes

      @Nullable public Set<Attribute> getAttributes()
      Attributes. Used to add service information.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(@Nullable Set<Attribute> attributes)
    • putAdditionalProperty

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

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

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