Files
cloud-services/pkg/common/odx_vod_cds_request.go

18 lines
898 B
Go

package common
type VODCDSRequest struct {
ModelYear string `json:"modelyear"`
VersionDModelYear string `json:"versionDModelYear"`
FeatureCodes []string `json:"sapCodingStringArray"`
PDXIndexVersion string `json:"pdXindexversion"`
VersionInfo string `json:"versionInfo"` // Hex string representation of something "000000000000000000"
ByteFiller string `json:"bytefield_2"` // Hex string filler to make VOD 255 bytes long "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
VehicleVIN string `json:"vehicleVIN"` // Human readable string for the vehicle's vin
}
func NewVODCDSRequest() (srct VODCDSRequest) {
srct.VersionInfo = "000000000000000000"
srct.ByteFiller = "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
return
}