Some changes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 24s

This commit is contained in:
2025-06-01 12:04:24 -04:00
parent ef145bdf9a
commit b477017411
4 changed files with 20 additions and 23 deletions

View File

@ -150,7 +150,7 @@ type VehicleStatus struct {
EventDateStrCarUser string `json:"eventDateStrCarUser"` // + 2023-12-06T21:09+0000
Latitude float64 `json:"latitude"` // + 40.700183
Longitude float64 `json:"longitude"` // + -74.401372
Heading int `json:"positionHeadingDegree"` // + "154"
Heading int `json:"positionHeadingDegree,string"` // + "154"
DistanceToEmptyFuelMiles float64 `json:"distanceToEmptyFuelMiles"` // + 209.4
DistanceToEmptyFuelKilometers int `json:"distanceToEmptyFuelKilometers"` // + 337
DistanceToEmptyFuelMiles10s int `json:"distanceToEmptyFuelMiles10s"` // + 210
@ -158,14 +158,14 @@ type VehicleStatus struct {
AvgFuelConsumptionMpg float64 `json:"avgFuelConsumptionMpg"` // + 18.4
AvgFuelConsumptionLitersPer100Kilometers float64 `json:"avgFuelConsumptionLitersPer100Kilometers"` // + 12.8
RemainingFuelPercent int `json:"remainingFuelPercent"` // + 82
TirePressureFrontLeft string `json:"tirePressureFrontLeft"` // + "2275"
TirePressureFrontRight string `json:"tirePressureFrontRight"` // + "2344"
TirePressureRearLeft string `json:"tirePressureRearLeft"` // + "2413"
TirePressureRearRight string `json:"tirePressureRearRight"` // + "2344"
TirePressureFrontLeftPsi string `json:"tirePressureFrontLeftPsi"` // + "33"
TirePressureFrontRightPsi string `json:"tirePressureFrontRightPsi"` // + "34"
TirePressureRearLeftPsi string `json:"tirePressureRearLeftPsi"` // + "35"
TirePressureRearRightPsi string `json:"tirePressureRearRightPsi"` // + "34"
TirePressureFrontLeft int `json:"tirePressureFrontLeft,string"` // + "2275"
TirePressureFrontRight int `json:"tirePressureFrontRight,string"` // + "2344"
TirePressureRearLeft int `json:"tirePressureRearLeft,string"` // + "2413"
TirePressureRearRight int `json:"tirePressureRearRight,string"` // + "2344"
TirePressureFrontLeftPsi int `json:"tirePressureFrontLeftPsi,string"` // + "33"
TirePressureFrontRightPsi int `json:"tirePressureFrontRightPsi,string"` // + "34"
TirePressureRearLeftPsi int `json:"tirePressureRearLeftPsi,string"` // + "35"
TirePressureRearRightPsi int `json:"tirePressureRearRightPsi,string"` // + "34"
TyreStatusFrontLeft string `json:"tyreStatusFrontLeft"` // + "UNKNOWN"
TyreStatusFrontRight string `json:"tyreStatusFrontRight"` // + "UNKNOWN"
TyreStatusRearLeft string `json:"tyreStatusRearLeft"` // + "UNKNOWN"
@ -253,15 +253,15 @@ type VehicleCondition struct {
// ServiceRequest .
// "dataName": "remoteServiceStatus"
type ServiceRequest struct {
ServiceRequestID *string `json:"serviceRequestId,omitempty"` // 4S4BTGND8L3137058_1640294426029_19_@NGTP
ServiceRequestID string `json:"serviceRequestId,omitempty"` // 4S4BTGND8L3137058_1640294426029_19_@NGTP
Success bool `json:"success"` // false | true
Cancelled bool `json:"cancelled"` // false | true
RemoteServiceType string `json:"remoteServiceType"` // unlock | lock | locate | vehicleStatus | lightsOnly | engineStart | engineStop | phevChargeNow | condition
RemoteServiceState string `json:"remoteServiceState"` // started | finished | stopping
SubState *string `json:"subState,omitempty"` // null
ErrorCode *string `json:"errorCode,omitempty"` // null:null
Result json.RawMessage `json:"result,omitempty"` // null
UpdateTime *time.Time `json:"updateTime,omitempty"` // timestamp
SubState string `json:"subState,omitempty"` // null
ErrorCode string `json:"errorCode,omitempty"` // null:null
Result json.RawMessage `json:"result,omitempty"` // struct
UpdateTime time.Time `json:"updateTime,omitempty"` // timestamp
Vin string `json:"vin"` // 4S4BTGND8L3137058
}