Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
17
pkg/common/odx_vod_cds_request.go
Normal file
17
pkg/common/odx_vod_cds_request.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user