interface > any

This commit is contained in:
2025-05-21 01:22:31 -04:00
parent a8e9fd3a3c
commit 988c7a1d20

View File

@ -8,10 +8,10 @@ import (
// Response .
type Response struct {
Success bool `json:"success"` // true | 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
Data interface{} `json:"data"` // Data struct
Success bool `json:"success"` // true | 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
Data any `json:"data"` // Data struct
}
// Account .
@ -270,7 +270,7 @@ type ServiceRequest struct {
// "dataName":"errorResponse"
type ErrorResponse struct {
ErrorLabel string `json:"errorLabel"` // "404-soa-unableToParseResponseBody"
ErrorDescription *string `json:"errorDescription,omitempty"` //null
ErrorDescription *string `json:"errorDescription,omitempty"` // null
}
// climateSettings: [ climateSettings ]
@ -283,8 +283,8 @@ type ErrorResponse struct {
// outerAirCirculation: [ outsideAir, recirculation ]
// airConditionOn: [ false | true ]
// heatedRearWindowActive: [ false | true ]
// startConfiguration: [ start_Climate_Control_only_allow_key_in_ignition | START_ENGINE_ALLOW_KEY_IN_IGNITION ]
// runTimeMinutes: [ 10 ],
// startConfiguration: [ START_CLIMATE_CONTROL_ONLY_ALLOW_KEY_IN_IGNITION | START_ENGINE_ALLOW_KEY_IN_IGNITION ]
// runTimeMinutes: [ 10 ]
type VehicleHealthItem struct {
B2cCode string `json:"b2cCode"`