Package com.veeroute.lss.routing.model
Class GeoSettings
java.lang.Object
com.veeroute.lss.routing.model.GeoSettings
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:52.805996699+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class GeoSettings
extends Object
Geodata usage settings.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) attributes(Set<Attribute> attributes) booleanferryCrossing(Boolean ferryCrossing) flightDistance(Boolean flightDistance) static GeoSettingsCreate an instance of GeoSettings given an JSON stringgeoProvider(String geoProvider) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes.Use ferry crossing.Use for calculating straight line distances.Geodata provider: * `VRT` - geo-data and traffic jams from Veeroute, work all over the world.Use toll roads.Accounting for traffic during the route planning.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(Set<Attribute> attributes) voidsetFerryCrossing(Boolean ferryCrossing) voidsetFlightDistance(Boolean flightDistance) voidsetGeoProvider(String geoProvider) voidsetTollRoads(Boolean tollRoads) voidsetTrafficJams(Boolean trafficJams) toJson()Convert an instance of GeoSettings to an JSON stringtoString()trafficJams(Boolean trafficJams) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_GEO_PROVIDER
- See Also:
-
SERIALIZED_NAME_TOLL_ROADS
- See Also:
-
SERIALIZED_NAME_FERRY_CROSSING
- See Also:
-
SERIALIZED_NAME_TRAFFIC_JAMS
- See Also:
-
SERIALIZED_NAME_FLIGHT_DISTANCE
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GeoSettings
public GeoSettings()
-
-
Method Details
-
geoProvider
-
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
-
tollRoads
-
getTollRoads
Use toll roads.- Returns:
- tollRoads
-
setTollRoads
-
ferryCrossing
-
getFerryCrossing
Use ferry crossing.- Returns:
- ferryCrossing
-
setFerryCrossing
-
trafficJams
-
getTrafficJams
Accounting for traffic during the route planning.- Returns:
- trafficJams
-
setTrafficJams
-
flightDistance
-
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
-
attributes
-
addAttributesItem
-
getAttributes
Attributes. Used to add service information.- Returns:
- attributes
-
setAttributes
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the GeoSettings instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of GeoSettings to an JSON string- Returns:
- JSON string
-