interface > any
This commit is contained in:
@ -11,7 +11,7 @@ type Response struct {
|
|||||||
Success bool `json:"success"` // true | false
|
Success bool `json:"success"` // true | false
|
||||||
ErrorCode string `json:"errorCode,omitempty"` // string | Error message if Success is false
|
ErrorCode string `json:"errorCode,omitempty"` // string | Error message if Success is false
|
||||||
DataName string `json:"dataName"` // string | Describes the structure which is incleded in Data field
|
DataName string `json:"dataName"` // string | Describes the structure which is incleded in Data field
|
||||||
Data interface{} `json:"data"` // Data struct
|
Data any `json:"data"` // Data struct
|
||||||
}
|
}
|
||||||
|
|
||||||
// Account .
|
// Account .
|
||||||
@ -283,8 +283,8 @@ type ErrorResponse struct {
|
|||||||
// outerAirCirculation: [ outsideAir, recirculation ]
|
// outerAirCirculation: [ outsideAir, recirculation ]
|
||||||
// airConditionOn: [ false | true ]
|
// airConditionOn: [ false | true ]
|
||||||
// heatedRearWindowActive: [ false | true ]
|
// heatedRearWindowActive: [ false | true ]
|
||||||
// startConfiguration: [ start_Climate_Control_only_allow_key_in_ignition | START_ENGINE_ALLOW_KEY_IN_IGNITION ]
|
// startConfiguration: [ START_CLIMATE_CONTROL_ONLY_ALLOW_KEY_IN_IGNITION | START_ENGINE_ALLOW_KEY_IN_IGNITION ]
|
||||||
// runTimeMinutes: [ 10 ],
|
// runTimeMinutes: [ 10 ]
|
||||||
|
|
||||||
type VehicleHealthItem struct {
|
type VehicleHealthItem struct {
|
||||||
B2cCode string `json:"b2cCode"`
|
B2cCode string `json:"b2cCode"`
|
||||||
|
Reference in New Issue
Block a user