Navigation

@JsonClass(generateAdapter = true)
data class Navigation(@Json(name = "WarningSettings") val warningSettings: Navigation.WarningSettings? = null, @Json(name = "EvSettings") val evSettings: Navigation.EvSettings? = null, @Json(name = "RecomputeSettings") val recomputeSettings: Navigation.RecomputeSettings? = null, @Json(name = "ScoutSettings") val scoutSettings: Navigation.ScoutSettings? = null)

Constructors

Link copied to clipboard
fun Navigation(@Json(name = "WarningSettings") warningSettings: Navigation.WarningSettings? = null, @Json(name = "EvSettings") evSettings: Navigation.EvSettings? = null, @Json(name = "RecomputeSettings") recomputeSettings: Navigation.RecomputeSettings? = null, @Json(name = "ScoutSettings") scoutSettings: Navigation.ScoutSettings? = null)

Types

Link copied to clipboard
class Builder
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class EvSettings(@Json(name = "charging_max_power") val chargingMaxPower: Int? = null, @Json(name = "battery_full_charge_threshold") val batteryFullChargeThreshold: Float? = null, @Json(name = "battery_charging_threshold") val batteryChargingThreshold: Float? = null, @Json(name = "battery_capacity") val batteryCapacity: Double? = null, @Json(name = "connector_type") val connectorType: Set<Int>? = null, @Json(name = "power_type") val powerType: Set<Int>? = null)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class RecomputeSettings(@Json(name = "recompute_delay_ms") val recomputeDelayMs: Int? = null)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ScoutSettings(@Json(name = "offline_update_interval") val offlineUpdateInterval: Int? = null, @Json(name = "online_update_interval") val onlineUpdateInterval: Int? = null, @Json(name = "minimal_saved_time") val minimalSavedTime: Int? = null, @Json(name = "saved_time_coefficient") val savedTimeCoefficient: Float? = null)
Link copied to clipboard
@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)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard