Routing
@JsonClass(generateAdapter = true )
Constructors
Link copied to clipboard
fun Routing(@Json(name = "route_compute_type" ) routeComputeType: Routing.RouteComputeType? = null, vehicle: Routing.Vehicle? = null, service: Routing.Service? = null, @Json(name = "fuel_type" ) fuelType: Routing.FuelType? = null, @Json(name = "emissionCategory" ) emissionCategory: Routing.EmissionCategory? = null, @Json(name = "vehicle_max_speed" ) vehicleMaxSpeed: Int? = null, @Json(name = "recompute_iteration" ) recomputeIteration: Int? = null, @Json(name = "max_recompute_count" ) maxRecomputeCount: Int? = null, @Json(name = "recompute_distance" ) recomputeDistance: Int? = null, @Json(name = "load_restrictions" ) loadRestrictions: Int? = null, trailers: Int? = null, @Json(name = "trailer_axles" ) trailerAxles: Int? = null, @Json(name = "vehicle_axles" ) vehicleAxles: Int? = null, @Json(name = "manufactureYear" ) manufactureYear: Int? = null, @Json(name = "avoid_parkways" ) avoidParkways: Boolean? = null, @Json(name = "arrive_in_direction" ) arriveInDirection: Boolean? = null, @Json(name = "generate_extended_info" ) generateExtendedInfo: Boolean? = null, @Json(name = "compute_alternatives" ) computeAlternatives: Boolean? = null, @Json(name = "avoid_toll_roads" ) avoidTollRoads: Boolean? = null, @Json(name = "avoid_motorways" ) avoidMotorways: Boolean? = null, @Json(name = "avoid_special_areas" ) avoidSpecialAreas: Boolean? = null, @Json(name = "avoid_unpaved_roads" ) avoidUnpavedRoads: Boolean? = null, @Json(name = "avoid_ferries" ) avoidFerries: Boolean? = null, @Json(name = "speed_profiles" ) speedProfiles: Boolean? = null, @Json(name = "use_traffic" ) useTraffic: Boolean? = null, @Json(name = "vehicle_restrictions" ) vehicleRestrictions: Routing.VehicleRestrictionsSettings? = null, @Json(name = "turn_preference_setting" ) turnPreferenceSetting: Routing.TurnPreferenceSetting? = null, @Json(name = "preferred_road" ) preferredRoad: Routing.PreferredRoad? = null)
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JsonClass(generateAdapter = true )
Link copied to clipboard
Link copied to clipboard
data class VehicleRestrictionsSettings(val totalWeight: Int, val axleWeight: Int, val tandemWeight: Int, val tridemWeight: Int, val otherWeight: Int, val unladenWeight: Int, val totalLength: Int, val axleLength: Int, val trailerLength: Int, val tractorLength: Int, val kingpinLastAxle: Int, val kingpinLastTandem: Int, val kingpinEndTrailer: Int, val otherLength: Int, val width: Int, val Height: Int, val totalCombinationWeight: Int)