...
1
9
10 package openapi
11
12 type InstanceGet200Response struct {
13
14
15 ComponentDirectory string `json:"componentDirectory,omitempty"`
16
17
18 Pid int32 `json:"pid,omitempty"`
19 }
20
21
22 func AssertInstanceGet200ResponseRequired(obj InstanceGet200Response) error {
23 return nil
24 }
25
26
27
28 func AssertRecurseInstanceGet200ResponseRequired(objSlice interface{}) error {
29 return AssertRecurseInterfaceRequired(objSlice, func(obj interface{}) error {
30 aInstanceGet200Response, ok := obj.(InstanceGet200Response)
31 if !ok {
32 return ErrTypeAssertionError
33 }
34 return AssertInstanceGet200ResponseRequired(aInstanceGet200Response)
35 })
36 }
37
View as plain text