WarningSettings

@JsonClass(generateAdapter = true)
data class WarningSettings(@Json(name = "por_categories") val porCategories: List<String>? = null, @Json(name = "por_max_distance") val porMaxDistance: Int? = null, @Json(name = "por_max_distance_urban_area") val porMaxDistanceUrbanArea: Int? = null, @Json(name = "por_max_count") val porMaxCount: Int? = null, @Json(name = "next_direction_distance") val nextDirectionDistance: Int? = null, @Json(name = "speed_limit_city") val speedLimitCity: Int? = null, @Json(name = "speed_limit") val speedLimit: Int? = null, @Json(name = "speed_limit_distance") val speedLimitDistance: Int? = null, @Json(name = "speed_limit_distance_city") val speedLimitDistanceCity: Int? = null, @Json(name = "radar_warn_distance_city") val radarWarnDistanceCity: Int? = null, @Json(name = "radar_warn_distance") val radarWarnDistance: Int? = null, @Json(name = "warn_rail_distance") val warnRailDistance: Int? = null, @Json(name = "truck_hazmat_load") val truckHazmatLoad: Int? = null, @Json(name = "is_truck") val isTruck: Boolean? = null, @Json(name = "truck_max_speed") val truckMaxSpeed: Int? = null, @Json(name = "highway_exit_distance") val highwayExitDistance: Int? = null, @Json(name = "highway_exit_distance_urban_area") val highwayExitDistanceUrbanArea: Int? = null, @Json(name = "dimensional_properties") val dimensionalProperties: Navigation.WarningSettings.DimensionalProperties? = null)

Constructors

Link copied to clipboard
fun WarningSettings(@Json(name = "por_categories") porCategories: List<String>? = null, @Json(name = "por_max_distance") porMaxDistance: Int? = null, @Json(name = "por_max_distance_urban_area") porMaxDistanceUrbanArea: Int? = null, @Json(name = "por_max_count") porMaxCount: Int? = null, @Json(name = "next_direction_distance") nextDirectionDistance: Int? = null, @Json(name = "speed_limit_city") speedLimitCity: Int? = null, @Json(name = "speed_limit") speedLimit: Int? = null, @Json(name = "speed_limit_distance") speedLimitDistance: Int? = null, @Json(name = "speed_limit_distance_city") speedLimitDistanceCity: Int? = null, @Json(name = "radar_warn_distance_city") radarWarnDistanceCity: Int? = null, @Json(name = "radar_warn_distance") radarWarnDistance: Int? = null, @Json(name = "warn_rail_distance") warnRailDistance: Int? = null, @Json(name = "truck_hazmat_load") truckHazmatLoad: Int? = null, @Json(name = "is_truck") isTruck: Boolean? = null, @Json(name = "truck_max_speed") truckMaxSpeed: Int? = null, @Json(name = "highway_exit_distance") highwayExitDistance: Int? = null, @Json(name = "highway_exit_distance_urban_area") highwayExitDistanceUrbanArea: Int? = null, @Json(name = "dimensional_properties") dimensionalProperties: Navigation.WarningSettings.DimensionalProperties? = null)

Types

Link copied to clipboard
class Builder
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class DimensionalProperties(@Json(name = "width") val width: Int, @Json(name = "weight") val weight: Int, @Json(name = "axleWeight") val axleWeight: Int, @Json(name = "height") val height: Int, @Json(name = "length") val length: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val isTruck: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val porCategories: List<String>? = null
Link copied to clipboard
val porMaxCount: Int? = null
Link copied to clipboard
val porMaxDistance: Int? = null
Link copied to clipboard
Link copied to clipboard
val radarWarnDistance: Int? = null
Link copied to clipboard
Link copied to clipboard
val speedLimit: Int? = null
Link copied to clipboard
val speedLimitCity: Int? = null
Link copied to clipboard
val speedLimitDistance: Int? = null
Link copied to clipboard
Link copied to clipboard
val truckHazmatLoad: Int? = null
Link copied to clipboard
val truckMaxSpeed: Int? = null
Link copied to clipboard
val warnRailDistance: Int? = null