-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathVehicleState.swift
More file actions
93 lines (90 loc) · 2.9 KB
/
VehicleState.swift
File metadata and controls
93 lines (90 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
import Foundation
public struct VehicleStateResponse: Codable {
let response: VehicleState
}
public struct VehicleState: Codable {
let parsedCalendarSupported: Double
let spoilerType: String
let rt: Double
let carVersion: String
let rearSeatType: Double
let df: Double
let locked: Double
let thirdRowSeats: String
let sunRoofState: String
let carType: String
let remoteStartSupported: Double
let hasSpoiler: Double
let pf: Double
let odometer: Double
let lastAutoparkError: String
let darkRims: Double
let autoparkState: String
let sunRoofInstalled: Double
let sunRoofPercentOpen: Double
let exteriorColor: String
let timestamp: Double
let vehicleName: String
let homelinkNearby: Double
let valetPinNeeded: Double
let notificationsSupported: Double
let pr: Double
let rearSeatHeaters: Double
let valetMode: Double
let calendarSupported: Double
let dr: Double
let centerDisplayState: Double
let apiVersion: Double
let remoteStart: Double
let ft: Double
let autoparkStateV2: String
let wheelType: String
let perfConfig: String
let autoparkStyle: String
let roofColor: String
let rhd: Double
let seatType: Double
private enum CodingKeys: String, CodingKey {
case parsedCalendarSupported = "parsed_calendar_supported"
case spoilerType = "spoiler_type"
case rt
case carVersion = "car_version"
case rearSeatType = "rear_seat_type"
case df
case locked
case thirdRowSeats = "third_row_seats"
case sunRoofState = "sun_roof_state"
case carType = "car_type"
case remoteStartSupported = "remote_start_supported"
case hasSpoiler = "has_spoiler"
case pf
case odometer
case lastAutoparkError = "last_autopark_error"
case darkRims = "dark_rims"
case autoparkState = "autopark_state"
case sunRoofInstalled = "sun_roof_installed"
case sunRoofPercentOpen = "sun_roof_percent_open"
case exteriorColor = "exterior_color"
case timestamp
case vehicleName = "vehicle_name"
case homelinkNearby = "homelink_nearby"
case valetPinNeeded = "valet_pin_needed"
case notificationsSupported = "notifications_supported"
case pr
case rearSeatHeaters = "rear_seat_heaters"
case valetMode = "valet_mode"
case calendarSupported = "calendar_supported"
case dr
case centerDisplayState = "center_display_state"
case apiVersion = "api_version"
case remoteStart = "remote_start"
case ft
case autoparkStateV2 = "autopark_state_v2"
case wheelType = "wheel_type"
case perfConfig = "perf_config"
case autoparkStyle = "autopark_style"
case roofColor = "roof_color"
case rhd
case seatType = "seat_type"
}
}