Routing

@JsonClass(generateAdapter = true)
data class Routing(@Json(name = "route_compute_type"routeComputeType: Routing.RouteComputeType?, vehicle: Routing.Vehicle?, service: Routing.Service?, @Json(name = "fuel_type"fuelType: Routing.FuelType?, @Json(name = "emissionCategory"emissionCategory: Routing.EmissionCategory?, @Json(name = "vehicle_max_speed"vehicleMaxSpeed: Int?, @Json(name = "recompute_iteration"recomputeIteration: Int?, @Json(name = "max_recompute_count"maxRecomputeCount: Int?, @Json(name = "recompute_distance"recomputeDistance: Int?, @Json(name = "load_restrictions"loadRestrictions: Int?, trailers: Int?, @Json(name = "trailer_axles"trailerAxles: Int?, @Json(name = "vehicle_axles"vehicleAxles: Int?, @Json(name = "manufactureYear"manufactureYear: Int?, @Json(name = "avoid_parkways"avoidParkways: Boolean?, @Json(name = "arrive_in_direction"arriveInDirection: Boolean?, @Json(name = "generate_extended_info"generateExtendedInfo: Boolean?, @Json(name = "compute_alternatives"computeAlternatives: Boolean?, @Json(name = "avoid_toll_roads"avoidTollRoads: Boolean?, @Json(name = "avoid_motorways"avoidMotorways: Boolean?, @Json(name = "avoid_special_areas"avoidSpecialAreas: Boolean?, @Json(name = "avoid_unpaved_roads"avoidUnpavedRoads: Boolean?, @Json(name = "avoid_ferries"avoidFerries: Boolean?, @Json(name = "speed_profiles"speedProfiles: Boolean?, @Json(name = "use_traffic"useTraffic: Boolean?, @Json(name = "vehicle_restrictions"vehicleRestrictions: Routing.VehicleRestrictionsSettings?, @Json(name = "turn_preference_setting"turnPreferenceSetting: Routing.TurnPreferenceSetting?)

Types

Builder
Link copied to clipboard
class Builder
EmissionCategory
Link copied to clipboard
enum EmissionCategory : Enum<Routing.EmissionCategory>
FuelType
Link copied to clipboard
enum FuelType : Enum<Routing.FuelType>
RouteComputeType
Link copied to clipboard
enum RouteComputeType : Enum<Routing.RouteComputeType>
Service
Link copied to clipboard
enum Service : Enum<Routing.Service>
TurnPreferenceSetting
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class TurnPreferenceSetting(@Json(name = "turn_preference"turnPreference: Routing.TurnPreferenceSetting.TurnPreference, @Json(name = "turn_penalty"turnPenalty: Int)
Vehicle
Link copied to clipboard
enum Vehicle : Enum<Routing.Vehicle>
VehicleRestrictionsSettings
Link copied to clipboard
data class VehicleRestrictionsSettings(totalWeight: Int, axleWeight: Int, tandemWeight: Int, tridemWeight: Int, otherWeight: Int, unladenWeight: Int, totalLength: Int, axleLength: Int, trailerLength: Int, tractorLength: Int, kingpinLastAxle: Int, kingpinLastTandem: Int, kingpinEndTrailer: Int, otherLength: Int, width: Int, Height: Int, totalCombinationWeight: Int)

Properties

arriveInDirection
Link copied to clipboard
val arriveInDirection: Boolean? = null
avoidFerries
Link copied to clipboard
val avoidFerries: Boolean? = null
avoidMotorways
Link copied to clipboard
val avoidMotorways: Boolean? = null
avoidParkways
Link copied to clipboard
val avoidParkways: Boolean? = null
avoidSpecialAreas
Link copied to clipboard
val avoidSpecialAreas: Boolean? = null
avoidTollRoads
Link copied to clipboard
val avoidTollRoads: Boolean? = null
avoidUnpavedRoads
Link copied to clipboard
val avoidUnpavedRoads: Boolean? = null
computeAlternatives
Link copied to clipboard
val computeAlternatives: Boolean? = null
emissionCategory
Link copied to clipboard
val emissionCategory: Routing.EmissionCategory? = null
fuelType
Link copied to clipboard
val fuelType: Routing.FuelType? = null
generateExtendedInfo
Link copied to clipboard
val generateExtendedInfo: Boolean? = null
loadRestrictions
Link copied to clipboard
val loadRestrictions: Int? = null
manufactureYear
Link copied to clipboard
val manufactureYear: Int? = null
maxRecomputeCount
Link copied to clipboard
val maxRecomputeCount: Int? = null
recomputeDistance
Link copied to clipboard
val recomputeDistance: Int? = null
recomputeIteration
Link copied to clipboard
val recomputeIteration: Int? = null
routeComputeType
Link copied to clipboard
val routeComputeType: Routing.RouteComputeType? = null
service
Link copied to clipboard
val service: Routing.Service? = null
speedProfiles
Link copied to clipboard
val speedProfiles: Boolean? = null
trailerAxles
Link copied to clipboard
val trailerAxles: Int? = null
trailers
Link copied to clipboard
val trailers: Int? = null
turnPreferenceSetting
Link copied to clipboard
val turnPreferenceSetting: Routing.TurnPreferenceSetting? = null
useTraffic
Link copied to clipboard
val useTraffic: Boolean? = null
vehicle
Link copied to clipboard
val vehicle: Routing.Vehicle? = null
vehicleAxles
Link copied to clipboard
val vehicleAxles: Int? = null
vehicleMaxSpeed
Link copied to clipboard
val vehicleMaxSpeed: Int? = null
vehicleRestrictions
Link copied to clipboard
val vehicleRestrictions: Routing.VehicleRestrictionsSettings? = null