Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
15
pkg/common/car_search.go
Normal file
15
pkg/common/car_search.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package common
|
||||
|
||||
type CarSearch struct {
|
||||
Search string `json:"search" validate:"max=1024"`
|
||||
VINs string `json:"vins" validate:"omitempty"`
|
||||
Online *CarOnlineFilter
|
||||
NoEU bool `json:"no_eu", validate:"omitempty"`
|
||||
Car
|
||||
}
|
||||
|
||||
type CarOnlineFilter struct {
|
||||
Online *bool
|
||||
HMI *bool
|
||||
VINsOnline []string
|
||||
}
|
||||
Reference in New Issue
Block a user