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