Routing

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

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)

Types

Link copied to clipboard
class Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class TurnPreferenceSetting(@Json(name = "turn_preference") val turnPreference: Routing.TurnPreferenceSetting.TurnPreference, @Json(name = "turn_penalty") val turnPenalty: Int)
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)

Properties

Link copied to clipboard
Link copied to clipboard
val avoidFerries: Boolean? = null
Link copied to clipboard
val avoidMotorways: Boolean? = null
Link copied to clipboard
val avoidParkways: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val avoidTollRoads: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val loadRestrictions: Int? = null
Link copied to clipboard
val manufactureYear: Int? = null
Link copied to clipboard
val maxRecomputeCount: Int? = null
Link copied to clipboard
val recomputeDistance: Int? = null
Link copied to clipboard
val recomputeIteration: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val speedProfiles: Boolean? = null
Link copied to clipboard
val trailerAxles: Int? = null
Link copied to clipboard
val trailers: Int? = null
Link copied to clipboard
val useTraffic: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val vehicleAxles: Int? = null
Link copied to clipboard
val vehicleMaxSpeed: Int? = null