feat(platform): surface overview consistency
This commit is contained in:
@@ -64,8 +64,8 @@ type VehicleCoverageRow struct {
|
||||
}
|
||||
|
||||
type VehicleCoverageSummary struct {
|
||||
TotalVehicles int `json:"totalVehicles"`
|
||||
OnlineVehicles int `json:"onlineVehicles"`
|
||||
TotalVehicles int `json:"totalVehicles"`
|
||||
OnlineVehicles int `json:"onlineVehicles"`
|
||||
SingleSourceVehicles int `json:"singleSourceVehicles"`
|
||||
MultiSourceVehicles int `json:"multiSourceVehicles"`
|
||||
UnboundVehicles int `json:"unboundVehicles"`
|
||||
@@ -113,22 +113,23 @@ type VehicleSourceConsistency struct {
|
||||
}
|
||||
|
||||
type VehicleServiceOverview struct {
|
||||
VIN string `json:"vin"`
|
||||
Plate string `json:"plate"`
|
||||
Phone string `json:"phone"`
|
||||
OEM string `json:"oem"`
|
||||
Protocols []string `json:"protocols"`
|
||||
PrimaryProtocol string `json:"primaryProtocol"`
|
||||
CoverageStatus string `json:"coverageStatus"`
|
||||
SourceCount int `json:"sourceCount"`
|
||||
OnlineSourceCount int `json:"onlineSourceCount"`
|
||||
LastSeen string `json:"lastSeen"`
|
||||
RealtimeCount int `json:"realtimeCount"`
|
||||
HistoryCount int `json:"historyCount"`
|
||||
RawCount int `json:"rawCount"`
|
||||
MileageCount int `json:"mileageCount"`
|
||||
QualityIssueCount int `json:"qualityIssueCount"`
|
||||
ServiceStatus *VehicleServiceStatus `json:"serviceStatus,omitempty"`
|
||||
VIN string `json:"vin"`
|
||||
Plate string `json:"plate"`
|
||||
Phone string `json:"phone"`
|
||||
OEM string `json:"oem"`
|
||||
Protocols []string `json:"protocols"`
|
||||
PrimaryProtocol string `json:"primaryProtocol"`
|
||||
CoverageStatus string `json:"coverageStatus"`
|
||||
SourceCount int `json:"sourceCount"`
|
||||
OnlineSourceCount int `json:"onlineSourceCount"`
|
||||
LastSeen string `json:"lastSeen"`
|
||||
RealtimeCount int `json:"realtimeCount"`
|
||||
HistoryCount int `json:"historyCount"`
|
||||
RawCount int `json:"rawCount"`
|
||||
MileageCount int `json:"mileageCount"`
|
||||
QualityIssueCount int `json:"qualityIssueCount"`
|
||||
ServiceStatus *VehicleServiceStatus `json:"serviceStatus,omitempty"`
|
||||
SourceConsistency *VehicleSourceConsistency `json:"sourceConsistency,omitempty"`
|
||||
}
|
||||
|
||||
type VehicleServiceSummary struct {
|
||||
|
||||
Reference in New Issue
Block a user