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