...
1
9
10 package openapi
11
12 type CVarEntry struct {
13
14 CVarId int32 `json:"CVarId,omitempty"`
15
16 Value string `json:"Value,omitempty"`
17 }
18
19
20 func AssertCVarEntryRequired(obj CVarEntry) error {
21 return nil
22 }
23
24
25
26 func AssertRecurseCVarEntryRequired(objSlice interface{}) error {
27 return AssertRecurseInterfaceRequired(objSlice, func(obj interface{}) error {
28 aCVarEntry, ok := obj.(CVarEntry)
29 if !ok {
30 return ErrTypeAssertionError
31 }
32 return AssertCVarEntryRequired(aCVarEntry)
33 })
34 }
35
View as plain text