...
1
9
10 package openapi
11
12 type MetadataRequest struct {
13 Name string `json:"name,omitempty"`
14
15 Version string `json:"version,omitempty"`
16
17 DisplayName string `json:"displayName,omitempty"`
18
19 Description string `json:"description,omitempty"`
20
21 Tags string `json:"tags,omitempty"`
22
23 Architectures string `json:"architectures,omitempty"`
24
25 Icon string `json:"icon,omitempty"`
26
27 GlobalMemoryLimit string `json:"globalMemoryLimit,omitempty"`
28
29 ProjectType string `json:"projectType,omitempty"`
30
31 Language string `json:"language,omitempty"`
32
33 Website string `json:"website,omitempty"`
34
35 Provider string `json:"provider,omitempty"`
36
37 SupportUrl string `json:"supportUrl,omitempty"`
38 }
39
40
41 func AssertMetadataRequestRequired(obj MetadataRequest) error {
42 return nil
43 }
44
45
46
47 func AssertRecurseMetadataRequestRequired(objSlice interface{}) error {
48 return AssertRecurseInterfaceRequired(objSlice, func(obj interface{}) error {
49 aMetadataRequest, ok := obj.(MetadataRequest)
50 if !ok {
51 return ErrTypeAssertionError
52 }
53 return AssertMetadataRequestRequired(aMetadataRequest)
54 })
55 }
56
View as plain text