diff --git a/cmd/state/internal/cmdtree/bundles.go b/cmd/state/internal/cmdtree/bundles.go index c12e8f4e79..bd6efd37dd 100644 --- a/cmd/state/internal/cmdtree/bundles.go +++ b/cmd/state/internal/cmdtree/bundles.go @@ -82,7 +82,7 @@ func newBundleUninstallCommand(prime *primer.Values) *captain.Command { { Name: locale.T("bundle_arg_name"), Description: locale.T("bundle_arg_name_description"), - Value: ¶ms.Name, + Value: ¶ms.Package, Required: true, }, }, @@ -118,7 +118,7 @@ func newBundlesSearchCommand(prime *primer.Values) *captain.Command { { Name: locale.T("bundle_arg_name"), Description: locale.T("bundle_arg_name_description"), - Value: ¶ms.Name, + Value: ¶ms.Ingredient, Required: true, }, }, diff --git a/cmd/state/internal/cmdtree/cmdtree.go b/cmd/state/internal/cmdtree/cmdtree.go index f4f9167db9..6a5023d7e8 100644 --- a/cmd/state/internal/cmdtree/cmdtree.go +++ b/cmd/state/internal/cmdtree/cmdtree.go @@ -205,6 +205,7 @@ func New(prime *primer.Values, args ...string) *CmdTree { refreshCmd, newSwitchCommand(prime), newTestCommand(prime), + newPublish(prime), //newCommitCommand(prime), // re-enable in DX-2307 ) @@ -230,6 +231,7 @@ var ( VCSGroup = captain.NewCommandGroup(locale.Tl("group_vcs", "Version Control"), 5) AutomationGroup = captain.NewCommandGroup(locale.Tl("group_automation", "Automation"), 4) UtilsGroup = captain.NewCommandGroup(locale.Tl("group_utils", "Utilities"), 3) + AuthorGroup = captain.NewCommandGroup(locale.Tl("group_author", "Author"), 6) ) func newGlobalOptions() *globalOptions { diff --git a/cmd/state/internal/cmdtree/packages.go b/cmd/state/internal/cmdtree/packages.go index f3c172a019..ab0fa1b344 100644 --- a/cmd/state/internal/cmdtree/packages.go +++ b/cmd/state/internal/cmdtree/packages.go @@ -58,7 +58,13 @@ func newInstallCommand(prime *primer.Values) *captain.Command { locale.Tl("package_install_title", "Installing Package"), locale.T("package_install_cmd_description"), prime, - []*captain.Flag{}, + []*captain.Flag{ + { + Name: "ts", + Description: locale.T("package_flag_ts_description"), + Value: ¶ms.Timestamp, + }, + }, []*captain.Argument{ { Name: locale.T("package_arg_nameversion"), @@ -88,7 +94,7 @@ func newUninstallCommand(prime *primer.Values) *captain.Command { { Name: locale.T("package_arg_name"), Description: locale.T("package_arg_name_description"), - Value: ¶ms.Name, + Value: ¶ms.Package, Required: true, }, }, @@ -145,12 +151,17 @@ func newSearchCommand(prime *primer.Values) *captain.Command { Description: locale.T("package_search_flag_exact-term_description"), Value: ¶ms.ExactTerm, }, + { + Name: "ts", + Description: locale.T("package_search_flag_ts_description"), + Value: ¶ms.Timestamp, + }, }, []*captain.Argument{ { Name: locale.T("package_arg_name"), Description: locale.T("package_arg_name_description"), - Value: ¶ms.Name, + Value: ¶ms.Ingredient, Required: true, }, }, @@ -176,6 +187,11 @@ func newInfoCommand(prime *primer.Values) *captain.Command { Description: locale.T("package_info_flag_language_description"), Value: ¶ms.Language, }, + { + Name: "ts", + Description: locale.T("package_flag_ts_description"), + Value: ¶ms.Timestamp, + }, }, []*captain.Argument{ { diff --git a/cmd/state/internal/cmdtree/publish.go b/cmd/state/internal/cmdtree/publish.go new file mode 100644 index 0000000000..43ebe5312a --- /dev/null +++ b/cmd/state/internal/cmdtree/publish.go @@ -0,0 +1,97 @@ +package cmdtree + +import ( + "github.com/ActiveState/cli/internal/captain" + "github.com/ActiveState/cli/internal/locale" + "github.com/ActiveState/cli/internal/primer" + "github.com/ActiveState/cli/internal/runners/publish" +) + +func newPublish(prime *primer.Values) *captain.Command { + runner := publish.New(prime) + params := publish.Params{} + c := captain.NewCommand( + "publish", + locale.Tl("add_title", "Publish Ingredient"), + locale.Tl("add_description", "Publish an Ingredient for private consumption."), + prime, + []*captain.Flag{ + { + Name: "edit", + Description: locale.Tl("author_upload_edit_description", "Create a revision for an existing ingredient, matched by their name and namespace."), + Value: ¶ms.Edit, + }, + { + Name: "editor", + Description: locale.Tl("author_upload_editor_description", "Edit the ingredient information in your editor before uploading."), + Value: ¶ms.Editor, + }, + { + Name: "name", + Description: locale.Tl( + "author_upload_name_description", + "The name of the ingredient. Defaults to basename of filepath.", + ), + Value: ¶ms.Name, + }, + { + Name: "version", + Description: locale.Tl( + "author_upload_version_description", + "Version of the ingredient (preferably semver).", + ), + Value: ¶ms.Version, + }, + { + Name: "namespace", + Description: locale.Tl( + "author_upload_namespace_description", + "The namespace of the ingredient. Defaults to org/. Must start with 'org/'.", + ), + Value: ¶ms.Namespace, + }, + { + Name: "description", + Description: locale.Tl( + "author_upload_description_description", + "A short description summarizing what this ingredient is for.", + ), + Value: ¶ms.Description, + }, + { + Name: "author", + Description: locale.Tl( + "author_upload_author_description", + "Ingredient author, in the format of \"[] \". Can be set multiple times.", + ), + Value: ¶ms.Authors, + }, + { + Name: "depend", + Description: locale.Tl( + "author_upload_depend_description", + "Ingredient that this ingredient depends on, format as /[@]. Can be set multiple times.", + ), + Value: ¶ms.Depends, + }, + { + Name: "meta", + Description: locale.Tl("author_upload_metafile_description", "A yaml file expressing the ingredient meta information. Use --editor to review the file format."), + Value: ¶ms.MetaFilepath, + }, + }, + []*captain.Argument{ + { + Name: locale.Tl("filepath", "filepath"), + Description: locale.Tl("author_upload_filepath_description", "A tar.gz or zip archive containing the source files of the ingredient."), + Value: ¶ms.Filepath, + Required: true, + }, + }, + func(_ *captain.Command, _ []string) error { + return runner.Run(¶ms) + }) + c.SetGroup(AuthorGroup) + c.SetUnstable(true) + return c +} diff --git a/go.mod b/go.mod index 9a561d963e..c1ccdf7c8b 100644 --- a/go.mod +++ b/go.mod @@ -128,7 +128,7 @@ require ( github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/pelletier/go-toml v1.7.0 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect - github.com/pkg/errors v0.9.1 // indirect + github.com/pkg/errors v0.9.1 github.com/pmezard/go-difflib v1.0.0 // indirect github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect diff --git a/internal/assets/contents/usage.tpl b/internal/assets/contents/usage.tpl index 28e899c35e..8e6f6b3540 100644 --- a/internal/assets/contents/usage.tpl +++ b/internal/assets/contents/usage.tpl @@ -21,6 +21,14 @@ Examples: {{- end }} {{- childCommands .Cmd}} +{{- if gt (len .Cmd.Arguments) 0}} + +Arguments: +{{- range .Cmd.Arguments }} + <{{ .Name }}> {{ if .Required }} {{ else }}(optional){{ end }} {{ .Description }} +{{- end }} +{{- end }} + {{- if .Cobra.HasAvailableFlags}} Flags: @@ -31,13 +39,7 @@ Flags: Global Flags: {{.Cobra.InheritedFlags.FlagUsages | trimTrailingWhitespaces}} {{- end}} -{{- if gt (len .Cmd.Arguments) 0}} -Arguments: - {{- range .Cmd.Arguments }} - <{{ .Name }}> {{ if .Required }} {{ else }}(optional){{ end }} {{ .Description }} - {{- end }} -{{- end}} {{- if .Cobra.HasHelpSubCommands}} Additional help topics: diff --git a/internal/captain/flag.go b/internal/captain/flag.go index 15e49c2093..2d39a98f99 100644 --- a/internal/captain/flag.go +++ b/internal/captain/flag.go @@ -7,13 +7,10 @@ import ( "strings" "github.com/ActiveState/cli/internal/errs" + "github.com/spf13/pflag" ) -type FlagMarshaler interface { - String() string - Set(string) error - Type() string -} +type FlagMarshaler pflag.Value // Flag is used to define flags in our Command struct type Flag struct { @@ -38,6 +35,10 @@ func (c *Command) setFlags(flags []*Flag) error { switch v := flag.Value.(type) { case nil: return errs.New("flag value must not be nil (%v)", flag) + case *[]string: + flagSetter().StringSliceVarP( + v, flag.Name, flag.Shorthand, *v, flag.Description, + ) case *string: flagSetter().StringVarP( v, flag.Name, flag.Shorthand, *v, flag.Description, @@ -56,7 +57,7 @@ func (c *Command) setFlags(flags []*Flag) error { ) default: return errs.New( - fmt.Sprintf("Unknown type: %s (%v)"+reflect.TypeOf(v).Name(), v), + fmt.Sprintf("Unknown type for flag %s: %s (%v)", flag.Name, reflect.TypeOf(v).Name(), v), ) } diff --git a/internal/captain/nameversion.go b/internal/captain/nameversion.go deleted file mode 100644 index e79071fb8a..0000000000 --- a/internal/captain/nameversion.go +++ /dev/null @@ -1,40 +0,0 @@ -package captain - -import ( - "fmt" - "strings" - - "github.com/ActiveState/cli/internal/locale" -) - -type NameVersion struct { - name string - version string -} - -func (nv *NameVersion) Set(arg string) error { - nameArg := strings.Split(arg, "@") - nv.name = nameArg[0] - if len(nameArg) == 2 { - nv.version = nameArg[1] - } - if len(nameArg) > 2 { - return locale.NewInputError("name_version_format_err", "Invalid format: Should be ") - } - return nil -} - -func (nv *NameVersion) String() string { - if nv.version == "" { - return nv.name - } - return fmt.Sprintf("%s@%s", nv.name, nv.version) -} - -func (nv *NameVersion) Name() string { - return nv.name -} - -func (nv *NameVersion) Version() string { - return nv.version -} diff --git a/internal/captain/values.go b/internal/captain/values.go new file mode 100644 index 0000000000..50445efb27 --- /dev/null +++ b/internal/captain/values.go @@ -0,0 +1,258 @@ +package captain + +import ( + "fmt" + "strings" + "time" + + "github.com/ActiveState/cli/internal/errs" + "github.com/ActiveState/cli/internal/locale" + "github.com/ActiveState/cli/internal/rtutils/ptr" +) + +// NameVersionValue represents a flag that supports both a name and a version, the following formats are supported: +// - name +// - name@version +type NameVersionValue struct { + name string + version string +} + +var _ FlagMarshaler = &NameVersionValue{} + +func (nv *NameVersionValue) Set(arg string) error { + nameArg := strings.Split(arg, "@") + nv.name = nameArg[0] + if len(nameArg) == 2 { + nv.version = nameArg[1] + } + if len(nameArg) > 2 { + return locale.NewInputError("name_version_format_err", "Invalid format: Should be ") + } + return nil +} + +func (nv *NameVersionValue) String() string { + if nv.version == "" { + return nv.name + } + return fmt.Sprintf("%s@%s", nv.name, nv.version) +} + +func (nv *NameVersionValue) Name() string { + return nv.name +} + +func (nv *NameVersionValue) Version() string { + return nv.version +} + +func (nv *NameVersionValue) Type() string { + return "name and version" +} + +// UserValue represents a flag that supports both a name and an email address, the following formats are supported: +// - name +// - email +// Emails are detected simply by containing a @ symbol. +type UserValue struct { + Name string + Email string +} + +var _ FlagMarshaler = &UserValue{} + +func (u *UserValue) String() string { + switch { + case u.Name != "" && u.Email != "": + return fmt.Sprintf("%s <%s>", u.Name, u.Email) + case u.Email != "": + return fmt.Sprintf("<%s>", u.Email) + } + return u.Name +} + +func (u *UserValue) Set(s string) error { + if strings.Contains(s, "<") { + v := strings.Split(s, "<") + u.Name = strings.TrimSpace(v[0]) + u.Email = strings.TrimRight(strings.TrimSpace(v[1]), ">") + return nil + } + + if strings.Contains(s, "@") { + u.Email = strings.TrimSpace(s) + u.Name = strings.Split(u.Email, "@")[0] + return nil + } + + return locale.NewInputError("uservalue_format", "Invalid format: Should be 'name ' or ''") +} + +func (u *UserValue) Type() string { + return "user" +} + +// UsersValue is used to represent multiple UserValue, this is used when a flag can be passed multiple times. +type UsersValue []UserValue + +var _ FlagMarshaler = &UsersValue{} + +func (u *UsersValue) String() string { + var result []string + for _, user := range *u { + result = append(result, user.String()) + } + return strings.Join(result, ", ") +} + +func (u *UsersValue) Set(s string) error { + uf := &UserValue{} + if err := uf.Set(s); err != nil { + return err + } + *u = append(*u, *uf) + return nil +} + +func (u *UsersValue) Type() string { + return "users" +} + +// PackageValue represents a flag that supports specifying a package in the following formats: +// - +// - / +// - /@ +type PackageValue struct { + Namespace string + Name string + Version string +} + +var _ FlagMarshaler = &PackageValue{} + +func (p *PackageValue) String() string { + if p.Namespace == "" && p.Name == "" { + return "" + } + name := p.Name + if p.Namespace != "" { + name = fmt.Sprintf("%s/%s", p.Namespace, p.Name) + } + if p.Version == "" { + return name + } + return fmt.Sprintf("%s@%s", name, p.Version) +} + +func (p *PackageValue) Set(s string) error { + if strings.Contains(s, "@") { + v := strings.Split(s, "@") + p.Version = strings.TrimSpace(v[1]) + s = v[0] + } + if strings.Index(s, "/") == -1 { + p.Name = strings.TrimSpace(s) + return nil + } + v := strings.Split(s, "/") + p.Namespace = strings.TrimSpace(strings.Join(v[0:len(v)-1], "/")) + p.Name = strings.TrimSpace(v[len(v)-1]) + return nil +} + +func (p *PackageValue) Type() string { + return "package" +} + +// PackageValueNoVersion is identical to PackageValue except that it does not support a version. +type PackageValueNoVersion struct { + PackageValue +} + +func (p *PackageValueNoVersion) Set(s string) error { + if err := p.PackageValue.Set(s); err != nil { + return errs.Wrap(err, "PackageValue.Set failed") + } + if p.Version != "" { + return fmt.Errorf("Specifying a version is not supported, package format should be '[/]'") + } + return nil +} + +func (p *PackageValueNoVersion) Type() string { + return "package" +} + +// PackageValueNSRequired is identical to PackageValue except that specifying a namespace is required. +type PackageValueNSRequired struct { + PackageValue +} + +func (p *PackageValueNSRequired) Set(s string) error { + if err := p.PackageValue.Set(s); err != nil { + return errs.Wrap(err, "PackageValueNSRequired.Set failed") + } + if p.Namespace == "" { + return fmt.Errorf("invalid package name format: %s (expected '/[@version]')", s) + } + return nil +} +func (p *PackageValueNSRequired) Type() string { + return "namespace/package" +} + +// PackagesValue is used to represent multiple PackageValue, this is used when a flag can be passed multiple times. +type PackagesValue []PackageValue + +var _ FlagMarshaler = &PackagesValue{} + +func (p *PackagesValue) String() string { + var result []string + for _, pkg := range *p { + result = append(result, pkg.String()) + } + return strings.Join(result, ", ") +} + +func (p *PackagesValue) Set(s string) error { + pf := &PackageValue{} + if err := pf.Set(s); err != nil { + return err + } + *p = append(*p, *pf) + return nil +} + +func (p *PackagesValue) Type() string { + return "packages" +} + +type TimeValue struct { + raw string + Time *time.Time +} + +var _ FlagMarshaler = &TimeValue{} + +func (u *TimeValue) String() string { + return u.raw +} + +func (u *TimeValue) Set(v string) error { + if v == "now" { + u.Time = ptr.To(time.Now()) + } else { + u.raw = v + tsv, err := time.Parse(time.RFC3339, v) + if err != nil { + return locale.WrapInputError(err, "timeflag_format", "Invalid timestamp: Should be RFC3339 formatted.") + } + u.Time = &tsv + } + return nil +} + +func (u *TimeValue) Type() string { + return "timestamp" +} diff --git a/internal/captain/values_test.go b/internal/captain/values_test.go new file mode 100644 index 0000000000..307dc19bec --- /dev/null +++ b/internal/captain/values_test.go @@ -0,0 +1,137 @@ +package captain + +import ( + "reflect" + "testing" +) + +func TestUserValue_Set(t *testing.T) { + tests := []struct { + name string + flagValue string + want *UserValue + wantErr bool + }{ + { + "name and email", + "John Doe ", + &UserValue{Name: "John Doe", Email: "john@doe.org"}, + false, + }, + { + "email only", + "john@doe.org", + &UserValue{Name: "john", Email: "john@doe.org"}, + false, + }, + { + "name only", + "john", + &UserValue{}, + true, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + u := &UserValue{} + if err := u.Set(tt.flagValue); (err != nil) != tt.wantErr { + t.Errorf("Set() error = %v, wantErr %v", err, tt.wantErr) + } + if !reflect.DeepEqual(u, tt.want) { + t.Fatalf("got %+v, want %+v", u, tt.want) + } + }) + } +} + +func TestPackageValue_Set(t *testing.T) { + tests := []struct { + name string + flagValue string + wantErr bool + want *PackageValue + }{ + { + "namespace, name and version", + "namespace/path/name@1.0.0", + false, + &PackageValue{Namespace: "namespace/path", Name: "name", Version: "1.0.0"}, + }, + { + "namespace and name", + "namespace/path/name", + false, + &PackageValue{Namespace: "namespace/path", Name: "name"}, + }, + { + "name only", + "name", + false, + &PackageValue{Name: "name"}, + }, + { + "name and version only", + "name@1.0.0", + false, + &PackageValue{Name: "name", Version: "1.0.0"}, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + p := &PackageValue{} + if err := p.Set(tt.flagValue); (err != nil) != tt.wantErr { + t.Errorf("Set() error = %v, wantErr %v", err, tt.wantErr) + return + } + if !reflect.DeepEqual(p, tt.want) { + t.Fatalf("got %+v, want %+v", p, tt.want) + } + }) + } +} + +func TestPackageFlagNSRequired_Set(t *testing.T) { + tests := []struct { + name string + flagValue string + wantErr bool + want *PackageValueNSRequired + }{ + { + "namespace, name and version", + "namespace/path/name@1.0.0", + false, + &PackageValueNSRequired{PackageValue{Namespace: "namespace/path", Name: "name", Version: "1.0.0"}}, + }, + { + "namespace and name", + "namespace/path/name", + false, + &PackageValueNSRequired{PackageValue{Namespace: "namespace/path", Name: "name"}}, + }, + { + "name only", + "name", + true, + &PackageValueNSRequired{PackageValue{}}, + }, + { + "name and version only", + "name@1.0.0", + true, + &PackageValueNSRequired{PackageValue{}}, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + p := &PackageValueNSRequired{} + if err := p.Set(tt.flagValue); (err != nil) != tt.wantErr { + t.Errorf("Set() error = %v, wantErr %v", err, tt.wantErr) + return + } + if !tt.wantErr && !reflect.DeepEqual(p, tt.want) { + t.Fatalf("got %#v, want %#v", p, tt.want) + } + }) + } +} diff --git a/internal/constants/constants.go b/internal/constants/constants.go index cc519cd6ef..e66771bbef 100644 --- a/internal/constants/constants.go +++ b/internal/constants/constants.go @@ -273,6 +273,9 @@ const GraphqlAPIPath = "/graphql/v1/graphql" // MediatorAPIPath is the path used for the platform mediator api const MediatorAPIPath = "/sv/mediator/api" +// BuildplanAPIPath is the path used for the build planner api +const BuildplanAPIPath = "/sv/buildplanner/graphql" + // RequirementsImportAPIPath is the path used for the requirements import api const RequirementsImportAPIPath = "/sv/reqsvc/reqs" diff --git a/internal/fileutils/fileutils.go b/internal/fileutils/fileutils.go index 9b9032b1ab..e287e825db 100644 --- a/internal/fileutils/fileutils.go +++ b/internal/fileutils/fileutils.go @@ -831,16 +831,16 @@ func CopySymlink(src, dest string) error { // TempFileUnsafe returns a tempfile handler or panics if it cannot be created // This is for use in tests, do not use it outside tests! -func TempFileUnsafe() *os.File { - f, err := ioutil.TempFile("", "") +func TempFileUnsafe(dir, pattern string) *os.File { + f, err := ioutil.TempFile(dir, pattern) if err != nil { panic(fmt.Sprintf("Could not create tempFile: %v", err)) } return f } -func TempFilePathUnsafe() string { - f := TempFileUnsafe() +func TempFilePathUnsafe(dir, pattern string) string { + f := TempFileUnsafe(dir, pattern) defer f.Close() return f.Name() } diff --git a/internal/fileutils/replace_bench_test.go b/internal/fileutils/replace_bench_test.go index 5baf56f25b..b31c9a4023 100644 --- a/internal/fileutils/replace_bench_test.go +++ b/internal/fileutils/replace_bench_test.go @@ -40,7 +40,7 @@ func BenchmarkRead(b *testing.B) { newPath := "def/ghi" byts := setup(oldPath, newPath, "/bin/python.sh", true) - testFile := TempFileUnsafe() + testFile := TempFileUnsafe("", "") _, err := testFile.Write(byts) if err != nil { b.Errorf("failed to write test file: %v", err) @@ -138,7 +138,7 @@ func BenchmarkWrite(b *testing.B) { b.ResetTimer() for n := 0; n < b.N; n++ { - f := TempFileUnsafe() + f := TempFileUnsafe("", "") defer func() { f.Close() os.Remove(f.Name()) diff --git a/internal/gqlclient/gqlclient.go b/internal/gqlclient/gqlclient.go index c34520d8a0..d79a946aff 100644 --- a/internal/gqlclient/gqlclient.go +++ b/internal/gqlclient/gqlclient.go @@ -1,40 +1,101 @@ package gqlclient import ( + "bytes" "context" "encoding/json" "fmt" + "io" + "mime/multipart" + "net/http" "os" + "strings" "time" "github.com/ActiveState/cli/internal/constants" "github.com/ActiveState/cli/internal/errs" "github.com/ActiveState/cli/internal/logging" "github.com/ActiveState/cli/internal/profile" + "github.com/ActiveState/cli/internal/singleton/uniqid" "github.com/ActiveState/cli/internal/strutils" "github.com/ActiveState/cli/pkg/platform/api" "github.com/ActiveState/graphql" - - "github.com/ActiveState/cli/internal/singleton/uniqid" + "github.com/pkg/errors" ) -type Request interface { +type File struct { + Field string + Name string + R io.Reader +} + +type Request0 interface { Query() string Vars() map[string]interface{} } -type Header map[string][]string +type Request interface { + Query() string + Vars() (map[string]interface{}, error) +} -type graphqlRequest = graphql.Request +type RequestWithFiles interface { + Request + Files() []File +} + +type Header map[string][]string type graphqlClient = graphql.Client +// StandardizedErrors works around API's that don't follow the graphql standard +// It looks redundant because it needs to address two different API responses. +// https://activestatef.atlassian.net/browse/PB-4291 +type StandardizedErrors struct { + Message string + Error string + Errors []graphErr +} + +func (e StandardizedErrors) HasErrors() bool { + return len(e.Errors) > 0 || e.Error != "" +} + +// Values tells us all the relevant error messages returned. +// We don't include e.Error because it's an unhelpful generic error code redundant with the message. +func (e StandardizedErrors) Values() []string { + var errs []string + for _, err := range e.Errors { + errs = append(errs, err.Message) + } + if e.Message != "" { + errs = append(errs, e.Message) + } + return errs +} + +type graphResponse struct { + Data interface{} + Error string + Message string + Errors []graphErr +} + +type graphErr struct { + Message string +} + +func (e graphErr) Error() string { + return "graphql: " + e.Message +} + type BearerTokenProvider interface { BearerToken() string } type Client struct { *graphqlClient + url string tokenProvider BearerTokenProvider timeout time.Duration } @@ -47,6 +108,7 @@ func NewWithOpts(url string, timeout time.Duration, opts ...graphql.ClientOption client := &Client{ graphqlClient: graphql.NewClient(url, opts...), timeout: timeout, + url: url, } if os.Getenv(constants.DebugServiceRequestsEnvVarName) == "true" { client.EnableDebugLog() @@ -90,11 +152,27 @@ func (c *Client) Run(request Request, response interface{}) error { func (c *Client) RunWithContext(ctx context.Context, request Request, response interface{}) error { name := strutils.Summarize(request.Query(), 25) defer profile.Measure(fmt.Sprintf("gqlclient:RunWithContext:(%s)", name), time.Now()) + + if fileRequest, ok := request.(RequestWithFiles); ok { + return c.runWithFiles(ctx, fileRequest, response) + } + + vars, err := request.Vars() + if err != nil { + return errs.Wrap(err, "Could not get variables") + } + graphRequest := graphql.NewRequest(request.Query()) - for key, value := range request.Vars() { + for key, value := range vars { graphRequest.Var(key, value) } + if fileRequest, ok := request.(RequestWithFiles); ok { + for _, file := range fileRequest.Files() { + graphRequest.File(file.Field, file.Name, file.R) + } + } + var bearerToken string if c.tokenProvider != nil { bearerToken = c.tokenProvider.BearerToken() @@ -105,10 +183,115 @@ func (c *Client) RunWithContext(ctx context.Context, request Request, response i graphRequest.Header.Set("X-Requestor", uniqid.Text()) - err := c.graphqlClient.Run(ctx, graphRequest, &response) - if err != nil { + if err := c.graphqlClient.Run(ctx, graphRequest, &response); err != nil { return NewRequestError(err, request) } + + return nil +} + +type JsonRequest struct { + Query string `json:"query"` + Variables map[string]interface{} `json:"variables"` +} + +func (c *Client) runWithFiles(ctx context.Context, gqlReq RequestWithFiles, response interface{}) error { + // Construct the multi-part request. + bodyReader, bodyWriter := io.Pipe() + + req, err := http.NewRequest("POST", c.url, bodyReader) + if err != nil { + return errs.Wrap(err, "Could not create http request") + } + + req.Body = bodyReader + + mw := multipart.NewWriter(bodyWriter) + req.Header.Set("Content-Type", "multipart/form-data; boundary="+mw.Boundary()) + + vars, err := gqlReq.Vars() + if err != nil { + return errs.Wrap(err, "Could not get variables") + } + + varJson, err := json.Marshal(vars) + if err != nil { + return errs.Wrap(err, "Could not marshal vars") + } + + reqErrChan := make(chan error) + go func() { + defer bodyWriter.Close() + defer mw.Close() + defer close(reqErrChan) + + // Operations + operations, err := mw.CreateFormField("operations") + if err != nil { + reqErrChan <- errs.Wrap(err, "Could not create form field operations") + return + } + + jsonReq := JsonRequest{ + Query: gqlReq.Query(), + Variables: vars, + } + jsonReqV, err := json.Marshal(jsonReq) + if err != nil { + reqErrChan <- errs.Wrap(err, "Could not marshal json request") + return + } + if _, err := operations.Write(jsonReqV); err != nil { + reqErrChan <- errs.Wrap(err, "Could not write json request") + return + } + + // Map + if len(gqlReq.Files()) > 0 { + mapField, err := mw.CreateFormField("map") + if err != nil { + reqErrChan <- errs.Wrap(err, "Could not create form field map") + return + } + for n, f := range gqlReq.Files() { + if _, err := mapField.Write([]byte(fmt.Sprintf(`{"%d": ["%s"]}`, n, f.Field))); err != nil { + reqErrChan <- errs.Wrap(err, "Could not write map field") + return + } + } + // File upload + for n, file := range gqlReq.Files() { + part, err := mw.CreateFormFile(fmt.Sprintf("%d", n), file.Name) + if err != nil { + reqErrChan <- errs.Wrap(err, "Could not create form file") + return + } + + _, err = io.Copy(part, file.R) + if err != nil { + reqErrChan <- errs.Wrap(err, "Could not read file") + return + } + } + } + }() + + c.Log(fmt.Sprintf(">> query: %s", gqlReq.Query())) + c.Log(fmt.Sprintf(">> variables: %s", string(varJson))) + fnames := []string{} + for _, file := range gqlReq.Files() { + fnames = append(fnames, fmt.Sprintf("%s", file.Name)) + } + c.Log(fmt.Sprintf(">> files: %v", fnames)) + + // Run the request. + var bearerToken string + if c.tokenProvider != nil { + bearerToken = c.tokenProvider.BearerToken() + if bearerToken != "" { + req.Header.Set("Authorization", "Bearer "+bearerToken) + } + } if os.Getenv(constants.DebugServiceRequestsEnvVarName) == "true" { responseData, err := json.MarshalIndent(response, "", " ") if err != nil { @@ -117,5 +300,64 @@ func (c *Client) RunWithContext(ctx context.Context, request Request, response i logging.Debug("gqlclient: response: %s", responseData) } + gr := &graphResponse{ + Data: response, + } + req = req.WithContext(ctx) + c.Log(fmt.Sprintf(">> Raw Request: %s\n", req.URL.String())) + + var res *http.Response + resErrChan := make(chan error) + go func() { + var err error + res, err = http.DefaultClient.Do(req) + resErrChan <- err + }() + + // Due to the streaming uploads the request error can happen both before and after the http request itself, hence + // the creative select case you see before you. + wait := true + for wait { + select { + case err := <-reqErrChan: + if err != nil { + c.Log(fmt.Sprintf("Request Error: %s", err)) + return err + } + case err := <-resErrChan: + wait = false + if err != nil { + c.Log(fmt.Sprintf("Response Error: %s", err)) + return err + } + } + } + + if res == nil { + return errs.New("Received empty response") + } + + defer res.Body.Close() + var buf bytes.Buffer + if _, err := io.Copy(&buf, res.Body); err != nil { + c.Log(fmt.Sprintf("Read Error: %s", err)) + return errors.Wrap(err, "reading body") + } + resp := buf.Bytes() + c.Log(fmt.Sprintf("<< Response code: %d, body: %s\n", res.StatusCode, string(resp))) + + // Work around API's that don't follow the graphql standard + // https://activestatef.atlassian.net/browse/PB-4291 + standardizedErrors := StandardizedErrors{} + if err := json.Unmarshal(resp, &standardizedErrors); err != nil { + return errors.Wrap(err, "decoding error response") + } + if standardizedErrors.HasErrors() { + return errs.New(strings.Join(standardizedErrors.Values(), "\n")) + } + + if err := json.Unmarshal(resp, &gr); err != nil { + return errors.Wrap(err, "decoding response") + } return nil } diff --git a/internal/locale/locales/en-us.yaml b/internal/locale/locales/en-us.yaml index 0f471fce1e..04314dcf5d 100644 --- a/internal/locale/locales/en-us.yaml +++ b/internal/locale/locales/en-us.yaml @@ -590,7 +590,7 @@ package_info_cmd_description: package_arg_name: other: name package_arg_name_description: - other: Package name + other: Package name, optionally with namespace, eg. '[/]'. package_info_flag_language_description: other: The language used to constrain package information selection bundle_arg_name: @@ -600,7 +600,7 @@ bundle_arg_name_description: package_arg_nameversion: other: name[@version] package_arg_nameversion_description: - other: Package name and optionally the desired version + other: Package name and optionally the desired version, optionally with namespace, eg. '[/]'. bundle_arg_nameversion: other: name[@version] bundle_arg_nameversion_description: @@ -611,6 +611,10 @@ package_list_flag_name_description: other: The filter for package names to include in the listing namespace_list_flag_project_description: other: The namespace packages should be listed from +package_search_flag_ns_description: + other: The namespace to search within. This trumps the language flag. +package_flag_ts_description: + other: The timestamp at which you want to query. Can be either 'now' or RFC3339 formatted timestamp. package_search_flag_language_description: other: The language used to constrain search results package_search_flag_exact-term_description: @@ -1460,6 +1464,21 @@ err_edit_local_checkouts: other: Could not update local checkouts err_edit_project_mapping: other: Could not update project mapping +err_uploadingredient_edit_version_required: + other: When editing you must always provide a new version number. +err_uploadingredient_edit_version_different: + other: You did not provide a unique version number. Make sure the version number you provided has not been used before. +err_uploadingredient_edit_description_not_supported: + other: Editing an ingredient description is not yet supported. +uploadingredient_editor_opening: + other: | + Opening editor to edit ingredient meta information. Alternatively you may manually edit the following file: [ACTIONABLE]{{.V0}}[/RESET]. +uploadingredient_success: + other: | + Successfully published as: + Ingredient ID: [[ACTIONABLE]{{.V0}}[/RESET] + Ingredient Version ID: [ACTIONABLE]{{.V1}}[/RESET] + Revision: [ACTIONABLE]{{.V2}}[/RESET] notice_runtime_disabled: other: Skipping runtime setup because it was disabled by an environment variable err_local_commit_file: diff --git a/internal/runbits/requirements/requirements.go b/internal/runbits/requirements/requirements.go index db324d83d6..e3b19af226 100644 --- a/internal/runbits/requirements/requirements.go +++ b/internal/runbits/requirements/requirements.go @@ -4,6 +4,7 @@ import ( "fmt" "strconv" "strings" + "time" "github.com/ActiveState/cli/internal/analytics" anaConsts "github.com/ActiveState/cli/internal/analytics/constants" @@ -27,15 +28,16 @@ import ( "github.com/ActiveState/cli/pkg/platform/model" "github.com/ActiveState/cli/pkg/platform/runtime/target" "github.com/ActiveState/cli/pkg/project" + "github.com/go-openapi/strfmt" "github.com/thoas/go-funk" ) type PackageVersion struct { - captain.NameVersion + captain.NameVersionValue } func (pv *PackageVersion) Set(arg string) error { - err := pv.NameVersion.Set(arg) + err := pv.NameVersionValue.Set(arg) if err != nil { return locale.WrapInputError(err, "err_package_format", "The package and version provided is not formatting correctly, must be in the form of @") } @@ -82,11 +84,15 @@ type ErrNoMatches struct { Alternatives *string } -func (r *RequirementOperation) ExecuteRequirementOperation(requirementName, requirementVersion string, - requirementBitWidth int, operation bpModel.Operation, nsType model.NamespaceType) (rerr error) { +// ExecuteRequirementOperation executes the operation on the requirement +// This has become quite unwieldy, and is ripe for a refactor - https://activestatef.atlassian.net/browse/DX-1897 +// For now, be aware that you should never provide BOTH ns AND nsType, one or the other should always be nil, but never both. +// The refactor should clean this up. +func (r *RequirementOperation) ExecuteRequirementOperation( + requirementName, requirementVersion string, + operation bpModel.Operation, ns *model.Namespace, nsType *model.NamespaceType, ts *time.Time) (rerr error) { defer r.rationalizeError(&rerr) - var ns model.Namespace var langVersion string langName := "undetermined" @@ -108,28 +114,30 @@ func (r *RequirementOperation) ExecuteRequirementOperation(requirementName, requ } out.Notice(locale.Tr("operating_message", r.Project.NamespaceString(), r.Project.Dir())) - switch nsType { - case model.NamespacePackage, model.NamespaceBundle: - commitID, err := commitmediator.Get(r.Project) - if err != nil { - return errs.Wrap(err, "Unable to get local commit") - } + if nsType != nil { + switch *nsType { + case model.NamespacePackage, model.NamespaceBundle: + commitID, err := commitmediator.Get(r.Project) + if err != nil { + return errs.Wrap(err, "Unable to get local commit") + } - language, err := model.LanguageByCommit(commitID) - if err == nil { - langName = language.Name - ns = model.NewNamespacePkgOrBundle(langName, nsType) - } else { - logging.Debug("Could not get language from project: %v", err) + language, err := model.LanguageByCommit(commitID) + if err == nil { + langName = language.Name + ns = ptr.To(model.NewNamespacePkgOrBundle(langName, *nsType)) + } else { + logging.Debug("Could not get language from project: %v", err) + } + case model.NamespaceLanguage: + ns = ptr.To(model.NewNamespaceLanguage()) + case model.NamespacePlatform: + ns = ptr.To(model.NewNamespacePlatform()) } - case model.NamespaceLanguage: - ns = model.NewNamespaceLanguage() - case model.NamespacePlatform: - ns = model.NewNamespacePlatform() } var validatePkg = operation == bpModel.OperationAdded && (ns.Type() == model.NamespacePackage || ns.Type() == model.NamespaceBundle) - if !ns.IsValid() && (nsType == model.NamespacePackage || nsType == model.NamespaceBundle) { + if (ns == nil || !ns.IsValid()) && nsType != nil && (*nsType == model.NamespacePackage || *nsType == model.NamespaceBundle) { pg = output.StartSpinner(out, locale.Tr("progress_pkg_nolang", requirementName), constants.TerminalAnimationInterval) supported, err := model.FetchSupportedLanguages(model.HostPlatform) @@ -137,11 +145,13 @@ func (r *RequirementOperation) ExecuteRequirementOperation(requirementName, requ return errs.Wrap(err, "Failed to retrieve the list of supported languages") } + var nsv model.Namespace var supportedLang *medmodel.SupportedLanguage - requirementName, ns, supportedLang, err = resolvePkgAndNamespace(r.Prompt, requirementName, nsType, supported) + requirementName, nsv, supportedLang, err = resolvePkgAndNamespace(r.Prompt, requirementName, *nsType, supported, ts) if err != nil { return errs.Wrap(err, "Could not resolve pkg and namespace") } + ns = &nsv langVersion = supportedLang.DefaultVersion langName = supportedLang.Name @@ -151,6 +161,10 @@ func (r *RequirementOperation) ExecuteRequirementOperation(requirementName, requ pg = nil } + if ns == nil { + return locale.NewError("err_package_invalid_namespace_detected", "No valid namespace could be detected") + } + if strings.ToLower(requirementVersion) == latestVersion { requirementVersion = "" } @@ -159,18 +173,18 @@ func (r *RequirementOperation) ExecuteRequirementOperation(requirementName, requ if validatePkg { pg = output.StartSpinner(out, locale.Tr("progress_search", requirementName), constants.TerminalAnimationInterval) - normalized, err := model.FetchNormalizedName(ns, requirementName) + normalized, err := model.FetchNormalizedName(*ns, requirementName) if err != nil { multilog.Error("Failed to normalize '%s': %v", requirementName, err) } - packages, err := model.SearchIngredientsStrict(ns, normalized, false, false) // ideally case-sensitive would be true (PB-4371) + packages, err := model.SearchIngredientsStrict(ns.String(), normalized, false, false, nil) // ideally case-sensitive would be true (PB-4371) if err != nil { return locale.WrapError(err, "package_err_cannot_obtain_search_results") } if len(packages) == 0 { - suggestions, err := getSuggestions(ns, requirementName) + suggestions, err := getSuggestions(*ns, requirementName) if err != nil { multilog.Error("Failed to retrieve suggestions: %v", err) } @@ -202,7 +216,7 @@ func (r *RequirementOperation) ExecuteRequirementOperation(requirementName, requ // Check if this is an addition or an update if operation == bpModel.OperationAdded && parentCommitID != "" { - req, err := model.GetRequirement(parentCommitID, ns, requirementName) + req, err := model.GetRequirement(parentCommitID, *ns, requirementName) if err != nil { return errs.Wrap(err, "Could not get requirement") } @@ -223,12 +237,18 @@ func (r *RequirementOperation) ExecuteRequirementOperation(requirementName, requ } } - latest, err := model.FetchLatestTimeStamp() - if err != nil { - return errs.Wrap(err, "Could not fetch latest timestamp") + if ts == nil { + latest, err := model.FetchLatestTimeStamp() + if err != nil { + return errs.Wrap(err, "Could not fetch latest timestamp") + } + ts = &latest } + timestamp := strfmt.DateTime(*ts) - name, version, err := model.ResolveRequirementNameAndVersion(requirementName, requirementVersion, requirementBitWidth, ns) + // MUST ADDRESS: we're no longer passing bitwidth, but this needs it. Need to figure out why. + requirementBitWidth := -1 + name, version, err := model.ResolveRequirementNameAndVersion(requirementName, requirementVersion, requirementBitWidth, *ns) if err != nil { return errs.Wrap(err, "Could not resolve requirement name and version") } @@ -242,12 +262,12 @@ func (r *RequirementOperation) ExecuteRequirementOperation(requirementName, requ Owner: r.Project.Owner(), Project: r.Project.Name(), ParentCommit: string(parentCommitID), - Description: commitMessage(operation, name, version, ns, requirementBitWidth), + Description: commitMessage(operation, name, version, *ns, requirementBitWidth), RequirementName: name, RequirementVersion: requirements, - RequirementNamespace: ns, + RequirementNamespace: *ns, Operation: operation, - TimeStamp: latest, + TimeStamp: ×tamp, } bp := model.NewBuildPlannerModel(r.Auth) @@ -332,11 +352,11 @@ func supportedLanguageByName(supported []medmodel.SupportedLanguage, langName st return funk.Find(supported, func(l medmodel.SupportedLanguage) bool { return l.Name == langName }).(medmodel.SupportedLanguage) } -func resolvePkgAndNamespace(prompt prompt.Prompter, packageName string, nsType model.NamespaceType, supported []medmodel.SupportedLanguage) (string, model.Namespace, *medmodel.SupportedLanguage, error) { +func resolvePkgAndNamespace(prompt prompt.Prompter, packageName string, nsType model.NamespaceType, supported []medmodel.SupportedLanguage, ts *time.Time) (string, model.Namespace, *medmodel.SupportedLanguage, error) { ns := model.NewBlankNamespace() // Find ingredients that match the input query - ingredients, err := model.SearchIngredientsStrict(model.NewBlankNamespace(), packageName, false, false) + ingredients, err := model.SearchIngredientsStrict("", packageName, false, false, ts) if err != nil { return "", ns, nil, locale.WrapError(err, "err_pkgop_search_err", "Failed to check for ingredients.") } @@ -385,7 +405,7 @@ func resolvePkgAndNamespace(prompt prompt.Prompter, packageName string, nsType m } func getSuggestions(ns model.Namespace, name string) ([]string, error) { - results, err := model.SearchIngredients(ns, name, false) + results, err := model.SearchIngredients(ns.String(), name, false, nil) if err != nil { return []string{}, locale.WrapError(err, "package_ingredient_err_search", "Failed to resolve ingredient named: {{.V0}}", name) } diff --git a/internal/runners/initialize/init.go b/internal/runners/initialize/init.go index 7c719a4ddf..e04abe913b 100644 --- a/internal/runners/initialize/init.go +++ b/internal/runners/initialize/init.go @@ -251,7 +251,7 @@ func (r *Initialize) Run(params *RunParams) (rerr error) { Language: lang.Requirement(), Version: version, Private: params.Private, - Timestamp: *timestamp, + Timestamp: strfmt.DateTime(timestamp), Description: locale.T("commit_message_add_initial"), }) if err != nil { diff --git a/internal/runners/languages/install.go b/internal/runners/languages/install.go index 61e39be327..01e9002189 100644 --- a/internal/runners/languages/install.go +++ b/internal/runners/languages/install.go @@ -70,7 +70,7 @@ func (u *Update) Run(params *UpdateParams) error { return errs.Wrap(err, "Could not create requirement operation.") } - err = op.ExecuteRequirementOperation(lang.Name, lang.Version, 0, bpModel.OperationAdded, model.NamespaceLanguage) + err = op.ExecuteRequirementOperation(lang.Name, lang.Version, bpModel.OperationAdded, nil, &model.NamespaceLanguage, nil) if err != nil { return locale.WrapError(err, "err_language_update", "Could not update language: {{.V0}}", lang.Name) } diff --git a/internal/runners/packages/info.go b/internal/runners/packages/info.go index 01aaa75ae7..cc00de4009 100644 --- a/internal/runners/packages/info.go +++ b/internal/runners/packages/info.go @@ -4,10 +4,12 @@ import ( "fmt" "strconv" + "github.com/ActiveState/cli/internal/captain" "github.com/ActiveState/cli/internal/errs" "github.com/ActiveState/cli/internal/locale" "github.com/ActiveState/cli/internal/logging" "github.com/ActiveState/cli/internal/output" + "github.com/ActiveState/cli/internal/rtutils/ptr" "github.com/ActiveState/cli/pkg/platform/api/inventory/inventory_models" "github.com/ActiveState/cli/pkg/platform/model" "github.com/ActiveState/cli/pkg/project" @@ -16,8 +18,9 @@ import ( // InfoRunParams tracks the info required for running Info. type InfoRunParams struct { - Package PackageVersion - Language string + Package captain.PackageValue + Timestamp captain.TimeValue + Language string } // Info manages the information execution context. @@ -38,15 +41,24 @@ func NewInfo(prime primeable) *Info { func (i *Info) Run(params InfoRunParams, nstype model.NamespaceType) error { logging.Debug("ExecuteInfo") - language, err := targetedLanguage(params.Language, i.proj) - if err != nil { + var nsTypeV *model.NamespaceType + var ns *model.Namespace - return locale.WrapError(err, fmt.Sprintf("%s_err_cannot_obtain_language", nstype)) + if params.Package.Namespace != "" { + ns = ptr.To(model.NewRawNamespace(params.Package.Namespace)) + } else { + nsTypeV = &nstype } - ns := model.NewNamespacePkgOrBundle(language, nstype) + if nsTypeV != nil { + language, err := targetedLanguage(params.Language, i.proj) + if err != nil { + return locale.WrapError(err, fmt.Sprintf("%s_err_cannot_obtain_language", *nsTypeV)) + } + ns = ptr.To(model.NewNamespacePkgOrBundle(language, nstype)) + } - packages, err := model.SearchIngredientsStrict(ns, params.Package.Name(), true, true) + packages, err := model.SearchIngredientsStrict(ns.String(), params.Package.Name, true, true, params.Timestamp.Time) if err != nil { return locale.WrapError(err, "package_err_cannot_obtain_search_results") } @@ -62,10 +74,10 @@ func (i *Info) Run(params InfoRunParams, nstype model.NamespaceType) error { pkg := packages[0] ingredientVersion := pkg.LatestVersion - if params.Package.Version() != "" { - ingredientVersion, err = specificIngredientVersion(pkg.Ingredient.IngredientID, params.Package.Version()) + if params.Package.Version != "" { + ingredientVersion, err = specificIngredientVersion(pkg.Ingredient.IngredientID, params.Package.Version) if err != nil { - return locale.WrapInputError(err, "info_err_version_not_found", "Could not find version {{.V0}} for package {{.V1}}", params.Package.Version(), params.Package.Name()) + return locale.WrapInputError(err, "info_err_version_not_found", "Could not find version {{.V0}} for package {{.V1}}", params.Package.Version, params.Package.Name) } } @@ -74,12 +86,12 @@ func (i *Info) Run(params InfoRunParams, nstype model.NamespaceType) error { return locale.WrapError(err, "package_err_cannot_obtain_authors_info", "Cannot obtain authors info") } - res := newInfoResult(pkg.Ingredient, ingredientVersion, authors, pkg.Versions) - i.out.Print(&infoOutput{ - i.out, - res, - whatsNextMessages(res.name, res.Versions), - }) + i.out.Print(&infoOutput{i.out, structuredOutput{ + pkg.Ingredient, + ingredientVersion, + authors, + pkg.Versions, + }}) return nil } @@ -103,8 +115,8 @@ func specificIngredientVersion(ingredientID *strfmt.UUID, version string) (*inve type PkgDetailsTable struct { Authors []string `locale:"package_authors,Authors" json:"authors"` Website string `locale:"package_website,Website" json:"website"` - copyright string //`locale:"package_copyright,Copyright" json:"copyright"` - license string //`locale:"package_license,License" json:"license"` + copyright string // `locale:"package_copyright,Copyright" json:"copyright"` + license string // `locale:"package_license,License" json:"license"` } type infoResult struct { @@ -167,14 +179,21 @@ func newInfoResult(ingredient *inventory_models.Ingredient, ingredientVersion *i return &res } +type structuredOutput struct { + Ingredient *inventory_models.Ingredient `json:"ingredient"` + IngredientVersion *inventory_models.IngredientVersion `json:"ingredient_version"` + Authors model.Authors `json:"authors"` + Versions []*inventory_models.SearchIngredientsResponseVersion `json:"versions"` +} + type infoOutput struct { - out output.Outputer - res *infoResult - next []string + out output.Outputer + so structuredOutput } -func (o *infoOutput) MarshalOutput(format output.Format) interface{} { - print, res := o.out.Print, o.res +func (o *infoOutput) MarshalOutput(_ output.Format) interface{} { + res := newInfoResult(o.so.Ingredient, o.so.IngredientVersion, o.so.Authors, o.so.Versions) + print := o.out.Print { print(output.Title( locale.Tl( @@ -205,14 +224,14 @@ func (o *infoOutput) MarshalOutput(format output.Format) interface{} { { print(output.Title(locale.Tl("packages_info_next_header", "What's next?"))) - print(o.next) + print(whatsNextMessages(res.name, res.Versions)) } return output.Suppress } -func (o *infoOutput) MarshalStructured(format output.Format) interface{} { - return o.res +func (o *infoOutput) MarshalStructured(_ output.Format) interface{} { + return o.so } func whatsNextMessages(name string, versions []string) []string { diff --git a/internal/runners/packages/install.go b/internal/runners/packages/install.go index 47e62b44fe..f8ceb66d4e 100644 --- a/internal/runners/packages/install.go +++ b/internal/runners/packages/install.go @@ -2,28 +2,17 @@ package packages import ( "github.com/ActiveState/cli/internal/captain" - "github.com/ActiveState/cli/internal/locale" "github.com/ActiveState/cli/internal/logging" + "github.com/ActiveState/cli/internal/rtutils/ptr" "github.com/ActiveState/cli/internal/runbits/requirements" bpModel "github.com/ActiveState/cli/pkg/platform/api/buildplanner/model" "github.com/ActiveState/cli/pkg/platform/model" ) -type PackageVersion struct { - captain.NameVersion -} - -func (pv *PackageVersion) Set(arg string) error { - err := pv.NameVersion.Set(arg) - if err != nil { - return locale.WrapInputError(err, "err_package_format", "The package and version provided is not formatting correctly, must be in the form of @") - } - return nil -} - // InstallRunParams tracks the info required for running Install. type InstallRunParams struct { - Package PackageVersion + Package captain.PackageValue + Timestamp captain.TimeValue } // Install manages the installing execution context. @@ -39,12 +28,22 @@ func NewInstall(prime primeable) *Install { // Run executes the install behavior. func (a *Install) Run(params InstallRunParams, nsType model.NamespaceType) (rerr error) { defer rationalizeError(a.prime.Auth(), &rerr) + var nsTypeV *model.NamespaceType + var ns *model.Namespace + logging.Debug("ExecuteInstall") + if params.Package.Namespace != "" { + ns = ptr.To(model.NewRawNamespace(params.Package.Namespace)) + } else { + nsTypeV = &nsType + } + return requirements.NewRequirementOperation(a.prime).ExecuteRequirementOperation( - params.Package.Name(), - params.Package.Version(), - 0, + params.Package.Name, + params.Package.Version, bpModel.OperationAdded, - nsType, + ns, + nsTypeV, + params.Timestamp.Time, ) } diff --git a/internal/runners/packages/search.go b/internal/runners/packages/search.go index d1b96698ba..49dc611d4d 100644 --- a/internal/runners/packages/search.go +++ b/internal/runners/packages/search.go @@ -5,6 +5,7 @@ import ( "strconv" "strings" + "github.com/ActiveState/cli/internal/captain" "github.com/ActiveState/cli/internal/errs" "github.com/ActiveState/cli/internal/locale" "github.com/ActiveState/cli/internal/logging" @@ -16,9 +17,10 @@ import ( // SearchRunParams tracks the info required for running search. type SearchRunParams struct { - Language string - ExactTerm bool - Name string + Language string + ExactTerm bool + Ingredient captain.PackageValueNoVersion + Timestamp captain.TimeValue } // Search manages the searching execution context. @@ -39,30 +41,37 @@ func NewSearch(prime primeable) *Search { func (s *Search) Run(params SearchRunParams, nstype model.NamespaceType) error { logging.Debug("ExecuteSearch") - language, err := targetedLanguage(params.Language, s.proj) - if err != nil { - return locale.WrapError(err, fmt.Sprintf("%s_err_cannot_obtain_language", nstype)) - } + var ns model.Namespace + if params.Ingredient.Namespace == "" { + language, err := targetedLanguage(params.Language, s.proj) + if err != nil { + return locale.WrapError(err, fmt.Sprintf("%s_err_cannot_obtain_language", nstype)) + } - ns := model.NewNamespacePkgOrBundle(language, nstype) + ns = model.NewNamespacePkgOrBundle(language, nstype) + } else { + ns = model.NewRawNamespace(params.Ingredient.Namespace) + } + var err error var packages []*model.IngredientAndVersion if params.ExactTerm { - packages, err = model.SearchIngredientsStrict(ns, params.Name, true, true) + packages, err = model.SearchIngredientsStrict(ns.String(), params.Ingredient.Name, true, true, params.Timestamp.Time) } else { - packages, err = model.SearchIngredients(ns, params.Name, true) + packages, err = model.SearchIngredients(ns.String(), params.Ingredient.Name, true, params.Timestamp.Time) } if err != nil { return locale.WrapError(err, "package_err_cannot_obtain_search_results") } if len(packages) == 0 { return errs.AddTips( - locale.NewInputError("err_search_no_"+ns.Type().String(), "", params.Name), + locale.NewInputError("err_search_no_"+ns.Type().String(), "", params.Ingredient.Name), locale.Tl("search_try_term", "Try a different search term"), locale.Tl("search_request_"+ns.Type().String(), ""), ) } - s.out.Print(formatSearchResults(packages)) + + s.out.Print(output.Prepare(formatSearchResults(packages, params.Ingredient.Namespace != ""), packages)) return nil } @@ -141,7 +150,7 @@ type searchPackageRow struct { type searchOutput []searchPackageRow -func formatSearchResults(packages []*model.IngredientAndVersion) *searchOutput { +func formatSearchResults(packages []*model.IngredientAndVersion, showNamespace bool) *searchOutput { rows := make(searchOutput, len(packages)) filterNilStr := func(s *string) string { @@ -152,8 +161,12 @@ func formatSearchResults(packages []*model.IngredientAndVersion) *searchOutput { } for i, pack := range packages { + name := filterNilStr(pack.Ingredient.Name) + if showNamespace { + name = fmt.Sprintf("%s/%s", *pack.Ingredient.PrimaryNamespace, name) + } row := searchPackageRow{ - Pkg: filterNilStr(pack.Ingredient.Name), + Pkg: name, Version: pack.Version, versions: len(pack.Versions), Modules: makeModules(pack.Ingredient.NormalizedName, pack), diff --git a/internal/runners/packages/uninstall.go b/internal/runners/packages/uninstall.go index ff2f559ae2..31898d01d6 100644 --- a/internal/runners/packages/uninstall.go +++ b/internal/runners/packages/uninstall.go @@ -1,7 +1,9 @@ package packages import ( + "github.com/ActiveState/cli/internal/captain" "github.com/ActiveState/cli/internal/logging" + "github.com/ActiveState/cli/internal/rtutils/ptr" "github.com/ActiveState/cli/internal/runbits/rationalize" "github.com/ActiveState/cli/internal/runbits/requirements" bpModel "github.com/ActiveState/cli/pkg/platform/api/buildplanner/model" @@ -10,7 +12,7 @@ import ( // UninstallRunParams tracks the info required for running Uninstall. type UninstallRunParams struct { - Name string + Package captain.PackageValueNoVersion } // Uninstall manages the uninstalling execution context. @@ -31,11 +33,21 @@ func (u *Uninstall) Run(params UninstallRunParams, nsType model.NamespaceType) ( return rationalize.ErrNoProject } + var nsTypeV *model.NamespaceType + var ns *model.Namespace + + if params.Package.Namespace != "" { + ns = ptr.To(model.NewRawNamespace(params.Package.Namespace)) + } else { + nsTypeV = &nsType + } + return requirements.NewRequirementOperation(u.prime).ExecuteRequirementOperation( - params.Name, + params.Package.Name, "", - 0, bpModel.OperationRemoved, - nsType, + ns, + nsTypeV, + nil, ) } diff --git a/internal/runners/platforms/add.go b/internal/runners/platforms/add.go index 9b7cb37de7..1a8724dee0 100644 --- a/internal/runners/platforms/add.go +++ b/internal/runners/platforms/add.go @@ -52,9 +52,10 @@ func (a *Add) Run(ps AddRunParams) error { if err := requirements.NewRequirementOperation(a.prime).ExecuteRequirementOperation( params.name, params.version, - params.BitWidth, bpModel.OperationAdded, - model.NamespacePlatform, + nil, + &model.NamespacePlatform, + nil, ); err != nil { return locale.WrapError(err, "err_add_platform", "Could not add platform.") } diff --git a/internal/runners/platforms/platforms.go b/internal/runners/platforms/platforms.go index 0a42c910cd..34076c614e 100644 --- a/internal/runners/platforms/platforms.go +++ b/internal/runners/platforms/platforms.go @@ -13,11 +13,11 @@ import ( ) type PlatformVersion struct { - captain.NameVersion + captain.NameVersionValue } func (pv *PlatformVersion) Set(arg string) error { - err := pv.NameVersion.Set(arg) + err := pv.NameVersionValue.Set(arg) if err != nil { return locale.WrapInputError(err, "err_platform_format", "The platform and version provided is not formatting correctly, must be in the form of @") } diff --git a/internal/runners/platforms/remove.go b/internal/runners/platforms/remove.go index acc3c20f7a..0961b2b5bf 100644 --- a/internal/runners/platforms/remove.go +++ b/internal/runners/platforms/remove.go @@ -42,9 +42,10 @@ func (r *Remove) Run(ps RemoveRunParams) error { if err := requirements.NewRequirementOperation(r.prime).ExecuteRequirementOperation( params.name, params.version, - params.BitWidth, bpModel.OperationRemoved, - model.NamespacePlatform, + nil, + &model.NamespacePlatform, + nil, ); err != nil { return locale.WrapError(err, "err_remove_platform", "Could not remove platform.") } diff --git a/internal/runners/publish/publish.go b/internal/runners/publish/publish.go new file mode 100644 index 0000000000..a552a4415a --- /dev/null +++ b/internal/runners/publish/publish.go @@ -0,0 +1,348 @@ +package publish + +import ( + "net/http" + "path/filepath" + "strconv" + "strings" + "time" + + "github.com/ActiveState/cli/internal/captain" + "github.com/ActiveState/cli/internal/errs" + "github.com/ActiveState/cli/internal/fileutils" + "github.com/ActiveState/cli/internal/gqlclient" + "github.com/ActiveState/cli/internal/locale" + "github.com/ActiveState/cli/internal/output" + "github.com/ActiveState/cli/internal/primer" + "github.com/ActiveState/cli/internal/prompt" + "github.com/ActiveState/cli/internal/rtutils/ptr" + "github.com/ActiveState/cli/pkg/platform/api" + graphModel "github.com/ActiveState/cli/pkg/platform/api/graphql/model" + "github.com/ActiveState/cli/pkg/platform/api/graphql/request" + auth "github.com/ActiveState/cli/pkg/platform/authentication" + "github.com/ActiveState/cli/pkg/platform/model" + "github.com/ActiveState/cli/pkg/project" + "github.com/ActiveState/graphql" + "github.com/skratchdot/open-golang/open" + "gopkg.in/yaml.v3" +) + +type Params struct { + Name string + Version string + Namespace string + Owner string + Description string + Authors captain.UsersValue + Depends captain.PackagesValue + Filepath string + MetaFilepath string + Edit bool + Editor bool +} + +type Runner struct { + auth *auth.Auth + out output.Outputer + prompt prompt.Prompter + project *project.Project + client *gqlclient.Client +} + +type primeable interface { + primer.Outputer + primer.Auther + primer.Projecter + primer.Prompter +} + +func New(prime primeable) *Runner { + client := gqlclient.NewWithOpts( + api.GetServiceURL(api.ServiceBuildPlanner).String(), 0, + graphql.WithHTTPClient(http.DefaultClient), + graphql.UseMultipartForm(), + ) + client.EnableDebugLog() + client.SetTokenProvider(prime.Auth()) + client.EnableDebugLog() + return &Runner{auth: prime.Auth(), out: prime.Output(), prompt: prime.Prompt(), project: prime.Project(), client: client} +} + +func (r *Runner) Run(params *Params) error { + if !r.auth.Authenticated() { + return locale.NewInputError("err_auth_required") + } + + if params.Filepath != "" { + if !fileutils.FileExists(params.Filepath) { + return locale.NewInputError("err_uploadingredient_file_not_found", "File not found: {{.V0}}", params.Filepath) + } + if !strings.HasSuffix(strings.ToLower(params.Filepath), ".zip") && + !strings.HasSuffix(strings.ToLower(params.Filepath), ".tar.gz") { + return locale.NewInputError("err_uploadingredient_file_not_supported", "Expected file extension to be either .zip or .tar.gz: '{{.V0}}'", params.Filepath) + } + } else if !params.Edit { + return locale.NewInputError("err_uploadingredient_file_required", "You have to supply the source archive unless editing.") + } + + reqVars := request.PublishVariables{} + + // Pass input from meta file + if params.MetaFilepath != "" { + if !fileutils.TargetExists(params.MetaFilepath) { + return locale.NewInputError("err_uploadingredient_metafile_not_found", "Meta file not found: {{.V0}}", params.MetaFilepath) + } + + b, err := fileutils.ReadFile(params.MetaFilepath) + if err != nil { + return locale.WrapInputError(err, "err_uploadingredient_file_read", "Could not read file: {{.V0}}", params.MetaFilepath) + } + + if err := yaml.Unmarshal(b, &reqVars); err != nil { + return locale.WrapInputError(err, "err_uploadingredient_file_read", "Failed to unmarshal meta file, error received: {{.V0}}", err.Error()) + } + } + + // Namespace + if params.Namespace != "" { + reqVars.Namespace = params.Namespace + } else if reqVars.Namespace == "" && r.project != nil && r.project.Owner() != "" { + reqVars.Namespace = model.NewOrgNamespace(r.project.Owner()).String() + } + + // Name + if params.Name != "" { // Validate & Set name + reqVars.Name = params.Name + } else if reqVars.Name == "" { + reqVars.Name = filepath.Base(params.Filepath) + } + + ts := time.Now() + ingredients, err := model.SearchIngredientsStrict(reqVars.Namespace, reqVars.Name, true, false, &ts) + if err != nil && !errs.Matches(err, &model.ErrSearch404{}) { // 404 means either the ingredient or the namespace was not found, which is fine + return locale.WrapError(err, "err_uploadingredient_search", "Could not search for ingredient") + } + var ingredient *model.IngredientAndVersion + + if params.Edit { + if len(ingredients) == 0 { + return locale.NewInputError("err_uploadingredient_edit_not_found", + "Could not find ingredient to edit with name: '[ACTIONABLE]{{.V0}}[/RESET]', namespace: '[ACTIONABLE]{{.V1}}[/RESET]'.", + reqVars.Name, reqVars.Namespace) + } + ingredient = ingredients[0] + if err := prepareEditRequest(ingredient, &reqVars); err != nil { + return errs.Wrap(err, "Could not prepare edit request") + } + } else { + if len(ingredients) > 0 { + return locale.NewInputError("err_uploadingredient_exists", + "Ingredient with namespace '[ACTIONABLE]{{.V0}}[/RESET]' and name '[ACTIONABLE]{{.V1}}[/RESET]' already exists. "+ + "To edit an existing ingredient you need to pass the '[ACTIONABLE]--edit[/RESET]' flag.", + reqVars.Namespace, reqVars.Name) + } + } + + if err := prepareRequestFromParams(&reqVars, params); err != nil { + return errs.Wrap(err, "Could not prepare request from params") + } + + if params.Editor { + if !r.out.Config().Interactive { + return locale.NewInputError("err_uploadingredient_editor_not_supported", "Opening in editor is not supported in non-interactive mode") + } + if err := r.OpenInEditor(&reqVars); err != nil { + return err + } + } + + // Validate user input + if params.Edit { + // Validate that the version input is valid + // https://activestatef.atlassian.net/browse/DX-1885 + if reqVars.Version == "" { + return locale.NewInputError("err_uploadingredient_edit_version_required") + } else { + for _, v := range ingredient.Versions { + if reqVars.Version == v.Version { + return locale.NewInputError("err_uploadingredient_edit_version_different") + } + } + } + + // Description is not currently supported for edit + // https://activestatef.atlassian.net/browse/DX-1886 + if reqVars.Description != ptr.From(ingredient.Ingredient.Description, "") { + return locale.NewInputError("err_uploadingredient_edit_description_not_supported") + } + + if reqVars.Namespace == "" { + return locale.NewInputError("err_uploadingredient_namespace_required", "You have to supply the namespace when working outside of a project context") + } + } + + b, err := reqVars.MarshalYaml(false) + if err != nil { + return errs.Wrap(err, "Could not marshal publish variables") + } + + cont, err := r.prompt.Confirm( + "", + locale.Tl("uploadingredient_confirm", `Publish following ingredient? +{{.V0}} + +`, string(b)), + ptr.To(true), + ) + if err != nil { + return errs.Wrap(err, "Confirmation failed") + } + if !cont { + r.out.Print(locale.Tl("uploadingredient_cancel", "Publish cancelled")) + return nil + } + + r.out.Notice(locale.Tl("uploadingredient_uploading", "Publishing ingredient...")) + + pr, err := request.Publish(reqVars, params.Filepath) + if err != nil { + return locale.WrapError(err, "err_uploadingredient_publish", "Could not create publish request") + } + result := graphModel.PublishResult{} + + if err := r.client.Run(pr, &result); err != nil { + return locale.WrapError(err, "err_uploadingredient_publish", "Could not publish ingredient") + } + + if result.Publish.Error != "" { + return locale.NewError("err_uploadingredient_publish_api", "API responded with error: {{.V0}}", result.Publish.Error) + } + + r.out.Print(output.Prepare( + locale.Tl( + "uploadingredient_success", "", + result.Publish.IngredientID, + result.Publish.IngredientVersionID, + strconv.Itoa(result.Publish.Revision), + ), + result.Publish, + )) + + return nil +} + +func prepareRequestFromParams(r *request.PublishVariables, params *Params) error { + if params.Version != "" { + r.Version = params.Version + } + if r.Version == "" { + r.Version = "0.0.1" + } + + if params.Description != "" { + r.Description = params.Description + } + if r.Description == "" { + r.Description = "not provided" + } + + if len(params.Authors) != 0 { + r.Authors = []request.PublishVariableAuthor{} + for _, author := range params.Authors { + r.Authors = append(r.Authors, request.PublishVariableAuthor{ + Name: author.Name, + Email: author.Email, + }) + } + } + + if len(params.Depends) != 0 { + r.Dependencies = []request.PublishVariableDep{} + for _, dep := range params.Depends { + r.Dependencies = append( + r.Dependencies, + request.PublishVariableDep{request.Dependency{Name: dep.Name, Namespace: dep.Namespace}, []request.Dependency{}}, + ) + } + } + + return nil +} + +func prepareEditRequest(ingredient *model.IngredientAndVersion, r *request.PublishVariables) error { + authors, err := model.FetchAuthors(ingredient.Ingredient.IngredientID, ingredient.LatestVersion.IngredientVersionID) + if err != nil { + return locale.WrapError(err, "err_uploadingredient_fetch_authors", "Could not fetch authors for ingredient") + } + + r.Version = ptr.From(ingredient.LatestVersion.Version, "") + r.Description = ptr.From(ingredient.Ingredient.Description, "") + + if len(authors) > 0 { + r.Authors = []request.PublishVariableAuthor{} + for _, author := range authors { + var websites []string + for _, w := range author.Websites { + websites = append(websites, w.String()) + } + r.Authors = append(r.Authors, request.PublishVariableAuthor{ + Name: ptr.From(author.Name, ""), + Email: author.Email.String(), + Websites: websites, + }) + } + } + + if len(ingredient.LatestVersion.Dependencies) > 0 { + r.Dependencies = []request.PublishVariableDep{} + for _, dep := range ingredient.LatestVersion.Dependencies { + r.Dependencies = append( + r.Dependencies, + request.PublishVariableDep{request.Dependency{ + Name: ptr.From(dep.Feature, ""), + Namespace: ptr.From(dep.Namespace, ""), + VersionRequirements: dep.OriginalRequirement, + }, []request.Dependency{}}, + ) + } + } + + return nil +} + +func (r *Runner) OpenInEditor(pr *request.PublishVariables) error { + // Prepare file for editing + b, err := pr.MarshalYaml(true) + if err != nil { + return locale.WrapError(err, "err_uploadingredient_publish", "Could not marshal publish request") + } + b = append([]byte("# Edit the following file and confirm in your terminal when done\n"), b...) + fn, err := fileutils.WriteTempFile("*.ingredient.yaml", b) + if err != nil { + return locale.WrapError(err, "err_uploadingredient_publish", "Could not write publish request to file") + } + + r.out.Notice(locale.Tr("uploadingredient_editor_opening", fn)) + + // Open file + if err := open.Start(fn); err != nil { + return locale.WrapError(err, "err_uploadingredient_publish", "Could not open publish request file") + } + + // Wait for confirmation + if _, err := r.prompt.Input("", locale.Tl("uploadingredient_edit_confirm", "Press enter when done editing"), ptr.To("")); err != nil { + return errs.Wrap(err, "Confirmation failed") + } + + eb, err := fileutils.ReadFile(fn) + if err != nil { + return errs.Wrap(err, "Could not read file") + } + + // Write changes to request + if err := pr.UnmarshalYaml(eb); err != nil { + return locale.WrapError(err, "err_uploadingredient_publish", "Could not unmarshal publish request") + } + + return nil +} diff --git a/internal/runners/update/lock.go b/internal/runners/update/lock.go index d1d7685850..02f1a9b069 100644 --- a/internal/runners/update/lock.go +++ b/internal/runners/update/lock.go @@ -17,12 +17,13 @@ import ( ) // var _ captain.FlagMarshaler = (*StateToolChannelVersion)(nil) + type StateToolChannelVersion struct { - captain.NameVersion + captain.NameVersionValue } func (stv *StateToolChannelVersion) Set(arg string) error { - err := stv.NameVersion.Set(arg) + err := stv.NameVersionValue.Set(arg) if err != nil { return locale.WrapInputError( err, diff --git a/internal/subshell/sscommon/rcfile_test.go b/internal/subshell/sscommon/rcfile_test.go index 3fe2d5d3f2..c88ffb24d4 100644 --- a/internal/subshell/sscommon/rcfile_test.go +++ b/internal/subshell/sscommon/rcfile_test.go @@ -32,7 +32,7 @@ func fakeContents(before, contents, after string) string { } func fakeFileWithContents(before, contents, after string) string { - f := fileutils.TempFileUnsafe() + f := fileutils.TempFileUnsafe("", "") defer f.Close() f.WriteString(fakeContents(before, contents, after)) return f.Name() diff --git a/internal/testhelpers/e2e/session.go b/internal/testhelpers/e2e/session.go index 229fe42cf3..e6dbd27749 100644 --- a/internal/testhelpers/e2e/session.go +++ b/internal/testhelpers/e2e/session.go @@ -57,7 +57,7 @@ type Session struct { createdProjects []*project.Namespaced // users created during session users []string - t *testing.T + T *testing.T Exe string SvcExe string ExecutorExe string @@ -118,24 +118,24 @@ func (s *Session) CopyExeToDir(from, to string) string { var err error to, err = filepath.Abs(filepath.Join(to, filepath.Base(from))) if err != nil { - s.t.Fatal(err) + s.T.Fatal(err) } if fileutils.TargetExists(to) { return to } err = fileutils.CopyFile(from, to) - require.NoError(s.t, err, "Could not copy %s to %s", from, to) + require.NoError(s.T, err, "Could not copy %s to %s", from, to) // Ensure modTime is the same as source exe stat, err := os.Stat(from) - require.NoError(s.t, err) + require.NoError(s.T, err) t := stat.ModTime() - require.NoError(s.t, os.Chtimes(to, t, t)) + require.NoError(s.T, os.Chtimes(to, t, t)) permissions, _ := permbits.Stat(to) permissions.SetUserExecute(true) - require.NoError(s.t, permbits.Chmod(to, permissions)) + require.NoError(s.T, permbits.Chmod(to, permissions)) return to } @@ -224,7 +224,7 @@ func new(t *testing.T, retainDirs, updatePath bool, extraEnv ...string) *Session // add session environment variables env = append(env, extraEnv...) - session := &Session{Dirs: dirs, Env: env, retainDirs: retainDirs, t: t} + session := &Session{Dirs: dirs, Env: env, retainDirs: retainDirs, T: t} // Mock installation directory exe, svcExe, execExe := executablePaths(t) @@ -241,7 +241,7 @@ func new(t *testing.T, retainDirs, updatePath bool, extraEnv ...string) *Session t.Setenv(constants.HomeEnvVarName, dirs.HomeDir) err = fileutils.Touch(filepath.Join(dirs.Base, installation.InstallDirMarker)) - require.NoError(session.t, err) + require.NoError(session.T, err) return session } @@ -251,7 +251,7 @@ func NewNoPathUpdate(t *testing.T, retainDirs bool, extraEnv ...string) *Session } func (s *Session) SetT(t *testing.T) { - s.t = t + s.T = t } func (s *Session) ClearCache() error { @@ -291,7 +291,7 @@ func (s *Session) SpawnCmdWithOpts(exe string, optSetters ...SpawnOptSetter) *Sp spawnOpts.TermtestOpts = append(spawnOpts.TermtestOpts, termtest.OptErrorHandler(func(tt *termtest.TermTest, err error) error { - s.t.Fatal(s.DebugMessage(errs.JoinMessage(err))) + s.T.Fatal(s.DebugMessage(errs.JoinMessage(err))) return err }), termtest.OptDefaultTimeout(defaultTimeout), @@ -359,7 +359,7 @@ func (s *Session) SpawnCmdWithOpts(exe string, optSetters ...SpawnOptSetter) *Sp } tt, err := termtest.New(cmd, spawnOpts.TermtestOpts...) - require.NoError(s.t, err) + require.NoError(s.T, err) spawn := &SpawnedCmd{tt, spawnOpts} @@ -377,15 +377,15 @@ func (s *Session) SpawnCmdWithOpts(exe string, optSetters ...SpawnOptSetter) *Sp // PrepareActiveStateYAML creates an activestate.yaml in the session's work directory from the // given YAML contents. func (s *Session) PrepareActiveStateYAML(contents string) { - require.NoError(s.t, fileutils.WriteFile(filepath.Join(s.Dirs.Work, constants.ConfigFileName), []byte(contents))) + require.NoError(s.T, fileutils.WriteFile(filepath.Join(s.Dirs.Work, constants.ConfigFileName), []byte(contents))) } func (s *Session) PrepareCommitIdFile(commitID string) { // Replace the contents of this function with the line below in DX-2307. - //require.NoError(s.t, fileutils.WriteFile(filepath.Join(s.Dirs.Work, constants.ProjectConfigDirName, constants.CommitIdFileName), []byte(commitID))) + //require.NoError(s.T, fileutils.WriteFile(filepath.Join(s.Dirs.Work, constants.ProjectConfigDirName, constants.CommitIdFileName), []byte(commitID))) pjfile, err := projectfile.Parse(filepath.Join(s.Dirs.Work, constants.ConfigFileName)) - require.NoError(s.t, err) - require.NoError(s.t, pjfile.LegacySetCommit(commitID)) + require.NoError(s.T, err) + require.NoError(s.T, pjfile.LegacySetCommit(commitID)) } // PrepareProject creates a very simple activestate.yaml file for the given org/project and, if a @@ -404,12 +404,12 @@ func (s *Session) PrepareFile(path, contents string) { contents = strings.TrimSpace(contents) err := os.MkdirAll(filepath.Dir(path), 0770) - require.NoError(s.t, err, errMsg) + require.NoError(s.T, err, errMsg) bs := append([]byte(contents), '\n') err = ioutil.WriteFile(path, bs, 0660) - require.NoError(s.t, err, errMsg) + require.NoError(s.T, err, errMsg) } // LoginAsPersistentUser is a common test case after which an integration test user should be logged in to the platform @@ -431,21 +431,22 @@ func (s *Session) LogoutUser() { p.ExpectExitCode(0) } -func (s *Session) CreateNewUser() (string, string) { +func (s *Session) CreateNewUser() *mono_models.UserEditable { uid, err := uuid.NewRandom() - require.NoError(s.t, err) + require.NoError(s.T, err) username := fmt.Sprintf("user-%s", uid.String()[0:8]) password := uid.String()[8:] email := fmt.Sprintf("%s@test.tld", username) - - params := users.NewAddUserParams() - params.SetUser(&mono_models.UserEditable{ + userMeta := &mono_models.UserEditable{ + Email: email, Username: username, Password: password, Name: username, - Email: email, - }) + } + + params := users.NewAddUserParams() + params.SetUser(userMeta) // The default mono API client host is "testing.tld" inside unit tests. // Since we actually want to create production users, we need to manually instantiate a mono API @@ -457,7 +458,7 @@ func (s *Session) CreateNewUser() (string, string) { } serviceURL.Host = strings.Replace(serviceURL.Host, string(api.ServiceMono)+api.TestingPlatform, host, 1) _, err = mono.Init(serviceURL, nil).Users.AddUser(params) - require.NoError(s.t, err, "Error creating new user") + require.NoError(s.T, err, "Error creating new user") p := s.Spawn(tagsuite.Auth, "--username", username, "--password", password) p.Expect("logged in") @@ -465,7 +466,7 @@ func (s *Session) CreateNewUser() (string, string) { s.users = append(s.users, username) - return username, password + return userMeta } // NotifyProjectCreated indicates that the given project was created on the Platform and needs to @@ -493,7 +494,7 @@ func observeSendFn(s *Session) func(string, int, error) { return } - s.t.Fatalf("Could not send data to terminal\nerror: %v", err) + s.T.Fatalf("Could not send data to terminal\nerror: %v", err) } } @@ -542,7 +543,7 @@ No logs "Z": sectionEnd, }, nil) if err != nil { - s.t.Fatalf("Parsing template failed: %s", errs.JoinMessage(err)) + s.T.Fatalf("Parsing template failed: %s", errs.JoinMessage(err)) } return v @@ -557,7 +558,7 @@ func (s *Session) Close() error { } cfg, err := config.NewCustom(s.Dirs.Config, singlethread.New(), true) - require.NoError(s.t, err, "Could not read e2e session configuration: %s", errs.JoinMessage(err)) + require.NoError(s.T, err, "Could not read e2e session configuration: %s", errs.JoinMessage(err)) if !s.retainDirs { defer s.Dirs.Close() @@ -566,7 +567,7 @@ func (s *Session) Close() error { s.spawned = []*SpawnedCmd{} if os.Getenv("PLATFORM_API_TOKEN") == "" { - s.t.Log("PLATFORM_API_TOKEN env var not set, not running suite tear down") + s.T.Log("PLATFORM_API_TOKEN env var not set, not running suite tear down") return nil } @@ -596,7 +597,7 @@ func (s *Session) Close() error { if runtime.GOOS == "linux" { projects, err := getProjects(org, auth) if err != nil { - s.t.Errorf("Could not fetch projects: %v", errs.JoinMessage(err)) + s.T.Errorf("Could not fetch projects: %v", errs.JoinMessage(err)) } for _, proj := range projects { if strfmt.IsUUID(proj.Name) { @@ -609,14 +610,14 @@ func (s *Session) Close() error { for _, proj := range s.createdProjects { err := model.DeleteProject(proj.Owner, proj.Project, auth) if err != nil { - s.t.Errorf("Could not delete project %s: %v", proj.Project, errs.JoinMessage(err)) + s.T.Errorf("Could not delete project %s: %v", proj.Project, errs.JoinMessage(err)) } } for _, user := range s.users { - err := cleanUser(s.t, user, auth) + err := cleanUser(s.T, user, auth) if err != nil { - s.t.Errorf("Could not delete user %s: %v", user, errs.JoinMessage(err)) + s.T.Errorf("Could not delete user %s: %v", user, errs.JoinMessage(err)) } } @@ -627,14 +628,14 @@ func (s *Session) Close() error { if runtime.GOOS != "windows" { installPath, err := installation.InstallPathForBranch("release") if err != nil { - s.t.Errorf("Could not get install path: %v", errs.JoinMessage(err)) + s.T.Errorf("Could not get install path: %v", errs.JoinMessage(err)) } binDir := filepath.Join(installPath, "bin") ss := bash.SubShell{} err = ss.WriteUserEnv(cfg, map[string]string{"PATH": binDir}, sscommon.InstallID, false) if err != nil { - s.t.Errorf("Could not clean user env: %v", errs.JoinMessage(err)) + s.T.Errorf("Could not clean user env: %v", errs.JoinMessage(err)) } } @@ -758,7 +759,7 @@ var errorOrPanicRegex = regexp.MustCompile(`(?:\[ERR:|Panic:)`) func (s *Session) detectLogErrors() { for _, path := range s.LogFiles() { if contents := string(fileutils.ReadFileUnsafe(path)); errorOrPanicRegex.MatchString(contents) { - s.t.Errorf("Found error and/or panic in log file %s\nIf this was expected, call session.IgnoreLogErrors() to avoid this check\nLog contents:\n%s", path, contents) + s.T.Errorf("Found error and/or panic in log file %s\nIf this was expected, call session.IgnoreLogErrors() to avoid this check\nLog contents:\n%s", path, contents) } } } @@ -769,7 +770,7 @@ func (s *Session) SetupRCFile() { } cfg, err := config.New() - require.NoError(s.t, err) + require.NoError(s.T, err) s.SetupRCFileCustom(subshell.New(cfg)) } @@ -780,14 +781,14 @@ func (s *Session) SetupRCFileCustom(subshell subshell.SubShell) { } rcFile, err := subshell.RcFile() - require.NoError(s.t, err) + require.NoError(s.T, err) if fileutils.TargetExists(filepath.Join(s.Dirs.HomeDir, filepath.Base(rcFile))) { err = fileutils.CopyFile(rcFile, filepath.Join(s.Dirs.HomeDir, filepath.Base(rcFile))) } else { err = fileutils.Touch(rcFile) } - require.NoError(s.t, err) + require.NoError(s.T, err) } func RunningOnCI() bool { diff --git a/internal/testhelpers/tagsuite/tagsuite.go b/internal/testhelpers/tagsuite/tagsuite.go index 2fb0fe4783..6172c35d39 100644 --- a/internal/testhelpers/tagsuite/tagsuite.go +++ b/internal/testhelpers/tagsuite/tagsuite.go @@ -54,6 +54,7 @@ const ( Progress = "progress" Projects = "projects" Projectfile = "projectfile" + Publish = "publish" Pull = "pull" Push = "push" Python = "python" diff --git a/pkg/platform/api/buildplanner/request/buildexpression.go b/pkg/platform/api/buildplanner/request/buildexpression.go index 2f420449d5..ddcae9e2d8 100644 --- a/pkg/platform/api/buildplanner/request/buildexpression.go +++ b/pkg/platform/api/buildplanner/request/buildexpression.go @@ -31,6 +31,6 @@ query ($commitID: ID!) { ` } -func (b *buildScriptByCommitID) Vars() map[string]interface{} { - return b.vars +func (b *buildScriptByCommitID) Vars() (map[string]interface{}, error) { + return b.vars, nil } diff --git a/pkg/platform/api/buildplanner/request/commit.go b/pkg/platform/api/buildplanner/request/commit.go index 2bb0fbc9d3..e5d022a110 100644 --- a/pkg/platform/api/buildplanner/request/commit.go +++ b/pkg/platform/api/buildplanner/request/commit.go @@ -180,6 +180,6 @@ query ($commitID: ID!) { ` } -func (b *buildPlanByCommitID) Vars() map[string]interface{} { - return b.vars +func (b *buildPlanByCommitID) Vars() (map[string]interface{}, error) { + return b.vars, nil } diff --git a/pkg/platform/api/buildplanner/request/createproject.go b/pkg/platform/api/buildplanner/request/createproject.go index 81551b7d8b..221f9f86ff 100644 --- a/pkg/platform/api/buildplanner/request/createproject.go +++ b/pkg/platform/api/buildplanner/request/createproject.go @@ -52,6 +52,6 @@ mutation ($organization: String!, $project: String!, $private: Boolean!, $expr: }` } -func (c *createProject) Vars() map[string]interface{} { - return c.vars +func (c *createProject) Vars() (map[string]interface{}, error) { + return c.vars, nil } diff --git a/pkg/platform/api/buildplanner/request/mergecommit.go b/pkg/platform/api/buildplanner/request/mergecommit.go index d4ce1ace25..413432744e 100644 --- a/pkg/platform/api/buildplanner/request/mergecommit.go +++ b/pkg/platform/api/buildplanner/request/mergecommit.go @@ -71,6 +71,6 @@ mutation ($organization: String!, $project: String!, $targetRef: String!, $other ` } -func (b *mergeCommit) Vars() map[string]interface{} { - return b.vars +func (b *mergeCommit) Vars() (map[string]interface{}, error) { + return b.vars, nil } diff --git a/pkg/platform/api/buildplanner/request/project.go b/pkg/platform/api/buildplanner/request/project.go index b330d28d34..0948a7fa64 100644 --- a/pkg/platform/api/buildplanner/request/project.go +++ b/pkg/platform/api/buildplanner/request/project.go @@ -195,6 +195,6 @@ query ($commitID: String!, $organization: String!, $project: String!) { ` } -func (b *buildPlanByProject) Vars() map[string]interface{} { - return b.vars +func (b *buildPlanByProject) Vars() (map[string]interface{}, error) { + return b.vars, nil } diff --git a/pkg/platform/api/buildplanner/request/revertcommit.go b/pkg/platform/api/buildplanner/request/revertcommit.go index 70c0829f7a..9cbe101ecc 100644 --- a/pkg/platform/api/buildplanner/request/revertcommit.go +++ b/pkg/platform/api/buildplanner/request/revertcommit.go @@ -74,6 +74,6 @@ mutation ($organization: String!, $project: String!, $commitId: String!, $target }` } -func (r *revertCommit) Vars() map[string]interface{} { - return r.vars +func (r *revertCommit) Vars() (map[string]interface{}, error) { + return r.vars, nil } diff --git a/pkg/platform/api/buildplanner/request/stagecommit.go b/pkg/platform/api/buildplanner/request/stagecommit.go index 75363eda17..5af02cdd24 100644 --- a/pkg/platform/api/buildplanner/request/stagecommit.go +++ b/pkg/platform/api/buildplanner/request/stagecommit.go @@ -65,6 +65,6 @@ mutation ($organization: String!, $project: String!, $parentCommit: ID, $descrip ` } -func (b *buildPlanByStageCommit) Vars() map[string]interface{} { - return b.vars +func (b *buildPlanByStageCommit) Vars() (map[string]interface{}, error) { + return b.vars, nil } diff --git a/pkg/platform/api/graphql/model/model.go b/pkg/platform/api/graphql/model/model.go index 2d2dd52fc5..fae5823f19 100644 --- a/pkg/platform/api/graphql/model/model.go +++ b/pkg/platform/api/graphql/model/model.go @@ -9,6 +9,11 @@ const ( DateFormat = "2006-01-02" ) +type ErrorResponse struct { + Error string `json:"error,omitempty"` + Message string `json:"message,omitempty"` +} + type Time struct { time.Time } diff --git a/pkg/platform/api/graphql/model/publish.go b/pkg/platform/api/graphql/model/publish.go new file mode 100644 index 0000000000..9599ba2455 --- /dev/null +++ b/pkg/platform/api/graphql/model/publish.go @@ -0,0 +1,10 @@ +package model + +type PublishResult struct { + Publish struct { + ErrorResponse + IngredientID string `json:"ingredientID"` + IngredientVersionID string `json:"ingredientVersionID"` + Revision int `json:"revision"` + } `json:"publish"` +} diff --git a/pkg/platform/api/graphql/request/organization.go b/pkg/platform/api/graphql/request/organization.go index 64a6c1842a..5a2c05109c 100644 --- a/pkg/platform/api/graphql/request/organization.go +++ b/pkg/platform/api/graphql/request/organization.go @@ -1,10 +1,12 @@ package request -import "github.com/go-openapi/strfmt" +import ( + "github.com/go-openapi/strfmt" +) // OrganizationsByIDs returns the query for retrieving orgs by ids func OrganizationsByIDs(orgIDs []strfmt.UUID) *organizationByIDs { - return &organizationByIDs{map[string]interface{}{ + return &organizationByIDs{vars: map[string]interface{}{ "organization_ids": orgIDs, }} } @@ -24,13 +26,13 @@ func (p *organizationByIDs) Query() string { ` } -func (p *organizationByIDs) Vars() map[string]interface{} { - return p.vars +func (p *organizationByIDs) Vars() (map[string]interface{}, error) { + return p.vars, nil } // OrganizationsByName returns the query for retrieving org by name func OrganizationsByName(name string) *organizationByName { - return &organizationByName{map[string]interface{}{ + return &organizationByName{vars: map[string]interface{}{ "name": name, }} } @@ -49,6 +51,6 @@ func (p *organizationByName) Query() string { }` } -func (p *organizationByName) Vars() map[string]interface{} { - return p.vars +func (p *organizationByName) Vars() (map[string]interface{}, error) { + return p.vars, nil } diff --git a/pkg/platform/api/graphql/request/project.go b/pkg/platform/api/graphql/request/project.go index 6d39b72353..c065dcc033 100644 --- a/pkg/platform/api/graphql/request/project.go +++ b/pkg/platform/api/graphql/request/project.go @@ -1,7 +1,7 @@ package request func ProjectByOrgAndName(org string, project string) *projectByOrgAndName { - return &projectByOrgAndName{map[string]interface{}{ + return &projectByOrgAndName{vars: map[string]interface{}{ "org": org, "name": project, }} @@ -45,6 +45,6 @@ func (p *projectByOrgAndName) Query() string { ` } -func (p *projectByOrgAndName) Vars() map[string]interface{} { - return p.vars +func (p *projectByOrgAndName) Vars() (map[string]interface{}, error) { + return p.vars, nil } diff --git a/pkg/platform/api/graphql/request/publish.go b/pkg/platform/api/graphql/request/publish.go new file mode 100644 index 0000000000..ce88286f51 --- /dev/null +++ b/pkg/platform/api/graphql/request/publish.go @@ -0,0 +1,203 @@ +package request + +import ( + "bytes" + "encoding/json" + "errors" + "os" + + "github.com/ActiveState/cli/internal/errs" + "github.com/ActiveState/cli/internal/fileutils" + "github.com/ActiveState/cli/internal/gqlclient" + "github.com/ActiveState/cli/internal/locale" + "gopkg.in/yaml.v3" +) + +func Publish(vars PublishVariables, filepath string) (*PublishInput, error) { + var f *os.File + if filepath != "" { + var err error + f, err = os.Open(filepath) + if err != nil { + if errors.Is(err, os.ErrNotExist) { + return nil, locale.WrapInputError(err, "err_upload_file_not_found", "Could not find file at {{.V0}}", filepath) + } + return nil, errs.Wrap(err, "Could not open file %s", filepath) + } + + checksum, err := fileutils.Sha256Hash(filepath) + if err != nil { + return nil, locale.WrapError(err, "err_upload_file_checksum", "Could not calculate checksum for file") + } + + vars.FileChecksum = checksum + } + + return &PublishInput{ + Variables: vars, + file: f, + }, nil +} + +// PublishVariables holds the input variables +// It is ultimately used as the input for the graphql query, but before that we may want to present the data to the user +// which is done with yaml. As such the yaml tags are used for representing data to the user, and the json is used for +// inputs to graphql. +type PublishVariables struct { + Name string `yaml:"name" json:"-"` // User representation only + Namespace string `yaml:"namespace" json:"-"` // User representation only + Version string `yaml:"version" json:"version"` + Description string `yaml:"description" json:"description"` + + // Optional + Authors []PublishVariableAuthor `yaml:"authors,omitempty" json:"authors,omitempty"` + Dependencies []PublishVariableDep `yaml:"dependencies,omitempty" json:"dependencies,omitempty"` + + // GraphQL input only + Path string `yaml:"-" json:"path"` + File *string `yaml:"-" json:"file"` // Intentionally a pointer that never gets set as the server expects this to always be nil + FileChecksum string `yaml:"-" json:"file_checksum"` +} + +type PublishVariableAuthor struct { + Name string `yaml:"name,omitempty" json:"name,omitempty"` + Email string `yaml:"email,omitempty" json:"email,omitempty"` + Websites []string `yaml:"websites,omitempty" json:"websites,omitempty"` +} + +type PublishVariableDep struct { + Dependency + Conditions []Dependency `yaml:"conditions,omitempty" json:"conditions,omitempty"` +} + +type Dependency struct { + Name string `yaml:"name" json:"name"` + Namespace string `yaml:"namespace" json:"namespace"` + VersionRequirements string `yaml:"versionRequirements,omitempty" json:"versionRequirements,omitempty"` +} + +// ExampleAuthorVariables is used for presenting sample data to the user, it's not used for graphql input +type ExampleAuthorVariables struct { + Authors []PublishVariableAuthor `yaml:"authors,omitempty"` +} + +// ExampleDepVariables is used for presenting sample data to the user, it's not used for graphql input +type ExampleDepVariables struct { + Dependencies []PublishVariableDep `yaml:"dependencies,omitempty"` +} + +func (p PublishVariables) MarshalYaml(includeExample bool) ([]byte, error) { + v, err := yaml.Marshal(p) + if err != nil { + return nil, errs.Wrap(err, "Could not marshal publish request") + } + + if includeExample { + if len(p.Authors) == 0 { + exampleAuthorYaml, err := yaml.Marshal(exampleAuthor) + if err != nil { + return nil, errs.Wrap(err, "Could not marshal example author") + } + exampleAuthorYaml = append([]byte("# "), bytes.ReplaceAll(exampleAuthorYaml, []byte("\n"), []byte("\n# "))...) + exampleAuthorYaml = append([]byte("\n## Optional -- Example Author:\n"), exampleAuthorYaml...) + v = append(v, exampleAuthorYaml...) + } + + if len(p.Dependencies) == 0 { + exampleDepYaml, err := yaml.Marshal(exampleDep) + if err != nil { + return nil, errs.Wrap(err, "Could not marshal example deps") + } + exampleDepYaml = append([]byte("# "), bytes.ReplaceAll(exampleDepYaml, []byte("\n"), []byte("\n# "))...) + exampleDepYaml = append([]byte("\n## Optional -- Example Dependencies:\n"), exampleDepYaml...) + v = append(v, exampleDepYaml...) + } + } + + return v, nil +} + +func (p *PublishVariables) UnmarshalYaml(b []byte) error { + return yaml.Unmarshal(b, p) +} + +var exampleAuthor = ExampleAuthorVariables{[]PublishVariableAuthor{{ + Name: "John Doe", + Email: "johndoe@domain.tld", + Websites: []string{"https://example.com"}, +}}} + +var exampleDep = ExampleDepVariables{[]PublishVariableDep{{ + Dependency{ + Name: "example-linux-specific-ingredient", + Namespace: "shared", + VersionRequirements: ">= 1.0.0", + }, + []Dependency{ + { + Name: "linux", + Namespace: "kernel", + VersionRequirements: ">= 0", + }, + }, +}}} + +type PublishInput struct { + file *os.File + Variables PublishVariables +} + +func (p *PublishInput) Close() error { + return p.file.Close() +} + +func (p *PublishInput) Files() []gqlclient.File { + if p.file == nil { + return []gqlclient.File{} + } + return []gqlclient.File{ + { + Field: "variables.input.file", // this needs to map to the graphql input, eg. variables.input.file + Name: p.Variables.Name, + R: p.file, + }, + } +} + +func (p *PublishInput) Query() string { + return ` + mutation ($input: PublishInput!) { + publish(input: $input) { + ... on CreatedIngredientVersionRevision { + ingredientID + ingredientVersionID + revision + } + ... on Error{ + __typename + error: message + } + } + } +` +} + +func (p *PublishInput) Vars() (map[string]interface{}, error) { + // Path is only used when sending data to graphql, so rather than updating it multiple times as source vars + // are changed we just set it here once prior to its use. + p.Variables.Path = p.Variables.Namespace + "/" + p.Variables.Name + + // Convert our json data to a map + vars, err := json.Marshal(p.Variables) + if err != nil { + return nil, errs.Wrap(err, "Could not marshal publish input vars") + } + varMap := make(map[string]interface{}) + if err := json.Unmarshal(vars, &varMap); err != nil { + return nil, errs.Wrap(err, "Could not unmarshal publish input vars") + } + + return map[string]interface{}{ + "input": varMap, + }, nil +} diff --git a/pkg/platform/api/graphql/request/vcs.go b/pkg/platform/api/graphql/request/vcs.go index f6f662a2a7..70dec20ce0 100644 --- a/pkg/platform/api/graphql/request/vcs.go +++ b/pkg/platform/api/graphql/request/vcs.go @@ -5,7 +5,7 @@ import ( ) func CheckpointByCommit(commitID strfmt.UUID) *checkpointByCommit { - return &checkpointByCommit{map[string]interface{}{ + return &checkpointByCommit{vars: map[string]interface{}{ "commit_id": commitID, }} } @@ -30,6 +30,6 @@ func (p *checkpointByCommit) Query() string { ` } -func (p *checkpointByCommit) Vars() map[string]interface{} { - return p.vars +func (p *checkpointByCommit) Vars() (map[string]interface{}, error) { + return p.vars, nil } diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_parameters.go index fe61bcfa49..453f5d1256 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_parameters.go @@ -54,12 +54,10 @@ func NewAddAuthorParamsWithHTTPClient(client *http.Client) *AddAuthorParams { } } -/* -AddAuthorParams contains all the parameters to send to the API endpoint +/* AddAuthorParams contains all the parameters to send to the API endpoint + for the add author operation. - for the add author operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddAuthorParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_responses.go index c66d078193..9ed9cfcd6f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_responses.go @@ -52,8 +52,7 @@ func NewAddAuthorCreated() *AddAuthorCreated { return &AddAuthorCreated{} } -/* -AddAuthorCreated describes a response with status code 201, with default header values. +/* AddAuthorCreated describes a response with status code 201, with default header values. The added author */ @@ -85,8 +84,7 @@ func NewAddAuthorBadRequest() *AddAuthorBadRequest { return &AddAuthorBadRequest{} } -/* -AddAuthorBadRequest describes a response with status code 400, with default header values. +/* AddAuthorBadRequest describes a response with status code 400, with default header values. If the author is invalid */ @@ -120,8 +118,7 @@ func NewAddAuthorDefault(code int) *AddAuthorDefault { } } -/* -AddAuthorDefault describes a response with status code -1, with default header values. +/* AddAuthorDefault describes a response with status code -1, with default header values. If there is an error processing the author */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_parameters.go index 0f41bbb8f9..0cf7dc6804 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_parameters.go @@ -54,12 +54,10 @@ func NewAddBuildFlagParamsWithHTTPClient(client *http.Client) *AddBuildFlagParam } } -/* -AddBuildFlagParams contains all the parameters to send to the API endpoint +/* AddBuildFlagParams contains all the parameters to send to the API endpoint + for the add build flag operation. - for the add build flag operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddBuildFlagParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_responses.go index cd438fc91e..198b5b2381 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_responses.go @@ -52,8 +52,7 @@ func NewAddBuildFlagCreated() *AddBuildFlagCreated { return &AddBuildFlagCreated{} } -/* -AddBuildFlagCreated describes a response with status code 201, with default header values. +/* AddBuildFlagCreated describes a response with status code 201, with default header values. The added build flag */ @@ -85,8 +84,7 @@ func NewAddBuildFlagBadRequest() *AddBuildFlagBadRequest { return &AddBuildFlagBadRequest{} } -/* -AddBuildFlagBadRequest describes a response with status code 400, with default header values. +/* AddBuildFlagBadRequest describes a response with status code 400, with default header values. If the build flag is invalid */ @@ -120,8 +118,7 @@ func NewAddBuildFlagDefault(code int) *AddBuildFlagDefault { } } -/* -AddBuildFlagDefault describes a response with status code -1, with default header values. +/* AddBuildFlagDefault describes a response with status code -1, with default header values. If there is an error processing the build flag */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_parameters.go index a2fd58e5b1..50643b1bdf 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_parameters.go @@ -54,12 +54,10 @@ func NewAddBuildFlagRevisionParamsWithHTTPClient(client *http.Client) *AddBuildF } } -/* -AddBuildFlagRevisionParams contains all the parameters to send to the API endpoint +/* AddBuildFlagRevisionParams contains all the parameters to send to the API endpoint + for the add build flag revision operation. - for the add build flag revision operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddBuildFlagRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_responses.go index ce2b8d03ef..04a3dc3927 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_responses.go @@ -52,8 +52,7 @@ func NewAddBuildFlagRevisionOK() *AddBuildFlagRevisionOK { return &AddBuildFlagRevisionOK{} } -/* -AddBuildFlagRevisionOK describes a response with status code 200, with default header values. +/* AddBuildFlagRevisionOK describes a response with status code 200, with default header values. The updated state of the build flag */ @@ -85,8 +84,7 @@ func NewAddBuildFlagRevisionBadRequest() *AddBuildFlagRevisionBadRequest { return &AddBuildFlagRevisionBadRequest{} } -/* -AddBuildFlagRevisionBadRequest describes a response with status code 400, with default header values. +/* AddBuildFlagRevisionBadRequest describes a response with status code 400, with default header values. If the build flag revision is invalid */ @@ -120,8 +118,7 @@ func NewAddBuildFlagRevisionDefault(code int) *AddBuildFlagRevisionDefault { } } -/* -AddBuildFlagRevisionDefault describes a response with status code -1, with default header values. +/* AddBuildFlagRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_parameters.go index 0e8fdce3f5..3dd78aa8f1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_parameters.go @@ -54,12 +54,10 @@ func NewAddBuildScriptParamsWithHTTPClient(client *http.Client) *AddBuildScriptP } } -/* -AddBuildScriptParams contains all the parameters to send to the API endpoint +/* AddBuildScriptParams contains all the parameters to send to the API endpoint + for the add build script operation. - for the add build script operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddBuildScriptParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_responses.go index 04fb7cf2d2..54123fe3cd 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_responses.go @@ -52,8 +52,7 @@ func NewAddBuildScriptCreated() *AddBuildScriptCreated { return &AddBuildScriptCreated{} } -/* -AddBuildScriptCreated describes a response with status code 201, with default header values. +/* AddBuildScriptCreated describes a response with status code 201, with default header values. The added build script */ @@ -85,8 +84,7 @@ func NewAddBuildScriptBadRequest() *AddBuildScriptBadRequest { return &AddBuildScriptBadRequest{} } -/* -AddBuildScriptBadRequest describes a response with status code 400, with default header values. +/* AddBuildScriptBadRequest describes a response with status code 400, with default header values. If the build script is invalid */ @@ -120,8 +118,7 @@ func NewAddBuildScriptDefault(code int) *AddBuildScriptDefault { } } -/* -AddBuildScriptDefault describes a response with status code -1, with default header values. +/* AddBuildScriptDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_parameters.go index 818d638ccb..436cef65af 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_parameters.go @@ -54,12 +54,10 @@ func NewAddCPUArchitectureCPUExtensionParamsWithHTTPClient(client *http.Client) } } -/* -AddCPUArchitectureCPUExtensionParams contains all the parameters to send to the API endpoint +/* AddCPUArchitectureCPUExtensionParams contains all the parameters to send to the API endpoint + for the add Cpu architecture Cpu extension operation. - for the add Cpu architecture Cpu extension operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddCPUArchitectureCPUExtensionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_responses.go index d9a5956715..0ad15abd63 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_responses.go @@ -52,8 +52,7 @@ func NewAddCPUArchitectureCPUExtensionOK() *AddCPUArchitectureCPUExtensionOK { return &AddCPUArchitectureCPUExtensionOK{} } -/* -AddCPUArchitectureCPUExtensionOK describes a response with status code 200, with default header values. +/* AddCPUArchitectureCPUExtensionOK describes a response with status code 200, with default header values. The CPU extension added to the kernel */ @@ -85,8 +84,7 @@ func NewAddCPUArchitectureCPUExtensionBadRequest() *AddCPUArchitectureCPUExtensi return &AddCPUArchitectureCPUExtensionBadRequest{} } -/* -AddCPUArchitectureCPUExtensionBadRequest describes a response with status code 400, with default header values. +/* AddCPUArchitectureCPUExtensionBadRequest describes a response with status code 400, with default header values. If the CPU extension ID doesn't exist */ @@ -120,8 +118,7 @@ func NewAddCPUArchitectureCPUExtensionDefault(code int) *AddCPUArchitectureCPUEx } } -/* -AddCPUArchitectureCPUExtensionDefault describes a response with status code -1, with default header values. +/* AddCPUArchitectureCPUExtensionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_parameters.go index 953e96377e..5dbb3e41f6 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_parameters.go @@ -54,12 +54,10 @@ func NewAddCPUArchitectureParamsWithHTTPClient(client *http.Client) *AddCPUArchi } } -/* -AddCPUArchitectureParams contains all the parameters to send to the API endpoint +/* AddCPUArchitectureParams contains all the parameters to send to the API endpoint + for the add Cpu architecture operation. - for the add Cpu architecture operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddCPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_responses.go index da18c6af77..48ad79c95b 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_responses.go @@ -52,8 +52,7 @@ func NewAddCPUArchitectureCreated() *AddCPUArchitectureCreated { return &AddCPUArchitectureCreated{} } -/* -AddCPUArchitectureCreated describes a response with status code 201, with default header values. +/* AddCPUArchitectureCreated describes a response with status code 201, with default header values. The added CPU architecture */ @@ -85,8 +84,7 @@ func NewAddCPUArchitectureBadRequest() *AddCPUArchitectureBadRequest { return &AddCPUArchitectureBadRequest{} } -/* -AddCPUArchitectureBadRequest describes a response with status code 400, with default header values. +/* AddCPUArchitectureBadRequest describes a response with status code 400, with default header values. If the CPU architecture is invalid */ @@ -120,8 +118,7 @@ func NewAddCPUArchitectureDefault(code int) *AddCPUArchitectureDefault { } } -/* -AddCPUArchitectureDefault describes a response with status code -1, with default header values. +/* AddCPUArchitectureDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_parameters.go index 3ad660d063..4c4487a744 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_parameters.go @@ -54,12 +54,10 @@ func NewAddCPUArchitectureRevisionParamsWithHTTPClient(client *http.Client) *Add } } -/* -AddCPUArchitectureRevisionParams contains all the parameters to send to the API endpoint +/* AddCPUArchitectureRevisionParams contains all the parameters to send to the API endpoint + for the add Cpu architecture revision operation. - for the add Cpu architecture revision operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddCPUArchitectureRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_responses.go index 53b88dbddb..70dfc0d16a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_responses.go @@ -52,8 +52,7 @@ func NewAddCPUArchitectureRevisionOK() *AddCPUArchitectureRevisionOK { return &AddCPUArchitectureRevisionOK{} } -/* -AddCPUArchitectureRevisionOK describes a response with status code 200, with default header values. +/* AddCPUArchitectureRevisionOK describes a response with status code 200, with default header values. The updated state of the CPU architecture */ @@ -85,8 +84,7 @@ func NewAddCPUArchitectureRevisionBadRequest() *AddCPUArchitectureRevisionBadReq return &AddCPUArchitectureRevisionBadRequest{} } -/* -AddCPUArchitectureRevisionBadRequest describes a response with status code 400, with default header values. +/* AddCPUArchitectureRevisionBadRequest describes a response with status code 400, with default header values. If the CPU architecture revision is invalid */ @@ -120,8 +118,7 @@ func NewAddCPUArchitectureRevisionDefault(code int) *AddCPUArchitectureRevisionD } } -/* -AddCPUArchitectureRevisionDefault describes a response with status code -1, with default header values. +/* AddCPUArchitectureRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_parameters.go index 1ea1d93e7a..7be194b0dc 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_parameters.go @@ -54,12 +54,10 @@ func NewAddCPUExtensionParamsWithHTTPClient(client *http.Client) *AddCPUExtensio } } -/* -AddCPUExtensionParams contains all the parameters to send to the API endpoint +/* AddCPUExtensionParams contains all the parameters to send to the API endpoint + for the add Cpu extension operation. - for the add Cpu extension operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddCPUExtensionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_responses.go index c2ee74a792..e61b17009b 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_responses.go @@ -52,8 +52,7 @@ func NewAddCPUExtensionCreated() *AddCPUExtensionCreated { return &AddCPUExtensionCreated{} } -/* -AddCPUExtensionCreated describes a response with status code 201, with default header values. +/* AddCPUExtensionCreated describes a response with status code 201, with default header values. The added CPU extension */ @@ -85,8 +84,7 @@ func NewAddCPUExtensionBadRequest() *AddCPUExtensionBadRequest { return &AddCPUExtensionBadRequest{} } -/* -AddCPUExtensionBadRequest describes a response with status code 400, with default header values. +/* AddCPUExtensionBadRequest describes a response with status code 400, with default header values. If the CPU extension is invalid */ @@ -120,8 +118,7 @@ func NewAddCPUExtensionDefault(code int) *AddCPUExtensionDefault { } } -/* -AddCPUExtensionDefault describes a response with status code -1, with default header values. +/* AddCPUExtensionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_parameters.go index c70bc3a0b1..80e9d3a7ee 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_parameters.go @@ -54,12 +54,10 @@ func NewAddCPUExtensionRevisionParamsWithHTTPClient(client *http.Client) *AddCPU } } -/* -AddCPUExtensionRevisionParams contains all the parameters to send to the API endpoint +/* AddCPUExtensionRevisionParams contains all the parameters to send to the API endpoint + for the add Cpu extension revision operation. - for the add Cpu extension revision operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddCPUExtensionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_responses.go index 38b1e0387d..4ce642997a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_responses.go @@ -52,8 +52,7 @@ func NewAddCPUExtensionRevisionOK() *AddCPUExtensionRevisionOK { return &AddCPUExtensionRevisionOK{} } -/* -AddCPUExtensionRevisionOK describes a response with status code 200, with default header values. +/* AddCPUExtensionRevisionOK describes a response with status code 200, with default header values. The updated state of the CPU extension */ @@ -85,8 +84,7 @@ func NewAddCPUExtensionRevisionBadRequest() *AddCPUExtensionRevisionBadRequest { return &AddCPUExtensionRevisionBadRequest{} } -/* -AddCPUExtensionRevisionBadRequest describes a response with status code 400, with default header values. +/* AddCPUExtensionRevisionBadRequest describes a response with status code 400, with default header values. If the CPU extension revision is invalid */ @@ -120,8 +118,7 @@ func NewAddCPUExtensionRevisionDefault(code int) *AddCPUExtensionRevisionDefault } } -/* -AddCPUExtensionRevisionDefault describes a response with status code -1, with default header values. +/* AddCPUExtensionRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_parameters.go index 558f68e44e..7534c9554e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_parameters.go @@ -54,12 +54,10 @@ func NewAddGPUArchitectureParamsWithHTTPClient(client *http.Client) *AddGPUArchi } } -/* -AddGPUArchitectureParams contains all the parameters to send to the API endpoint +/* AddGPUArchitectureParams contains all the parameters to send to the API endpoint + for the add g p u architecture operation. - for the add g p u architecture operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddGPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_responses.go index de648b0e51..e41908a28a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_responses.go @@ -52,8 +52,7 @@ func NewAddGPUArchitectureCreated() *AddGPUArchitectureCreated { return &AddGPUArchitectureCreated{} } -/* -AddGPUArchitectureCreated describes a response with status code 201, with default header values. +/* AddGPUArchitectureCreated describes a response with status code 201, with default header values. The added GPU architecture */ @@ -85,8 +84,7 @@ func NewAddGPUArchitectureBadRequest() *AddGPUArchitectureBadRequest { return &AddGPUArchitectureBadRequest{} } -/* -AddGPUArchitectureBadRequest describes a response with status code 400, with default header values. +/* AddGPUArchitectureBadRequest describes a response with status code 400, with default header values. If the GPU architecture is invalid */ @@ -120,8 +118,7 @@ func NewAddGPUArchitectureDefault(code int) *AddGPUArchitectureDefault { } } -/* -AddGPUArchitectureDefault describes a response with status code -1, with default header values. +/* AddGPUArchitectureDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_parameters.go index bff986276f..273c872a9e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_parameters.go @@ -54,12 +54,10 @@ func NewAddGPUArchitectureRevisionParamsWithHTTPClient(client *http.Client) *Add } } -/* -AddGPUArchitectureRevisionParams contains all the parameters to send to the API endpoint +/* AddGPUArchitectureRevisionParams contains all the parameters to send to the API endpoint + for the add g p u architecture revision operation. - for the add g p u architecture revision operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddGPUArchitectureRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_responses.go index 683521dc93..dfd70f3c22 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_responses.go @@ -52,8 +52,7 @@ func NewAddGPUArchitectureRevisionOK() *AddGPUArchitectureRevisionOK { return &AddGPUArchitectureRevisionOK{} } -/* -AddGPUArchitectureRevisionOK describes a response with status code 200, with default header values. +/* AddGPUArchitectureRevisionOK describes a response with status code 200, with default header values. The updated state of the GPU architecture */ @@ -85,8 +84,7 @@ func NewAddGPUArchitectureRevisionBadRequest() *AddGPUArchitectureRevisionBadReq return &AddGPUArchitectureRevisionBadRequest{} } -/* -AddGPUArchitectureRevisionBadRequest describes a response with status code 400, with default header values. +/* AddGPUArchitectureRevisionBadRequest describes a response with status code 400, with default header values. If the GPU architecture revision is invalid */ @@ -120,8 +118,7 @@ func NewAddGPUArchitectureRevisionDefault(code int) *AddGPUArchitectureRevisionD } } -/* -AddGPUArchitectureRevisionDefault describes a response with status code -1, with default header values. +/* AddGPUArchitectureRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_parameters.go index 06a0bde7dd..4010d94d2d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_parameters.go @@ -54,12 +54,10 @@ func NewAddImageParamsWithHTTPClient(client *http.Client) *AddImageParams { } } -/* -AddImageParams contains all the parameters to send to the API endpoint +/* AddImageParams contains all the parameters to send to the API endpoint + for the add image operation. - for the add image operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddImageParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_responses.go index c4a6908cdc..bafdcf526e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_responses.go @@ -52,8 +52,7 @@ func NewAddImageCreated() *AddImageCreated { return &AddImageCreated{} } -/* -AddImageCreated describes a response with status code 201, with default header values. +/* AddImageCreated describes a response with status code 201, with default header values. The added image */ @@ -85,8 +84,7 @@ func NewAddImageBadRequest() *AddImageBadRequest { return &AddImageBadRequest{} } -/* -AddImageBadRequest describes a response with status code 400, with default header values. +/* AddImageBadRequest describes a response with status code 400, with default header values. If the image is invalid */ @@ -120,8 +118,7 @@ func NewAddImageDefault(code int) *AddImageDefault { } } -/* -AddImageDefault describes a response with status code -1, with default header values. +/* AddImageDefault describes a response with status code -1, with default header values. If there is an error processing the image */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_parameters.go index 9ff2a28e23..7fb2419d48 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_parameters.go @@ -54,12 +54,10 @@ func NewAddImageRevisionParamsWithHTTPClient(client *http.Client) *AddImageRevis } } -/* -AddImageRevisionParams contains all the parameters to send to the API endpoint +/* AddImageRevisionParams contains all the parameters to send to the API endpoint + for the add image revision operation. - for the add image revision operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddImageRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_responses.go index 5dd479b893..70c8040a94 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_responses.go @@ -52,8 +52,7 @@ func NewAddImageRevisionOK() *AddImageRevisionOK { return &AddImageRevisionOK{} } -/* -AddImageRevisionOK describes a response with status code 200, with default header values. +/* AddImageRevisionOK describes a response with status code 200, with default header values. The updated state of the image */ @@ -85,8 +84,7 @@ func NewAddImageRevisionBadRequest() *AddImageRevisionBadRequest { return &AddImageRevisionBadRequest{} } -/* -AddImageRevisionBadRequest describes a response with status code 400, with default header values. +/* AddImageRevisionBadRequest describes a response with status code 400, with default header values. If the image revision is invalid */ @@ -120,8 +118,7 @@ func NewAddImageRevisionDefault(code int) *AddImageRevisionDefault { } } -/* -AddImageRevisionDefault describes a response with status code -1, with default header values. +/* AddImageRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_parameters.go index c45ca503ac..a0fc0dba59 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_parameters.go @@ -55,12 +55,10 @@ func NewAddIngredientAndVersionsParamsWithHTTPClient(client *http.Client) *AddIn } } -/* -AddIngredientAndVersionsParams contains all the parameters to send to the API endpoint +/* AddIngredientAndVersionsParams contains all the parameters to send to the API endpoint + for the add ingredient and versions operation. - for the add ingredient and versions operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddIngredientAndVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_responses.go index b0f3ddd22d..61960850b4 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_responses.go @@ -52,8 +52,7 @@ func NewAddIngredientAndVersionsCreated() *AddIngredientAndVersionsCreated { return &AddIngredientAndVersionsCreated{} } -/* -AddIngredientAndVersionsCreated describes a response with status code 201, with default header values. +/* AddIngredientAndVersionsCreated describes a response with status code 201, with default header values. The added ingredient versions. If any versions already existed, they will be returned as well. */ @@ -85,8 +84,7 @@ func NewAddIngredientAndVersionsBadRequest() *AddIngredientAndVersionsBadRequest return &AddIngredientAndVersionsBadRequest{} } -/* -AddIngredientAndVersionsBadRequest describes a response with status code 400, with default header values. +/* AddIngredientAndVersionsBadRequest describes a response with status code 400, with default header values. If the ingredient/version data is invalid */ @@ -120,8 +118,7 @@ func NewAddIngredientAndVersionsDefault(code int) *AddIngredientAndVersionsDefau } } -/* -AddIngredientAndVersionsDefault describes a response with status code -1, with default header values. +/* AddIngredientAndVersionsDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_parameters.go index c5302e14a0..0ff6aac2e2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_parameters.go @@ -54,12 +54,10 @@ func NewAddIngredientOptionSetParamsWithHTTPClient(client *http.Client) *AddIngr } } -/* -AddIngredientOptionSetParams contains all the parameters to send to the API endpoint +/* AddIngredientOptionSetParams contains all the parameters to send to the API endpoint + for the add ingredient option set operation. - for the add ingredient option set operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddIngredientOptionSetParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_responses.go index d1c98a749c..6d0c4782ae 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_responses.go @@ -52,8 +52,7 @@ func NewAddIngredientOptionSetCreated() *AddIngredientOptionSetCreated { return &AddIngredientOptionSetCreated{} } -/* -AddIngredientOptionSetCreated describes a response with status code 201, with default header values. +/* AddIngredientOptionSetCreated describes a response with status code 201, with default header values. The added ingredient option set */ @@ -85,8 +84,7 @@ func NewAddIngredientOptionSetBadRequest() *AddIngredientOptionSetBadRequest { return &AddIngredientOptionSetBadRequest{} } -/* -AddIngredientOptionSetBadRequest describes a response with status code 400, with default header values. +/* AddIngredientOptionSetBadRequest describes a response with status code 400, with default header values. If the ingredient option set is invalid */ @@ -120,8 +118,7 @@ func NewAddIngredientOptionSetDefault(code int) *AddIngredientOptionSetDefault { } } -/* -AddIngredientOptionSetDefault describes a response with status code -1, with default header values. +/* AddIngredientOptionSetDefault describes a response with status code -1, with default header values. If there is an error processing the ingredient option set */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_parameters.go index 8b96060100..e6e873a481 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_parameters.go @@ -54,12 +54,10 @@ func NewAddIngredientOptionSetRevisionParamsWithHTTPClient(client *http.Client) } } -/* -AddIngredientOptionSetRevisionParams contains all the parameters to send to the API endpoint +/* AddIngredientOptionSetRevisionParams contains all the parameters to send to the API endpoint + for the add ingredient option set revision operation. - for the add ingredient option set revision operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddIngredientOptionSetRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_responses.go index d4751cdc84..fa39e94934 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_responses.go @@ -52,8 +52,7 @@ func NewAddIngredientOptionSetRevisionOK() *AddIngredientOptionSetRevisionOK { return &AddIngredientOptionSetRevisionOK{} } -/* -AddIngredientOptionSetRevisionOK describes a response with status code 200, with default header values. +/* AddIngredientOptionSetRevisionOK describes a response with status code 200, with default header values. The updated state of the ingredient option set */ @@ -85,8 +84,7 @@ func NewAddIngredientOptionSetRevisionBadRequest() *AddIngredientOptionSetRevisi return &AddIngredientOptionSetRevisionBadRequest{} } -/* -AddIngredientOptionSetRevisionBadRequest describes a response with status code 400, with default header values. +/* AddIngredientOptionSetRevisionBadRequest describes a response with status code 400, with default header values. If the ingredient option set revision is invalid */ @@ -120,8 +118,7 @@ func NewAddIngredientOptionSetRevisionDefault(code int) *AddIngredientOptionSetR } } -/* -AddIngredientOptionSetRevisionDefault describes a response with status code -1, with default header values. +/* AddIngredientOptionSetRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the ingredient option set revision */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_parameters.go index 13b600bfc0..d80c195374 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_parameters.go @@ -54,12 +54,10 @@ func NewAddIngredientParamsWithHTTPClient(client *http.Client) *AddIngredientPar } } -/* -AddIngredientParams contains all the parameters to send to the API endpoint +/* AddIngredientParams contains all the parameters to send to the API endpoint + for the add ingredient operation. - for the add ingredient operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddIngredientParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_responses.go index 0931855b72..eca11a58e2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_responses.go @@ -52,8 +52,7 @@ func NewAddIngredientCreated() *AddIngredientCreated { return &AddIngredientCreated{} } -/* -AddIngredientCreated describes a response with status code 201, with default header values. +/* AddIngredientCreated describes a response with status code 201, with default header values. The added ingredient */ @@ -85,8 +84,7 @@ func NewAddIngredientBadRequest() *AddIngredientBadRequest { return &AddIngredientBadRequest{} } -/* -AddIngredientBadRequest describes a response with status code 400, with default header values. +/* AddIngredientBadRequest describes a response with status code 400, with default header values. If the ingredient is invalid */ @@ -120,8 +118,7 @@ func NewAddIngredientDefault(code int) *AddIngredientDefault { } } -/* -AddIngredientDefault describes a response with status code -1, with default header values. +/* AddIngredientDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_parameters.go index a182155a47..24f140eba0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_parameters.go @@ -54,12 +54,10 @@ func NewAddIngredientVersionAuthorParamsWithHTTPClient(client *http.Client) *Add } } -/* -AddIngredientVersionAuthorParams contains all the parameters to send to the API endpoint +/* AddIngredientVersionAuthorParams contains all the parameters to send to the API endpoint + for the add ingredient version author operation. - for the add ingredient version author operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddIngredientVersionAuthorParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_responses.go index 88b5b29d8d..63f0d4d982 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_responses.go @@ -52,8 +52,7 @@ func NewAddIngredientVersionAuthorOK() *AddIngredientVersionAuthorOK { return &AddIngredientVersionAuthorOK{} } -/* -AddIngredientVersionAuthorOK describes a response with status code 200, with default header values. +/* AddIngredientVersionAuthorOK describes a response with status code 200, with default header values. The author added to the ingredient version */ @@ -85,8 +84,7 @@ func NewAddIngredientVersionAuthorBadRequest() *AddIngredientVersionAuthorBadReq return &AddIngredientVersionAuthorBadRequest{} } -/* -AddIngredientVersionAuthorBadRequest describes a response with status code 400, with default header values. +/* AddIngredientVersionAuthorBadRequest describes a response with status code 400, with default header values. If the author ID doesn't exist */ @@ -120,8 +118,7 @@ func NewAddIngredientVersionAuthorDefault(code int) *AddIngredientVersionAuthorD } } -/* -AddIngredientVersionAuthorDefault describes a response with status code -1, with default header values. +/* AddIngredientVersionAuthorDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_parameters.go index c2f36ce8fb..81496adda1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_parameters.go @@ -55,12 +55,10 @@ func NewAddIngredientVersionParamsWithHTTPClient(client *http.Client) *AddIngred } } -/* -AddIngredientVersionParams contains all the parameters to send to the API endpoint +/* AddIngredientVersionParams contains all the parameters to send to the API endpoint + for the add ingredient version operation. - for the add ingredient version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddIngredientVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_responses.go index 9160326124..0104b233aa 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_responses.go @@ -52,8 +52,7 @@ func NewAddIngredientVersionCreated() *AddIngredientVersionCreated { return &AddIngredientVersionCreated{} } -/* -AddIngredientVersionCreated describes a response with status code 201, with default header values. +/* AddIngredientVersionCreated describes a response with status code 201, with default header values. The added ingredient version */ @@ -85,8 +84,7 @@ func NewAddIngredientVersionBadRequest() *AddIngredientVersionBadRequest { return &AddIngredientVersionBadRequest{} } -/* -AddIngredientVersionBadRequest describes a response with status code 400, with default header values. +/* AddIngredientVersionBadRequest describes a response with status code 400, with default header values. If the ingredient version is invalid */ @@ -120,8 +118,7 @@ func NewAddIngredientVersionDefault(code int) *AddIngredientVersionDefault { } } -/* -AddIngredientVersionDefault describes a response with status code -1, with default header values. +/* AddIngredientVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_parameters.go index 3e81d691c4..6ddcd6f0a0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_parameters.go @@ -55,12 +55,10 @@ func NewAddIngredientVersionRevisionParamsWithHTTPClient(client *http.Client) *A } } -/* -AddIngredientVersionRevisionParams contains all the parameters to send to the API endpoint +/* AddIngredientVersionRevisionParams contains all the parameters to send to the API endpoint + for the add ingredient version revision operation. - for the add ingredient version revision operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddIngredientVersionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_responses.go index 1f45df8453..a6492bb5ab 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_responses.go @@ -52,8 +52,7 @@ func NewAddIngredientVersionRevisionOK() *AddIngredientVersionRevisionOK { return &AddIngredientVersionRevisionOK{} } -/* -AddIngredientVersionRevisionOK describes a response with status code 200, with default header values. +/* AddIngredientVersionRevisionOK describes a response with status code 200, with default header values. The updated state of the ingredient version */ @@ -85,8 +84,7 @@ func NewAddIngredientVersionRevisionBadRequest() *AddIngredientVersionRevisionBa return &AddIngredientVersionRevisionBadRequest{} } -/* -AddIngredientVersionRevisionBadRequest describes a response with status code 400, with default header values. +/* AddIngredientVersionRevisionBadRequest describes a response with status code 400, with default header values. If the ingredient version revision is invalid */ @@ -120,8 +118,7 @@ func NewAddIngredientVersionRevisionDefault(code int) *AddIngredientVersionRevis } } -/* -AddIngredientVersionRevisionDefault describes a response with status code -1, with default header values. +/* AddIngredientVersionRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_parameters.go index ff7349d297..e5be02cc99 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_parameters.go @@ -54,12 +54,10 @@ func NewAddKernelCPUArchitectureParamsWithHTTPClient(client *http.Client) *AddKe } } -/* -AddKernelCPUArchitectureParams contains all the parameters to send to the API endpoint +/* AddKernelCPUArchitectureParams contains all the parameters to send to the API endpoint + for the add kernel Cpu architecture operation. - for the add kernel Cpu architecture operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddKernelCPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_responses.go index 947c7f0c6e..667e979366 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_responses.go @@ -52,8 +52,7 @@ func NewAddKernelCPUArchitectureOK() *AddKernelCPUArchitectureOK { return &AddKernelCPUArchitectureOK{} } -/* -AddKernelCPUArchitectureOK describes a response with status code 200, with default header values. +/* AddKernelCPUArchitectureOK describes a response with status code 200, with default header values. The CPU architecture added to the kernel */ @@ -85,8 +84,7 @@ func NewAddKernelCPUArchitectureBadRequest() *AddKernelCPUArchitectureBadRequest return &AddKernelCPUArchitectureBadRequest{} } -/* -AddKernelCPUArchitectureBadRequest describes a response with status code 400, with default header values. +/* AddKernelCPUArchitectureBadRequest describes a response with status code 400, with default header values. If the CPU architecture ID doesn't exist */ @@ -120,8 +118,7 @@ func NewAddKernelCPUArchitectureDefault(code int) *AddKernelCPUArchitectureDefau } } -/* -AddKernelCPUArchitectureDefault describes a response with status code -1, with default header values. +/* AddKernelCPUArchitectureDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_parameters.go index b32149d28f..891cd8bcae 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_parameters.go @@ -54,12 +54,10 @@ func NewAddKernelGPUArchitectureParamsWithHTTPClient(client *http.Client) *AddKe } } -/* -AddKernelGPUArchitectureParams contains all the parameters to send to the API endpoint +/* AddKernelGPUArchitectureParams contains all the parameters to send to the API endpoint + for the add kernel g p u architecture operation. - for the add kernel g p u architecture operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddKernelGPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_responses.go index ac4a75a2e4..35fb7bae6c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_responses.go @@ -52,8 +52,7 @@ func NewAddKernelGPUArchitectureOK() *AddKernelGPUArchitectureOK { return &AddKernelGPUArchitectureOK{} } -/* -AddKernelGPUArchitectureOK describes a response with status code 200, with default header values. +/* AddKernelGPUArchitectureOK describes a response with status code 200, with default header values. The GPU architecture added to the kernel */ @@ -85,8 +84,7 @@ func NewAddKernelGPUArchitectureBadRequest() *AddKernelGPUArchitectureBadRequest return &AddKernelGPUArchitectureBadRequest{} } -/* -AddKernelGPUArchitectureBadRequest describes a response with status code 400, with default header values. +/* AddKernelGPUArchitectureBadRequest describes a response with status code 400, with default header values. If the GPU architecture ID doesn't exist */ @@ -120,8 +118,7 @@ func NewAddKernelGPUArchitectureDefault(code int) *AddKernelGPUArchitectureDefau } } -/* -AddKernelGPUArchitectureDefault describes a response with status code -1, with default header values. +/* AddKernelGPUArchitectureDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_parameters.go index 1a48dcbbd0..b5300911f1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_parameters.go @@ -54,12 +54,10 @@ func NewAddKernelParamsWithHTTPClient(client *http.Client) *AddKernelParams { } } -/* -AddKernelParams contains all the parameters to send to the API endpoint +/* AddKernelParams contains all the parameters to send to the API endpoint + for the add kernel operation. - for the add kernel operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddKernelParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_responses.go index 5982d9f58b..be25f54399 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_responses.go @@ -52,8 +52,7 @@ func NewAddKernelCreated() *AddKernelCreated { return &AddKernelCreated{} } -/* -AddKernelCreated describes a response with status code 201, with default header values. +/* AddKernelCreated describes a response with status code 201, with default header values. The added kernel */ @@ -85,8 +84,7 @@ func NewAddKernelBadRequest() *AddKernelBadRequest { return &AddKernelBadRequest{} } -/* -AddKernelBadRequest describes a response with status code 400, with default header values. +/* AddKernelBadRequest describes a response with status code 400, with default header values. If the kernel is invalid */ @@ -120,8 +118,7 @@ func NewAddKernelDefault(code int) *AddKernelDefault { } } -/* -AddKernelDefault describes a response with status code -1, with default header values. +/* AddKernelDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_parameters.go index 17abca614a..5b24ca11dd 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_parameters.go @@ -54,12 +54,10 @@ func NewAddKernelVersionParamsWithHTTPClient(client *http.Client) *AddKernelVers } } -/* -AddKernelVersionParams contains all the parameters to send to the API endpoint +/* AddKernelVersionParams contains all the parameters to send to the API endpoint + for the add kernel version operation. - for the add kernel version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddKernelVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_responses.go index 42a69ad538..1ede173df6 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_responses.go @@ -52,8 +52,7 @@ func NewAddKernelVersionCreated() *AddKernelVersionCreated { return &AddKernelVersionCreated{} } -/* -AddKernelVersionCreated describes a response with status code 201, with default header values. +/* AddKernelVersionCreated describes a response with status code 201, with default header values. The added kernel version */ @@ -85,8 +84,7 @@ func NewAddKernelVersionBadRequest() *AddKernelVersionBadRequest { return &AddKernelVersionBadRequest{} } -/* -AddKernelVersionBadRequest describes a response with status code 400, with default header values. +/* AddKernelVersionBadRequest describes a response with status code 400, with default header values. If the kernel version is invalid */ @@ -120,8 +118,7 @@ func NewAddKernelVersionDefault(code int) *AddKernelVersionDefault { } } -/* -AddKernelVersionDefault describes a response with status code -1, with default header values. +/* AddKernelVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_parameters.go index 6dd47c31ab..14c15cdead 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_parameters.go @@ -54,12 +54,10 @@ func NewAddKernelVersionRevisionParamsWithHTTPClient(client *http.Client) *AddKe } } -/* -AddKernelVersionRevisionParams contains all the parameters to send to the API endpoint +/* AddKernelVersionRevisionParams contains all the parameters to send to the API endpoint + for the add kernel version revision operation. - for the add kernel version revision operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddKernelVersionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_responses.go index 5519d27a02..a342dc3568 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_responses.go @@ -52,8 +52,7 @@ func NewAddKernelVersionRevisionOK() *AddKernelVersionRevisionOK { return &AddKernelVersionRevisionOK{} } -/* -AddKernelVersionRevisionOK describes a response with status code 200, with default header values. +/* AddKernelVersionRevisionOK describes a response with status code 200, with default header values. The updated state of the kernel version */ @@ -85,8 +84,7 @@ func NewAddKernelVersionRevisionBadRequest() *AddKernelVersionRevisionBadRequest return &AddKernelVersionRevisionBadRequest{} } -/* -AddKernelVersionRevisionBadRequest describes a response with status code 400, with default header values. +/* AddKernelVersionRevisionBadRequest describes a response with status code 400, with default header values. If the kernel version revision is invalid */ @@ -120,8 +118,7 @@ func NewAddKernelVersionRevisionDefault(code int) *AddKernelVersionRevisionDefau } } -/* -AddKernelVersionRevisionDefault describes a response with status code -1, with default header values. +/* AddKernelVersionRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_parameters.go index 97b57838e0..f4b9a8d029 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_parameters.go @@ -54,12 +54,10 @@ func NewAddLibcParamsWithHTTPClient(client *http.Client) *AddLibcParams { } } -/* -AddLibcParams contains all the parameters to send to the API endpoint +/* AddLibcParams contains all the parameters to send to the API endpoint + for the add libc operation. - for the add libc operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddLibcParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_responses.go index d2152ef467..f84f7d9866 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_responses.go @@ -52,8 +52,7 @@ func NewAddLibcCreated() *AddLibcCreated { return &AddLibcCreated{} } -/* -AddLibcCreated describes a response with status code 201, with default header values. +/* AddLibcCreated describes a response with status code 201, with default header values. The added libc */ @@ -85,8 +84,7 @@ func NewAddLibcBadRequest() *AddLibcBadRequest { return &AddLibcBadRequest{} } -/* -AddLibcBadRequest describes a response with status code 400, with default header values. +/* AddLibcBadRequest describes a response with status code 400, with default header values. If the libc is invalid */ @@ -120,8 +118,7 @@ func NewAddLibcDefault(code int) *AddLibcDefault { } } -/* -AddLibcDefault describes a response with status code -1, with default header values. +/* AddLibcDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_parameters.go index 24880c949f..ab7110bdc1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_parameters.go @@ -54,12 +54,10 @@ func NewAddLibcVersionParamsWithHTTPClient(client *http.Client) *AddLibcVersionP } } -/* -AddLibcVersionParams contains all the parameters to send to the API endpoint +/* AddLibcVersionParams contains all the parameters to send to the API endpoint + for the add libc version operation. - for the add libc version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddLibcVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_responses.go index 1ae14a4d1c..5fa04f7e8c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_responses.go @@ -52,8 +52,7 @@ func NewAddLibcVersionCreated() *AddLibcVersionCreated { return &AddLibcVersionCreated{} } -/* -AddLibcVersionCreated describes a response with status code 201, with default header values. +/* AddLibcVersionCreated describes a response with status code 201, with default header values. The added libc version */ @@ -85,8 +84,7 @@ func NewAddLibcVersionBadRequest() *AddLibcVersionBadRequest { return &AddLibcVersionBadRequest{} } -/* -AddLibcVersionBadRequest describes a response with status code 400, with default header values. +/* AddLibcVersionBadRequest describes a response with status code 400, with default header values. If the libc version is invalid */ @@ -120,8 +118,7 @@ func NewAddLibcVersionDefault(code int) *AddLibcVersionDefault { } } -/* -AddLibcVersionDefault describes a response with status code -1, with default header values. +/* AddLibcVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_parameters.go index 5dd360e854..6a4acd761b 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_parameters.go @@ -54,12 +54,10 @@ func NewAddLibcVersionRevisionParamsWithHTTPClient(client *http.Client) *AddLibc } } -/* -AddLibcVersionRevisionParams contains all the parameters to send to the API endpoint +/* AddLibcVersionRevisionParams contains all the parameters to send to the API endpoint + for the add libc version revision operation. - for the add libc version revision operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddLibcVersionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_responses.go index bc94e120c4..fa7d481b9f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_responses.go @@ -52,8 +52,7 @@ func NewAddLibcVersionRevisionOK() *AddLibcVersionRevisionOK { return &AddLibcVersionRevisionOK{} } -/* -AddLibcVersionRevisionOK describes a response with status code 200, with default header values. +/* AddLibcVersionRevisionOK describes a response with status code 200, with default header values. The updated state of the libc version */ @@ -85,8 +84,7 @@ func NewAddLibcVersionRevisionBadRequest() *AddLibcVersionRevisionBadRequest { return &AddLibcVersionRevisionBadRequest{} } -/* -AddLibcVersionRevisionBadRequest describes a response with status code 400, with default header values. +/* AddLibcVersionRevisionBadRequest describes a response with status code 400, with default header values. If the libc version revision is invalid */ @@ -120,8 +118,7 @@ func NewAddLibcVersionRevisionDefault(code int) *AddLibcVersionRevisionDefault { } } -/* -AddLibcVersionRevisionDefault describes a response with status code -1, with default header values. +/* AddLibcVersionRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_parameters.go index 5bb7ad305d..44505dc02d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_parameters.go @@ -54,12 +54,10 @@ func NewAddNamespaceParamsWithHTTPClient(client *http.Client) *AddNamespaceParam } } -/* -AddNamespaceParams contains all the parameters to send to the API endpoint +/* AddNamespaceParams contains all the parameters to send to the API endpoint + for the add namespace operation. - for the add namespace operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddNamespaceParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_responses.go index d19f5851a7..040972c5e8 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_responses.go @@ -52,8 +52,7 @@ func NewAddNamespaceCreated() *AddNamespaceCreated { return &AddNamespaceCreated{} } -/* -AddNamespaceCreated describes a response with status code 201, with default header values. +/* AddNamespaceCreated describes a response with status code 201, with default header values. Returns the created namespace */ @@ -85,8 +84,7 @@ func NewAddNamespaceBadRequest() *AddNamespaceBadRequest { return &AddNamespaceBadRequest{} } -/* -AddNamespaceBadRequest describes a response with status code 400, with default header values. +/* AddNamespaceBadRequest describes a response with status code 400, with default header values. If the namespace is invalid */ @@ -120,8 +118,7 @@ func NewAddNamespaceDefault(code int) *AddNamespaceDefault { } } -/* -AddNamespaceDefault describes a response with status code -1, with default header values. +/* AddNamespaceDefault describes a response with status code -1, with default header values. If there is an error processing the namespace */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_parameters.go index 399d5c2939..12948a370a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_parameters.go @@ -54,12 +54,10 @@ func NewAddOperatingSystemKernelParamsWithHTTPClient(client *http.Client) *AddOp } } -/* -AddOperatingSystemKernelParams contains all the parameters to send to the API endpoint +/* AddOperatingSystemKernelParams contains all the parameters to send to the API endpoint + for the add operating system kernel operation. - for the add operating system kernel operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddOperatingSystemKernelParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_responses.go index 053f30cb7e..5ce199e521 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_responses.go @@ -52,8 +52,7 @@ func NewAddOperatingSystemKernelOK() *AddOperatingSystemKernelOK { return &AddOperatingSystemKernelOK{} } -/* -AddOperatingSystemKernelOK describes a response with status code 200, with default header values. +/* AddOperatingSystemKernelOK describes a response with status code 200, with default header values. The kernel added to the operating system */ @@ -85,8 +84,7 @@ func NewAddOperatingSystemKernelBadRequest() *AddOperatingSystemKernelBadRequest return &AddOperatingSystemKernelBadRequest{} } -/* -AddOperatingSystemKernelBadRequest describes a response with status code 400, with default header values. +/* AddOperatingSystemKernelBadRequest describes a response with status code 400, with default header values. If the kernel ID doesn't exist */ @@ -120,8 +118,7 @@ func NewAddOperatingSystemKernelDefault(code int) *AddOperatingSystemKernelDefau } } -/* -AddOperatingSystemKernelDefault describes a response with status code -1, with default header values. +/* AddOperatingSystemKernelDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_parameters.go index 867ad37b2d..e87cf901d4 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_parameters.go @@ -54,12 +54,10 @@ func NewAddOperatingSystemLibcParamsWithHTTPClient(client *http.Client) *AddOper } } -/* -AddOperatingSystemLibcParams contains all the parameters to send to the API endpoint +/* AddOperatingSystemLibcParams contains all the parameters to send to the API endpoint + for the add operating system libc operation. - for the add operating system libc operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddOperatingSystemLibcParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_responses.go index 0f0c398721..268aa011d9 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_responses.go @@ -52,8 +52,7 @@ func NewAddOperatingSystemLibcOK() *AddOperatingSystemLibcOK { return &AddOperatingSystemLibcOK{} } -/* -AddOperatingSystemLibcOK describes a response with status code 200, with default header values. +/* AddOperatingSystemLibcOK describes a response with status code 200, with default header values. The libc added to the operating system */ @@ -85,8 +84,7 @@ func NewAddOperatingSystemLibcBadRequest() *AddOperatingSystemLibcBadRequest { return &AddOperatingSystemLibcBadRequest{} } -/* -AddOperatingSystemLibcBadRequest describes a response with status code 400, with default header values. +/* AddOperatingSystemLibcBadRequest describes a response with status code 400, with default header values. If the libc ID doesn't exist */ @@ -120,8 +118,7 @@ func NewAddOperatingSystemLibcDefault(code int) *AddOperatingSystemLibcDefault { } } -/* -AddOperatingSystemLibcDefault describes a response with status code -1, with default header values. +/* AddOperatingSystemLibcDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_parameters.go index 51185b498a..184f23afac 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_parameters.go @@ -54,12 +54,10 @@ func NewAddOperatingSystemParamsWithHTTPClient(client *http.Client) *AddOperatin } } -/* -AddOperatingSystemParams contains all the parameters to send to the API endpoint +/* AddOperatingSystemParams contains all the parameters to send to the API endpoint + for the add operating system operation. - for the add operating system operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddOperatingSystemParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_responses.go index 3695a64ec1..32a216596a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_responses.go @@ -52,8 +52,7 @@ func NewAddOperatingSystemCreated() *AddOperatingSystemCreated { return &AddOperatingSystemCreated{} } -/* -AddOperatingSystemCreated describes a response with status code 201, with default header values. +/* AddOperatingSystemCreated describes a response with status code 201, with default header values. The added operating system */ @@ -85,8 +84,7 @@ func NewAddOperatingSystemBadRequest() *AddOperatingSystemBadRequest { return &AddOperatingSystemBadRequest{} } -/* -AddOperatingSystemBadRequest describes a response with status code 400, with default header values. +/* AddOperatingSystemBadRequest describes a response with status code 400, with default header values. If the operating system is invalid */ @@ -120,8 +118,7 @@ func NewAddOperatingSystemDefault(code int) *AddOperatingSystemDefault { } } -/* -AddOperatingSystemDefault describes a response with status code -1, with default header values. +/* AddOperatingSystemDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_parameters.go index 9924f33fb5..348d2a5239 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_parameters.go @@ -54,12 +54,10 @@ func NewAddOperatingSystemVersionParamsWithHTTPClient(client *http.Client) *AddO } } -/* -AddOperatingSystemVersionParams contains all the parameters to send to the API endpoint +/* AddOperatingSystemVersionParams contains all the parameters to send to the API endpoint + for the add operating system version operation. - for the add operating system version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddOperatingSystemVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_responses.go index 029d39c88f..7e21d68834 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_responses.go @@ -52,8 +52,7 @@ func NewAddOperatingSystemVersionCreated() *AddOperatingSystemVersionCreated { return &AddOperatingSystemVersionCreated{} } -/* -AddOperatingSystemVersionCreated describes a response with status code 201, with default header values. +/* AddOperatingSystemVersionCreated describes a response with status code 201, with default header values. The added operating system version */ @@ -85,8 +84,7 @@ func NewAddOperatingSystemVersionBadRequest() *AddOperatingSystemVersionBadReque return &AddOperatingSystemVersionBadRequest{} } -/* -AddOperatingSystemVersionBadRequest describes a response with status code 400, with default header values. +/* AddOperatingSystemVersionBadRequest describes a response with status code 400, with default header values. If the operating system version is invalid */ @@ -120,8 +118,7 @@ func NewAddOperatingSystemVersionDefault(code int) *AddOperatingSystemVersionDef } } -/* -AddOperatingSystemVersionDefault describes a response with status code -1, with default header values. +/* AddOperatingSystemVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_parameters.go index 2e8ddbbf9f..a30c1ce127 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_parameters.go @@ -54,12 +54,10 @@ func NewAddOperatingSystemVersionRevisionParamsWithHTTPClient(client *http.Clien } } -/* -AddOperatingSystemVersionRevisionParams contains all the parameters to send to the API endpoint +/* AddOperatingSystemVersionRevisionParams contains all the parameters to send to the API endpoint + for the add operating system version revision operation. - for the add operating system version revision operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddOperatingSystemVersionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_responses.go index 326656d255..9fcfbd7a42 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_responses.go @@ -52,8 +52,7 @@ func NewAddOperatingSystemVersionRevisionOK() *AddOperatingSystemVersionRevision return &AddOperatingSystemVersionRevisionOK{} } -/* -AddOperatingSystemVersionRevisionOK describes a response with status code 200, with default header values. +/* AddOperatingSystemVersionRevisionOK describes a response with status code 200, with default header values. The updated state of the operating system version */ @@ -85,8 +84,7 @@ func NewAddOperatingSystemVersionRevisionBadRequest() *AddOperatingSystemVersion return &AddOperatingSystemVersionRevisionBadRequest{} } -/* -AddOperatingSystemVersionRevisionBadRequest describes a response with status code 400, with default header values. +/* AddOperatingSystemVersionRevisionBadRequest describes a response with status code 400, with default header values. If the operating system version revision is invalid */ @@ -120,8 +118,7 @@ func NewAddOperatingSystemVersionRevisionDefault(code int) *AddOperatingSystemVe } } -/* -AddOperatingSystemVersionRevisionDefault describes a response with status code -1, with default header values. +/* AddOperatingSystemVersionRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_parameters.go index 5f55065243..99fddd73f0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_parameters.go @@ -54,12 +54,10 @@ func NewAddPatchParamsWithHTTPClient(client *http.Client) *AddPatchParams { } } -/* -AddPatchParams contains all the parameters to send to the API endpoint +/* AddPatchParams contains all the parameters to send to the API endpoint + for the add patch operation. - for the add patch operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddPatchParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_responses.go index 169a49d012..1c8b5b0b22 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_responses.go @@ -52,8 +52,7 @@ func NewAddPatchCreated() *AddPatchCreated { return &AddPatchCreated{} } -/* -AddPatchCreated describes a response with status code 201, with default header values. +/* AddPatchCreated describes a response with status code 201, with default header values. The added patch */ @@ -85,8 +84,7 @@ func NewAddPatchBadRequest() *AddPatchBadRequest { return &AddPatchBadRequest{} } -/* -AddPatchBadRequest describes a response with status code 400, with default header values. +/* AddPatchBadRequest describes a response with status code 400, with default header values. If the patch is invalid */ @@ -120,8 +118,7 @@ func NewAddPatchDefault(code int) *AddPatchDefault { } } -/* -AddPatchDefault describes a response with status code -1, with default header values. +/* AddPatchDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_parameters.go index d6c3ac4e5c..79088c21c5 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_parameters.go @@ -54,12 +54,10 @@ func NewAddPlatformParamsWithHTTPClient(client *http.Client) *AddPlatformParams } } -/* -AddPlatformParams contains all the parameters to send to the API endpoint +/* AddPlatformParams contains all the parameters to send to the API endpoint + for the add platform operation. - for the add platform operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddPlatformParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_responses.go index 7d54b08bef..696182703d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_responses.go @@ -52,8 +52,7 @@ func NewAddPlatformCreated() *AddPlatformCreated { return &AddPlatformCreated{} } -/* -AddPlatformCreated describes a response with status code 201, with default header values. +/* AddPlatformCreated describes a response with status code 201, with default header values. The added platform */ @@ -85,8 +84,7 @@ func NewAddPlatformBadRequest() *AddPlatformBadRequest { return &AddPlatformBadRequest{} } -/* -AddPlatformBadRequest describes a response with status code 400, with default header values. +/* AddPlatformBadRequest describes a response with status code 400, with default header values. If the platform is invalid */ @@ -120,8 +118,7 @@ func NewAddPlatformDefault(code int) *AddPlatformDefault { } } -/* -AddPlatformDefault describes a response with status code -1, with default header values. +/* AddPlatformDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_parameters.go index 57c87608f9..9af6433117 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_parameters.go @@ -52,12 +52,10 @@ func NewDeleteImageParamsWithHTTPClient(client *http.Client) *DeleteImageParams } } -/* -DeleteImageParams contains all the parameters to send to the API endpoint +/* DeleteImageParams contains all the parameters to send to the API endpoint + for the delete image operation. - for the delete image operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type DeleteImageParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_responses.go index 7270e11dd8..eb47dddbb6 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_responses.go @@ -46,8 +46,7 @@ func NewDeleteImageNoContent() *DeleteImageNoContent { return &DeleteImageNoContent{} } -/* -DeleteImageNoContent describes a response with status code 204, with default header values. +/* DeleteImageNoContent describes a response with status code 204, with default header values. The image has been deleted */ @@ -70,8 +69,7 @@ func NewDeleteImageDefault(code int) *DeleteImageDefault { } } -/* -DeleteImageDefault describes a response with status code -1, with default header values. +/* DeleteImageDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_parameters.go index 55e11d4557..957ee5e09c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_parameters.go @@ -52,12 +52,10 @@ func NewDeleteIngredientVersionParamsWithHTTPClient(client *http.Client) *Delete } } -/* -DeleteIngredientVersionParams contains all the parameters to send to the API endpoint +/* DeleteIngredientVersionParams contains all the parameters to send to the API endpoint + for the delete ingredient version operation. - for the delete ingredient version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type DeleteIngredientVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_responses.go index ae801416b2..63c4d041e7 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_responses.go @@ -46,8 +46,7 @@ func NewDeleteIngredientVersionNoContent() *DeleteIngredientVersionNoContent { return &DeleteIngredientVersionNoContent{} } -/* -DeleteIngredientVersionNoContent describes a response with status code 204, with default header values. +/* DeleteIngredientVersionNoContent describes a response with status code 204, with default header values. The ingredient version has been deleted */ @@ -70,8 +69,7 @@ func NewDeleteIngredientVersionDefault(code int) *DeleteIngredientVersionDefault } } -/* -DeleteIngredientVersionDefault describes a response with status code -1, with default header values. +/* DeleteIngredientVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_parameters.go index 3354c3a560..0e1997b802 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_parameters.go @@ -52,12 +52,10 @@ func NewGetAuthorParamsWithHTTPClient(client *http.Client) *GetAuthorParams { } } -/* -GetAuthorParams contains all the parameters to send to the API endpoint +/* GetAuthorParams contains all the parameters to send to the API endpoint + for the get author operation. - for the get author operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetAuthorParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_responses.go index 856b168701..447c9c48be 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_responses.go @@ -46,8 +46,7 @@ func NewGetAuthorOK() *GetAuthorOK { return &GetAuthorOK{} } -/* -GetAuthorOK describes a response with status code 200, with default header values. +/* GetAuthorOK describes a response with status code 200, with default header values. Retrieve the author */ @@ -81,8 +80,7 @@ func NewGetAuthorDefault(code int) *GetAuthorDefault { } } -/* -GetAuthorDefault describes a response with status code -1, with default header values. +/* GetAuthorDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_parameters.go index f8371e09e9..24de0d5603 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_parameters.go @@ -53,12 +53,10 @@ func NewGetAuthorsParamsWithHTTPClient(client *http.Client) *GetAuthorsParams { } } -/* -GetAuthorsParams contains all the parameters to send to the API endpoint +/* GetAuthorsParams contains all the parameters to send to the API endpoint + for the get authors operation. - for the get authors operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetAuthorsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_responses.go index 047784af7f..032f09a58d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_responses.go @@ -46,8 +46,7 @@ func NewGetAuthorsOK() *GetAuthorsOK { return &GetAuthorsOK{} } -/* -GetAuthorsOK describes a response with status code 200, with default header values. +/* GetAuthorsOK describes a response with status code 200, with default header values. A paginated list of authors */ @@ -81,8 +80,7 @@ func NewGetAuthorsDefault(code int) *GetAuthorsDefault { } } -/* -GetAuthorsDefault describes a response with status code -1, with default header values. +/* GetAuthorsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_parameters.go index 652a394558..a7ab562bc5 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_parameters.go @@ -53,12 +53,10 @@ func NewGetBuildFlagParamsWithHTTPClient(client *http.Client) *GetBuildFlagParam } } -/* -GetBuildFlagParams contains all the parameters to send to the API endpoint +/* GetBuildFlagParams contains all the parameters to send to the API endpoint + for the get build flag operation. - for the get build flag operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetBuildFlagParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_responses.go index d53830d22d..cf49188a66 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_responses.go @@ -46,8 +46,7 @@ func NewGetBuildFlagOK() *GetBuildFlagOK { return &GetBuildFlagOK{} } -/* -GetBuildFlagOK describes a response with status code 200, with default header values. +/* GetBuildFlagOK describes a response with status code 200, with default header values. Retrieve the build flag */ @@ -81,8 +80,7 @@ func NewGetBuildFlagDefault(code int) *GetBuildFlagDefault { } } -/* -GetBuildFlagDefault describes a response with status code -1, with default header values. +/* GetBuildFlagDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_parameters.go index 49debe6f45..b75e4a6d92 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_parameters.go @@ -53,12 +53,10 @@ func NewGetBuildFlagsParamsWithHTTPClient(client *http.Client) *GetBuildFlagsPar } } -/* -GetBuildFlagsParams contains all the parameters to send to the API endpoint +/* GetBuildFlagsParams contains all the parameters to send to the API endpoint + for the get build flags operation. - for the get build flags operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetBuildFlagsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_responses.go index 653c12c414..f126d5ea59 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_responses.go @@ -46,8 +46,7 @@ func NewGetBuildFlagsOK() *GetBuildFlagsOK { return &GetBuildFlagsOK{} } -/* -GetBuildFlagsOK describes a response with status code 200, with default header values. +/* GetBuildFlagsOK describes a response with status code 200, with default header values. A paginated list of build flags */ @@ -81,8 +80,7 @@ func NewGetBuildFlagsDefault(code int) *GetBuildFlagsDefault { } } -/* -GetBuildFlagsDefault describes a response with status code -1, with default header values. +/* GetBuildFlagsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_parameters.go index e31fd40a3e..f82debb7b0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_parameters.go @@ -52,12 +52,10 @@ func NewGetBuildScriptParamsWithHTTPClient(client *http.Client) *GetBuildScriptP } } -/* -GetBuildScriptParams contains all the parameters to send to the API endpoint +/* GetBuildScriptParams contains all the parameters to send to the API endpoint + for the get build script operation. - for the get build script operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetBuildScriptParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_responses.go index 9388e4d48b..37991bce65 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_responses.go @@ -46,8 +46,7 @@ func NewGetBuildScriptOK() *GetBuildScriptOK { return &GetBuildScriptOK{} } -/* -GetBuildScriptOK describes a response with status code 200, with default header values. +/* GetBuildScriptOK describes a response with status code 200, with default header values. The retrieved build script */ @@ -81,8 +80,7 @@ func NewGetBuildScriptDefault(code int) *GetBuildScriptDefault { } } -/* -GetBuildScriptDefault describes a response with status code -1, with default header values. +/* GetBuildScriptDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_parameters.go index 487cb932b9..d6fefedb41 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_parameters.go @@ -53,12 +53,10 @@ func NewGetBuildScriptsParamsWithHTTPClient(client *http.Client) *GetBuildScript } } -/* -GetBuildScriptsParams contains all the parameters to send to the API endpoint +/* GetBuildScriptsParams contains all the parameters to send to the API endpoint + for the get build scripts operation. - for the get build scripts operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetBuildScriptsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_responses.go index 58e6eea3ce..d5cdd4c8ae 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_responses.go @@ -46,8 +46,7 @@ func NewGetBuildScriptsOK() *GetBuildScriptsOK { return &GetBuildScriptsOK{} } -/* -GetBuildScriptsOK describes a response with status code 200, with default header values. +/* GetBuildScriptsOK describes a response with status code 200, with default header values. A paginated list of build scripts */ @@ -81,8 +80,7 @@ func NewGetBuildScriptsDefault(code int) *GetBuildScriptsDefault { } } -/* -GetBuildScriptsDefault describes a response with status code -1, with default header values. +/* GetBuildScriptsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_parameters.go index 43ddc08c95..ee5d2b1bf2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_parameters.go @@ -53,12 +53,10 @@ func NewGetCPUArchitectureCPUExtensionsParamsWithHTTPClient(client *http.Client) } } -/* -GetCPUArchitectureCPUExtensionsParams contains all the parameters to send to the API endpoint +/* GetCPUArchitectureCPUExtensionsParams contains all the parameters to send to the API endpoint + for the get Cpu architecture Cpu extensions operation. - for the get Cpu architecture Cpu extensions operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetCPUArchitectureCPUExtensionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_responses.go index 19cea31d58..6b28b74f51 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_responses.go @@ -46,8 +46,7 @@ func NewGetCPUArchitectureCPUExtensionsOK() *GetCPUArchitectureCPUExtensionsOK { return &GetCPUArchitectureCPUExtensionsOK{} } -/* -GetCPUArchitectureCPUExtensionsOK describes a response with status code 200, with default header values. +/* GetCPUArchitectureCPUExtensionsOK describes a response with status code 200, with default header values. A paginated list of CPU extensions */ @@ -81,8 +80,7 @@ func NewGetCPUArchitectureCPUExtensionsDefault(code int) *GetCPUArchitectureCPUE } } -/* -GetCPUArchitectureCPUExtensionsDefault describes a response with status code -1, with default header values. +/* GetCPUArchitectureCPUExtensionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_parameters.go index 26954cfaf1..ab5b272534 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_parameters.go @@ -53,12 +53,10 @@ func NewGetCPUArchitectureParamsWithHTTPClient(client *http.Client) *GetCPUArchi } } -/* -GetCPUArchitectureParams contains all the parameters to send to the API endpoint +/* GetCPUArchitectureParams contains all the parameters to send to the API endpoint + for the get Cpu architecture operation. - for the get Cpu architecture operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetCPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_responses.go index c2cb66afd7..ba13c55a9a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_responses.go @@ -46,8 +46,7 @@ func NewGetCPUArchitectureOK() *GetCPUArchitectureOK { return &GetCPUArchitectureOK{} } -/* -GetCPUArchitectureOK describes a response with status code 200, with default header values. +/* GetCPUArchitectureOK describes a response with status code 200, with default header values. The retrieved CPU architecture */ @@ -81,8 +80,7 @@ func NewGetCPUArchitectureDefault(code int) *GetCPUArchitectureDefault { } } -/* -GetCPUArchitectureDefault describes a response with status code -1, with default header values. +/* GetCPUArchitectureDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_parameters.go index 4fb7291a79..66d8efd6db 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_parameters.go @@ -53,12 +53,10 @@ func NewGetCPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetCPUArch } } -/* -GetCPUArchitecturesParams contains all the parameters to send to the API endpoint +/* GetCPUArchitecturesParams contains all the parameters to send to the API endpoint + for the get Cpu architectures operation. - for the get Cpu architectures operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetCPUArchitecturesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_responses.go index ac7cff5409..23e9a59240 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_responses.go @@ -46,8 +46,7 @@ func NewGetCPUArchitecturesOK() *GetCPUArchitecturesOK { return &GetCPUArchitecturesOK{} } -/* -GetCPUArchitecturesOK describes a response with status code 200, with default header values. +/* GetCPUArchitecturesOK describes a response with status code 200, with default header values. A paginated list of CPU architectures */ @@ -81,8 +80,7 @@ func NewGetCPUArchitecturesDefault(code int) *GetCPUArchitecturesDefault { } } -/* -GetCPUArchitecturesDefault describes a response with status code -1, with default header values. +/* GetCPUArchitecturesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_parameters.go index 0fd701be6c..b54fafe62e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_parameters.go @@ -53,12 +53,10 @@ func NewGetCPUExtensionParamsWithHTTPClient(client *http.Client) *GetCPUExtensio } } -/* -GetCPUExtensionParams contains all the parameters to send to the API endpoint +/* GetCPUExtensionParams contains all the parameters to send to the API endpoint + for the get Cpu extension operation. - for the get Cpu extension operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetCPUExtensionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_responses.go index 8525d9dc45..ddaf9c40ea 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_responses.go @@ -46,8 +46,7 @@ func NewGetCPUExtensionOK() *GetCPUExtensionOK { return &GetCPUExtensionOK{} } -/* -GetCPUExtensionOK describes a response with status code 200, with default header values. +/* GetCPUExtensionOK describes a response with status code 200, with default header values. The retrieved CPU extension */ @@ -81,8 +80,7 @@ func NewGetCPUExtensionDefault(code int) *GetCPUExtensionDefault { } } -/* -GetCPUExtensionDefault describes a response with status code -1, with default header values. +/* GetCPUExtensionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_parameters.go index 5ea800a1e1..f211767c6f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_parameters.go @@ -53,12 +53,10 @@ func NewGetCPUExtensionsParamsWithHTTPClient(client *http.Client) *GetCPUExtensi } } -/* -GetCPUExtensionsParams contains all the parameters to send to the API endpoint +/* GetCPUExtensionsParams contains all the parameters to send to the API endpoint + for the get Cpu extensions operation. - for the get Cpu extensions operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetCPUExtensionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_responses.go index b9f3994478..5c40aea6a7 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_responses.go @@ -46,8 +46,7 @@ func NewGetCPUExtensionsOK() *GetCPUExtensionsOK { return &GetCPUExtensionsOK{} } -/* -GetCPUExtensionsOK describes a response with status code 200, with default header values. +/* GetCPUExtensionsOK describes a response with status code 200, with default header values. A paginated list of CPU extensions */ @@ -81,8 +80,7 @@ func NewGetCPUExtensionsDefault(code int) *GetCPUExtensionsDefault { } } -/* -GetCPUExtensionsDefault describes a response with status code -1, with default header values. +/* GetCPUExtensionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_parameters.go index 91504707fa..51f03ccae1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_parameters.go @@ -53,12 +53,10 @@ func NewGetGPUArchitectureParamsWithHTTPClient(client *http.Client) *GetGPUArchi } } -/* -GetGPUArchitectureParams contains all the parameters to send to the API endpoint +/* GetGPUArchitectureParams contains all the parameters to send to the API endpoint + for the get g p u architecture operation. - for the get g p u architecture operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetGPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_responses.go index 2a88447273..3948ffd388 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_responses.go @@ -46,8 +46,7 @@ func NewGetGPUArchitectureOK() *GetGPUArchitectureOK { return &GetGPUArchitectureOK{} } -/* -GetGPUArchitectureOK describes a response with status code 200, with default header values. +/* GetGPUArchitectureOK describes a response with status code 200, with default header values. The retrieved GPU architecture */ @@ -81,8 +80,7 @@ func NewGetGPUArchitectureDefault(code int) *GetGPUArchitectureDefault { } } -/* -GetGPUArchitectureDefault describes a response with status code -1, with default header values. +/* GetGPUArchitectureDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_parameters.go index ab07c72dd5..dc2c69f461 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_parameters.go @@ -53,12 +53,10 @@ func NewGetGPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetGPUArch } } -/* -GetGPUArchitecturesParams contains all the parameters to send to the API endpoint +/* GetGPUArchitecturesParams contains all the parameters to send to the API endpoint + for the get g p u architectures operation. - for the get g p u architectures operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetGPUArchitecturesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_responses.go index d790307135..83adf6bb29 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_responses.go @@ -46,8 +46,7 @@ func NewGetGPUArchitecturesOK() *GetGPUArchitecturesOK { return &GetGPUArchitecturesOK{} } -/* -GetGPUArchitecturesOK describes a response with status code 200, with default header values. +/* GetGPUArchitecturesOK describes a response with status code 200, with default header values. A paginated list of GPU architectures */ @@ -81,8 +80,7 @@ func NewGetGPUArchitecturesDefault(code int) *GetGPUArchitecturesDefault { } } -/* -GetGPUArchitecturesDefault describes a response with status code -1, with default header values. +/* GetGPUArchitecturesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_parameters.go index ba19ba66c4..7e59074995 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_parameters.go @@ -53,12 +53,10 @@ func NewGetImageParamsWithHTTPClient(client *http.Client) *GetImageParams { } } -/* -GetImageParams contains all the parameters to send to the API endpoint +/* GetImageParams contains all the parameters to send to the API endpoint + for the get image operation. - for the get image operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetImageParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_responses.go index 310d07bc62..fecb3a21a2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_responses.go @@ -46,8 +46,7 @@ func NewGetImageOK() *GetImageOK { return &GetImageOK{} } -/* -GetImageOK describes a response with status code 200, with default header values. +/* GetImageOK describes a response with status code 200, with default header values. Retrieve the image */ @@ -81,8 +80,7 @@ func NewGetImageDefault(code int) *GetImageDefault { } } -/* -GetImageDefault describes a response with status code -1, with default header values. +/* GetImageDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_parameters.go index d1365fa7cf..ca61236e8a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_parameters.go @@ -53,12 +53,10 @@ func NewGetImagesParamsWithHTTPClient(client *http.Client) *GetImagesParams { } } -/* -GetImagesParams contains all the parameters to send to the API endpoint +/* GetImagesParams contains all the parameters to send to the API endpoint + for the get images operation. - for the get images operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetImagesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_responses.go index 6ba578967d..276fdf3e9a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_responses.go @@ -46,8 +46,7 @@ func NewGetImagesOK() *GetImagesOK { return &GetImagesOK{} } -/* -GetImagesOK describes a response with status code 200, with default header values. +/* GetImagesOK describes a response with status code 200, with default header values. A paginated list of images */ @@ -81,8 +80,7 @@ func NewGetImagesDefault(code int) *GetImagesDefault { } } -/* -GetImagesDefault describes a response with status code -1, with default header values. +/* GetImagesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_parameters.go index 1dadd6c0af..939b00c980 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientOptionSetIngredientVersionsParamsWithHTTPClient(client *htt } } -/* -GetIngredientOptionSetIngredientVersionsParams contains all the parameters to send to the API endpoint +/* GetIngredientOptionSetIngredientVersionsParams contains all the parameters to send to the API endpoint + for the get ingredient option set ingredient versions operation. - for the get ingredient option set ingredient versions operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientOptionSetIngredientVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_responses.go index ae3f66c720..7146ad96cf 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientOptionSetIngredientVersionsOK() *GetIngredientOptionSetIngr return &GetIngredientOptionSetIngredientVersionsOK{} } -/* -GetIngredientOptionSetIngredientVersionsOK describes a response with status code 200, with default header values. +/* GetIngredientOptionSetIngredientVersionsOK describes a response with status code 200, with default header values. A paginated list of ingredient versions */ @@ -81,8 +80,7 @@ func NewGetIngredientOptionSetIngredientVersionsDefault(code int) *GetIngredient } } -/* -GetIngredientOptionSetIngredientVersionsDefault describes a response with status code -1, with default header values. +/* GetIngredientOptionSetIngredientVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_parameters.go index 9a434d78a9..679b65452c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientOptionSetParamsWithHTTPClient(client *http.Client) *GetIngr } } -/* -GetIngredientOptionSetParams contains all the parameters to send to the API endpoint +/* GetIngredientOptionSetParams contains all the parameters to send to the API endpoint + for the get ingredient option set operation. - for the get ingredient option set operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientOptionSetParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_responses.go index 473895e495..8238cd094c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientOptionSetOK() *GetIngredientOptionSetOK { return &GetIngredientOptionSetOK{} } -/* -GetIngredientOptionSetOK describes a response with status code 200, with default header values. +/* GetIngredientOptionSetOK describes a response with status code 200, with default header values. The retrieved ingredient option set */ @@ -81,8 +80,7 @@ func NewGetIngredientOptionSetDefault(code int) *GetIngredientOptionSetDefault { } } -/* -GetIngredientOptionSetDefault describes a response with status code -1, with default header values. +/* GetIngredientOptionSetDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_parameters.go index 17280a62c4..f35969650e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientOptionSetsParamsWithHTTPClient(client *http.Client) *GetIng } } -/* -GetIngredientOptionSetsParams contains all the parameters to send to the API endpoint +/* GetIngredientOptionSetsParams contains all the parameters to send to the API endpoint + for the get ingredient option sets operation. - for the get ingredient option sets operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientOptionSetsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_responses.go index bbe8d012a5..de78477751 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientOptionSetsOK() *GetIngredientOptionSetsOK { return &GetIngredientOptionSetsOK{} } -/* -GetIngredientOptionSetsOK describes a response with status code 200, with default header values. +/* GetIngredientOptionSetsOK describes a response with status code 200, with default header values. A paginated list of ingredient option sets */ @@ -81,8 +80,7 @@ func NewGetIngredientOptionSetsDefault(code int) *GetIngredientOptionSetsDefault } } -/* -GetIngredientOptionSetsDefault describes a response with status code -1, with default header values. +/* GetIngredientOptionSetsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_parameters.go index 989d523b2b..51a741db2f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_parameters.go @@ -52,12 +52,10 @@ func NewGetIngredientParamsWithHTTPClient(client *http.Client) *GetIngredientPar } } -/* -GetIngredientParams contains all the parameters to send to the API endpoint +/* GetIngredientParams contains all the parameters to send to the API endpoint + for the get ingredient operation. - for the get ingredient operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_responses.go index 83afbc169b..f16280632b 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientOK() *GetIngredientOK { return &GetIngredientOK{} } -/* -GetIngredientOK describes a response with status code 200, with default header values. +/* GetIngredientOK describes a response with status code 200, with default header values. The retrieved ingredient */ @@ -81,8 +80,7 @@ func NewGetIngredientDefault(code int) *GetIngredientDefault { } } -/* -GetIngredientDefault describes a response with status code -1, with default header values. +/* GetIngredientDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_parameters.go index b0a469272d..c05ba3165f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientVersionAuthorsParamsWithHTTPClient(client *http.Client) *Ge } } -/* -GetIngredientVersionAuthorsParams contains all the parameters to send to the API endpoint +/* GetIngredientVersionAuthorsParams contains all the parameters to send to the API endpoint + for the get ingredient version authors operation. - for the get ingredient version authors operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientVersionAuthorsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_responses.go index 59db31849c..bfae19e473 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientVersionAuthorsOK() *GetIngredientVersionAuthorsOK { return &GetIngredientVersionAuthorsOK{} } -/* -GetIngredientVersionAuthorsOK describes a response with status code 200, with default header values. +/* GetIngredientVersionAuthorsOK describes a response with status code 200, with default header values. A paginated list of authors */ @@ -81,8 +80,7 @@ func NewGetIngredientVersionAuthorsDefault(code int) *GetIngredientVersionAuthor } } -/* -GetIngredientVersionAuthorsDefault describes a response with status code -1, with default header values. +/* GetIngredientVersionAuthorsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_parameters.go index 569068acbe..c9fcdf4529 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientVersionBuildScriptsParamsWithHTTPClient(client *http.Client } } -/* -GetIngredientVersionBuildScriptsParams contains all the parameters to send to the API endpoint +/* GetIngredientVersionBuildScriptsParams contains all the parameters to send to the API endpoint + for the get ingredient version build scripts operation. - for the get ingredient version build scripts operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientVersionBuildScriptsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_responses.go index 0683ece9d8..c393e1923e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientVersionBuildScriptsOK() *GetIngredientVersionBuildScriptsOK return &GetIngredientVersionBuildScriptsOK{} } -/* -GetIngredientVersionBuildScriptsOK describes a response with status code 200, with default header values. +/* GetIngredientVersionBuildScriptsOK describes a response with status code 200, with default header values. A paginated list of build scripts */ @@ -81,8 +80,7 @@ func NewGetIngredientVersionBuildScriptsDefault(code int) *GetIngredientVersionB } } -/* -GetIngredientVersionBuildScriptsDefault describes a response with status code -1, with default header values. +/* GetIngredientVersionBuildScriptsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_parameters.go index a624787b4c..6bbecdb12a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientVersionIngredientOptionSetsParamsWithHTTPClient(client *htt } } -/* -GetIngredientVersionIngredientOptionSetsParams contains all the parameters to send to the API endpoint +/* GetIngredientVersionIngredientOptionSetsParams contains all the parameters to send to the API endpoint + for the get ingredient version ingredient option sets operation. - for the get ingredient version ingredient option sets operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientVersionIngredientOptionSetsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_responses.go index 4a16958f41..1b3af06b9d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientVersionIngredientOptionSetsOK() *GetIngredientVersionIngred return &GetIngredientVersionIngredientOptionSetsOK{} } -/* -GetIngredientVersionIngredientOptionSetsOK describes a response with status code 200, with default header values. +/* GetIngredientVersionIngredientOptionSetsOK describes a response with status code 200, with default header values. A paginated list of ingredient option sets */ @@ -81,8 +80,7 @@ func NewGetIngredientVersionIngredientOptionSetsDefault(code int) *GetIngredient } } -/* -GetIngredientVersionIngredientOptionSetsDefault describes a response with status code -1, with default header values. +/* GetIngredientVersionIngredientOptionSetsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_parameters.go index b559523aab..80940f6966 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientVersionParamsWithHTTPClient(client *http.Client) *GetIngred } } -/* -GetIngredientVersionParams contains all the parameters to send to the API endpoint +/* GetIngredientVersionParams contains all the parameters to send to the API endpoint + for the get ingredient version operation. - for the get ingredient version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_parameters.go index 1af287ecb0..abf19861ff 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientVersionPatchesParamsWithHTTPClient(client *http.Client) *Ge } } -/* -GetIngredientVersionPatchesParams contains all the parameters to send to the API endpoint +/* GetIngredientVersionPatchesParams contains all the parameters to send to the API endpoint + for the get ingredient version patches operation. - for the get ingredient version patches operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientVersionPatchesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_responses.go index 0b13bc481d..f3568c06a3 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientVersionPatchesOK() *GetIngredientVersionPatchesOK { return &GetIngredientVersionPatchesOK{} } -/* -GetIngredientVersionPatchesOK describes a response with status code 200, with default header values. +/* GetIngredientVersionPatchesOK describes a response with status code 200, with default header values. A paginated list of patches for this ingredient version */ @@ -81,8 +80,7 @@ func NewGetIngredientVersionPatchesDefault(code int) *GetIngredientVersionPatche } } -/* -GetIngredientVersionPatchesDefault describes a response with status code -1, with default header values. +/* GetIngredientVersionPatchesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_responses.go index 687ac97eb5..dcdbdedcce 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientVersionOK() *GetIngredientVersionOK { return &GetIngredientVersionOK{} } -/* -GetIngredientVersionOK describes a response with status code 200, with default header values. +/* GetIngredientVersionOK describes a response with status code 200, with default header values. The retrieved ingredient version */ @@ -81,8 +80,7 @@ func NewGetIngredientVersionDefault(code int) *GetIngredientVersionDefault { } } -/* -GetIngredientVersionDefault describes a response with status code -1, with default header values. +/* GetIngredientVersionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_parameters.go index c6feede399..8fb1d85990 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientVersionRevisionParamsWithHTTPClient(client *http.Client) *G } } -/* -GetIngredientVersionRevisionParams contains all the parameters to send to the API endpoint +/* GetIngredientVersionRevisionParams contains all the parameters to send to the API endpoint + for the get ingredient version revision operation. - for the get ingredient version revision operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientVersionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_responses.go index a2a2d3d36e..099413751a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientVersionRevisionOK() *GetIngredientVersionRevisionOK { return &GetIngredientVersionRevisionOK{} } -/* -GetIngredientVersionRevisionOK describes a response with status code 200, with default header values. +/* GetIngredientVersionRevisionOK describes a response with status code 200, with default header values. The retrieved ingredient version revision */ @@ -81,8 +80,7 @@ func NewGetIngredientVersionRevisionDefault(code int) *GetIngredientVersionRevis } } -/* -GetIngredientVersionRevisionDefault describes a response with status code -1, with default header values. +/* GetIngredientVersionRevisionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_parameters.go index aad20084e6..868c3dd48f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientVersionRevisionsParamsWithHTTPClient(client *http.Client) * } } -/* -GetIngredientVersionRevisionsParams contains all the parameters to send to the API endpoint +/* GetIngredientVersionRevisionsParams contains all the parameters to send to the API endpoint + for the get ingredient version revisions operation. - for the get ingredient version revisions operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientVersionRevisionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_responses.go index 9f01460dec..bd6ebf8c00 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientVersionRevisionsOK() *GetIngredientVersionRevisionsOK { return &GetIngredientVersionRevisionsOK{} } -/* -GetIngredientVersionRevisionsOK describes a response with status code 200, with default header values. +/* GetIngredientVersionRevisionsOK describes a response with status code 200, with default header values. A paginated list of ingredient version revisions */ @@ -81,8 +80,7 @@ func NewGetIngredientVersionRevisionsDefault(code int) *GetIngredientVersionRevi } } -/* -GetIngredientVersionRevisionsDefault describes a response with status code -1, with default header values. +/* GetIngredientVersionRevisionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_parameters.go index ff1be509dd..c6955339cf 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientVersionsParamsWithHTTPClient(client *http.Client) *GetIngre } } -/* -GetIngredientVersionsParams contains all the parameters to send to the API endpoint +/* GetIngredientVersionsParams contains all the parameters to send to the API endpoint + for the get ingredient versions operation. - for the get ingredient versions operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_responses.go index 7723656d95..3411fc1fa9 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientVersionsOK() *GetIngredientVersionsOK { return &GetIngredientVersionsOK{} } -/* -GetIngredientVersionsOK describes a response with status code 200, with default header values. +/* GetIngredientVersionsOK describes a response with status code 200, with default header values. A paginated list of ingredient versions */ @@ -81,8 +80,7 @@ func NewGetIngredientVersionsDefault(code int) *GetIngredientVersionsDefault { } } -/* -GetIngredientVersionsDefault describes a response with status code -1, with default header values. +/* GetIngredientVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_parameters.go index a273ad4726..bc530e816d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_parameters.go @@ -53,12 +53,10 @@ func NewGetIngredientsParamsWithHTTPClient(client *http.Client) *GetIngredientsP } } -/* -GetIngredientsParams contains all the parameters to send to the API endpoint +/* GetIngredientsParams contains all the parameters to send to the API endpoint + for the get ingredients operation. - for the get ingredients operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetIngredientsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_responses.go index e659150d08..c346f45b6f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_responses.go @@ -46,8 +46,7 @@ func NewGetIngredientsOK() *GetIngredientsOK { return &GetIngredientsOK{} } -/* -GetIngredientsOK describes a response with status code 200, with default header values. +/* GetIngredientsOK describes a response with status code 200, with default header values. A paginated list of ingredients */ @@ -81,8 +80,7 @@ func NewGetIngredientsDefault(code int) *GetIngredientsDefault { } } -/* -GetIngredientsDefault describes a response with status code -1, with default header values. +/* GetIngredientsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_parameters.go index 31dd6bad67..0c23378218 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_parameters.go @@ -53,12 +53,10 @@ func NewGetKernelCPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetK } } -/* -GetKernelCPUArchitecturesParams contains all the parameters to send to the API endpoint +/* GetKernelCPUArchitecturesParams contains all the parameters to send to the API endpoint + for the get kernel Cpu architectures operation. - for the get kernel Cpu architectures operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetKernelCPUArchitecturesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_responses.go index 6096502f7a..41657094de 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_responses.go @@ -46,8 +46,7 @@ func NewGetKernelCPUArchitecturesOK() *GetKernelCPUArchitecturesOK { return &GetKernelCPUArchitecturesOK{} } -/* -GetKernelCPUArchitecturesOK describes a response with status code 200, with default header values. +/* GetKernelCPUArchitecturesOK describes a response with status code 200, with default header values. A paginated list of CPU architectures */ @@ -81,8 +80,7 @@ func NewGetKernelCPUArchitecturesDefault(code int) *GetKernelCPUArchitecturesDef } } -/* -GetKernelCPUArchitecturesDefault describes a response with status code -1, with default header values. +/* GetKernelCPUArchitecturesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_parameters.go index cdbb2494a1..75854bdd6e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_parameters.go @@ -53,12 +53,10 @@ func NewGetKernelGPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetK } } -/* -GetKernelGPUArchitecturesParams contains all the parameters to send to the API endpoint +/* GetKernelGPUArchitecturesParams contains all the parameters to send to the API endpoint + for the get kernel g p u architectures operation. - for the get kernel g p u architectures operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetKernelGPUArchitecturesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_responses.go index 682f089134..daac29fbfb 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_responses.go @@ -46,8 +46,7 @@ func NewGetKernelGPUArchitecturesOK() *GetKernelGPUArchitecturesOK { return &GetKernelGPUArchitecturesOK{} } -/* -GetKernelGPUArchitecturesOK describes a response with status code 200, with default header values. +/* GetKernelGPUArchitecturesOK describes a response with status code 200, with default header values. A paginated list of GPU architectures */ @@ -81,8 +80,7 @@ func NewGetKernelGPUArchitecturesDefault(code int) *GetKernelGPUArchitecturesDef } } -/* -GetKernelGPUArchitecturesDefault describes a response with status code -1, with default header values. +/* GetKernelGPUArchitecturesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_parameters.go index e578118f51..8a19886574 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_parameters.go @@ -52,12 +52,10 @@ func NewGetKernelParamsWithHTTPClient(client *http.Client) *GetKernelParams { } } -/* -GetKernelParams contains all the parameters to send to the API endpoint +/* GetKernelParams contains all the parameters to send to the API endpoint + for the get kernel operation. - for the get kernel operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetKernelParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_responses.go index b7de4e83ca..0153d07073 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_responses.go @@ -46,8 +46,7 @@ func NewGetKernelOK() *GetKernelOK { return &GetKernelOK{} } -/* -GetKernelOK describes a response with status code 200, with default header values. +/* GetKernelOK describes a response with status code 200, with default header values. The retrieved kernel */ @@ -81,8 +80,7 @@ func NewGetKernelDefault(code int) *GetKernelDefault { } } -/* -GetKernelDefault describes a response with status code -1, with default header values. +/* GetKernelDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_parameters.go index d4f88d8941..b530a54323 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_parameters.go @@ -53,12 +53,10 @@ func NewGetKernelVersionParamsWithHTTPClient(client *http.Client) *GetKernelVers } } -/* -GetKernelVersionParams contains all the parameters to send to the API endpoint +/* GetKernelVersionParams contains all the parameters to send to the API endpoint + for the get kernel version operation. - for the get kernel version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetKernelVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_responses.go index 70ecd9eb75..c91d55d3c7 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_responses.go @@ -46,8 +46,7 @@ func NewGetKernelVersionOK() *GetKernelVersionOK { return &GetKernelVersionOK{} } -/* -GetKernelVersionOK describes a response with status code 200, with default header values. +/* GetKernelVersionOK describes a response with status code 200, with default header values. The retrieved kernel version */ @@ -81,8 +80,7 @@ func NewGetKernelVersionDefault(code int) *GetKernelVersionDefault { } } -/* -GetKernelVersionDefault describes a response with status code -1, with default header values. +/* GetKernelVersionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_parameters.go index 48d28097ca..c3d0612e24 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_parameters.go @@ -53,12 +53,10 @@ func NewGetKernelVersionsParamsWithHTTPClient(client *http.Client) *GetKernelVer } } -/* -GetKernelVersionsParams contains all the parameters to send to the API endpoint +/* GetKernelVersionsParams contains all the parameters to send to the API endpoint + for the get kernel versions operation. - for the get kernel versions operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetKernelVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_responses.go index 12b1a963ae..82f8c31642 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_responses.go @@ -46,8 +46,7 @@ func NewGetKernelVersionsOK() *GetKernelVersionsOK { return &GetKernelVersionsOK{} } -/* -GetKernelVersionsOK describes a response with status code 200, with default header values. +/* GetKernelVersionsOK describes a response with status code 200, with default header values. A paginated list of kernel versions */ @@ -81,8 +80,7 @@ func NewGetKernelVersionsDefault(code int) *GetKernelVersionsDefault { } } -/* -GetKernelVersionsDefault describes a response with status code -1, with default header values. +/* GetKernelVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_parameters.go index 696eaf308c..43db601083 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_parameters.go @@ -53,12 +53,10 @@ func NewGetKernelsParamsWithHTTPClient(client *http.Client) *GetKernelsParams { } } -/* -GetKernelsParams contains all the parameters to send to the API endpoint +/* GetKernelsParams contains all the parameters to send to the API endpoint + for the get kernels operation. - for the get kernels operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetKernelsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_responses.go index 2e5564064d..947a1ff210 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_responses.go @@ -46,8 +46,7 @@ func NewGetKernelsOK() *GetKernelsOK { return &GetKernelsOK{} } -/* -GetKernelsOK describes a response with status code 200, with default header values. +/* GetKernelsOK describes a response with status code 200, with default header values. A paginated list of kernels */ @@ -81,8 +80,7 @@ func NewGetKernelsDefault(code int) *GetKernelsDefault { } } -/* -GetKernelsDefault describes a response with status code -1, with default header values. +/* GetKernelsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_parameters.go index 1391517e47..5d59f2195f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_parameters.go @@ -52,12 +52,10 @@ func NewGetLatestTimestampParamsWithHTTPClient(client *http.Client) *GetLatestTi } } -/* -GetLatestTimestampParams contains all the parameters to send to the API endpoint +/* GetLatestTimestampParams contains all the parameters to send to the API endpoint + for the get latest timestamp operation. - for the get latest timestamp operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLatestTimestampParams struct { timeout time.Duration diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_responses.go index edcccafb0f..d1583cc9c4 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_responses.go @@ -46,8 +46,7 @@ func NewGetLatestTimestampOK() *GetLatestTimestampOK { return &GetLatestTimestampOK{} } -/* -GetLatestTimestampOK describes a response with status code 200, with default header values. +/* GetLatestTimestampOK describes a response with status code 200, with default header values. The latest timestamp */ @@ -81,8 +80,7 @@ func NewGetLatestTimestampDefault(code int) *GetLatestTimestampDefault { } } -/* -GetLatestTimestampDefault describes a response with status code -1, with default header values. +/* GetLatestTimestampDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_parameters.go index 8569a71bf8..7ded43668d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_parameters.go @@ -52,12 +52,10 @@ func NewGetLibcParamsWithHTTPClient(client *http.Client) *GetLibcParams { } } -/* -GetLibcParams contains all the parameters to send to the API endpoint +/* GetLibcParams contains all the parameters to send to the API endpoint + for the get libc operation. - for the get libc operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLibcParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_responses.go index b5401f71c7..a5e078156c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_responses.go @@ -46,8 +46,7 @@ func NewGetLibcOK() *GetLibcOK { return &GetLibcOK{} } -/* -GetLibcOK describes a response with status code 200, with default header values. +/* GetLibcOK describes a response with status code 200, with default header values. The retrieved libc */ @@ -81,8 +80,7 @@ func NewGetLibcDefault(code int) *GetLibcDefault { } } -/* -GetLibcDefault describes a response with status code -1, with default header values. +/* GetLibcDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_parameters.go index d29bdb387e..a0b8bff975 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_parameters.go @@ -53,12 +53,10 @@ func NewGetLibcVersionParamsWithHTTPClient(client *http.Client) *GetLibcVersionP } } -/* -GetLibcVersionParams contains all the parameters to send to the API endpoint +/* GetLibcVersionParams contains all the parameters to send to the API endpoint + for the get libc version operation. - for the get libc version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLibcVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_responses.go index e512c83f7a..4e38e742e4 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_responses.go @@ -46,8 +46,7 @@ func NewGetLibcVersionOK() *GetLibcVersionOK { return &GetLibcVersionOK{} } -/* -GetLibcVersionOK describes a response with status code 200, with default header values. +/* GetLibcVersionOK describes a response with status code 200, with default header values. The retrieved libc version */ @@ -81,8 +80,7 @@ func NewGetLibcVersionDefault(code int) *GetLibcVersionDefault { } } -/* -GetLibcVersionDefault describes a response with status code -1, with default header values. +/* GetLibcVersionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_parameters.go index 31635ed218..7c528b4ae0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_parameters.go @@ -53,12 +53,10 @@ func NewGetLibcVersionsParamsWithHTTPClient(client *http.Client) *GetLibcVersion } } -/* -GetLibcVersionsParams contains all the parameters to send to the API endpoint +/* GetLibcVersionsParams contains all the parameters to send to the API endpoint + for the get libc versions operation. - for the get libc versions operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLibcVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_responses.go index e70404c91a..ff8fdb6a7e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_responses.go @@ -46,8 +46,7 @@ func NewGetLibcVersionsOK() *GetLibcVersionsOK { return &GetLibcVersionsOK{} } -/* -GetLibcVersionsOK describes a response with status code 200, with default header values. +/* GetLibcVersionsOK describes a response with status code 200, with default header values. A paginated list of libc versions */ @@ -81,8 +80,7 @@ func NewGetLibcVersionsDefault(code int) *GetLibcVersionsDefault { } } -/* -GetLibcVersionsDefault describes a response with status code -1, with default header values. +/* GetLibcVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_parameters.go index 959b8e9a85..bfcfdd6715 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_parameters.go @@ -53,12 +53,10 @@ func NewGetLibcsParamsWithHTTPClient(client *http.Client) *GetLibcsParams { } } -/* -GetLibcsParams contains all the parameters to send to the API endpoint +/* GetLibcsParams contains all the parameters to send to the API endpoint + for the get libcs operation. - for the get libcs operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLibcsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_responses.go index ce9f639694..babdcbed26 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_responses.go @@ -46,8 +46,7 @@ func NewGetLibcsOK() *GetLibcsOK { return &GetLibcsOK{} } -/* -GetLibcsOK describes a response with status code 200, with default header values. +/* GetLibcsOK describes a response with status code 200, with default header values. A paginated list of libcs */ @@ -81,8 +80,7 @@ func NewGetLibcsDefault(code int) *GetLibcsDefault { } } -/* -GetLibcsDefault describes a response with status code -1, with default header values. +/* GetLibcsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_parameters.go index d849919690..a2fb7c4701 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_parameters.go @@ -52,12 +52,10 @@ func NewGetNamespaceIngredientParamsWithHTTPClient(client *http.Client) *GetName } } -/* -GetNamespaceIngredientParams contains all the parameters to send to the API endpoint +/* GetNamespaceIngredientParams contains all the parameters to send to the API endpoint + for the get namespace ingredient operation. - for the get namespace ingredient operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetNamespaceIngredientParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_responses.go index fbcffbeece..b4065e0d37 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_responses.go @@ -52,8 +52,7 @@ func NewGetNamespaceIngredientOK() *GetNamespaceIngredientOK { return &GetNamespaceIngredientOK{} } -/* -GetNamespaceIngredientOK describes a response with status code 200, with default header values. +/* GetNamespaceIngredientOK describes a response with status code 200, with default header values. The retrieved ingredient */ @@ -85,8 +84,7 @@ func NewGetNamespaceIngredientNotFound() *GetNamespaceIngredientNotFound { return &GetNamespaceIngredientNotFound{} } -/* -GetNamespaceIngredientNotFound describes a response with status code 404, with default header values. +/* GetNamespaceIngredientNotFound describes a response with status code 404, with default header values. There is no ingredient with the given namespace and name */ @@ -120,8 +118,7 @@ func NewGetNamespaceIngredientDefault(code int) *GetNamespaceIngredientDefault { } } -/* -GetNamespaceIngredientDefault describes a response with status code -1, with default header values. +/* GetNamespaceIngredientDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_parameters.go index 549a955844..5e20ad16cc 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_parameters.go @@ -53,12 +53,10 @@ func NewGetNamespaceIngredientVersionParamsWithHTTPClient(client *http.Client) * } } -/* -GetNamespaceIngredientVersionParams contains all the parameters to send to the API endpoint +/* GetNamespaceIngredientVersionParams contains all the parameters to send to the API endpoint + for the get namespace ingredient version operation. - for the get namespace ingredient version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetNamespaceIngredientVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_responses.go index a02f12f642..af4597eee9 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_responses.go @@ -52,8 +52,7 @@ func NewGetNamespaceIngredientVersionOK() *GetNamespaceIngredientVersionOK { return &GetNamespaceIngredientVersionOK{} } -/* -GetNamespaceIngredientVersionOK describes a response with status code 200, with default header values. +/* GetNamespaceIngredientVersionOK describes a response with status code 200, with default header values. The retrieved ingredient */ @@ -85,8 +84,7 @@ func NewGetNamespaceIngredientVersionNotFound() *GetNamespaceIngredientVersionNo return &GetNamespaceIngredientVersionNotFound{} } -/* -GetNamespaceIngredientVersionNotFound describes a response with status code 404, with default header values. +/* GetNamespaceIngredientVersionNotFound describes a response with status code 404, with default header values. There is no ingredient with the given namespace, name, and version */ @@ -120,8 +118,7 @@ func NewGetNamespaceIngredientVersionDefault(code int) *GetNamespaceIngredientVe } } -/* -GetNamespaceIngredientVersionDefault describes a response with status code -1, with default header values. +/* GetNamespaceIngredientVersionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_parameters.go index bbda222092..094b9e3f70 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_parameters.go @@ -53,12 +53,10 @@ func NewGetNamespaceIngredientVersionsParamsWithHTTPClient(client *http.Client) } } -/* -GetNamespaceIngredientVersionsParams contains all the parameters to send to the API endpoint +/* GetNamespaceIngredientVersionsParams contains all the parameters to send to the API endpoint + for the get namespace ingredient versions operation. - for the get namespace ingredient versions operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetNamespaceIngredientVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_responses.go index c36ed693b3..c329ed6964 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_responses.go @@ -52,8 +52,7 @@ func NewGetNamespaceIngredientVersionsOK() *GetNamespaceIngredientVersionsOK { return &GetNamespaceIngredientVersionsOK{} } -/* -GetNamespaceIngredientVersionsOK describes a response with status code 200, with default header values. +/* GetNamespaceIngredientVersionsOK describes a response with status code 200, with default header values. A paginated list of ingredient versions */ @@ -85,8 +84,7 @@ func NewGetNamespaceIngredientVersionsNotFound() *GetNamespaceIngredientVersions return &GetNamespaceIngredientVersionsNotFound{} } -/* -GetNamespaceIngredientVersionsNotFound describes a response with status code 404, with default header values. +/* GetNamespaceIngredientVersionsNotFound describes a response with status code 404, with default header values. There is no ingredient with the given namespace and name */ @@ -120,8 +118,7 @@ func NewGetNamespaceIngredientVersionsDefault(code int) *GetNamespaceIngredientV } } -/* -GetNamespaceIngredientVersionsDefault describes a response with status code -1, with default header values. +/* GetNamespaceIngredientVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_parameters.go index 167a28ce74..8d9d7bf7d6 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_parameters.go @@ -53,12 +53,10 @@ func NewGetNamespaceIngredientsParamsWithHTTPClient(client *http.Client) *GetNam } } -/* -GetNamespaceIngredientsParams contains all the parameters to send to the API endpoint +/* GetNamespaceIngredientsParams contains all the parameters to send to the API endpoint + for the get namespace ingredients operation. - for the get namespace ingredients operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetNamespaceIngredientsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_responses.go index 91def156da..e0868e3d7a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_responses.go @@ -46,8 +46,7 @@ func NewGetNamespaceIngredientsOK() *GetNamespaceIngredientsOK { return &GetNamespaceIngredientsOK{} } -/* -GetNamespaceIngredientsOK describes a response with status code 200, with default header values. +/* GetNamespaceIngredientsOK describes a response with status code 200, with default header values. A paginated list of ingredients and versions */ @@ -81,8 +80,7 @@ func NewGetNamespaceIngredientsDefault(code int) *GetNamespaceIngredientsDefault } } -/* -GetNamespaceIngredientsDefault describes a response with status code -1, with default header values. +/* GetNamespaceIngredientsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_parameters.go index af247e2104..c5ceffda4f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_parameters.go @@ -53,12 +53,10 @@ func NewGetNamespacesParamsWithHTTPClient(client *http.Client) *GetNamespacesPar } } -/* -GetNamespacesParams contains all the parameters to send to the API endpoint +/* GetNamespacesParams contains all the parameters to send to the API endpoint + for the get namespaces operation. - for the get namespaces operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetNamespacesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_responses.go index 82d5ea5922..d30f58849d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_responses.go @@ -46,8 +46,7 @@ func NewGetNamespacesOK() *GetNamespacesOK { return &GetNamespacesOK{} } -/* -GetNamespacesOK describes a response with status code 200, with default header values. +/* GetNamespacesOK describes a response with status code 200, with default header values. A paginated list of namespaces */ @@ -81,8 +80,7 @@ func NewGetNamespacesDefault(code int) *GetNamespacesDefault { } } -/* -GetNamespacesDefault describes a response with status code -1, with default header values. +/* GetNamespacesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_parameters.go index a9ddb92fc9..4b8b11fd12 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_parameters.go @@ -53,12 +53,10 @@ func NewGetOperatingSystemKernelsParamsWithHTTPClient(client *http.Client) *GetO } } -/* -GetOperatingSystemKernelsParams contains all the parameters to send to the API endpoint +/* GetOperatingSystemKernelsParams contains all the parameters to send to the API endpoint + for the get operating system kernels operation. - for the get operating system kernels operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOperatingSystemKernelsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_responses.go index 648859637a..1c3326dbd7 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_responses.go @@ -46,8 +46,7 @@ func NewGetOperatingSystemKernelsOK() *GetOperatingSystemKernelsOK { return &GetOperatingSystemKernelsOK{} } -/* -GetOperatingSystemKernelsOK describes a response with status code 200, with default header values. +/* GetOperatingSystemKernelsOK describes a response with status code 200, with default header values. A paginated list of kernels */ @@ -81,8 +80,7 @@ func NewGetOperatingSystemKernelsDefault(code int) *GetOperatingSystemKernelsDef } } -/* -GetOperatingSystemKernelsDefault describes a response with status code -1, with default header values. +/* GetOperatingSystemKernelsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_parameters.go index d2cbde09fc..e3e61364de 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_parameters.go @@ -53,12 +53,10 @@ func NewGetOperatingSystemLibcsParamsWithHTTPClient(client *http.Client) *GetOpe } } -/* -GetOperatingSystemLibcsParams contains all the parameters to send to the API endpoint +/* GetOperatingSystemLibcsParams contains all the parameters to send to the API endpoint + for the get operating system libcs operation. - for the get operating system libcs operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOperatingSystemLibcsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_responses.go index dbb6e0d11c..56b0b66ec1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_responses.go @@ -46,8 +46,7 @@ func NewGetOperatingSystemLibcsOK() *GetOperatingSystemLibcsOK { return &GetOperatingSystemLibcsOK{} } -/* -GetOperatingSystemLibcsOK describes a response with status code 200, with default header values. +/* GetOperatingSystemLibcsOK describes a response with status code 200, with default header values. A paginated list of libcs */ @@ -81,8 +80,7 @@ func NewGetOperatingSystemLibcsDefault(code int) *GetOperatingSystemLibcsDefault } } -/* -GetOperatingSystemLibcsDefault describes a response with status code -1, with default header values. +/* GetOperatingSystemLibcsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_parameters.go index aa0ed91967..a2f03af3ca 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_parameters.go @@ -52,12 +52,10 @@ func NewGetOperatingSystemParamsWithHTTPClient(client *http.Client) *GetOperatin } } -/* -GetOperatingSystemParams contains all the parameters to send to the API endpoint +/* GetOperatingSystemParams contains all the parameters to send to the API endpoint + for the get operating system operation. - for the get operating system operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOperatingSystemParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_responses.go index e5648128ed..06e8175b05 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_responses.go @@ -46,8 +46,7 @@ func NewGetOperatingSystemOK() *GetOperatingSystemOK { return &GetOperatingSystemOK{} } -/* -GetOperatingSystemOK describes a response with status code 200, with default header values. +/* GetOperatingSystemOK describes a response with status code 200, with default header values. The retrieved operating system */ @@ -81,8 +80,7 @@ func NewGetOperatingSystemDefault(code int) *GetOperatingSystemDefault { } } -/* -GetOperatingSystemDefault describes a response with status code -1, with default header values. +/* GetOperatingSystemDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_parameters.go index 43c2b2a8e4..7039f4519f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_parameters.go @@ -53,12 +53,10 @@ func NewGetOperatingSystemVersionParamsWithHTTPClient(client *http.Client) *GetO } } -/* -GetOperatingSystemVersionParams contains all the parameters to send to the API endpoint +/* GetOperatingSystemVersionParams contains all the parameters to send to the API endpoint + for the get operating system version operation. - for the get operating system version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOperatingSystemVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_responses.go index 7c7940b126..8508a616d5 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_responses.go @@ -46,8 +46,7 @@ func NewGetOperatingSystemVersionOK() *GetOperatingSystemVersionOK { return &GetOperatingSystemVersionOK{} } -/* -GetOperatingSystemVersionOK describes a response with status code 200, with default header values. +/* GetOperatingSystemVersionOK describes a response with status code 200, with default header values. The retrieved operating system version */ @@ -81,8 +80,7 @@ func NewGetOperatingSystemVersionDefault(code int) *GetOperatingSystemVersionDef } } -/* -GetOperatingSystemVersionDefault describes a response with status code -1, with default header values. +/* GetOperatingSystemVersionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_parameters.go index ea00032562..2f611d6234 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_parameters.go @@ -53,12 +53,10 @@ func NewGetOperatingSystemVersionsParamsWithHTTPClient(client *http.Client) *Get } } -/* -GetOperatingSystemVersionsParams contains all the parameters to send to the API endpoint +/* GetOperatingSystemVersionsParams contains all the parameters to send to the API endpoint + for the get operating system versions operation. - for the get operating system versions operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOperatingSystemVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_responses.go index 9762690e61..2bbe668ea2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_responses.go @@ -46,8 +46,7 @@ func NewGetOperatingSystemVersionsOK() *GetOperatingSystemVersionsOK { return &GetOperatingSystemVersionsOK{} } -/* -GetOperatingSystemVersionsOK describes a response with status code 200, with default header values. +/* GetOperatingSystemVersionsOK describes a response with status code 200, with default header values. A paginated list of operating system versions */ @@ -81,8 +80,7 @@ func NewGetOperatingSystemVersionsDefault(code int) *GetOperatingSystemVersionsD } } -/* -GetOperatingSystemVersionsDefault describes a response with status code -1, with default header values. +/* GetOperatingSystemVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_parameters.go index 51e56f395e..1f5e9e475d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_parameters.go @@ -53,12 +53,10 @@ func NewGetOperatingSystemsParamsWithHTTPClient(client *http.Client) *GetOperati } } -/* -GetOperatingSystemsParams contains all the parameters to send to the API endpoint +/* GetOperatingSystemsParams contains all the parameters to send to the API endpoint + for the get operating systems operation. - for the get operating systems operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOperatingSystemsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_responses.go index 3d39ad4d49..3d69493a95 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_responses.go @@ -46,8 +46,7 @@ func NewGetOperatingSystemsOK() *GetOperatingSystemsOK { return &GetOperatingSystemsOK{} } -/* -GetOperatingSystemsOK describes a response with status code 200, with default header values. +/* GetOperatingSystemsOK describes a response with status code 200, with default header values. A paginated list of operating systems */ @@ -81,8 +80,7 @@ func NewGetOperatingSystemsDefault(code int) *GetOperatingSystemsDefault { } } -/* -GetOperatingSystemsDefault describes a response with status code -1, with default header values. +/* GetOperatingSystemsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_parameters.go index 83891f9858..ee05fe1e8e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_parameters.go @@ -52,12 +52,10 @@ func NewGetPatchParamsWithHTTPClient(client *http.Client) *GetPatchParams { } } -/* -GetPatchParams contains all the parameters to send to the API endpoint +/* GetPatchParams contains all the parameters to send to the API endpoint + for the get patch operation. - for the get patch operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetPatchParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_responses.go index 457ca91429..421703a10c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_responses.go @@ -46,8 +46,7 @@ func NewGetPatchOK() *GetPatchOK { return &GetPatchOK{} } -/* -GetPatchOK describes a response with status code 200, with default header values. +/* GetPatchOK describes a response with status code 200, with default header values. The retrieved patch */ @@ -81,8 +80,7 @@ func NewGetPatchDefault(code int) *GetPatchDefault { } } -/* -GetPatchDefault describes a response with status code -1, with default header values. +/* GetPatchDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_parameters.go index b9a15695b0..57eb8487b3 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_parameters.go @@ -53,12 +53,10 @@ func NewGetPatchesParamsWithHTTPClient(client *http.Client) *GetPatchesParams { } } -/* -GetPatchesParams contains all the parameters to send to the API endpoint +/* GetPatchesParams contains all the parameters to send to the API endpoint + for the get patches operation. - for the get patches operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetPatchesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_responses.go index 552c0bb937..38702ce99e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_responses.go @@ -46,8 +46,7 @@ func NewGetPatchesOK() *GetPatchesOK { return &GetPatchesOK{} } -/* -GetPatchesOK describes a response with status code 200, with default header values. +/* GetPatchesOK describes a response with status code 200, with default header values. A paginated list of patches */ @@ -81,8 +80,7 @@ func NewGetPatchesDefault(code int) *GetPatchesDefault { } } -/* -GetPatchesDefault describes a response with status code -1, with default header values. +/* GetPatchesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_parameters.go index 1e46c4e7bd..ef839b6105 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_parameters.go @@ -53,12 +53,10 @@ func NewGetPlatformParamsWithHTTPClient(client *http.Client) *GetPlatformParams } } -/* -GetPlatformParams contains all the parameters to send to the API endpoint +/* GetPlatformParams contains all the parameters to send to the API endpoint + for the get platform operation. - for the get platform operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetPlatformParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_responses.go index bd6122278f..4f58c5a5e0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_responses.go @@ -46,8 +46,7 @@ func NewGetPlatformOK() *GetPlatformOK { return &GetPlatformOK{} } -/* -GetPlatformOK describes a response with status code 200, with default header values. +/* GetPlatformOK describes a response with status code 200, with default header values. The retrieved platform */ @@ -81,8 +80,7 @@ func NewGetPlatformDefault(code int) *GetPlatformDefault { } } -/* -GetPlatformDefault describes a response with status code -1, with default header values. +/* GetPlatformDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_parameters.go index c8efc2018d..20b3c92dd7 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_parameters.go @@ -53,12 +53,10 @@ func NewGetPlatformsParamsWithHTTPClient(client *http.Client) *GetPlatformsParam } } -/* -GetPlatformsParams contains all the parameters to send to the API endpoint +/* GetPlatformsParams contains all the parameters to send to the API endpoint + for the get platforms operation. - for the get platforms operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetPlatformsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_responses.go index b0136b3593..b7e833b4ec 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_responses.go @@ -46,8 +46,7 @@ func NewGetPlatformsOK() *GetPlatformsOK { return &GetPlatformsOK{} } -/* -GetPlatformsOK describes a response with status code 200, with default header values. +/* GetPlatformsOK describes a response with status code 200, with default header values. A paginated list of platforms */ @@ -81,8 +80,7 @@ func NewGetPlatformsDefault(code int) *GetPlatformsDefault { } } -/* -GetPlatformsDefault describes a response with status code -1, with default header values. +/* GetPlatformsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_parameters.go index cf61299e8b..fe9a3d8438 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_parameters.go @@ -52,12 +52,10 @@ func NewGetSolutionRecipeParamsWithHTTPClient(client *http.Client) *GetSolutionR } } -/* -GetSolutionRecipeParams contains all the parameters to send to the API endpoint +/* GetSolutionRecipeParams contains all the parameters to send to the API endpoint + for the get solution recipe operation. - for the get solution recipe operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetSolutionRecipeParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_responses.go index 4d98e4cac2..06da5e1f7a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_responses.go @@ -54,8 +54,7 @@ func NewGetSolutionRecipeOK() *GetSolutionRecipeOK { } } -/* -GetSolutionRecipeOK describes a response with status code 200, with default header values. +/* GetSolutionRecipeOK describes a response with status code 200, with default header values. The retrieved recipe */ @@ -98,8 +97,7 @@ func NewGetSolutionRecipeDefault(code int) *GetSolutionRecipeDefault { } } -/* -GetSolutionRecipeDefault describes a response with status code -1, with default header values. +/* GetSolutionRecipeDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_parameters.go index 79ff91ddcc..3bbe41b14d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_parameters.go @@ -52,12 +52,10 @@ func NewHealthCheckParamsWithHTTPClient(client *http.Client) *HealthCheckParams } } -/* -HealthCheckParams contains all the parameters to send to the API endpoint +/* HealthCheckParams contains all the parameters to send to the API endpoint + for the health check operation. - for the health check operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type HealthCheckParams struct { timeout time.Duration diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_responses.go index 498b310cb2..07db7f9b2a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_responses.go @@ -46,8 +46,7 @@ func NewHealthCheckOK() *HealthCheckOK { return &HealthCheckOK{} } -/* -HealthCheckOK describes a response with status code 200, with default header values. +/* HealthCheckOK describes a response with status code 200, with default header values. Indicates whether the server is healthy */ @@ -79,8 +78,7 @@ func NewHealthCheckDefault(code int) *HealthCheckDefault { } } -/* -HealthCheckDefault describes a response with status code -1, with default header values. +/* HealthCheckDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/inventory_operations_client.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/inventory_operations_client.go index 3a5b5d7498..5d679aa09f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/inventory_operations_client.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/inventory_operations_client.go @@ -244,7 +244,7 @@ type ClientService interface { } /* -AddAuthor Add a new author + AddAuthor Add a new author */ func (a *Client) AddAuthor(params *AddAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddAuthorCreated, error) { // TODO: Validate the params before sending @@ -282,7 +282,7 @@ func (a *Client) AddAuthor(params *AddAuthorParams, authInfo runtime.ClientAuthI } /* -AddBuildFlag Add a new build flag + AddBuildFlag Add a new build flag */ func (a *Client) AddBuildFlag(params *AddBuildFlagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildFlagCreated, error) { // TODO: Validate the params before sending @@ -320,7 +320,7 @@ func (a *Client) AddBuildFlag(params *AddBuildFlagParams, authInfo runtime.Clien } /* -AddBuildFlagRevision Add a new revision of this build flag + AddBuildFlagRevision Add a new revision of this build flag */ func (a *Client) AddBuildFlagRevision(params *AddBuildFlagRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildFlagRevisionOK, error) { // TODO: Validate the params before sending @@ -358,7 +358,7 @@ func (a *Client) AddBuildFlagRevision(params *AddBuildFlagRevisionParams, authIn } /* -AddBuildScript Add a new build script + AddBuildScript Add a new build script */ func (a *Client) AddBuildScript(params *AddBuildScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildScriptCreated, error) { // TODO: Validate the params before sending @@ -396,7 +396,7 @@ func (a *Client) AddBuildScript(params *AddBuildScriptParams, authInfo runtime.C } /* -AddCPUArchitecture Add a new CPU architecture + AddCPUArchitecture Add a new CPU architecture */ func (a *Client) AddCPUArchitecture(params *AddCPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureCreated, error) { // TODO: Validate the params before sending @@ -434,7 +434,7 @@ func (a *Client) AddCPUArchitecture(params *AddCPUArchitectureParams, authInfo r } /* -AddCPUArchitectureCPUExtension Add a CPU extension that can be used with this architecture + AddCPUArchitectureCPUExtension Add a CPU extension that can be used with this architecture */ func (a *Client) AddCPUArchitectureCPUExtension(params *AddCPUArchitectureCPUExtensionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureCPUExtensionOK, error) { // TODO: Validate the params before sending @@ -472,7 +472,7 @@ func (a *Client) AddCPUArchitectureCPUExtension(params *AddCPUArchitectureCPUExt } /* -AddCPUArchitectureRevision Add a new revision of this CPU architecture + AddCPUArchitectureRevision Add a new revision of this CPU architecture */ func (a *Client) AddCPUArchitectureRevision(params *AddCPUArchitectureRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureRevisionOK, error) { // TODO: Validate the params before sending @@ -510,7 +510,7 @@ func (a *Client) AddCPUArchitectureRevision(params *AddCPUArchitectureRevisionPa } /* -AddCPUExtension Add a new CPU extension + AddCPUExtension Add a new CPU extension */ func (a *Client) AddCPUExtension(params *AddCPUExtensionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUExtensionCreated, error) { // TODO: Validate the params before sending @@ -548,7 +548,7 @@ func (a *Client) AddCPUExtension(params *AddCPUExtensionParams, authInfo runtime } /* -AddCPUExtensionRevision Add a new revision of this CPU extension + AddCPUExtensionRevision Add a new revision of this CPU extension */ func (a *Client) AddCPUExtensionRevision(params *AddCPUExtensionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUExtensionRevisionOK, error) { // TODO: Validate the params before sending @@ -586,7 +586,7 @@ func (a *Client) AddCPUExtensionRevision(params *AddCPUExtensionRevisionParams, } /* -AddGPUArchitecture Add a new GPU architecture + AddGPUArchitecture Add a new GPU architecture */ func (a *Client) AddGPUArchitecture(params *AddGPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddGPUArchitectureCreated, error) { // TODO: Validate the params before sending @@ -624,7 +624,7 @@ func (a *Client) AddGPUArchitecture(params *AddGPUArchitectureParams, authInfo r } /* -AddGPUArchitectureRevision Add a new revision of this GPU architecture + AddGPUArchitectureRevision Add a new revision of this GPU architecture */ func (a *Client) AddGPUArchitectureRevision(params *AddGPUArchitectureRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddGPUArchitectureRevisionOK, error) { // TODO: Validate the params before sending @@ -662,7 +662,7 @@ func (a *Client) AddGPUArchitectureRevision(params *AddGPUArchitectureRevisionPa } /* -AddImage Add a new image + AddImage Add a new image */ func (a *Client) AddImage(params *AddImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddImageCreated, error) { // TODO: Validate the params before sending @@ -700,7 +700,7 @@ func (a *Client) AddImage(params *AddImageParams, authInfo runtime.ClientAuthInf } /* -AddImageRevision Add a new revision of this image + AddImageRevision Add a new revision of this image */ func (a *Client) AddImageRevision(params *AddImageRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddImageRevisionOK, error) { // TODO: Validate the params before sending @@ -738,7 +738,7 @@ func (a *Client) AddImageRevision(params *AddImageRevisionParams, authInfo runti } /* -AddIngredient Add a new ingredient + AddIngredient Add a new ingredient */ func (a *Client) AddIngredient(params *AddIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientCreated, error) { // TODO: Validate the params before sending @@ -776,7 +776,7 @@ func (a *Client) AddIngredient(params *AddIngredientParams, authInfo runtime.Cli } /* -AddIngredientAndVersions Add multiple new versions, and add the ingredient if it doesn't exist + AddIngredientAndVersions Add multiple new versions, and add the ingredient if it doesn't exist */ func (a *Client) AddIngredientAndVersions(params *AddIngredientAndVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientAndVersionsCreated, error) { // TODO: Validate the params before sending @@ -814,7 +814,7 @@ func (a *Client) AddIngredientAndVersions(params *AddIngredientAndVersionsParams } /* -AddIngredientOptionSet Add a new ingredient option set + AddIngredientOptionSet Add a new ingredient option set */ func (a *Client) AddIngredientOptionSet(params *AddIngredientOptionSetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientOptionSetCreated, error) { // TODO: Validate the params before sending @@ -852,7 +852,7 @@ func (a *Client) AddIngredientOptionSet(params *AddIngredientOptionSetParams, au } /* -AddIngredientOptionSetRevision Add a new revision of this ingredient option set + AddIngredientOptionSetRevision Add a new revision of this ingredient option set */ func (a *Client) AddIngredientOptionSetRevision(params *AddIngredientOptionSetRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientOptionSetRevisionOK, error) { // TODO: Validate the params before sending @@ -890,7 +890,7 @@ func (a *Client) AddIngredientOptionSetRevision(params *AddIngredientOptionSetRe } /* -AddIngredientVersion Add a new version of this ingredient + AddIngredientVersion Add a new version of this ingredient */ func (a *Client) AddIngredientVersion(params *AddIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionCreated, error) { // TODO: Validate the params before sending @@ -928,7 +928,7 @@ func (a *Client) AddIngredientVersion(params *AddIngredientVersionParams, authIn } /* -AddIngredientVersionAuthor Add an author of this ingredient version + AddIngredientVersionAuthor Add an author of this ingredient version */ func (a *Client) AddIngredientVersionAuthor(params *AddIngredientVersionAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionAuthorOK, error) { // TODO: Validate the params before sending @@ -966,7 +966,7 @@ func (a *Client) AddIngredientVersionAuthor(params *AddIngredientVersionAuthorPa } /* -AddIngredientVersionRevision Add a new revision of this ingredient version + AddIngredientVersionRevision Add a new revision of this ingredient version */ func (a *Client) AddIngredientVersionRevision(params *AddIngredientVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionRevisionOK, error) { // TODO: Validate the params before sending @@ -1004,7 +1004,7 @@ func (a *Client) AddIngredientVersionRevision(params *AddIngredientVersionRevisi } /* -AddKernel Add a new kernel + AddKernel Add a new kernel */ func (a *Client) AddKernel(params *AddKernelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelCreated, error) { // TODO: Validate the params before sending @@ -1042,7 +1042,7 @@ func (a *Client) AddKernel(params *AddKernelParams, authInfo runtime.ClientAuthI } /* -AddKernelCPUArchitecture Add a CPU architecture that can be used with this kernel + AddKernelCPUArchitecture Add a CPU architecture that can be used with this kernel */ func (a *Client) AddKernelCPUArchitecture(params *AddKernelCPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelCPUArchitectureOK, error) { // TODO: Validate the params before sending @@ -1080,7 +1080,7 @@ func (a *Client) AddKernelCPUArchitecture(params *AddKernelCPUArchitectureParams } /* -AddKernelGPUArchitecture Add a GPU architecture that can be used with this kernel + AddKernelGPUArchitecture Add a GPU architecture that can be used with this kernel */ func (a *Client) AddKernelGPUArchitecture(params *AddKernelGPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelGPUArchitectureOK, error) { // TODO: Validate the params before sending @@ -1118,7 +1118,7 @@ func (a *Client) AddKernelGPUArchitecture(params *AddKernelGPUArchitectureParams } /* -AddKernelVersion Add a new version for this kernel + AddKernelVersion Add a new version for this kernel */ func (a *Client) AddKernelVersion(params *AddKernelVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelVersionCreated, error) { // TODO: Validate the params before sending @@ -1156,7 +1156,7 @@ func (a *Client) AddKernelVersion(params *AddKernelVersionParams, authInfo runti } /* -AddKernelVersionRevision Add a new revision of this kernel version + AddKernelVersionRevision Add a new revision of this kernel version */ func (a *Client) AddKernelVersionRevision(params *AddKernelVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelVersionRevisionOK, error) { // TODO: Validate the params before sending @@ -1194,7 +1194,7 @@ func (a *Client) AddKernelVersionRevision(params *AddKernelVersionRevisionParams } /* -AddLibc Add a new libc + AddLibc Add a new libc */ func (a *Client) AddLibc(params *AddLibcParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcCreated, error) { // TODO: Validate the params before sending @@ -1232,7 +1232,7 @@ func (a *Client) AddLibc(params *AddLibcParams, authInfo runtime.ClientAuthInfoW } /* -AddLibcVersion Add a new version for this libc + AddLibcVersion Add a new version for this libc */ func (a *Client) AddLibcVersion(params *AddLibcVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcVersionCreated, error) { // TODO: Validate the params before sending @@ -1270,7 +1270,7 @@ func (a *Client) AddLibcVersion(params *AddLibcVersionParams, authInfo runtime.C } /* -AddLibcVersionRevision Add a new revision of this libc version + AddLibcVersionRevision Add a new revision of this libc version */ func (a *Client) AddLibcVersionRevision(params *AddLibcVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcVersionRevisionOK, error) { // TODO: Validate the params before sending @@ -1308,7 +1308,7 @@ func (a *Client) AddLibcVersionRevision(params *AddLibcVersionRevisionParams, au } /* -AddNamespace Add a new namespace + AddNamespace Add a new namespace */ func (a *Client) AddNamespace(params *AddNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddNamespaceCreated, error) { // TODO: Validate the params before sending @@ -1346,7 +1346,7 @@ func (a *Client) AddNamespace(params *AddNamespaceParams, authInfo runtime.Clien } /* -AddOperatingSystem Add a new operating system + AddOperatingSystem Add a new operating system */ func (a *Client) AddOperatingSystem(params *AddOperatingSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemCreated, error) { // TODO: Validate the params before sending @@ -1384,7 +1384,7 @@ func (a *Client) AddOperatingSystem(params *AddOperatingSystemParams, authInfo r } /* -AddOperatingSystemKernel Add a kernel that can be used with this operating system + AddOperatingSystemKernel Add a kernel that can be used with this operating system */ func (a *Client) AddOperatingSystemKernel(params *AddOperatingSystemKernelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemKernelOK, error) { // TODO: Validate the params before sending @@ -1422,7 +1422,7 @@ func (a *Client) AddOperatingSystemKernel(params *AddOperatingSystemKernelParams } /* -AddOperatingSystemLibc Add a libc that can be used with this operating system + AddOperatingSystemLibc Add a libc that can be used with this operating system */ func (a *Client) AddOperatingSystemLibc(params *AddOperatingSystemLibcParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemLibcOK, error) { // TODO: Validate the params before sending @@ -1460,7 +1460,7 @@ func (a *Client) AddOperatingSystemLibc(params *AddOperatingSystemLibcParams, au } /* -AddOperatingSystemVersion Add a new version for this operating system + AddOperatingSystemVersion Add a new version for this operating system */ func (a *Client) AddOperatingSystemVersion(params *AddOperatingSystemVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemVersionCreated, error) { // TODO: Validate the params before sending @@ -1498,7 +1498,7 @@ func (a *Client) AddOperatingSystemVersion(params *AddOperatingSystemVersionPara } /* -AddOperatingSystemVersionRevision Add a new revision of this operating system version + AddOperatingSystemVersionRevision Add a new revision of this operating system version */ func (a *Client) AddOperatingSystemVersionRevision(params *AddOperatingSystemVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemVersionRevisionOK, error) { // TODO: Validate the params before sending @@ -1536,7 +1536,7 @@ func (a *Client) AddOperatingSystemVersionRevision(params *AddOperatingSystemVer } /* -AddPatch Add a new patch + AddPatch Add a new patch */ func (a *Client) AddPatch(params *AddPatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddPatchCreated, error) { // TODO: Validate the params before sending @@ -1574,7 +1574,7 @@ func (a *Client) AddPatch(params *AddPatchParams, authInfo runtime.ClientAuthInf } /* -AddPlatform Add a new platform + AddPlatform Add a new platform */ func (a *Client) AddPlatform(params *AddPlatformParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddPlatformCreated, error) { // TODO: Validate the params before sending @@ -1612,7 +1612,7 @@ func (a *Client) AddPlatform(params *AddPlatformParams, authInfo runtime.ClientA } /* -DeleteImage Delete this image + DeleteImage Delete this image */ func (a *Client) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteImageNoContent, error) { // TODO: Validate the params before sending @@ -1650,7 +1650,7 @@ func (a *Client) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientA } /* -DeleteIngredientVersion Delete this ingredient version + DeleteIngredientVersion Delete this ingredient version */ func (a *Client) DeleteIngredientVersion(params *DeleteIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIngredientVersionNoContent, error) { // TODO: Validate the params before sending @@ -1688,7 +1688,7 @@ func (a *Client) DeleteIngredientVersion(params *DeleteIngredientVersionParams, } /* -GetAuthor Retrieve an author + GetAuthor Retrieve an author */ func (a *Client) GetAuthor(params *GetAuthorParams, opts ...ClientOption) (*GetAuthorOK, error) { // TODO: Validate the params before sending @@ -1725,7 +1725,7 @@ func (a *Client) GetAuthor(params *GetAuthorParams, opts ...ClientOption) (*GetA } /* -GetAuthors Retrieve a paged set of authors + GetAuthors Retrieve a paged set of authors */ func (a *Client) GetAuthors(params *GetAuthorsParams, opts ...ClientOption) (*GetAuthorsOK, error) { // TODO: Validate the params before sending @@ -1762,7 +1762,7 @@ func (a *Client) GetAuthors(params *GetAuthorsParams, opts ...ClientOption) (*Ge } /* -GetBuildFlag Retrieve a build flag + GetBuildFlag Retrieve a build flag */ func (a *Client) GetBuildFlag(params *GetBuildFlagParams, opts ...ClientOption) (*GetBuildFlagOK, error) { // TODO: Validate the params before sending @@ -1799,7 +1799,7 @@ func (a *Client) GetBuildFlag(params *GetBuildFlagParams, opts ...ClientOption) } /* -GetBuildFlags Retrieve a paged set of build flags + GetBuildFlags Retrieve a paged set of build flags */ func (a *Client) GetBuildFlags(params *GetBuildFlagsParams, opts ...ClientOption) (*GetBuildFlagsOK, error) { // TODO: Validate the params before sending @@ -1836,7 +1836,7 @@ func (a *Client) GetBuildFlags(params *GetBuildFlagsParams, opts ...ClientOption } /* -GetBuildScript Retrieve a single build script + GetBuildScript Retrieve a single build script */ func (a *Client) GetBuildScript(params *GetBuildScriptParams, opts ...ClientOption) (*GetBuildScriptOK, error) { // TODO: Validate the params before sending @@ -1873,7 +1873,7 @@ func (a *Client) GetBuildScript(params *GetBuildScriptParams, opts ...ClientOpti } /* -GetBuildScripts Retrieve all build scripts + GetBuildScripts Retrieve all build scripts */ func (a *Client) GetBuildScripts(params *GetBuildScriptsParams, opts ...ClientOption) (*GetBuildScriptsOK, error) { // TODO: Validate the params before sending @@ -1910,7 +1910,7 @@ func (a *Client) GetBuildScripts(params *GetBuildScriptsParams, opts ...ClientOp } /* -GetCPUArchitecture Retrieve a single CPU architecture + GetCPUArchitecture Retrieve a single CPU architecture */ func (a *Client) GetCPUArchitecture(params *GetCPUArchitectureParams, opts ...ClientOption) (*GetCPUArchitectureOK, error) { // TODO: Validate the params before sending @@ -1947,7 +1947,7 @@ func (a *Client) GetCPUArchitecture(params *GetCPUArchitectureParams, opts ...Cl } /* -GetCPUArchitectureCPUExtensions Retrieve all CPU extensions that can be used with this architecture + GetCPUArchitectureCPUExtensions Retrieve all CPU extensions that can be used with this architecture */ func (a *Client) GetCPUArchitectureCPUExtensions(params *GetCPUArchitectureCPUExtensionsParams, opts ...ClientOption) (*GetCPUArchitectureCPUExtensionsOK, error) { // TODO: Validate the params before sending @@ -1984,7 +1984,7 @@ func (a *Client) GetCPUArchitectureCPUExtensions(params *GetCPUArchitectureCPUEx } /* -GetCPUArchitectures Retrieve all CPU architectures + GetCPUArchitectures Retrieve all CPU architectures */ func (a *Client) GetCPUArchitectures(params *GetCPUArchitecturesParams, opts ...ClientOption) (*GetCPUArchitecturesOK, error) { // TODO: Validate the params before sending @@ -2021,7 +2021,7 @@ func (a *Client) GetCPUArchitectures(params *GetCPUArchitecturesParams, opts ... } /* -GetCPUExtension Retrieve a single CPU extension + GetCPUExtension Retrieve a single CPU extension */ func (a *Client) GetCPUExtension(params *GetCPUExtensionParams, opts ...ClientOption) (*GetCPUExtensionOK, error) { // TODO: Validate the params before sending @@ -2058,7 +2058,7 @@ func (a *Client) GetCPUExtension(params *GetCPUExtensionParams, opts ...ClientOp } /* -GetCPUExtensions Retrieve all CPU extensions + GetCPUExtensions Retrieve all CPU extensions */ func (a *Client) GetCPUExtensions(params *GetCPUExtensionsParams, opts ...ClientOption) (*GetCPUExtensionsOK, error) { // TODO: Validate the params before sending @@ -2095,7 +2095,7 @@ func (a *Client) GetCPUExtensions(params *GetCPUExtensionsParams, opts ...Client } /* -GetGPUArchitecture Retrieve a single GPU architecture + GetGPUArchitecture Retrieve a single GPU architecture */ func (a *Client) GetGPUArchitecture(params *GetGPUArchitectureParams, opts ...ClientOption) (*GetGPUArchitectureOK, error) { // TODO: Validate the params before sending @@ -2132,7 +2132,7 @@ func (a *Client) GetGPUArchitecture(params *GetGPUArchitectureParams, opts ...Cl } /* -GetGPUArchitectures Retrieve all GPU architectures + GetGPUArchitectures Retrieve all GPU architectures */ func (a *Client) GetGPUArchitectures(params *GetGPUArchitecturesParams, opts ...ClientOption) (*GetGPUArchitecturesOK, error) { // TODO: Validate the params before sending @@ -2169,7 +2169,7 @@ func (a *Client) GetGPUArchitectures(params *GetGPUArchitecturesParams, opts ... } /* -GetImage Retrieve an image + GetImage Retrieve an image */ func (a *Client) GetImage(params *GetImageParams, opts ...ClientOption) (*GetImageOK, error) { // TODO: Validate the params before sending @@ -2206,7 +2206,7 @@ func (a *Client) GetImage(params *GetImageParams, opts ...ClientOption) (*GetIma } /* -GetImages Retrieve a paged set of images + GetImages Retrieve a paged set of images */ func (a *Client) GetImages(params *GetImagesParams, opts ...ClientOption) (*GetImagesOK, error) { // TODO: Validate the params before sending @@ -2243,7 +2243,7 @@ func (a *Client) GetImages(params *GetImagesParams, opts ...ClientOption) (*GetI } /* -GetIngredient Retrieve a single ingredient + GetIngredient Retrieve a single ingredient */ func (a *Client) GetIngredient(params *GetIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientOK, error) { // TODO: Validate the params before sending @@ -2281,7 +2281,7 @@ func (a *Client) GetIngredient(params *GetIngredientParams, authInfo runtime.Cli } /* -GetIngredientOptionSet Retrieve a single ingredient option set + GetIngredientOptionSet Retrieve a single ingredient option set */ func (a *Client) GetIngredientOptionSet(params *GetIngredientOptionSetParams, opts ...ClientOption) (*GetIngredientOptionSetOK, error) { // TODO: Validate the params before sending @@ -2318,7 +2318,7 @@ func (a *Client) GetIngredientOptionSet(params *GetIngredientOptionSetParams, op } /* -GetIngredientOptionSetIngredientVersions Retrieve all ingredient versions which use this ingredient option set + GetIngredientOptionSetIngredientVersions Retrieve all ingredient versions which use this ingredient option set */ func (a *Client) GetIngredientOptionSetIngredientVersions(params *GetIngredientOptionSetIngredientVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientOptionSetIngredientVersionsOK, error) { // TODO: Validate the params before sending @@ -2356,7 +2356,7 @@ func (a *Client) GetIngredientOptionSetIngredientVersions(params *GetIngredientO } /* -GetIngredientOptionSets Iterate over all matching ingredient option sets + GetIngredientOptionSets Iterate over all matching ingredient option sets */ func (a *Client) GetIngredientOptionSets(params *GetIngredientOptionSetsParams, opts ...ClientOption) (*GetIngredientOptionSetsOK, error) { // TODO: Validate the params before sending @@ -2393,7 +2393,7 @@ func (a *Client) GetIngredientOptionSets(params *GetIngredientOptionSetsParams, } /* -GetIngredientVersion Retrieve a single ingredient version + GetIngredientVersion Retrieve a single ingredient version */ func (a *Client) GetIngredientVersion(params *GetIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionOK, error) { // TODO: Validate the params before sending @@ -2431,7 +2431,7 @@ func (a *Client) GetIngredientVersion(params *GetIngredientVersionParams, authIn } /* -GetIngredientVersionAuthors Retrieve all authors of this ingredient version + GetIngredientVersionAuthors Retrieve all authors of this ingredient version */ func (a *Client) GetIngredientVersionAuthors(params *GetIngredientVersionAuthorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionAuthorsOK, error) { // TODO: Validate the params before sending @@ -2469,7 +2469,7 @@ func (a *Client) GetIngredientVersionAuthors(params *GetIngredientVersionAuthors } /* -GetIngredientVersionBuildScripts Retrieve all build scripts used by the ingredient version revision + GetIngredientVersionBuildScripts Retrieve all build scripts used by the ingredient version revision */ func (a *Client) GetIngredientVersionBuildScripts(params *GetIngredientVersionBuildScriptsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionBuildScriptsOK, error) { // TODO: Validate the params before sending @@ -2507,7 +2507,7 @@ func (a *Client) GetIngredientVersionBuildScripts(params *GetIngredientVersionBu } /* -GetIngredientVersionIngredientOptionSets Retrieve all ingredient option sets used by the ingredient version + GetIngredientVersionIngredientOptionSets Retrieve all ingredient option sets used by the ingredient version */ func (a *Client) GetIngredientVersionIngredientOptionSets(params *GetIngredientVersionIngredientOptionSetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionIngredientOptionSetsOK, error) { // TODO: Validate the params before sending @@ -2545,7 +2545,7 @@ func (a *Client) GetIngredientVersionIngredientOptionSets(params *GetIngredientV } /* -GetIngredientVersionPatches Retrieve all patches used by the ingredient version revision + GetIngredientVersionPatches Retrieve all patches used by the ingredient version revision */ func (a *Client) GetIngredientVersionPatches(params *GetIngredientVersionPatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionPatchesOK, error) { // TODO: Validate the params before sending @@ -2583,7 +2583,7 @@ func (a *Client) GetIngredientVersionPatches(params *GetIngredientVersionPatches } /* -GetIngredientVersionRevision Retrieve a single ingredient version revision + GetIngredientVersionRevision Retrieve a single ingredient version revision */ func (a *Client) GetIngredientVersionRevision(params *GetIngredientVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionRevisionOK, error) { // TODO: Validate the params before sending @@ -2621,7 +2621,7 @@ func (a *Client) GetIngredientVersionRevision(params *GetIngredientVersionRevisi } /* -GetIngredientVersionRevisions Retrieve all ingredient version revisions for an ingredient version + GetIngredientVersionRevisions Retrieve all ingredient version revisions for an ingredient version */ func (a *Client) GetIngredientVersionRevisions(params *GetIngredientVersionRevisionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionRevisionsOK, error) { // TODO: Validate the params before sending @@ -2659,7 +2659,7 @@ func (a *Client) GetIngredientVersionRevisions(params *GetIngredientVersionRevis } /* -GetIngredientVersions Retrieve all versions of this ingredient + GetIngredientVersions Retrieve all versions of this ingredient */ func (a *Client) GetIngredientVersions(params *GetIngredientVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionsOK, error) { // TODO: Validate the params before sending @@ -2697,7 +2697,7 @@ func (a *Client) GetIngredientVersions(params *GetIngredientVersionsParams, auth } /* -GetIngredients Retrieve all ingredients + GetIngredients Retrieve all ingredients */ func (a *Client) GetIngredients(params *GetIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientsOK, error) { // TODO: Validate the params before sending @@ -2735,7 +2735,7 @@ func (a *Client) GetIngredients(params *GetIngredientsParams, authInfo runtime.C } /* -GetKernel Retrieve a single kernel + GetKernel Retrieve a single kernel */ func (a *Client) GetKernel(params *GetKernelParams, opts ...ClientOption) (*GetKernelOK, error) { // TODO: Validate the params before sending @@ -2772,7 +2772,7 @@ func (a *Client) GetKernel(params *GetKernelParams, opts ...ClientOption) (*GetK } /* -GetKernelCPUArchitectures Retrieve all CPU architectures that can be used with this kernel + GetKernelCPUArchitectures Retrieve all CPU architectures that can be used with this kernel */ func (a *Client) GetKernelCPUArchitectures(params *GetKernelCPUArchitecturesParams, opts ...ClientOption) (*GetKernelCPUArchitecturesOK, error) { // TODO: Validate the params before sending @@ -2809,7 +2809,7 @@ func (a *Client) GetKernelCPUArchitectures(params *GetKernelCPUArchitecturesPara } /* -GetKernelGPUArchitectures Retrieve all GPU architectures that can be used with this kernel + GetKernelGPUArchitectures Retrieve all GPU architectures that can be used with this kernel */ func (a *Client) GetKernelGPUArchitectures(params *GetKernelGPUArchitecturesParams, opts ...ClientOption) (*GetKernelGPUArchitecturesOK, error) { // TODO: Validate the params before sending @@ -2846,7 +2846,7 @@ func (a *Client) GetKernelGPUArchitectures(params *GetKernelGPUArchitecturesPara } /* -GetKernelVersion Retrieve a single kernel version + GetKernelVersion Retrieve a single kernel version */ func (a *Client) GetKernelVersion(params *GetKernelVersionParams, opts ...ClientOption) (*GetKernelVersionOK, error) { // TODO: Validate the params before sending @@ -2883,7 +2883,7 @@ func (a *Client) GetKernelVersion(params *GetKernelVersionParams, opts ...Client } /* -GetKernelVersions Retrieve all versions of this kernel + GetKernelVersions Retrieve all versions of this kernel */ func (a *Client) GetKernelVersions(params *GetKernelVersionsParams, opts ...ClientOption) (*GetKernelVersionsOK, error) { // TODO: Validate the params before sending @@ -2920,7 +2920,7 @@ func (a *Client) GetKernelVersions(params *GetKernelVersionsParams, opts ...Clie } /* -GetKernels Retrieve all kernels + GetKernels Retrieve all kernels */ func (a *Client) GetKernels(params *GetKernelsParams, opts ...ClientOption) (*GetKernelsOK, error) { // TODO: Validate the params before sending @@ -2957,7 +2957,7 @@ func (a *Client) GetKernels(params *GetKernelsParams, opts ...ClientOption) (*Ge } /* -GetLatestTimestamp Retrieve the latest timestamp to use for solve requests + GetLatestTimestamp Retrieve the latest timestamp to use for solve requests */ func (a *Client) GetLatestTimestamp(params *GetLatestTimestampParams, opts ...ClientOption) (*GetLatestTimestampOK, error) { // TODO: Validate the params before sending @@ -2994,7 +2994,7 @@ func (a *Client) GetLatestTimestamp(params *GetLatestTimestampParams, opts ...Cl } /* -GetLibc Retrieve a single libc + GetLibc Retrieve a single libc */ func (a *Client) GetLibc(params *GetLibcParams, opts ...ClientOption) (*GetLibcOK, error) { // TODO: Validate the params before sending @@ -3031,7 +3031,7 @@ func (a *Client) GetLibc(params *GetLibcParams, opts ...ClientOption) (*GetLibcO } /* -GetLibcVersion Retrieve a single libc version + GetLibcVersion Retrieve a single libc version */ func (a *Client) GetLibcVersion(params *GetLibcVersionParams, opts ...ClientOption) (*GetLibcVersionOK, error) { // TODO: Validate the params before sending @@ -3068,7 +3068,7 @@ func (a *Client) GetLibcVersion(params *GetLibcVersionParams, opts ...ClientOpti } /* -GetLibcVersions Retrieve all versions of this libc + GetLibcVersions Retrieve all versions of this libc */ func (a *Client) GetLibcVersions(params *GetLibcVersionsParams, opts ...ClientOption) (*GetLibcVersionsOK, error) { // TODO: Validate the params before sending @@ -3105,7 +3105,7 @@ func (a *Client) GetLibcVersions(params *GetLibcVersionsParams, opts ...ClientOp } /* -GetLibcs Retrieve all libcs + GetLibcs Retrieve all libcs */ func (a *Client) GetLibcs(params *GetLibcsParams, opts ...ClientOption) (*GetLibcsOK, error) { // TODO: Validate the params before sending @@ -3142,7 +3142,7 @@ func (a *Client) GetLibcs(params *GetLibcsParams, opts ...ClientOption) (*GetLib } /* -GetNamespaceIngredient Retrieve a single ingredient by namespace and name + GetNamespaceIngredient Retrieve a single ingredient by namespace and name */ func (a *Client) GetNamespaceIngredient(params *GetNamespaceIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientOK, error) { // TODO: Validate the params before sending @@ -3180,7 +3180,7 @@ func (a *Client) GetNamespaceIngredient(params *GetNamespaceIngredientParams, au } /* -GetNamespaceIngredientVersion Retrieve a single ingredient version by namespace, name, and version + GetNamespaceIngredientVersion Retrieve a single ingredient version by namespace, name, and version */ func (a *Client) GetNamespaceIngredientVersion(params *GetNamespaceIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientVersionOK, error) { // TODO: Validate the params before sending @@ -3218,7 +3218,7 @@ func (a *Client) GetNamespaceIngredientVersion(params *GetNamespaceIngredientVer } /* -GetNamespaceIngredientVersions Retrieve ingredient versions by namespace and ingredient name + GetNamespaceIngredientVersions Retrieve ingredient versions by namespace and ingredient name */ func (a *Client) GetNamespaceIngredientVersions(params *GetNamespaceIngredientVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientVersionsOK, error) { // TODO: Validate the params before sending @@ -3256,7 +3256,7 @@ func (a *Client) GetNamespaceIngredientVersions(params *GetNamespaceIngredientVe } /* -GetNamespaceIngredients Retrieve (or, if query string provided, search across) all ingredients and versions which provide at least one feature in this namespace + GetNamespaceIngredients Retrieve (or, if query string provided, search across) all ingredients and versions which provide at least one feature in this namespace */ func (a *Client) GetNamespaceIngredients(params *GetNamespaceIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientsOK, error) { // TODO: Validate the params before sending @@ -3294,7 +3294,7 @@ func (a *Client) GetNamespaceIngredients(params *GetNamespaceIngredientsParams, } /* -GetNamespaces Retrieve all namespaces + GetNamespaces Retrieve all namespaces */ func (a *Client) GetNamespaces(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespacesOK, error) { // TODO: Validate the params before sending @@ -3332,7 +3332,7 @@ func (a *Client) GetNamespaces(params *GetNamespacesParams, authInfo runtime.Cli } /* -GetOperatingSystem Retrieve a single operating system + GetOperatingSystem Retrieve a single operating system */ func (a *Client) GetOperatingSystem(params *GetOperatingSystemParams, opts ...ClientOption) (*GetOperatingSystemOK, error) { // TODO: Validate the params before sending @@ -3369,7 +3369,7 @@ func (a *Client) GetOperatingSystem(params *GetOperatingSystemParams, opts ...Cl } /* -GetOperatingSystemKernels Retrieve all kernels that can be used with this operating system + GetOperatingSystemKernels Retrieve all kernels that can be used with this operating system */ func (a *Client) GetOperatingSystemKernels(params *GetOperatingSystemKernelsParams, opts ...ClientOption) (*GetOperatingSystemKernelsOK, error) { // TODO: Validate the params before sending @@ -3406,7 +3406,7 @@ func (a *Client) GetOperatingSystemKernels(params *GetOperatingSystemKernelsPara } /* -GetOperatingSystemLibcs Retrieve all libcs that can be used with this operating system + GetOperatingSystemLibcs Retrieve all libcs that can be used with this operating system */ func (a *Client) GetOperatingSystemLibcs(params *GetOperatingSystemLibcsParams, opts ...ClientOption) (*GetOperatingSystemLibcsOK, error) { // TODO: Validate the params before sending @@ -3443,7 +3443,7 @@ func (a *Client) GetOperatingSystemLibcs(params *GetOperatingSystemLibcsParams, } /* -GetOperatingSystemVersion Retrieve a single operating system version + GetOperatingSystemVersion Retrieve a single operating system version */ func (a *Client) GetOperatingSystemVersion(params *GetOperatingSystemVersionParams, opts ...ClientOption) (*GetOperatingSystemVersionOK, error) { // TODO: Validate the params before sending @@ -3480,7 +3480,7 @@ func (a *Client) GetOperatingSystemVersion(params *GetOperatingSystemVersionPara } /* -GetOperatingSystemVersions Retrieve all versions of this operating system + GetOperatingSystemVersions Retrieve all versions of this operating system */ func (a *Client) GetOperatingSystemVersions(params *GetOperatingSystemVersionsParams, opts ...ClientOption) (*GetOperatingSystemVersionsOK, error) { // TODO: Validate the params before sending @@ -3517,7 +3517,7 @@ func (a *Client) GetOperatingSystemVersions(params *GetOperatingSystemVersionsPa } /* -GetOperatingSystems Retrieve all operating systems + GetOperatingSystems Retrieve all operating systems */ func (a *Client) GetOperatingSystems(params *GetOperatingSystemsParams, opts ...ClientOption) (*GetOperatingSystemsOK, error) { // TODO: Validate the params before sending @@ -3554,7 +3554,7 @@ func (a *Client) GetOperatingSystems(params *GetOperatingSystemsParams, opts ... } /* -GetPatch Retrieve a single patch + GetPatch Retrieve a single patch */ func (a *Client) GetPatch(params *GetPatchParams, opts ...ClientOption) (*GetPatchOK, error) { // TODO: Validate the params before sending @@ -3591,7 +3591,7 @@ func (a *Client) GetPatch(params *GetPatchParams, opts ...ClientOption) (*GetPat } /* -GetPatches Retrieve all patches + GetPatches Retrieve all patches */ func (a *Client) GetPatches(params *GetPatchesParams, opts ...ClientOption) (*GetPatchesOK, error) { // TODO: Validate the params before sending @@ -3628,7 +3628,7 @@ func (a *Client) GetPatches(params *GetPatchesParams, opts ...ClientOption) (*Ge } /* -GetPlatform Retrieve a single platform + GetPlatform Retrieve a single platform */ func (a *Client) GetPlatform(params *GetPlatformParams, opts ...ClientOption) (*GetPlatformOK, error) { // TODO: Validate the params before sending @@ -3665,7 +3665,7 @@ func (a *Client) GetPlatform(params *GetPlatformParams, opts ...ClientOption) (* } /* -GetPlatforms Retrieve all platforms + GetPlatforms Retrieve all platforms */ func (a *Client) GetPlatforms(params *GetPlatformsParams, opts ...ClientOption) (*GetPlatformsOK, error) { // TODO: Validate the params before sending @@ -3702,7 +3702,7 @@ func (a *Client) GetPlatforms(params *GetPlatformsParams, opts ...ClientOption) } /* -GetSolutionRecipe Retrieve a recipe produced as part of a solution + GetSolutionRecipe Retrieve a recipe produced as part of a solution */ func (a *Client) GetSolutionRecipe(params *GetSolutionRecipeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSolutionRecipeOK, error) { // TODO: Validate the params before sending @@ -3740,7 +3740,7 @@ func (a *Client) GetSolutionRecipe(params *GetSolutionRecipeParams, authInfo run } /* -HealthCheck health check API + HealthCheck health check API */ func (a *Client) HealthCheck(params *HealthCheckParams, opts ...ClientOption) (*HealthCheckOK, error) { // TODO: Validate the params before sending @@ -3777,7 +3777,7 @@ func (a *Client) HealthCheck(params *HealthCheckParams, opts ...ClientOption) (* } /* -NormalizeNames Normalize a list of names according to the namespace's name normalization rules. + NormalizeNames Normalize a list of names according to the namespace's name normalization rules. */ func (a *Client) NormalizeNames(params *NormalizeNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NormalizeNamesOK, error) { // TODO: Validate the params before sending @@ -3815,7 +3815,7 @@ func (a *Client) NormalizeNames(params *NormalizeNamesParams, authInfo runtime.C } /* -ReadinessCheck readiness check API + ReadinessCheck readiness check API */ func (a *Client) ReadinessCheck(params *ReadinessCheckParams, opts ...ClientOption) (*ReadinessCheckOK, error) { // TODO: Validate the params before sending @@ -3852,9 +3852,9 @@ func (a *Client) ReadinessCheck(params *ReadinessCheckParams, opts ...ClientOpti } /* -ResolveRecipes recipes for an order + ResolveRecipes recipes for an order -Solve the order's requirements into concrete ingredient versions and return one or more recipes fulfilling the order + Solve the order's requirements into concrete ingredient versions and return one or more recipes fulfilling the order */ func (a *Client) ResolveRecipes(params *ResolveRecipesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResolveRecipesOK, *ResolveRecipesAccepted, error) { // TODO: Validate the params before sending @@ -3894,7 +3894,7 @@ func (a *Client) ResolveRecipes(params *ResolveRecipesParams, authInfo runtime.C } /* -SearchIngredients Search ingredients + SearchIngredients Search ingredients */ func (a *Client) SearchIngredients(params *SearchIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchIngredientsOK, error) { // TODO: Validate the params before sending @@ -3932,7 +3932,7 @@ func (a *Client) SearchIngredients(params *SearchIngredientsParams, authInfo run } /* -SolveOrder Solve an order's requirements into a solution consisting of one or more recipes that can be built + SolveOrder Solve an order's requirements into a solution consisting of one or more recipes that can be built */ func (a *Client) SolveOrder(params *SolveOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SolveOrderCreated, error) { // TODO: Validate the params before sending @@ -3970,7 +3970,7 @@ func (a *Client) SolveOrder(params *SolveOrderParams, authInfo runtime.ClientAut } /* -UpdateAuthor Update an author + UpdateAuthor Update an author */ func (a *Client) UpdateAuthor(params *UpdateAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAuthorOK, error) { // TODO: Validate the params before sending @@ -4008,7 +4008,7 @@ func (a *Client) UpdateAuthor(params *UpdateAuthorParams, authInfo runtime.Clien } /* -UpdateBuildScript Update an existing build script (if it's not in use by any stable ingredient version revisions) + UpdateBuildScript Update an existing build script (if it's not in use by any stable ingredient version revisions) */ func (a *Client) UpdateBuildScript(params *UpdateBuildScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBuildScriptOK, error) { // TODO: Validate the params before sending @@ -4046,7 +4046,7 @@ func (a *Client) UpdateBuildScript(params *UpdateBuildScriptParams, authInfo run } /* -UpdateIngredient Update this ingredient + UpdateIngredient Update this ingredient */ func (a *Client) UpdateIngredient(params *UpdateIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIngredientOK, error) { // TODO: Validate the params before sending @@ -4084,7 +4084,7 @@ func (a *Client) UpdateIngredient(params *UpdateIngredientParams, authInfo runti } /* -UpdateIngredientVersion Update this ingredient version + UpdateIngredientVersion Update this ingredient version */ func (a *Client) UpdateIngredientVersion(params *UpdateIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIngredientVersionOK, error) { // TODO: Validate the params before sending @@ -4122,7 +4122,7 @@ func (a *Client) UpdateIngredientVersion(params *UpdateIngredientVersionParams, } /* -UpdatePatch Update an existing patch (if it's not in use by any stable ingredient version revisions) + UpdatePatch Update an existing patch (if it's not in use by any stable ingredient version revisions) */ func (a *Client) UpdatePatch(params *UpdatePatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePatchOK, error) { // TODO: Validate the params before sending @@ -4160,7 +4160,7 @@ func (a *Client) UpdatePatch(params *UpdatePatchParams, authInfo runtime.ClientA } /* -UpdatePlatform Update the platform end of support date + UpdatePlatform Update the platform end of support date */ func (a *Client) UpdatePlatform(params *UpdatePlatformParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePlatformOK, error) { // TODO: Validate the params before sending @@ -4198,7 +4198,7 @@ func (a *Client) UpdatePlatform(params *UpdatePlatformParams, authInfo runtime.C } /* -ValidateRecipe Given a single recipe, this endpoint tells you if the recipe is valid. If not, it returns one more errors explaining the problem(s). + ValidateRecipe Given a single recipe, this endpoint tells you if the recipe is valid. If not, it returns one more errors explaining the problem(s). */ func (a *Client) ValidateRecipe(params *ValidateRecipeParams, opts ...ClientOption) (*ValidateRecipeOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_parameters.go index 15b090003a..68075dc755 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_parameters.go @@ -54,12 +54,10 @@ func NewNormalizeNamesParamsWithHTTPClient(client *http.Client) *NormalizeNamesP } } -/* -NormalizeNamesParams contains all the parameters to send to the API endpoint +/* NormalizeNamesParams contains all the parameters to send to the API endpoint + for the normalize names operation. - for the normalize names operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type NormalizeNamesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_responses.go index 79c110f209..1556bdf157 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_responses.go @@ -46,8 +46,7 @@ func NewNormalizeNamesOK() *NormalizeNamesOK { return &NormalizeNamesOK{} } -/* -NormalizeNamesOK describes a response with status code 200, with default header values. +/* NormalizeNamesOK describes a response with status code 200, with default header values. A list of mappings from requested name to normalized name. */ @@ -81,8 +80,7 @@ func NewNormalizeNamesDefault(code int) *NormalizeNamesDefault { } } -/* -NormalizeNamesDefault describes a response with status code -1, with default header values. +/* NormalizeNamesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_parameters.go index f86a32e191..55c0174f5e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_parameters.go @@ -52,12 +52,10 @@ func NewReadinessCheckParamsWithHTTPClient(client *http.Client) *ReadinessCheckP } } -/* -ReadinessCheckParams contains all the parameters to send to the API endpoint +/* ReadinessCheckParams contains all the parameters to send to the API endpoint + for the readiness check operation. - for the readiness check operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type ReadinessCheckParams struct { timeout time.Duration diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_responses.go index 432510a238..eceb2c5389 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_responses.go @@ -46,8 +46,7 @@ func NewReadinessCheckOK() *ReadinessCheckOK { return &ReadinessCheckOK{} } -/* -ReadinessCheckOK describes a response with status code 200, with default header values. +/* ReadinessCheckOK describes a response with status code 200, with default header values. Indicates whether the server is ready */ @@ -79,8 +78,7 @@ func NewReadinessCheckDefault(code int) *ReadinessCheckDefault { } } -/* -ReadinessCheckDefault describes a response with status code -1, with default header values. +/* ReadinessCheckDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_parameters.go index 85fc560d54..9cf87ca59b 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_parameters.go @@ -55,12 +55,10 @@ func NewResolveRecipesParamsWithHTTPClient(client *http.Client) *ResolveRecipesP } } -/* -ResolveRecipesParams contains all the parameters to send to the API endpoint +/* ResolveRecipesParams contains all the parameters to send to the API endpoint + for the resolve recipes operation. - for the resolve recipes operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type ResolveRecipesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_responses.go index 9e9e43ba7d..96672075a2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_responses.go @@ -58,8 +58,7 @@ func NewResolveRecipesOK() *ResolveRecipesOK { return &ResolveRecipesOK{} } -/* -ResolveRecipesOK describes a response with status code 200, with default header values. +/* ResolveRecipesOK describes a response with status code 200, with default header values. Returns one or more recipes that fulfill the requirements of the order */ @@ -91,8 +90,7 @@ func NewResolveRecipesAccepted() *ResolveRecipesAccepted { return &ResolveRecipesAccepted{} } -/* -ResolveRecipesAccepted describes a response with status code 202, with default header values. +/* ResolveRecipesAccepted describes a response with status code 202, with default header values. If the recipe is not found in the cache when only_cached_responses is set, submits the order and returns */ @@ -124,8 +122,7 @@ func NewResolveRecipesBadRequest() *ResolveRecipesBadRequest { return &ResolveRecipesBadRequest{} } -/* -ResolveRecipesBadRequest describes a response with status code 400, with default header values. +/* ResolveRecipesBadRequest describes a response with status code 400, with default header values. If the order is invalid */ @@ -159,8 +156,7 @@ func NewResolveRecipesDefault(code int) *ResolveRecipesDefault { } } -/* -ResolveRecipesDefault describes a response with status code -1, with default header values. +/* ResolveRecipesDefault describes a response with status code -1, with default header values. If there is an error processing the order */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_parameters.go index f5ec714c64..8024f229f7 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_parameters.go @@ -53,12 +53,10 @@ func NewSearchIngredientsParamsWithHTTPClient(client *http.Client) *SearchIngred } } -/* -SearchIngredientsParams contains all the parameters to send to the API endpoint +/* SearchIngredientsParams contains all the parameters to send to the API endpoint + for the search ingredients operation. - for the search ingredients operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SearchIngredientsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_responses.go index 4c55d245a2..cd25c3c345 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_responses.go @@ -52,8 +52,7 @@ func NewSearchIngredientsOK() *SearchIngredientsOK { return &SearchIngredientsOK{} } -/* -SearchIngredientsOK describes a response with status code 200, with default header values. +/* SearchIngredientsOK describes a response with status code 200, with default header values. A paginated list of search results */ @@ -85,8 +84,7 @@ func NewSearchIngredientsBadRequest() *SearchIngredientsBadRequest { return &SearchIngredientsBadRequest{} } -/* -SearchIngredientsBadRequest describes a response with status code 400, with default header values. +/* SearchIngredientsBadRequest describes a response with status code 400, with default header values. The search parameters are invalid */ @@ -120,8 +118,7 @@ func NewSearchIngredientsDefault(code int) *SearchIngredientsDefault { } } -/* -SearchIngredientsDefault describes a response with status code -1, with default header values. +/* SearchIngredientsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_parameters.go index dcfedddd98..ac1475a201 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_parameters.go @@ -55,12 +55,10 @@ func NewSolveOrderParamsWithHTTPClient(client *http.Client) *SolveOrderParams { } } -/* -SolveOrderParams contains all the parameters to send to the API endpoint +/* SolveOrderParams contains all the parameters to send to the API endpoint + for the solve order operation. - for the solve order operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SolveOrderParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_responses.go index 61ea48601e..cf6b4cc7d5 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_responses.go @@ -52,8 +52,7 @@ func NewSolveOrderCreated() *SolveOrderCreated { return &SolveOrderCreated{} } -/* -SolveOrderCreated describes a response with status code 201, with default header values. +/* SolveOrderCreated describes a response with status code 201, with default header values. Returns the ids of and links to the created recipes */ @@ -83,8 +82,7 @@ func NewSolveOrderBadRequest() *SolveOrderBadRequest { return &SolveOrderBadRequest{} } -/* -SolveOrderBadRequest describes a response with status code 400, with default header values. +/* SolveOrderBadRequest describes a response with status code 400, with default header values. If the order is invalid */ @@ -118,8 +116,7 @@ func NewSolveOrderDefault(code int) *SolveOrderDefault { } } -/* -SolveOrderDefault describes a response with status code -1, with default header values. +/* SolveOrderDefault describes a response with status code -1, with default header values. If there is an error processing the order */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_parameters.go index beaef2903d..39df877b60 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_parameters.go @@ -54,12 +54,10 @@ func NewUpdateAuthorParamsWithHTTPClient(client *http.Client) *UpdateAuthorParam } } -/* -UpdateAuthorParams contains all the parameters to send to the API endpoint +/* UpdateAuthorParams contains all the parameters to send to the API endpoint + for the update author operation. - for the update author operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type UpdateAuthorParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_responses.go index 306911c975..c28095b8d2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_responses.go @@ -52,8 +52,7 @@ func NewUpdateAuthorOK() *UpdateAuthorOK { return &UpdateAuthorOK{} } -/* -UpdateAuthorOK describes a response with status code 200, with default header values. +/* UpdateAuthorOK describes a response with status code 200, with default header values. Author updated */ @@ -85,8 +84,7 @@ func NewUpdateAuthorBadRequest() *UpdateAuthorBadRequest { return &UpdateAuthorBadRequest{} } -/* -UpdateAuthorBadRequest describes a response with status code 400, with default header values. +/* UpdateAuthorBadRequest describes a response with status code 400, with default header values. If the author is invalid */ @@ -120,8 +118,7 @@ func NewUpdateAuthorDefault(code int) *UpdateAuthorDefault { } } -/* -UpdateAuthorDefault describes a response with status code -1, with default header values. +/* UpdateAuthorDefault describes a response with status code -1, with default header values. If there is an error processing the author */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_parameters.go index 66d273baef..627a557c66 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_parameters.go @@ -54,12 +54,10 @@ func NewUpdateBuildScriptParamsWithHTTPClient(client *http.Client) *UpdateBuildS } } -/* -UpdateBuildScriptParams contains all the parameters to send to the API endpoint +/* UpdateBuildScriptParams contains all the parameters to send to the API endpoint + for the update build script operation. - for the update build script operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type UpdateBuildScriptParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_responses.go index e68782ff62..35a6f869cf 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_responses.go @@ -52,8 +52,7 @@ func NewUpdateBuildScriptOK() *UpdateBuildScriptOK { return &UpdateBuildScriptOK{} } -/* -UpdateBuildScriptOK describes a response with status code 200, with default header values. +/* UpdateBuildScriptOK describes a response with status code 200, with default header values. The updated build script */ @@ -85,8 +84,7 @@ func NewUpdateBuildScriptBadRequest() *UpdateBuildScriptBadRequest { return &UpdateBuildScriptBadRequest{} } -/* -UpdateBuildScriptBadRequest describes a response with status code 400, with default header values. +/* UpdateBuildScriptBadRequest describes a response with status code 400, with default header values. If the build script update is invalid or the build script cannot be updated because it is in use by a stable ingredient version revision */ @@ -120,8 +118,7 @@ func NewUpdateBuildScriptDefault(code int) *UpdateBuildScriptDefault { } } -/* -UpdateBuildScriptDefault describes a response with status code -1, with default header values. +/* UpdateBuildScriptDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_parameters.go index 7d6fa266e7..2623041eca 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_parameters.go @@ -54,12 +54,10 @@ func NewUpdateIngredientParamsWithHTTPClient(client *http.Client) *UpdateIngredi } } -/* -UpdateIngredientParams contains all the parameters to send to the API endpoint +/* UpdateIngredientParams contains all the parameters to send to the API endpoint + for the update ingredient operation. - for the update ingredient operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type UpdateIngredientParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_responses.go index b6c6b492b2..b07cfb752d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_responses.go @@ -46,8 +46,7 @@ func NewUpdateIngredientOK() *UpdateIngredientOK { return &UpdateIngredientOK{} } -/* -UpdateIngredientOK describes a response with status code 200, with default header values. +/* UpdateIngredientOK describes a response with status code 200, with default header values. The updated ingredient */ @@ -81,8 +80,7 @@ func NewUpdateIngredientDefault(code int) *UpdateIngredientDefault { } } -/* -UpdateIngredientDefault describes a response with status code -1, with default header values. +/* UpdateIngredientDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_parameters.go index 55ff01cdf5..a73e52b367 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_parameters.go @@ -54,12 +54,10 @@ func NewUpdateIngredientVersionParamsWithHTTPClient(client *http.Client) *Update } } -/* -UpdateIngredientVersionParams contains all the parameters to send to the API endpoint +/* UpdateIngredientVersionParams contains all the parameters to send to the API endpoint + for the update ingredient version operation. - for the update ingredient version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type UpdateIngredientVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_responses.go index 946486f286..16b87c66c8 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_responses.go @@ -52,8 +52,7 @@ func NewUpdateIngredientVersionOK() *UpdateIngredientVersionOK { return &UpdateIngredientVersionOK{} } -/* -UpdateIngredientVersionOK describes a response with status code 200, with default header values. +/* UpdateIngredientVersionOK describes a response with status code 200, with default header values. The updated state of the ingredient version */ @@ -85,8 +84,7 @@ func NewUpdateIngredientVersionBadRequest() *UpdateIngredientVersionBadRequest { return &UpdateIngredientVersionBadRequest{} } -/* -UpdateIngredientVersionBadRequest describes a response with status code 400, with default header values. +/* UpdateIngredientVersionBadRequest describes a response with status code 400, with default header values. If the ingredient version is invalid */ @@ -120,8 +118,7 @@ func NewUpdateIngredientVersionDefault(code int) *UpdateIngredientVersionDefault } } -/* -UpdateIngredientVersionDefault describes a response with status code -1, with default header values. +/* UpdateIngredientVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_parameters.go index 69414902e3..344cd4d672 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_parameters.go @@ -54,12 +54,10 @@ func NewUpdatePatchParamsWithHTTPClient(client *http.Client) *UpdatePatchParams } } -/* -UpdatePatchParams contains all the parameters to send to the API endpoint +/* UpdatePatchParams contains all the parameters to send to the API endpoint + for the update patch operation. - for the update patch operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type UpdatePatchParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_responses.go index 37da22794e..cf5bed3929 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_responses.go @@ -52,8 +52,7 @@ func NewUpdatePatchOK() *UpdatePatchOK { return &UpdatePatchOK{} } -/* -UpdatePatchOK describes a response with status code 200, with default header values. +/* UpdatePatchOK describes a response with status code 200, with default header values. The updated patch */ @@ -85,8 +84,7 @@ func NewUpdatePatchBadRequest() *UpdatePatchBadRequest { return &UpdatePatchBadRequest{} } -/* -UpdatePatchBadRequest describes a response with status code 400, with default header values. +/* UpdatePatchBadRequest describes a response with status code 400, with default header values. If the patch update is invalid or the patch cannot be updated because it is in use by a stable ingredient version revision */ @@ -120,8 +118,7 @@ func NewUpdatePatchDefault(code int) *UpdatePatchDefault { } } -/* -UpdatePatchDefault describes a response with status code -1, with default header values. +/* UpdatePatchDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_parameters.go index b1647732a5..f7ce5d234b 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_parameters.go @@ -54,12 +54,10 @@ func NewUpdatePlatformParamsWithHTTPClient(client *http.Client) *UpdatePlatformP } } -/* -UpdatePlatformParams contains all the parameters to send to the API endpoint +/* UpdatePlatformParams contains all the parameters to send to the API endpoint + for the update platform operation. - for the update platform operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type UpdatePlatformParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_responses.go index 070703aae6..9dc9a9e7d9 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_responses.go @@ -52,8 +52,7 @@ func NewUpdatePlatformOK() *UpdatePlatformOK { return &UpdatePlatformOK{} } -/* -UpdatePlatformOK describes a response with status code 200, with default header values. +/* UpdatePlatformOK describes a response with status code 200, with default header values. The updated state of the platform */ @@ -85,8 +84,7 @@ func NewUpdatePlatformBadRequest() *UpdatePlatformBadRequest { return &UpdatePlatformBadRequest{} } -/* -UpdatePlatformBadRequest describes a response with status code 400, with default header values. +/* UpdatePlatformBadRequest describes a response with status code 400, with default header values. If the platform update in invalid */ @@ -120,8 +118,7 @@ func NewUpdatePlatformDefault(code int) *UpdatePlatformDefault { } } -/* -UpdatePlatformDefault describes a response with status code -1, with default header values. +/* UpdatePlatformDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_parameters.go index c854c5ca2f..ae7abcce66 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_parameters.go @@ -54,12 +54,10 @@ func NewValidateRecipeParamsWithHTTPClient(client *http.Client) *ValidateRecipeP } } -/* -ValidateRecipeParams contains all the parameters to send to the API endpoint +/* ValidateRecipeParams contains all the parameters to send to the API endpoint + for the validate recipe operation. - for the validate recipe operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type ValidateRecipeParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_responses.go index 4719d56d46..1ecbb76f9a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_responses.go @@ -52,8 +52,7 @@ func NewValidateRecipeOK() *ValidateRecipeOK { return &ValidateRecipeOK{} } -/* -ValidateRecipeOK describes a response with status code 200, with default header values. +/* ValidateRecipeOK describes a response with status code 200, with default header values. If there are no errors, then there is no body in the response. */ @@ -74,8 +73,7 @@ func NewValidateRecipeBadRequest() *ValidateRecipeBadRequest { return &ValidateRecipeBadRequest{} } -/* -ValidateRecipeBadRequest describes a response with status code 400, with default header values. +/* ValidateRecipeBadRequest describes a response with status code 400, with default header values. If the recipe is invalid, this contains information about its errors. */ @@ -109,8 +107,7 @@ func NewValidateRecipeDefault(code int) *ValidateRecipeDefault { } } -/* -ValidateRecipeDefault describes a response with status code -1, with default header values. +/* ValidateRecipeDefault describes a response with status code -1, with default header values. If there is an error processing the order */ diff --git a/pkg/platform/api/inventory/inventory_models/author.go b/pkg/platform/api/inventory/inventory_models/author.go index f2f11870c1..9ee7bc7666 100644 --- a/pkg/platform/api/inventory/inventory_models/author.go +++ b/pkg/platform/api/inventory/inventory_models/author.go @@ -15,7 +15,7 @@ import ( // Author Author // -// # An author +// An author // // swagger:model author type Author struct { diff --git a/pkg/platform/api/inventory/inventory_models/author_core.go b/pkg/platform/api/inventory/inventory_models/author_core.go index 6960ddfe31..5393938978 100644 --- a/pkg/platform/api/inventory/inventory_models/author_core.go +++ b/pkg/platform/api/inventory/inventory_models/author_core.go @@ -17,7 +17,7 @@ import ( // AuthorCore Author Core // -// # The core fields of a author +// The core fields of a author // // swagger:model authorCore type AuthorCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/author_paged_list.go b/pkg/platform/api/inventory/inventory_models/author_paged_list.go index c6c173b77c..497d3ca827 100644 --- a/pkg/platform/api/inventory/inventory_models/author_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/author_paged_list.go @@ -17,7 +17,7 @@ import ( // AuthorPagedList Author Paged List // -// # A page of authors from a paged author list +// A page of authors from a paged author list // // swagger:model authorPagedList type AuthorPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/build_flag.go b/pkg/platform/api/inventory/inventory_models/build_flag.go index 26f5a0cba9..4facfe0a4b 100644 --- a/pkg/platform/api/inventory/inventory_models/build_flag.go +++ b/pkg/platform/api/inventory/inventory_models/build_flag.go @@ -15,7 +15,7 @@ import ( // BuildFlag Build Flag // -// # The full build flag data model +// The full build flag data model // // swagger:model buildFlag type BuildFlag struct { diff --git a/pkg/platform/api/inventory/inventory_models/build_flag_core.go b/pkg/platform/api/inventory/inventory_models/build_flag_core.go index 0d3d53001b..bf1c88e15b 100644 --- a/pkg/platform/api/inventory/inventory_models/build_flag_core.go +++ b/pkg/platform/api/inventory/inventory_models/build_flag_core.go @@ -15,7 +15,7 @@ import ( // BuildFlagCore Build Flag Core // -// # The properties of a build flag needed to create a new one +// The properties of a build flag needed to create a new one // // swagger:model buildFlagCore type BuildFlagCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/build_flag_paged_list.go b/pkg/platform/api/inventory/inventory_models/build_flag_paged_list.go index 6cf3cbd3b9..815b94df2d 100644 --- a/pkg/platform/api/inventory/inventory_models/build_flag_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/build_flag_paged_list.go @@ -17,7 +17,7 @@ import ( // BuildFlagPagedList Build Flag Paged List // -// # A paginated list of build flag +// A paginated list of build flag // // swagger:model buildFlagPagedList type BuildFlagPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/build_flag_revision_core.go b/pkg/platform/api/inventory/inventory_models/build_flag_revision_core.go index 260be4a393..f63ec1b906 100644 --- a/pkg/platform/api/inventory/inventory_models/build_flag_revision_core.go +++ b/pkg/platform/api/inventory/inventory_models/build_flag_revision_core.go @@ -15,7 +15,7 @@ import ( // BuildFlagRevisionCore Build Flag Revision Core // -// # The properties of an build flag revision needed to create a new one +// The properties of an build flag revision needed to create a new one // // swagger:model buildFlagRevisionCore type BuildFlagRevisionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/build_script_paged_list.go b/pkg/platform/api/inventory/inventory_models/build_script_paged_list.go index aca58a52dd..3c46a5a5fb 100644 --- a/pkg/platform/api/inventory/inventory_models/build_script_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/build_script_paged_list.go @@ -17,7 +17,7 @@ import ( // BuildScriptPagedList Build Script Paged List // -// # A paginated list of build scripts +// A paginated list of build scripts // // swagger:model buildScriptPagedList type BuildScriptPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_architecture.go b/pkg/platform/api/inventory/inventory_models/cpu_architecture.go index 070a6e1274..b50059eb78 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_architecture.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_architecture.go @@ -15,7 +15,7 @@ import ( // CPUArchitecture CPU Architecture // -// # The full CPU architecture data model +// The full CPU architecture data model // // swagger:model cpuArchitecture type CPUArchitecture struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_architecture_core.go b/pkg/platform/api/inventory/inventory_models/cpu_architecture_core.go index db98323203..3d61fa2b69 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_architecture_core.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_architecture_core.go @@ -15,7 +15,7 @@ import ( // CPUArchitectureCore CPU Architecture Core // -// # The properties of a CPU architecture needed to create a new one +// The properties of a CPU architecture needed to create a new one // // swagger:model cpuArchitectureCore type CPUArchitectureCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_architecture_paged_list.go b/pkg/platform/api/inventory/inventory_models/cpu_architecture_paged_list.go index db4be7d4c8..920a915624 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_architecture_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_architecture_paged_list.go @@ -17,7 +17,7 @@ import ( // CPUArchitecturePagedList CPU Architecture Paged List // -// # A paginated list of CPU architectures +// A paginated list of CPU architectures // // swagger:model cpuArchitecturePagedList type CPUArchitecturePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_extension.go b/pkg/platform/api/inventory/inventory_models/cpu_extension.go index a4deeac332..7aae05957a 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_extension.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_extension.go @@ -15,7 +15,7 @@ import ( // CPUExtension CPU Extension // -// # The full CPU extension data model +// The full CPU extension data model // // swagger:model cpuExtension type CPUExtension struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_extension_core.go b/pkg/platform/api/inventory/inventory_models/cpu_extension_core.go index 1e49182a92..9c8c3097a1 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_extension_core.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_extension_core.go @@ -15,7 +15,7 @@ import ( // CPUExtensionCore CPU Extension Core // -// # The properties of a CPU extension needed to create a new one +// The properties of a CPU extension needed to create a new one // // swagger:model cpuExtensionCore type CPUExtensionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_extension_paged_list.go b/pkg/platform/api/inventory/inventory_models/cpu_extension_paged_list.go index a3a007014c..760f181731 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_extension_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_extension_paged_list.go @@ -17,7 +17,7 @@ import ( // CPUExtensionPagedList CPU Extension Paged List // -// # A paginated list of CPU extensions +// A paginated list of CPU extensions // // swagger:model cpuExtensionPagedList type CPUExtensionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/dependency.go b/pkg/platform/api/inventory/inventory_models/dependency.go index f1213c9fe3..237a4d26e2 100644 --- a/pkg/platform/api/inventory/inventory_models/dependency.go +++ b/pkg/platform/api/inventory/inventory_models/dependency.go @@ -17,7 +17,7 @@ import ( // Dependency Dependency // -// # A single dependency for an ingredient version revision +// A single dependency for an ingredient version revision // // swagger:model dependency type Dependency struct { diff --git a/pkg/platform/api/inventory/inventory_models/gpu_architecture.go b/pkg/platform/api/inventory/inventory_models/gpu_architecture.go index 9c737f87f1..f02d53a7a2 100644 --- a/pkg/platform/api/inventory/inventory_models/gpu_architecture.go +++ b/pkg/platform/api/inventory/inventory_models/gpu_architecture.go @@ -15,7 +15,7 @@ import ( // GpuArchitecture GPU Architecture // -// # The full GPU architecture data model +// The full GPU architecture data model // // swagger:model gpuArchitecture type GpuArchitecture struct { diff --git a/pkg/platform/api/inventory/inventory_models/gpu_architecture_core.go b/pkg/platform/api/inventory/inventory_models/gpu_architecture_core.go index 7c7877e2a0..e9dc44ecff 100644 --- a/pkg/platform/api/inventory/inventory_models/gpu_architecture_core.go +++ b/pkg/platform/api/inventory/inventory_models/gpu_architecture_core.go @@ -15,7 +15,7 @@ import ( // GpuArchitectureCore GPU Architecture Core // -// # The properties of a GPU architecture needed to create a new one +// The properties of a GPU architecture needed to create a new one // // swagger:model gpuArchitectureCore type GpuArchitectureCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/gpu_architecture_paged_list.go b/pkg/platform/api/inventory/inventory_models/gpu_architecture_paged_list.go index cefc8742f3..9972576055 100644 --- a/pkg/platform/api/inventory/inventory_models/gpu_architecture_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/gpu_architecture_paged_list.go @@ -17,7 +17,7 @@ import ( // GpuArchitecturePagedList GPU Architecture Paged List // -// # A paginated list of GPU architectures +// A paginated list of GPU architectures // // swagger:model gpuArchitecturePagedList type GpuArchitecturePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/image.go b/pkg/platform/api/inventory/inventory_models/image.go index 98733bdcda..f6b190a76f 100644 --- a/pkg/platform/api/inventory/inventory_models/image.go +++ b/pkg/platform/api/inventory/inventory_models/image.go @@ -15,7 +15,7 @@ import ( // Image Image // -// # The full image data model +// The full image data model // // swagger:model image type Image struct { diff --git a/pkg/platform/api/inventory/inventory_models/image_core.go b/pkg/platform/api/inventory/inventory_models/image_core.go index 12a9ae4d2d..6f7d4424b3 100644 --- a/pkg/platform/api/inventory/inventory_models/image_core.go +++ b/pkg/platform/api/inventory/inventory_models/image_core.go @@ -15,7 +15,7 @@ import ( // ImageCore Image Core // -// # The properties of an image needed to create a new one +// The properties of an image needed to create a new one // // swagger:model imageCore type ImageCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/image_paged_list.go b/pkg/platform/api/inventory/inventory_models/image_paged_list.go index 864e6a1e8d..08850d0f28 100644 --- a/pkg/platform/api/inventory/inventory_models/image_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/image_paged_list.go @@ -17,7 +17,7 @@ import ( // ImagePagedList Image Paged List // -// # A paginated list of images +// A paginated list of images // // swagger:model imagePagedList type ImagePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/image_revision_core.go b/pkg/platform/api/inventory/inventory_models/image_revision_core.go index 366dd2a9fa..e1593c7fbe 100644 --- a/pkg/platform/api/inventory/inventory_models/image_revision_core.go +++ b/pkg/platform/api/inventory/inventory_models/image_revision_core.go @@ -15,7 +15,7 @@ import ( // ImageRevisionCore Image Revision Core // -// # The properties of an image revision needed to create a new one +// The properties of an image revision needed to create a new one // // swagger:model imageRevisionCore type ImageRevisionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_and_version.go b/pkg/platform/api/inventory/inventory_models/ingredient_and_version.go index 02ac313fc2..58e9788095 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_and_version.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_and_version.go @@ -16,7 +16,7 @@ import ( // IngredientAndVersion Ingredient And Version // -// # An ingredient paired with one of its versions +// An ingredient paired with one of its versions // // swagger:model ingredientAndVersion type IngredientAndVersion struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_and_version_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_and_version_paged_list.go index 45826c9421..ff88b3dc58 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_and_version_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_and_version_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientAndVersionPagedList Ingredient And Version Paged List // -// # A paginated list of ingredients and versions +// A paginated list of ingredients and versions // // swagger:model ingredientAndVersionPagedList type IngredientAndVersionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_core.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_core.go index d0f449d10d..a65216fba7 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_core.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_core.go @@ -15,7 +15,7 @@ import ( // IngredientOptionSetCore Ingredient Option Set Core // -// # The properties of an ingredient option set needed to create a new one +// The properties of an ingredient option set needed to create a new one // // swagger:model ingredientOptionSetCore type IngredientOptionSetCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_id_revision.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_id_revision.go index 50934616d5..7677e6e538 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_id_revision.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_id_revision.go @@ -16,7 +16,7 @@ import ( // IngredientOptionSetIDRevision Ingredient Option Set ID Revision // -// # Identifies the ingredient option set associated with an ingredient version +// Identifies the ingredient option set associated with an ingredient version // // swagger:model ingredientOptionSetIdRevision type IngredientOptionSetIDRevision struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_paged_list.go index 419150039d..3ad4583b20 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientOptionSetPagedList Ingredient Option Set Paged List // -// # A paginated list of ingredient option sets +// A paginated list of ingredient option sets // // swagger:model ingredientOptionSetPagedList type IngredientOptionSetPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_revision_core.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_revision_core.go index d13ab61bd7..fe90ed02cd 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_revision_core.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_revision_core.go @@ -15,7 +15,7 @@ import ( // IngredientOptionSetRevisionCore Ingredient Option Set Revision Core // -// # The properties of an ingredient option set revision needed to create a new one +// The properties of an ingredient option set revision needed to create a new one // // swagger:model ingredientOptionSetRevisionCore type IngredientOptionSetRevisionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type.go index 40ca9b7375..05bfeabed3 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type.go @@ -15,7 +15,7 @@ import ( // IngredientOptionSetWithUsageType Ingredient Option Set with Usage Type // -// # An ingredient option set paired with how it is used by the ingredient version +// An ingredient option set paired with how it is used by the ingredient version // // swagger:model ingredientOptionSetWithUsageType type IngredientOptionSetWithUsageType struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type_paged_list.go index a42fd8b6c9..5078fb2ec7 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientOptionSetWithUsageTypePagedList Ingredient Option Set With Usage Type Paged List // -// # A paginated list of ingredient option sets paired with how they are used by the ingredient version +// A paginated list of ingredient option sets paired with how they are used by the ingredient version // // swagger:model ingredientOptionSetWithUsageTypePagedList type IngredientOptionSetWithUsageTypePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_paged_list.go index 6e7990992e..51cef734c4 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientPagedList Ingredient Paged List // -// # A paginated list of ingredients +// A paginated list of ingredients // // swagger:model ingredientPagedList type IngredientPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_update.go b/pkg/platform/api/inventory/inventory_models/ingredient_update.go index b13ec061f4..99f26aae18 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_update.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_update.go @@ -16,7 +16,7 @@ import ( // IngredientUpdate Ingredient Update // -// # The fields of an ingredient that can be updated +// The fields of an ingredient that can be updated // // swagger:model ingredientUpdate type IngredientUpdate struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type.go index b00edc1add..21e875a9e1 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type.go @@ -15,7 +15,7 @@ import ( // IngredientVersionAndUsageType Ingredient, Version, and Usage Type // -// # An ingredient, its version, and the way the version uses a particular ingredient option set +// An ingredient, its version, and the way the version uses a particular ingredient option set // // swagger:model ingredientVersionAndUsageType type IngredientVersionAndUsageType struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type_paged_list.go index 159d92975b..5ec217bfb6 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientVersionAndUsageTypePagedList Ingredient, Version, and Usage Type Paged List // -// # A paginated list of ingredients, their versions, and the way that version uses a particular ingredient option set +// A paginated list of ingredients, their versions, and the way that version uses a particular ingredient option set // // swagger:model ingredientVersionAndUsageTypePagedList type IngredientVersionAndUsageTypePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_core.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_core.go index 3a27871336..a345230d2c 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_core.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_core.go @@ -15,7 +15,7 @@ import ( // IngredientVersionCore Ingredient Version Core // -// # The fields of an ingredient version that can be set when an ingredient version is created +// The fields of an ingredient version that can be set when an ingredient version is created // // swagger:model ingredientVersionCore type IngredientVersionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_paged_list.go index ba6973529d..8c9e0a341f 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientVersionPagedList Ingredient Version Paged List // -// # A paginated list of ingredient versions +// A paginated list of ingredient versions // // swagger:model ingredientVersionPagedList type IngredientVersionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_patch_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_patch_paged_list.go index 694c7ab435..ffe84d7fe7 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_patch_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_patch_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientVersionPatchPagedList Ingredient Version Patch Paged List // -// # A paginated list of patches for an ingredient version +// A paginated list of patches for an ingredient version // // swagger:model ingredientVersionPatchPagedList type IngredientVersionPatchPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_core.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_core.go index 53fe28828c..3f30baab5d 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_core.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_core.go @@ -18,7 +18,7 @@ import ( // IngredientVersionRevisionCore Ingredient Version Revision Core // -// # The fields of an ingredient version that can be updated by creating a new revision +// The fields of an ingredient version that can be updated by creating a new revision // // swagger:model ingredientVersionRevisionCore type IngredientVersionRevisionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_paged_list.go index f2c8736a63..b55129ae51 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientVersionRevisionPagedList Ingredient Version Revision Paged List // -// # A paginated list of ingredient version revisions +// A paginated list of ingredient version revisions // // swagger:model ingredientVersionRevisionPagedList type IngredientVersionRevisionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_patch.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_patch.go index fd30fde330..c8d1fba39f 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_patch.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_patch.go @@ -15,7 +15,7 @@ import ( // IngredientVersionRevisionPatch Ingredient Version Revision Patch // -// # A single patch along with its sequence number for a particular ingredient version revision +// A single patch along with its sequence number for a particular ingredient version revision // // swagger:model ingredientVersionRevisionPatch type IngredientVersionRevisionPatch struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_update.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_update.go index 27e5b26378..2a8610e255 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_update.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_update.go @@ -16,7 +16,7 @@ import ( // IngredientVersionUpdate Ingredient Version Core // -// # The fields of an ingredient version that can be updated +// The fields of an ingredient version that can be updated // // swagger:model ingredientVersionUpdate type IngredientVersionUpdate struct { diff --git a/pkg/platform/api/inventory/inventory_models/inventory_response.go b/pkg/platform/api/inventory/inventory_models/inventory_response.go index 418d3eebe8..886f138629 100644 --- a/pkg/platform/api/inventory/inventory_models/inventory_response.go +++ b/pkg/platform/api/inventory/inventory_models/inventory_response.go @@ -16,7 +16,7 @@ import ( // InventoryResponse Inventory Response // -// # A generic response to an inventory api request +// A generic response to an inventory api request // // swagger:model inventoryResponse type InventoryResponse struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel.go b/pkg/platform/api/inventory/inventory_models/kernel.go index e6e6819b7f..f9268be3da 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel.go +++ b/pkg/platform/api/inventory/inventory_models/kernel.go @@ -15,7 +15,7 @@ import ( // Kernel Kernel // -// # The full kernel data model +// The full kernel data model // // swagger:model kernel type Kernel struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel_core.go b/pkg/platform/api/inventory/inventory_models/kernel_core.go index f498cb8868..c339a61aa1 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel_core.go +++ b/pkg/platform/api/inventory/inventory_models/kernel_core.go @@ -16,7 +16,7 @@ import ( // KernelCore Kernel Core // -// # The properties of a kernel needed to create a new one +// The properties of a kernel needed to create a new one // // swagger:model kernelCore type KernelCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel_paged_list.go b/pkg/platform/api/inventory/inventory_models/kernel_paged_list.go index c9b845a596..e1a808a1db 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/kernel_paged_list.go @@ -17,7 +17,7 @@ import ( // KernelPagedList Kernel Paged List // -// # A paginated list of kernels +// A paginated list of kernels // // swagger:model kernelPagedList type KernelPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel_version.go b/pkg/platform/api/inventory/inventory_models/kernel_version.go index 48dd49545d..d7fe8c1063 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel_version.go +++ b/pkg/platform/api/inventory/inventory_models/kernel_version.go @@ -15,7 +15,7 @@ import ( // KernelVersion Kernel Version // -// # The full kernel version data model +// The full kernel version data model // // swagger:model kernelVersion type KernelVersion struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel_version_core.go b/pkg/platform/api/inventory/inventory_models/kernel_version_core.go index ffd41f4e9c..3dd1608e17 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel_version_core.go +++ b/pkg/platform/api/inventory/inventory_models/kernel_version_core.go @@ -15,7 +15,7 @@ import ( // KernelVersionCore Kernel Version Core // -// # The properties of a kernel version needed to create a new one +// The properties of a kernel version needed to create a new one // // swagger:model kernelVersionCore type KernelVersionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel_version_paged_list.go b/pkg/platform/api/inventory/inventory_models/kernel_version_paged_list.go index 3b179d25d1..fe56c2cdb4 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel_version_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/kernel_version_paged_list.go @@ -17,7 +17,7 @@ import ( // KernelVersionPagedList Kernel Version Paged List // -// # A paginated list of kernel versions +// A paginated list of kernel versions // // swagger:model kernelVersionPagedList type KernelVersionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/latest_timestamp.go b/pkg/platform/api/inventory/inventory_models/latest_timestamp.go index 021b4fdbde..bc60d2fc5e 100644 --- a/pkg/platform/api/inventory/inventory_models/latest_timestamp.go +++ b/pkg/platform/api/inventory/inventory_models/latest_timestamp.go @@ -16,7 +16,7 @@ import ( // LatestTimestamp LatestTimestamp // -// # The latest timestamp that should be used with other inventory service requests, such as solve requests +// The latest timestamp that should be used with other inventory service requests, such as solve requests // // swagger:model latestTimestamp type LatestTimestamp struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc.go b/pkg/platform/api/inventory/inventory_models/libc.go index 854bdf0832..58367140df 100644 --- a/pkg/platform/api/inventory/inventory_models/libc.go +++ b/pkg/platform/api/inventory/inventory_models/libc.go @@ -15,7 +15,7 @@ import ( // Libc Libc // -// # The full libc data model +// The full libc data model // // swagger:model libc type Libc struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc_core.go b/pkg/platform/api/inventory/inventory_models/libc_core.go index 6a30858748..503980ae12 100644 --- a/pkg/platform/api/inventory/inventory_models/libc_core.go +++ b/pkg/platform/api/inventory/inventory_models/libc_core.go @@ -16,7 +16,7 @@ import ( // LibcCore Libc Core // -// # The properties of a libc needed to create a new one +// The properties of a libc needed to create a new one // // swagger:model libcCore type LibcCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc_paged_list.go b/pkg/platform/api/inventory/inventory_models/libc_paged_list.go index 46667fa043..49f1863691 100644 --- a/pkg/platform/api/inventory/inventory_models/libc_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/libc_paged_list.go @@ -17,7 +17,7 @@ import ( // LibcPagedList Libc Paged List // -// # A paginated list of libcs +// A paginated list of libcs // // swagger:model libcPagedList type LibcPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc_version.go b/pkg/platform/api/inventory/inventory_models/libc_version.go index fda41ac1a1..ec397cd4f7 100644 --- a/pkg/platform/api/inventory/inventory_models/libc_version.go +++ b/pkg/platform/api/inventory/inventory_models/libc_version.go @@ -15,7 +15,7 @@ import ( // LibcVersion Libc Version // -// # The full libc version data model +// The full libc version data model // // swagger:model libcVersion type LibcVersion struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc_version_core.go b/pkg/platform/api/inventory/inventory_models/libc_version_core.go index 0e90244523..7743290292 100644 --- a/pkg/platform/api/inventory/inventory_models/libc_version_core.go +++ b/pkg/platform/api/inventory/inventory_models/libc_version_core.go @@ -15,7 +15,7 @@ import ( // LibcVersionCore Libc Version Core // -// # The properties of a libc version needed to create a new one +// The properties of a libc version needed to create a new one // // swagger:model libcVersionCore type LibcVersionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc_version_paged_list.go b/pkg/platform/api/inventory/inventory_models/libc_version_paged_list.go index 586f058408..f3529d86b1 100644 --- a/pkg/platform/api/inventory/inventory_models/libc_version_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/libc_version_paged_list.go @@ -17,7 +17,7 @@ import ( // LibcVersionPagedList Libc Version Paged List // -// # A paginated list of libc versions +// A paginated list of libc versions // // swagger:model libcVersionPagedList type LibcVersionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/namespace.go b/pkg/platform/api/inventory/inventory_models/namespace.go index f595b55462..e5e7c62385 100644 --- a/pkg/platform/api/inventory/inventory_models/namespace.go +++ b/pkg/platform/api/inventory/inventory_models/namespace.go @@ -15,7 +15,7 @@ import ( // Namespace namespace // -// # The full namespace data model +// The full namespace data model // // swagger:model namespace type Namespace struct { diff --git a/pkg/platform/api/inventory/inventory_models/namespace_core.go b/pkg/platform/api/inventory/inventory_models/namespace_core.go index a17088c72f..eb2ff20e48 100644 --- a/pkg/platform/api/inventory/inventory_models/namespace_core.go +++ b/pkg/platform/api/inventory/inventory_models/namespace_core.go @@ -17,7 +17,7 @@ import ( // NamespaceCore Namespace Core // -// # The properties of a namespace needed to create a new one +// The properties of a namespace needed to create a new one // // swagger:model namespaceCore type NamespaceCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/namespace_paged_list.go b/pkg/platform/api/inventory/inventory_models/namespace_paged_list.go index 38a42fe0fc..5514bc59b8 100644 --- a/pkg/platform/api/inventory/inventory_models/namespace_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/namespace_paged_list.go @@ -17,7 +17,7 @@ import ( // NamespacePagedList Namespace Paged List // -// # A paginated list of namespaces +// A paginated list of namespaces // // swagger:model namespacePagedList type NamespacePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system.go b/pkg/platform/api/inventory/inventory_models/operating_system.go index 2a5599d662..e758e17b0a 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system.go @@ -15,7 +15,7 @@ import ( // OperatingSystem Operating System // -// # The full operating system data model +// The full operating system data model // // swagger:model operatingSystem type OperatingSystem struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system_core.go b/pkg/platform/api/inventory/inventory_models/operating_system_core.go index 7beae5c7a5..354c59ef58 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system_core.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system_core.go @@ -16,7 +16,7 @@ import ( // OperatingSystemCore Operating System Core // -// # The properties of an operating system needed to create a new one +// The properties of an operating system needed to create a new one // // swagger:model operatingSystemCore type OperatingSystemCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system_paged_list.go b/pkg/platform/api/inventory/inventory_models/operating_system_paged_list.go index 5e8de5d0a8..aaa5d35d91 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system_paged_list.go @@ -17,7 +17,7 @@ import ( // OperatingSystemPagedList Operating System Paged List // -// # A paginated list of operating systems +// A paginated list of operating systems // // swagger:model operatingSystemPagedList type OperatingSystemPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system_version.go b/pkg/platform/api/inventory/inventory_models/operating_system_version.go index 7fe509de98..80a01ceb64 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system_version.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system_version.go @@ -15,7 +15,7 @@ import ( // OperatingSystemVersion Operating System Version // -// # The full operating system version data model +// The full operating system version data model // // swagger:model operatingSystemVersion type OperatingSystemVersion struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system_version_core.go b/pkg/platform/api/inventory/inventory_models/operating_system_version_core.go index 0ff8cf616c..fa017f1ce2 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system_version_core.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system_version_core.go @@ -15,7 +15,7 @@ import ( // OperatingSystemVersionCore Operating System Version Core // -// # The properties of an operating system version needed to create a new one +// The properties of an operating system version needed to create a new one // // swagger:model operatingSystemVersionCore type OperatingSystemVersionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system_version_paged_list.go b/pkg/platform/api/inventory/inventory_models/operating_system_version_paged_list.go index a278db1eec..68903335dc 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system_version_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system_version_paged_list.go @@ -17,7 +17,7 @@ import ( // OperatingSystemVersionPagedList Operating System Version Paged List // -// # A paginated list of operating system versions +// A paginated list of operating system versions // // swagger:model operatingSystemVersionPagedList type OperatingSystemVersionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/paging.go b/pkg/platform/api/inventory/inventory_models/paging.go index 2ba0ed2224..2bb0784996 100644 --- a/pkg/platform/api/inventory/inventory_models/paging.go +++ b/pkg/platform/api/inventory/inventory_models/paging.go @@ -16,7 +16,7 @@ import ( // Paging Paging // -// # Paging data +// Paging data // // swagger:model paging type Paging struct { diff --git a/pkg/platform/api/inventory/inventory_models/paging_links.go b/pkg/platform/api/inventory/inventory_models/paging_links.go index f7aab95306..038e9483af 100644 --- a/pkg/platform/api/inventory/inventory_models/paging_links.go +++ b/pkg/platform/api/inventory/inventory_models/paging_links.go @@ -16,7 +16,7 @@ import ( // PagingLinks Paging Links // -// # Links for a model that include links for paging data +// Links for a model that include links for paging data // // swagger:model pagingLinks type PagingLinks struct { diff --git a/pkg/platform/api/inventory/inventory_models/patch_paged_list.go b/pkg/platform/api/inventory/inventory_models/patch_paged_list.go index c370aa161f..e2f8a26cee 100644 --- a/pkg/platform/api/inventory/inventory_models/patch_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/patch_paged_list.go @@ -17,7 +17,7 @@ import ( // PatchPagedList Patch Paged List // -// # A paginated list of patches +// A paginated list of patches // // swagger:model patchPagedList type PatchPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/platform_paged_list.go b/pkg/platform/api/inventory/inventory_models/platform_paged_list.go index 63697c2a90..ca98f4bd9b 100644 --- a/pkg/platform/api/inventory/inventory_models/platform_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/platform_paged_list.go @@ -17,7 +17,7 @@ import ( // PlatformPagedList Platform Paged List // -// # A paginated list of platforms +// A paginated list of platforms // // swagger:model platformPagedList type PlatformPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/provided_feature.go b/pkg/platform/api/inventory/inventory_models/provided_feature.go index 724344bd24..d63057eea2 100644 --- a/pkg/platform/api/inventory/inventory_models/provided_feature.go +++ b/pkg/platform/api/inventory/inventory_models/provided_feature.go @@ -15,7 +15,7 @@ import ( // ProvidedFeature Provided Feature // -// # A feature that is provided by a revisioned resource +// A feature that is provided by a revisioned resource // // swagger:model providedFeature type ProvidedFeature struct { diff --git a/pkg/platform/api/inventory/inventory_models/recipe_validation_error_item.go b/pkg/platform/api/inventory/inventory_models/recipe_validation_error_item.go index 3d0df8102a..8da6b07f88 100644 --- a/pkg/platform/api/inventory/inventory_models/recipe_validation_error_item.go +++ b/pkg/platform/api/inventory/inventory_models/recipe_validation_error_item.go @@ -16,7 +16,7 @@ import ( // RecipeValidationErrorItem Recipe Validation Error Item // -// # A single validation error +// A single validation error // // swagger:model recipeValidationErrorItem type RecipeValidationErrorItem struct { diff --git a/pkg/platform/api/inventory/inventory_models/requirements.go b/pkg/platform/api/inventory/inventory_models/requirements.go index 83ffa316f1..d07d6e13dc 100644 --- a/pkg/platform/api/inventory/inventory_models/requirements.go +++ b/pkg/platform/api/inventory/inventory_models/requirements.go @@ -17,7 +17,7 @@ import ( // Requirements Requirements // -// # The version constraints that an ingredient version's requirement or condition puts on a feature +// The version constraints that an ingredient version's requirement or condition puts on a feature // // swagger:model requirements type Requirements []*Requirement diff --git a/pkg/platform/api/inventory/inventory_models/resolved_ingredient.go b/pkg/platform/api/inventory/inventory_models/resolved_ingredient.go index 0e2f6c3473..719bd12e84 100644 --- a/pkg/platform/api/inventory/inventory_models/resolved_ingredient.go +++ b/pkg/platform/api/inventory/inventory_models/resolved_ingredient.go @@ -17,7 +17,7 @@ import ( // ResolvedIngredient Resolved Ingredient // -// # An ingredient that is part of a recipe's resolved requirements +// An ingredient that is part of a recipe's resolved requirements // // swagger:model resolvedIngredient type ResolvedIngredient struct { diff --git a/pkg/platform/api/inventory/inventory_models/revisioned_resource.go b/pkg/platform/api/inventory/inventory_models/revisioned_resource.go index 30bba930cf..4bfbb62a4f 100644 --- a/pkg/platform/api/inventory/inventory_models/revisioned_resource.go +++ b/pkg/platform/api/inventory/inventory_models/revisioned_resource.go @@ -16,7 +16,7 @@ import ( // RevisionedResource Revisioned Resource // -// # Properties shared by all revisioned resources +// Properties shared by all revisioned resources // // swagger:model revisionedResource type RevisionedResource struct { diff --git a/pkg/platform/api/inventory/inventory_models/self_link.go b/pkg/platform/api/inventory/inventory_models/self_link.go index f02a3a7f1c..41a48e3883 100644 --- a/pkg/platform/api/inventory/inventory_models/self_link.go +++ b/pkg/platform/api/inventory/inventory_models/self_link.go @@ -16,7 +16,7 @@ import ( // SelfLink Self Link // -// # A self link +// A self link // // swagger:model selfLink type SelfLink struct { diff --git a/pkg/platform/api/inventory/inventory_models/solution_recipe.go b/pkg/platform/api/inventory/inventory_models/solution_recipe.go index 7a3d533870..238927aaab 100644 --- a/pkg/platform/api/inventory/inventory_models/solution_recipe.go +++ b/pkg/platform/api/inventory/inventory_models/solution_recipe.go @@ -16,7 +16,7 @@ import ( // SolutionRecipe SolverRecipe // -// # A recipe with a URL, created by a solver, containing all required information to build for a single platform +// A recipe with a URL, created by a solver, containing all required information to build for a single platform // // swagger:model solutionRecipe type SolutionRecipe struct { diff --git a/pkg/platform/api/inventory/inventory_models/solver_incompatibility.go b/pkg/platform/api/inventory/inventory_models/solver_incompatibility.go index cb10910b81..4ba9ba2986 100644 --- a/pkg/platform/api/inventory/inventory_models/solver_incompatibility.go +++ b/pkg/platform/api/inventory/inventory_models/solver_incompatibility.go @@ -17,7 +17,7 @@ import ( // SolverIncompatibility Solver Incompatibility // -// # A requirement, transitive dependency or platform that is part of a solver error +// A requirement, transitive dependency or platform that is part of a solver error // // swagger:model solverIncompatibility type SolverIncompatibility struct { diff --git a/pkg/platform/api/inventory/inventory_models/solver_remediable_error.go b/pkg/platform/api/inventory/inventory_models/solver_remediable_error.go index 67e95c88e1..7f4e189a1c 100644 --- a/pkg/platform/api/inventory/inventory_models/solver_remediable_error.go +++ b/pkg/platform/api/inventory/inventory_models/solver_remediable_error.go @@ -18,7 +18,7 @@ import ( // SolverRemediableError Solver Remediable Error // -// # A solver error with suggested remediation steps +// A solver error with suggested remediation steps // // swagger:model solverRemediableError type SolverRemediableError struct { diff --git a/pkg/platform/api/inventory/inventory_models/solver_remediation.go b/pkg/platform/api/inventory/inventory_models/solver_remediation.go index 08a243f020..a2813e7216 100644 --- a/pkg/platform/api/inventory/inventory_models/solver_remediation.go +++ b/pkg/platform/api/inventory/inventory_models/solver_remediation.go @@ -17,7 +17,7 @@ import ( // SolverRemediation Solver Remediation // -// # An action that a user can take to attempt to resolve a solver error +// An action that a user can take to attempt to resolve a solver error // // swagger:model solverRemediation type SolverRemediation struct { diff --git a/pkg/platform/api/inventory/inventory_models/version_info.go b/pkg/platform/api/inventory/inventory_models/version_info.go index 8958e81a20..489d2a5938 100644 --- a/pkg/platform/api/inventory/inventory_models/version_info.go +++ b/pkg/platform/api/inventory/inventory_models/version_info.go @@ -17,7 +17,7 @@ import ( // VersionInfo Version Info // -// # Properties shared by all versioned resources +// Properties shared by all versioned resources // // swagger:model versionInfo type VersionInfo struct { diff --git a/pkg/platform/api/inventory/inventory_models/version_requirement.go b/pkg/platform/api/inventory/inventory_models/version_requirement.go index 6452052309..fb85edc2cb 100644 --- a/pkg/platform/api/inventory/inventory_models/version_requirement.go +++ b/pkg/platform/api/inventory/inventory_models/version_requirement.go @@ -17,7 +17,7 @@ import ( // VersionRequirement Version Requirement // -// # The version constraint for a feature +// The version constraint for a feature // // swagger:model versionRequirement type VersionRequirement struct { diff --git a/pkg/platform/api/mediator/request/cve.go b/pkg/platform/api/mediator/request/cve.go index 85412a2a83..96d0a80f52 100644 --- a/pkg/platform/api/mediator/request/cve.go +++ b/pkg/platform/api/mediator/request/cve.go @@ -2,7 +2,7 @@ package request // VulnerabilitiesByProject returns the query for retrieving vulnerabilities by projects func VulnerabilitiesByProject(org, name string) *vulnerabilitiesByProject { - return &vulnerabilitiesByProject{map[string]interface{}{ + return &vulnerabilitiesByProject{vars: map[string]interface{}{ "org": org, "name": name, }} @@ -44,8 +44,8 @@ func (p *vulnerabilitiesByProject) Query() string { }` } -func (p *vulnerabilitiesByProject) Vars() map[string]interface{} { - return p.vars +func (p *vulnerabilitiesByProject) Vars() (map[string]interface{}, error) { + return p.vars, nil } type vulnerabilitiesByCommit struct { @@ -54,7 +54,7 @@ type vulnerabilitiesByCommit struct { // VulnerabilitiesByCommit returns the query for retrieving vulnerabilities for a specific commit func VulnerabilitiesByCommit(commitID string) *vulnerabilitiesByCommit { - return &vulnerabilitiesByCommit{map[string]interface{}{ + return &vulnerabilitiesByCommit{vars: map[string]interface{}{ "commit_id": commitID, }} } @@ -87,6 +87,6 @@ func (p *vulnerabilitiesByCommit) Query() string { }` } -func (p *vulnerabilitiesByCommit) Vars() map[string]interface{} { - return p.vars +func (p *vulnerabilitiesByCommit) Vars() (map[string]interface{}, error) { + return p.vars, nil } diff --git a/pkg/platform/api/mediator/request/supportedlangs.go b/pkg/platform/api/mediator/request/supportedlangs.go index db6639251e..895c055631 100644 --- a/pkg/platform/api/mediator/request/supportedlangs.go +++ b/pkg/platform/api/mediator/request/supportedlangs.go @@ -1,7 +1,7 @@ package request func SupportedLanguages(osName string) *supportedLanguages { - return &supportedLanguages{map[string]interface{}{ + return &supportedLanguages{vars: map[string]interface{}{ "os_name": osName, }} } @@ -19,6 +19,6 @@ func (p *supportedLanguages) Query() string { }` } -func (p *supportedLanguages) Vars() map[string]interface{} { - return p.vars +func (p *supportedLanguages) Vars() (map[string]interface{}, error) { + return p.vars, nil } diff --git a/pkg/platform/api/mono/mono_client/authentication/add_token_parameters.go b/pkg/platform/api/mono/mono_client/authentication/add_token_parameters.go index 8ccc8647c7..2b301f6749 100644 --- a/pkg/platform/api/mono/mono_client/authentication/add_token_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/add_token_parameters.go @@ -54,12 +54,10 @@ func NewAddTokenParamsWithHTTPClient(client *http.Client) *AddTokenParams { } } -/* -AddTokenParams contains all the parameters to send to the API endpoint +/* AddTokenParams contains all the parameters to send to the API endpoint + for the add token operation. - for the add token operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddTokenParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/add_token_responses.go b/pkg/platform/api/mono/mono_client/authentication/add_token_responses.go index cb799d290a..335906b088 100644 --- a/pkg/platform/api/mono/mono_client/authentication/add_token_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/add_token_responses.go @@ -45,8 +45,7 @@ func NewAddTokenOK() *AddTokenOK { return &AddTokenOK{} } -/* -AddTokenOK describes a response with status code 200, with default header values. +/* AddTokenOK describes a response with status code 200, with default header values. Success */ @@ -78,8 +77,7 @@ func NewAddTokenBadRequest() *AddTokenBadRequest { return &AddTokenBadRequest{} } -/* -AddTokenBadRequest describes a response with status code 400, with default header values. +/* AddTokenBadRequest describes a response with status code 400, with default header values. Bad Request */ diff --git a/pkg/platform/api/mono/mono_client/authentication/authentication_client.go b/pkg/platform/api/mono/mono_client/authentication/authentication_client.go index 273b700b0b..c7a43e0ab6 100644 --- a/pkg/platform/api/mono/mono_client/authentication/authentication_client.go +++ b/pkg/platform/api/mono/mono_client/authentication/authentication_client.go @@ -72,9 +72,9 @@ type ClientService interface { } /* -GetLoginJwtToken logins with a valid j w t and redirect to a platform URL + GetLoginJwtToken logins with a valid j w t and redirect to a platform URL -Login with a valid JWT and redirect to a platform URL + Login with a valid JWT and redirect to a platform URL */ func (a *Client) GetLoginJwtToken(params *GetLoginJwtTokenParams, opts ...ClientOption) error { // TODO: Validate the params before sending @@ -105,9 +105,9 @@ func (a *Client) GetLoginJwtToken(params *GetLoginJwtTokenParams, opts ...Client } /* -GetLogout logs out of the current session + GetLogout logs out of the current session -Log out of the current session + Log out of the current session */ func (a *Client) GetLogout(params *GetLogoutParams, opts ...ClientOption) (*GetLogoutNoContent, error) { // TODO: Validate the params before sending @@ -145,9 +145,9 @@ func (a *Client) GetLogout(params *GetLogoutParams, opts ...ClientOption) (*GetL } /* -GetRenew renews a valid j w t + GetRenew renews a valid j w t -Renew your current JWT to forestall expiration + Renew your current JWT to forestall expiration */ func (a *Client) GetRenew(params *GetRenewParams, opts ...ClientOption) (*GetRenewOK, error) { // TODO: Validate the params before sending @@ -185,9 +185,9 @@ func (a *Client) GetRenew(params *GetRenewParams, opts ...ClientOption) (*GetRen } /* -PostLogin trades your credentials for a j w t + PostLogin trades your credentials for a j w t -Supply either username/password OR token + Supply either username/password OR token */ func (a *Client) PostLogin(params *PostLoginParams, opts ...ClientOption) (*PostLoginOK, error) { // TODO: Validate the params before sending @@ -225,9 +225,9 @@ func (a *Client) PostLogin(params *PostLoginParams, opts ...ClientOption) (*Post } /* -AddToken generates an API token for current user + AddToken generates an API token for current user -Produces an API token for use with automated API clients + Produces an API token for use with automated API clients */ func (a *Client) AddToken(params *AddTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTokenOK, error) { // TODO: Validate the params before sending @@ -266,9 +266,9 @@ func (a *Client) AddToken(params *AddTokenParams, authInfo runtime.ClientAuthInf } /* -ChangePassword changes the current password + ChangePassword changes the current password -Prompts for current password which is used to change it to something new. + Prompts for current password which is used to change it to something new. */ func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error) { // TODO: Validate the params before sending @@ -307,9 +307,9 @@ func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.C } /* -DeleteToken deletes an API token + DeleteToken deletes an API token -Deletes the specified API Token + Deletes the specified API Token */ func (a *Client) DeleteToken(params *DeleteTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTokenOK, error) { // TODO: Validate the params before sending @@ -348,9 +348,9 @@ func (a *Client) DeleteToken(params *DeleteTokenParams, authInfo runtime.ClientA } /* -DisableTOTP disables t o t p + DisableTOTP disables t o t p -Disable TOTP authentication + Disable TOTP authentication */ func (a *Client) DisableTOTP(params *DisableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableTOTPOK, error) { // TODO: Validate the params before sending @@ -389,9 +389,9 @@ func (a *Client) DisableTOTP(params *DisableTOTPParams, authInfo runtime.ClientA } /* -EnableTOTP enables t o t p + EnableTOTP enables t o t p -Enable TOTP authentication by performing initial code validation + Enable TOTP authentication by performing initial code validation */ func (a *Client) EnableTOTP(params *EnableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableTOTPOK, error) { // TODO: Validate the params before sending @@ -430,7 +430,7 @@ func (a *Client) EnableTOTP(params *EnableTOTPParams, authInfo runtime.ClientAut } /* -GithubAuthError callbacks endpoint for handling errors that come from github + GithubAuthError callbacks endpoint for handling errors that come from github */ func (a *Client) GithubAuthError(params *GithubAuthErrorParams, opts ...ClientOption) error { // TODO: Validate the params before sending @@ -461,7 +461,7 @@ func (a *Client) GithubAuthError(params *GithubAuthErrorParams, opts ...ClientOp } /* -LinkGithubAccount callbacks endpoint for linking an account to github + LinkGithubAccount callbacks endpoint for linking an account to github */ func (a *Client) LinkGithubAccount(params *LinkGithubAccountParams, opts ...ClientOption) error { // TODO: Validate the params before sending @@ -492,9 +492,9 @@ func (a *Client) LinkGithubAccount(params *LinkGithubAccountParams, opts ...Clie } /* -ListTokens lists current user s API tokens + ListTokens lists current user s API tokens -List of all active API Tokens for current user + List of all active API Tokens for current user */ func (a *Client) ListTokens(params *ListTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTokensOK, error) { // TODO: Validate the params before sending @@ -533,7 +533,7 @@ func (a *Client) ListTokens(params *ListTokensParams, authInfo runtime.ClientAut } /* -LoginAs logins as given user requires you to be a superuser + LoginAs logins as given user requires you to be a superuser */ func (a *Client) LoginAs(params *LoginAsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoginAsOK, error) { // TODO: Validate the params before sending @@ -572,7 +572,7 @@ func (a *Client) LoginAs(params *LoginAsParams, authInfo runtime.ClientAuthInfoW } /* -LoginWithGithub callbacks endpoint for logging in via github auth + LoginWithGithub callbacks endpoint for logging in via github auth */ func (a *Client) LoginWithGithub(params *LoginWithGithubParams, opts ...ClientOption) error { // TODO: Validate the params before sending @@ -603,9 +603,9 @@ func (a *Client) LoginWithGithub(params *LoginWithGithubParams, opts ...ClientOp } /* -NewTOTP sets up a new t o t p key + NewTOTP sets up a new t o t p key -Establish the private key for two-factor authentication + Establish the private key for two-factor authentication */ func (a *Client) NewTOTP(params *NewTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NewTOTPOK, error) { // TODO: Validate the params before sending @@ -644,9 +644,9 @@ func (a *Client) NewTOTP(params *NewTOTPParams, authInfo runtime.ClientAuthInfoW } /* -RequestReset requests a password recovery email + RequestReset requests a password recovery email -Sends a link which can be used to reset a forgotten password. + Sends a link which can be used to reset a forgotten password. */ func (a *Client) RequestReset(params *RequestResetParams, opts ...ClientOption) (*RequestResetOK, error) { // TODO: Validate the params before sending @@ -684,9 +684,9 @@ func (a *Client) RequestReset(params *RequestResetParams, opts ...ClientOption) } /* -ResetPassword resets a forgotten password + ResetPassword resets a forgotten password -Sends a link which can be used to reset a forgotten password. + Sends a link which can be used to reset a forgotten password. */ func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error) { // TODO: Validate the params before sending @@ -724,7 +724,7 @@ func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption } /* -SignupWithGithub callbacks endpoint for signing up via github auth + SignupWithGithub callbacks endpoint for signing up via github auth */ func (a *Client) SignupWithGithub(params *SignupWithGithubParams, opts ...ClientOption) error { // TODO: Validate the params before sending @@ -755,7 +755,7 @@ func (a *Client) SignupWithGithub(params *SignupWithGithubParams, opts ...Client } /* -UnlinkGithubAccount callbacks endpoint for unlinking git hub accounts + UnlinkGithubAccount callbacks endpoint for unlinking git hub accounts */ func (a *Client) UnlinkGithubAccount(params *UnlinkGithubAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkGithubAccountOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/authentication/change_password_parameters.go b/pkg/platform/api/mono/mono_client/authentication/change_password_parameters.go index 34d833d651..388d1c5dd3 100644 --- a/pkg/platform/api/mono/mono_client/authentication/change_password_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/change_password_parameters.go @@ -54,12 +54,10 @@ func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordP } } -/* -ChangePasswordParams contains all the parameters to send to the API endpoint +/* ChangePasswordParams contains all the parameters to send to the API endpoint + for the change password operation. - for the change password operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type ChangePasswordParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/change_password_responses.go b/pkg/platform/api/mono/mono_client/authentication/change_password_responses.go index 7f9a6eab7b..90bf675a23 100644 --- a/pkg/platform/api/mono/mono_client/authentication/change_password_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/change_password_responses.go @@ -63,8 +63,7 @@ func NewChangePasswordOK() *ChangePasswordOK { return &ChangePasswordOK{} } -/* -ChangePasswordOK describes a response with status code 200, with default header values. +/* ChangePasswordOK describes a response with status code 200, with default header values. Success */ @@ -96,8 +95,7 @@ func NewChangePasswordBadRequest() *ChangePasswordBadRequest { return &ChangePasswordBadRequest{} } -/* -ChangePasswordBadRequest describes a response with status code 400, with default header values. +/* ChangePasswordBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewChangePasswordForbidden() *ChangePasswordForbidden { return &ChangePasswordForbidden{} } -/* -ChangePasswordForbidden describes a response with status code 403, with default header values. +/* ChangePasswordForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewChangePasswordNotFound() *ChangePasswordNotFound { return &ChangePasswordNotFound{} } -/* -ChangePasswordNotFound describes a response with status code 404, with default header values. +/* ChangePasswordNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewChangePasswordInternalServerError() *ChangePasswordInternalServerError { return &ChangePasswordInternalServerError{} } -/* -ChangePasswordInternalServerError describes a response with status code 500, with default header values. +/* ChangePasswordInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/delete_token_parameters.go b/pkg/platform/api/mono/mono_client/authentication/delete_token_parameters.go index a519d48df4..ccd4b5e746 100644 --- a/pkg/platform/api/mono/mono_client/authentication/delete_token_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/delete_token_parameters.go @@ -52,12 +52,10 @@ func NewDeleteTokenParamsWithHTTPClient(client *http.Client) *DeleteTokenParams } } -/* -DeleteTokenParams contains all the parameters to send to the API endpoint +/* DeleteTokenParams contains all the parameters to send to the API endpoint + for the delete token operation. - for the delete token operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type DeleteTokenParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/delete_token_responses.go b/pkg/platform/api/mono/mono_client/authentication/delete_token_responses.go index fd65900c0b..720763faa6 100644 --- a/pkg/platform/api/mono/mono_client/authentication/delete_token_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/delete_token_responses.go @@ -51,8 +51,7 @@ func NewDeleteTokenOK() *DeleteTokenOK { return &DeleteTokenOK{} } -/* -DeleteTokenOK describes a response with status code 200, with default header values. +/* DeleteTokenOK describes a response with status code 200, with default header values. Token deleted */ @@ -84,8 +83,7 @@ func NewDeleteTokenBadRequest() *DeleteTokenBadRequest { return &DeleteTokenBadRequest{} } -/* -DeleteTokenBadRequest describes a response with status code 400, with default header values. +/* DeleteTokenBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -117,8 +115,7 @@ func NewDeleteTokenForbidden() *DeleteTokenForbidden { return &DeleteTokenForbidden{} } -/* -DeleteTokenForbidden describes a response with status code 403, with default header values. +/* DeleteTokenForbidden describes a response with status code 403, with default header values. Forbidden */ diff --git a/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_parameters.go b/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_parameters.go index 24f74b92e5..e15dce6f93 100644 --- a/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_parameters.go @@ -52,12 +52,10 @@ func NewDisableTOTPParamsWithHTTPClient(client *http.Client) *DisableTOTPParams } } -/* -DisableTOTPParams contains all the parameters to send to the API endpoint +/* DisableTOTPParams contains all the parameters to send to the API endpoint + for the disable t o t p operation. - for the disable t o t p operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type DisableTOTPParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_responses.go b/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_responses.go index e614414ff9..c239925ab3 100644 --- a/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_responses.go @@ -45,8 +45,7 @@ func NewDisableTOTPOK() *DisableTOTPOK { return &DisableTOTPOK{} } -/* -DisableTOTPOK describes a response with status code 200, with default header values. +/* DisableTOTPOK describes a response with status code 200, with default header values. Disabled TOTP */ @@ -78,8 +77,7 @@ func NewDisableTOTPBadRequest() *DisableTOTPBadRequest { return &DisableTOTPBadRequest{} } -/* -DisableTOTPBadRequest describes a response with status code 400, with default header values. +/* DisableTOTPBadRequest describes a response with status code 400, with default header values. Bad Request */ diff --git a/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_parameters.go b/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_parameters.go index 7681513acc..1f25dad36a 100644 --- a/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_parameters.go @@ -52,12 +52,10 @@ func NewEnableTOTPParamsWithHTTPClient(client *http.Client) *EnableTOTPParams { } } -/* -EnableTOTPParams contains all the parameters to send to the API endpoint +/* EnableTOTPParams contains all the parameters to send to the API endpoint + for the enable t o t p operation. - for the enable t o t p operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type EnableTOTPParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_responses.go b/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_responses.go index eaadad6ff8..a4c3138432 100644 --- a/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_responses.go @@ -45,8 +45,7 @@ func NewEnableTOTPOK() *EnableTOTPOK { return &EnableTOTPOK{} } -/* -EnableTOTPOK describes a response with status code 200, with default header values. +/* EnableTOTPOK describes a response with status code 200, with default header values. Enabled */ @@ -78,8 +77,7 @@ func NewEnableTOTPBadRequest() *EnableTOTPBadRequest { return &EnableTOTPBadRequest{} } -/* -EnableTOTPBadRequest describes a response with status code 400, with default header values. +/* EnableTOTPBadRequest describes a response with status code 400, with default header values. Bad Request */ diff --git a/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_parameters.go b/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_parameters.go index c566acffdc..238c46a751 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_parameters.go @@ -52,12 +52,10 @@ func NewGetLoginJwtTokenParamsWithHTTPClient(client *http.Client) *GetLoginJwtTo } } -/* -GetLoginJwtTokenParams contains all the parameters to send to the API endpoint +/* GetLoginJwtTokenParams contains all the parameters to send to the API endpoint + for the get login jwt token operation. - for the get login jwt token operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLoginJwtTokenParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_responses.go b/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_responses.go index 9fe33a7462..68ab1308ed 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_responses.go @@ -51,8 +51,7 @@ func NewGetLoginJwtTokenFound() *GetLoginJwtTokenFound { return &GetLoginJwtTokenFound{} } -/* -GetLoginJwtTokenFound describes a response with status code 302, with default header values. +/* GetLoginJwtTokenFound describes a response with status code 302, with default header values. Found */ @@ -73,8 +72,7 @@ func NewGetLoginJwtTokenBadRequest() *GetLoginJwtTokenBadRequest { return &GetLoginJwtTokenBadRequest{} } -/* -GetLoginJwtTokenBadRequest describes a response with status code 400, with default header values. +/* GetLoginJwtTokenBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -106,8 +104,7 @@ func NewGetLoginJwtTokenInternalServerError() *GetLoginJwtTokenInternalServerErr return &GetLoginJwtTokenInternalServerError{} } -/* -GetLoginJwtTokenInternalServerError describes a response with status code 500, with default header values. +/* GetLoginJwtTokenInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/get_logout_parameters.go b/pkg/platform/api/mono/mono_client/authentication/get_logout_parameters.go index 386f8dca87..e01ddb42d9 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_logout_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_logout_parameters.go @@ -52,12 +52,10 @@ func NewGetLogoutParamsWithHTTPClient(client *http.Client) *GetLogoutParams { } } -/* -GetLogoutParams contains all the parameters to send to the API endpoint +/* GetLogoutParams contains all the parameters to send to the API endpoint + for the get logout operation. - for the get logout operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLogoutParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/authentication/get_logout_responses.go b/pkg/platform/api/mono/mono_client/authentication/get_logout_responses.go index 297bda8349..07faebb0e6 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_logout_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_logout_responses.go @@ -45,8 +45,7 @@ func NewGetLogoutNoContent() *GetLogoutNoContent { return &GetLogoutNoContent{} } -/* -GetLogoutNoContent describes a response with status code 204, with default header values. +/* GetLogoutNoContent describes a response with status code 204, with default header values. Success */ @@ -67,8 +66,7 @@ func NewGetLogoutInternalServerError() *GetLogoutInternalServerError { return &GetLogoutInternalServerError{} } -/* -GetLogoutInternalServerError describes a response with status code 500, with default header values. +/* GetLogoutInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/get_renew_parameters.go b/pkg/platform/api/mono/mono_client/authentication/get_renew_parameters.go index 9eb90a700e..38e6274043 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_renew_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_renew_parameters.go @@ -52,12 +52,10 @@ func NewGetRenewParamsWithHTTPClient(client *http.Client) *GetRenewParams { } } -/* -GetRenewParams contains all the parameters to send to the API endpoint +/* GetRenewParams contains all the parameters to send to the API endpoint + for the get renew operation. - for the get renew operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetRenewParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/get_renew_responses.go b/pkg/platform/api/mono/mono_client/authentication/get_renew_responses.go index f703cc6981..1b9b05cbcf 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_renew_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_renew_responses.go @@ -51,8 +51,7 @@ func NewGetRenewOK() *GetRenewOK { return &GetRenewOK{} } -/* -GetRenewOK describes a response with status code 200, with default header values. +/* GetRenewOK describes a response with status code 200, with default header values. Success */ @@ -84,8 +83,7 @@ func NewGetRenewNotFound() *GetRenewNotFound { return &GetRenewNotFound{} } -/* -GetRenewNotFound describes a response with status code 404, with default header values. +/* GetRenewNotFound describes a response with status code 404, with default header values. Not Found */ @@ -117,8 +115,7 @@ func NewGetRenewInternalServerError() *GetRenewInternalServerError { return &GetRenewInternalServerError{} } -/* -GetRenewInternalServerError describes a response with status code 500, with default header values. +/* GetRenewInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/github_auth_error_parameters.go b/pkg/platform/api/mono/mono_client/authentication/github_auth_error_parameters.go index 08f145d6fa..d9e17df86b 100644 --- a/pkg/platform/api/mono/mono_client/authentication/github_auth_error_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/github_auth_error_parameters.go @@ -52,12 +52,10 @@ func NewGithubAuthErrorParamsWithHTTPClient(client *http.Client) *GithubAuthErro } } -/* -GithubAuthErrorParams contains all the parameters to send to the API endpoint +/* GithubAuthErrorParams contains all the parameters to send to the API endpoint + for the github auth error operation. - for the github auth error operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GithubAuthErrorParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/github_auth_error_responses.go b/pkg/platform/api/mono/mono_client/authentication/github_auth_error_responses.go index 7e42097113..ffe183563a 100644 --- a/pkg/platform/api/mono/mono_client/authentication/github_auth_error_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/github_auth_error_responses.go @@ -36,8 +36,7 @@ func NewGithubAuthErrorFound() *GithubAuthErrorFound { return &GithubAuthErrorFound{} } -/* -GithubAuthErrorFound describes a response with status code 302, with default header values. +/* GithubAuthErrorFound describes a response with status code 302, with default header values. Found */ diff --git a/pkg/platform/api/mono/mono_client/authentication/link_github_account_parameters.go b/pkg/platform/api/mono/mono_client/authentication/link_github_account_parameters.go index 8f42c05560..0ac6fecbc1 100644 --- a/pkg/platform/api/mono/mono_client/authentication/link_github_account_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/link_github_account_parameters.go @@ -52,12 +52,10 @@ func NewLinkGithubAccountParamsWithHTTPClient(client *http.Client) *LinkGithubAc } } -/* -LinkGithubAccountParams contains all the parameters to send to the API endpoint +/* LinkGithubAccountParams contains all the parameters to send to the API endpoint + for the link github account operation. - for the link github account operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type LinkGithubAccountParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/link_github_account_responses.go b/pkg/platform/api/mono/mono_client/authentication/link_github_account_responses.go index 58cfef04ea..589bbfb052 100644 --- a/pkg/platform/api/mono/mono_client/authentication/link_github_account_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/link_github_account_responses.go @@ -36,8 +36,7 @@ func NewLinkGithubAccountFound() *LinkGithubAccountFound { return &LinkGithubAccountFound{} } -/* -LinkGithubAccountFound describes a response with status code 302, with default header values. +/* LinkGithubAccountFound describes a response with status code 302, with default header values. Found */ diff --git a/pkg/platform/api/mono/mono_client/authentication/list_tokens_parameters.go b/pkg/platform/api/mono/mono_client/authentication/list_tokens_parameters.go index 3599f1f8d3..7973e9410a 100644 --- a/pkg/platform/api/mono/mono_client/authentication/list_tokens_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/list_tokens_parameters.go @@ -52,12 +52,10 @@ func NewListTokensParamsWithHTTPClient(client *http.Client) *ListTokensParams { } } -/* -ListTokensParams contains all the parameters to send to the API endpoint +/* ListTokensParams contains all the parameters to send to the API endpoint + for the list tokens operation. - for the list tokens operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type ListTokensParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/authentication/list_tokens_responses.go b/pkg/platform/api/mono/mono_client/authentication/list_tokens_responses.go index 9bf4c86fb9..e73836cf67 100644 --- a/pkg/platform/api/mono/mono_client/authentication/list_tokens_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/list_tokens_responses.go @@ -45,8 +45,7 @@ func NewListTokensOK() *ListTokensOK { return &ListTokensOK{} } -/* -ListTokensOK describes a response with status code 200, with default header values. +/* ListTokensOK describes a response with status code 200, with default header values. Success */ @@ -76,8 +75,7 @@ func NewListTokensInternalServerError() *ListTokensInternalServerError { return &ListTokensInternalServerError{} } -/* -ListTokensInternalServerError describes a response with status code 500, with default header values. +/* ListTokensInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/login_as_parameters.go b/pkg/platform/api/mono/mono_client/authentication/login_as_parameters.go index d22312901a..db433f652b 100644 --- a/pkg/platform/api/mono/mono_client/authentication/login_as_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/login_as_parameters.go @@ -52,12 +52,10 @@ func NewLoginAsParamsWithHTTPClient(client *http.Client) *LoginAsParams { } } -/* -LoginAsParams contains all the parameters to send to the API endpoint +/* LoginAsParams contains all the parameters to send to the API endpoint + for the login as operation. - for the login as operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type LoginAsParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/login_as_responses.go b/pkg/platform/api/mono/mono_client/authentication/login_as_responses.go index c79a503320..6c063230a5 100644 --- a/pkg/platform/api/mono/mono_client/authentication/login_as_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/login_as_responses.go @@ -57,8 +57,7 @@ func NewLoginAsOK() *LoginAsOK { return &LoginAsOK{} } -/* -LoginAsOK describes a response with status code 200, with default header values. +/* LoginAsOK describes a response with status code 200, with default header values. Success */ @@ -90,8 +89,7 @@ func NewLoginAsBadRequest() *LoginAsBadRequest { return &LoginAsBadRequest{} } -/* -LoginAsBadRequest describes a response with status code 400, with default header values. +/* LoginAsBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -123,8 +121,7 @@ func NewLoginAsUnauthorized() *LoginAsUnauthorized { return &LoginAsUnauthorized{} } -/* -LoginAsUnauthorized describes a response with status code 401, with default header values. +/* LoginAsUnauthorized describes a response with status code 401, with default header values. Invalid credentials */ @@ -156,8 +153,7 @@ func NewLoginAsInternalServerError() *LoginAsInternalServerError { return &LoginAsInternalServerError{} } -/* -LoginAsInternalServerError describes a response with status code 500, with default header values. +/* LoginAsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/login_with_github_parameters.go b/pkg/platform/api/mono/mono_client/authentication/login_with_github_parameters.go index 6f8de9e870..f34cf506e3 100644 --- a/pkg/platform/api/mono/mono_client/authentication/login_with_github_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/login_with_github_parameters.go @@ -52,12 +52,10 @@ func NewLoginWithGithubParamsWithHTTPClient(client *http.Client) *LoginWithGithu } } -/* -LoginWithGithubParams contains all the parameters to send to the API endpoint +/* LoginWithGithubParams contains all the parameters to send to the API endpoint + for the login with github operation. - for the login with github operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type LoginWithGithubParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/login_with_github_responses.go b/pkg/platform/api/mono/mono_client/authentication/login_with_github_responses.go index 2f152d5915..3db90893f4 100644 --- a/pkg/platform/api/mono/mono_client/authentication/login_with_github_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/login_with_github_responses.go @@ -36,8 +36,7 @@ func NewLoginWithGithubFound() *LoginWithGithubFound { return &LoginWithGithubFound{} } -/* -LoginWithGithubFound describes a response with status code 302, with default header values. +/* LoginWithGithubFound describes a response with status code 302, with default header values. Found */ diff --git a/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_parameters.go b/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_parameters.go index 049a2d241d..2a260073c7 100644 --- a/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_parameters.go @@ -52,12 +52,10 @@ func NewNewTOTPParamsWithHTTPClient(client *http.Client) *NewTOTPParams { } } -/* -NewTOTPParams contains all the parameters to send to the API endpoint +/* NewTOTPParams contains all the parameters to send to the API endpoint + for the new t o t p operation. - for the new t o t p operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type NewTOTPParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_responses.go b/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_responses.go index 74d3a6a84f..0930712128 100644 --- a/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_responses.go @@ -45,8 +45,7 @@ func NewNewTOTPOK() *NewTOTPOK { return &NewTOTPOK{} } -/* -NewTOTPOK describes a response with status code 200, with default header values. +/* NewTOTPOK describes a response with status code 200, with default header values. New TOTP Key */ @@ -78,8 +77,7 @@ func NewNewTOTPBadRequest() *NewTOTPBadRequest { return &NewTOTPBadRequest{} } -/* -NewTOTPBadRequest describes a response with status code 400, with default header values. +/* NewTOTPBadRequest describes a response with status code 400, with default header values. Bad Request */ diff --git a/pkg/platform/api/mono/mono_client/authentication/post_login_parameters.go b/pkg/platform/api/mono/mono_client/authentication/post_login_parameters.go index bf56c27b92..9c7de575b3 100644 --- a/pkg/platform/api/mono/mono_client/authentication/post_login_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/post_login_parameters.go @@ -54,12 +54,10 @@ func NewPostLoginParamsWithHTTPClient(client *http.Client) *PostLoginParams { } } -/* -PostLoginParams contains all the parameters to send to the API endpoint +/* PostLoginParams contains all the parameters to send to the API endpoint + for the post login operation. - for the post login operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type PostLoginParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/post_login_responses.go b/pkg/platform/api/mono/mono_client/authentication/post_login_responses.go index 381a40105e..d2ca991833 100644 --- a/pkg/platform/api/mono/mono_client/authentication/post_login_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/post_login_responses.go @@ -63,8 +63,7 @@ func NewPostLoginOK() *PostLoginOK { return &PostLoginOK{} } -/* -PostLoginOK describes a response with status code 200, with default header values. +/* PostLoginOK describes a response with status code 200, with default header values. Success */ @@ -96,8 +95,7 @@ func NewPostLoginBadRequest() *PostLoginBadRequest { return &PostLoginBadRequest{} } -/* -PostLoginBadRequest describes a response with status code 400, with default header values. +/* PostLoginBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewPostLoginUnauthorized() *PostLoginUnauthorized { return &PostLoginUnauthorized{} } -/* -PostLoginUnauthorized describes a response with status code 401, with default header values. +/* PostLoginUnauthorized describes a response with status code 401, with default header values. Invalid credentials */ @@ -162,8 +159,7 @@ func NewPostLoginRetryWith() *PostLoginRetryWith { return &PostLoginRetryWith{} } -/* -PostLoginRetryWith describes a response with status code 449, with default header values. +/* PostLoginRetryWith describes a response with status code 449, with default header values. TOTP Required */ @@ -195,8 +191,7 @@ func NewPostLoginInternalServerError() *PostLoginInternalServerError { return &PostLoginInternalServerError{} } -/* -PostLoginInternalServerError describes a response with status code 500, with default header values. +/* PostLoginInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/request_reset_parameters.go b/pkg/platform/api/mono/mono_client/authentication/request_reset_parameters.go index 81f415b6c0..034a73ecde 100644 --- a/pkg/platform/api/mono/mono_client/authentication/request_reset_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/request_reset_parameters.go @@ -52,12 +52,10 @@ func NewRequestResetParamsWithHTTPClient(client *http.Client) *RequestResetParam } } -/* -RequestResetParams contains all the parameters to send to the API endpoint +/* RequestResetParams contains all the parameters to send to the API endpoint + for the request reset operation. - for the request reset operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type RequestResetParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/request_reset_responses.go b/pkg/platform/api/mono/mono_client/authentication/request_reset_responses.go index 907731a155..5bc62b8033 100644 --- a/pkg/platform/api/mono/mono_client/authentication/request_reset_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/request_reset_responses.go @@ -51,8 +51,7 @@ func NewRequestResetOK() *RequestResetOK { return &RequestResetOK{} } -/* -RequestResetOK describes a response with status code 200, with default header values. +/* RequestResetOK describes a response with status code 200, with default header values. Success */ @@ -84,8 +83,7 @@ func NewRequestResetBadRequest() *RequestResetBadRequest { return &RequestResetBadRequest{} } -/* -RequestResetBadRequest describes a response with status code 400, with default header values. +/* RequestResetBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -117,8 +115,7 @@ func NewRequestResetInternalServerError() *RequestResetInternalServerError { return &RequestResetInternalServerError{} } -/* -RequestResetInternalServerError describes a response with status code 500, with default header values. +/* RequestResetInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/reset_password_parameters.go b/pkg/platform/api/mono/mono_client/authentication/reset_password_parameters.go index 675e72fa34..dae60224bc 100644 --- a/pkg/platform/api/mono/mono_client/authentication/reset_password_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/reset_password_parameters.go @@ -54,12 +54,10 @@ func NewResetPasswordParamsWithHTTPClient(client *http.Client) *ResetPasswordPar } } -/* -ResetPasswordParams contains all the parameters to send to the API endpoint +/* ResetPasswordParams contains all the parameters to send to the API endpoint + for the reset password operation. - for the reset password operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type ResetPasswordParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/reset_password_responses.go b/pkg/platform/api/mono/mono_client/authentication/reset_password_responses.go index 8c616bbc7c..9a61dcb53b 100644 --- a/pkg/platform/api/mono/mono_client/authentication/reset_password_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/reset_password_responses.go @@ -57,8 +57,7 @@ func NewResetPasswordOK() *ResetPasswordOK { return &ResetPasswordOK{} } -/* -ResetPasswordOK describes a response with status code 200, with default header values. +/* ResetPasswordOK describes a response with status code 200, with default header values. Success */ @@ -90,8 +89,7 @@ func NewResetPasswordBadRequest() *ResetPasswordBadRequest { return &ResetPasswordBadRequest{} } -/* -ResetPasswordBadRequest describes a response with status code 400, with default header values. +/* ResetPasswordBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -123,8 +121,7 @@ func NewResetPasswordForbidden() *ResetPasswordForbidden { return &ResetPasswordForbidden{} } -/* -ResetPasswordForbidden describes a response with status code 403, with default header values. +/* ResetPasswordForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -156,8 +153,7 @@ func NewResetPasswordInternalServerError() *ResetPasswordInternalServerError { return &ResetPasswordInternalServerError{} } -/* -ResetPasswordInternalServerError describes a response with status code 500, with default header values. +/* ResetPasswordInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/signup_with_github_parameters.go b/pkg/platform/api/mono/mono_client/authentication/signup_with_github_parameters.go index 4f7fa479a5..67c109fc2b 100644 --- a/pkg/platform/api/mono/mono_client/authentication/signup_with_github_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/signup_with_github_parameters.go @@ -52,12 +52,10 @@ func NewSignupWithGithubParamsWithHTTPClient(client *http.Client) *SignupWithGit } } -/* -SignupWithGithubParams contains all the parameters to send to the API endpoint +/* SignupWithGithubParams contains all the parameters to send to the API endpoint + for the signup with github operation. - for the signup with github operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SignupWithGithubParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/signup_with_github_responses.go b/pkg/platform/api/mono/mono_client/authentication/signup_with_github_responses.go index 62435bc463..0eede3aedd 100644 --- a/pkg/platform/api/mono/mono_client/authentication/signup_with_github_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/signup_with_github_responses.go @@ -36,8 +36,7 @@ func NewSignupWithGithubFound() *SignupWithGithubFound { return &SignupWithGithubFound{} } -/* -SignupWithGithubFound describes a response with status code 302, with default header values. +/* SignupWithGithubFound describes a response with status code 302, with default header values. Found */ diff --git a/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_parameters.go b/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_parameters.go index 89c67dd929..96edad5e49 100644 --- a/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_parameters.go @@ -52,12 +52,10 @@ func NewUnlinkGithubAccountParamsWithHTTPClient(client *http.Client) *UnlinkGith } } -/* -UnlinkGithubAccountParams contains all the parameters to send to the API endpoint +/* UnlinkGithubAccountParams contains all the parameters to send to the API endpoint + for the unlink github account operation. - for the unlink github account operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type UnlinkGithubAccountParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_responses.go b/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_responses.go index a2ad8f4ae1..6f03d05f03 100644 --- a/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_responses.go @@ -42,8 +42,7 @@ func NewUnlinkGithubAccountOK() *UnlinkGithubAccountOK { return &UnlinkGithubAccountOK{} } -/* -UnlinkGithubAccountOK describes a response with status code 200, with default header values. +/* UnlinkGithubAccountOK describes a response with status code 200, with default header values. Success */ @@ -64,8 +63,7 @@ func NewUnlinkGithubAccountForbidden() *UnlinkGithubAccountForbidden { return &UnlinkGithubAccountForbidden{} } -/* -UnlinkGithubAccountForbidden describes a response with status code 403, with default header values. +/* UnlinkGithubAccountForbidden describes a response with status code 403, with default header values. Not found */ diff --git a/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_parameters.go b/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_parameters.go index 50744feaac..5da589af91 100644 --- a/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_parameters.go +++ b/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_parameters.go @@ -52,12 +52,10 @@ func NewGetLoginsAndReposParamsWithHTTPClient(client *http.Client) *GetLoginsAnd } } -/* -GetLoginsAndReposParams contains all the parameters to send to the API endpoint +/* GetLoginsAndReposParams contains all the parameters to send to the API endpoint + for the get logins and repos operation. - for the get logins and repos operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLoginsAndReposParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_responses.go b/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_responses.go index ac8dbdd6d1..b87083e0d6 100644 --- a/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_responses.go +++ b/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_responses.go @@ -57,8 +57,7 @@ func NewGetLoginsAndReposOK() *GetLoginsAndReposOK { return &GetLoginsAndReposOK{} } -/* -GetLoginsAndReposOK describes a response with status code 200, with default header values. +/* GetLoginsAndReposOK describes a response with status code 200, with default header values. Success */ @@ -88,8 +87,7 @@ func NewGetLoginsAndReposBadRequest() *GetLoginsAndReposBadRequest { return &GetLoginsAndReposBadRequest{} } -/* -GetLoginsAndReposBadRequest describes a response with status code 400, with default header values. +/* GetLoginsAndReposBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -121,8 +119,7 @@ func NewGetLoginsAndReposForbidden() *GetLoginsAndReposForbidden { return &GetLoginsAndReposForbidden{} } -/* -GetLoginsAndReposForbidden describes a response with status code 403, with default header values. +/* GetLoginsAndReposForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -154,8 +151,7 @@ func NewGetLoginsAndReposInternalServerError() *GetLoginsAndReposInternalServerE return &GetLoginsAndReposInternalServerError{} } -/* -GetLoginsAndReposInternalServerError describes a response with status code 500, with default header values. +/* GetLoginsAndReposInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/github/get_repo_requirements_parameters.go b/pkg/platform/api/mono/mono_client/github/get_repo_requirements_parameters.go index 5ef204beb5..1d6707f759 100644 --- a/pkg/platform/api/mono/mono_client/github/get_repo_requirements_parameters.go +++ b/pkg/platform/api/mono/mono_client/github/get_repo_requirements_parameters.go @@ -52,12 +52,10 @@ func NewGetRepoRequirementsParamsWithHTTPClient(client *http.Client) *GetRepoReq } } -/* -GetRepoRequirementsParams contains all the parameters to send to the API endpoint +/* GetRepoRequirementsParams contains all the parameters to send to the API endpoint + for the get repo requirements operation. - for the get repo requirements operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetRepoRequirementsParams struct { diff --git a/pkg/platform/api/mono/mono_client/github/get_repo_requirements_responses.go b/pkg/platform/api/mono/mono_client/github/get_repo_requirements_responses.go index f69d61abbb..0398bc9f6c 100644 --- a/pkg/platform/api/mono/mono_client/github/get_repo_requirements_responses.go +++ b/pkg/platform/api/mono/mono_client/github/get_repo_requirements_responses.go @@ -57,8 +57,7 @@ func NewGetRepoRequirementsOK() *GetRepoRequirementsOK { return &GetRepoRequirementsOK{} } -/* -GetRepoRequirementsOK describes a response with status code 200, with default header values. +/* GetRepoRequirementsOK describes a response with status code 200, with default header values. Success */ @@ -88,8 +87,7 @@ func NewGetRepoRequirementsBadRequest() *GetRepoRequirementsBadRequest { return &GetRepoRequirementsBadRequest{} } -/* -GetRepoRequirementsBadRequest describes a response with status code 400, with default header values. +/* GetRepoRequirementsBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -121,8 +119,7 @@ func NewGetRepoRequirementsForbidden() *GetRepoRequirementsForbidden { return &GetRepoRequirementsForbidden{} } -/* -GetRepoRequirementsForbidden describes a response with status code 403, with default header values. +/* GetRepoRequirementsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -154,8 +151,7 @@ func NewGetRepoRequirementsInternalServerError() *GetRepoRequirementsInternalSer return &GetRepoRequirementsInternalServerError{} } -/* -GetRepoRequirementsInternalServerError describes a response with status code 500, with default header values. +/* GetRepoRequirementsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/github/github_client.go b/pkg/platform/api/mono/mono_client/github/github_client.go index 9c199ee82a..6d47898feb 100644 --- a/pkg/platform/api/mono/mono_client/github/github_client.go +++ b/pkg/platform/api/mono/mono_client/github/github_client.go @@ -38,7 +38,7 @@ type ClientService interface { } /* -GetLoginsAndRepos retrieves available repos from github for authenticated user m u s t have git authentication enabled in the platform + GetLoginsAndRepos retrieves available repos from github for authenticated user m u s t have git authentication enabled in the platform */ func (a *Client) GetLoginsAndRepos(params *GetLoginsAndReposParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLoginsAndReposOK, error) { // TODO: Validate the params before sending @@ -77,7 +77,7 @@ func (a *Client) GetLoginsAndRepos(params *GetLoginsAndReposParams, authInfo run } /* -GetRepoRequirements gets list of supported languages and their required packages parsed from the repo + GetRepoRequirements gets list of supported languages and their required packages parsed from the repo */ func (a *Client) GetRepoRequirements(params *GetRepoRequirementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRepoRequirementsOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/invoices/calculate_tax_parameters.go b/pkg/platform/api/mono/mono_client/invoices/calculate_tax_parameters.go index 9e0d5cbc7d..b08d04983f 100644 --- a/pkg/platform/api/mono/mono_client/invoices/calculate_tax_parameters.go +++ b/pkg/platform/api/mono/mono_client/invoices/calculate_tax_parameters.go @@ -54,12 +54,10 @@ func NewCalculateTaxParamsWithHTTPClient(client *http.Client) *CalculateTaxParam } } -/* -CalculateTaxParams contains all the parameters to send to the API endpoint +/* CalculateTaxParams contains all the parameters to send to the API endpoint + for the calculate tax operation. - for the calculate tax operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type CalculateTaxParams struct { diff --git a/pkg/platform/api/mono/mono_client/invoices/calculate_tax_responses.go b/pkg/platform/api/mono/mono_client/invoices/calculate_tax_responses.go index 1e7eceab60..bc97847762 100644 --- a/pkg/platform/api/mono/mono_client/invoices/calculate_tax_responses.go +++ b/pkg/platform/api/mono/mono_client/invoices/calculate_tax_responses.go @@ -57,8 +57,7 @@ func NewCalculateTaxOK() *CalculateTaxOK { return &CalculateTaxOK{} } -/* -CalculateTaxOK describes a response with status code 200, with default header values. +/* CalculateTaxOK describes a response with status code 200, with default header values. Success */ @@ -88,8 +87,7 @@ func NewCalculateTaxBadRequest() *CalculateTaxBadRequest { return &CalculateTaxBadRequest{} } -/* -CalculateTaxBadRequest describes a response with status code 400, with default header values. +/* CalculateTaxBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -121,8 +119,7 @@ func NewCalculateTaxForbidden() *CalculateTaxForbidden { return &CalculateTaxForbidden{} } -/* -CalculateTaxForbidden describes a response with status code 403, with default header values. +/* CalculateTaxForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -154,8 +151,7 @@ func NewCalculateTaxInternalServerError() *CalculateTaxInternalServerError { return &CalculateTaxInternalServerError{} } -/* -CalculateTaxInternalServerError describes a response with status code 500, with default header values. +/* CalculateTaxInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_parameters.go b/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_parameters.go index e9ddfb37a4..4832326814 100644 --- a/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_parameters.go +++ b/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_parameters.go @@ -52,12 +52,10 @@ func NewCancelSubscriptionParamsWithHTTPClient(client *http.Client) *CancelSubsc } } -/* -CancelSubscriptionParams contains all the parameters to send to the API endpoint +/* CancelSubscriptionParams contains all the parameters to send to the API endpoint + for the cancel subscription operation. - for the cancel subscription operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type CancelSubscriptionParams struct { diff --git a/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_responses.go b/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_responses.go index 0c74e038af..7df68a7ef1 100644 --- a/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_responses.go +++ b/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_responses.go @@ -63,8 +63,7 @@ func NewCancelSubscriptionOK() *CancelSubscriptionOK { return &CancelSubscriptionOK{} } -/* -CancelSubscriptionOK describes a response with status code 200, with default header values. +/* CancelSubscriptionOK describes a response with status code 200, with default header values. Success */ @@ -94,8 +93,7 @@ func NewCancelSubscriptionBadRequest() *CancelSubscriptionBadRequest { return &CancelSubscriptionBadRequest{} } -/* -CancelSubscriptionBadRequest describes a response with status code 400, with default header values. +/* CancelSubscriptionBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,8 +125,7 @@ func NewCancelSubscriptionForbidden() *CancelSubscriptionForbidden { return &CancelSubscriptionForbidden{} } -/* -CancelSubscriptionForbidden describes a response with status code 403, with default header values. +/* CancelSubscriptionForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -160,8 +157,7 @@ func NewCancelSubscriptionNotFound() *CancelSubscriptionNotFound { return &CancelSubscriptionNotFound{} } -/* -CancelSubscriptionNotFound describes a response with status code 404, with default header values. +/* CancelSubscriptionNotFound describes a response with status code 404, with default header values. Not Found */ @@ -193,8 +189,7 @@ func NewCancelSubscriptionInternalServerError() *CancelSubscriptionInternalServe return &CancelSubscriptionInternalServerError{} } -/* -CancelSubscriptionInternalServerError describes a response with status code 500, with default header values. +/* CancelSubscriptionInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/invoices/create_invoice_parameters.go b/pkg/platform/api/mono/mono_client/invoices/create_invoice_parameters.go index 59929c3414..0932e2ffdd 100644 --- a/pkg/platform/api/mono/mono_client/invoices/create_invoice_parameters.go +++ b/pkg/platform/api/mono/mono_client/invoices/create_invoice_parameters.go @@ -54,12 +54,10 @@ func NewCreateInvoiceParamsWithHTTPClient(client *http.Client) *CreateInvoicePar } } -/* -CreateInvoiceParams contains all the parameters to send to the API endpoint +/* CreateInvoiceParams contains all the parameters to send to the API endpoint + for the create invoice operation. - for the create invoice operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type CreateInvoiceParams struct { diff --git a/pkg/platform/api/mono/mono_client/invoices/create_invoice_responses.go b/pkg/platform/api/mono/mono_client/invoices/create_invoice_responses.go index 9054b28abd..c2cfcfc7ee 100644 --- a/pkg/platform/api/mono/mono_client/invoices/create_invoice_responses.go +++ b/pkg/platform/api/mono/mono_client/invoices/create_invoice_responses.go @@ -63,8 +63,7 @@ func NewCreateInvoiceOK() *CreateInvoiceOK { return &CreateInvoiceOK{} } -/* -CreateInvoiceOK describes a response with status code 200, with default header values. +/* CreateInvoiceOK describes a response with status code 200, with default header values. Success */ @@ -94,8 +93,7 @@ func NewCreateInvoiceBadRequest() *CreateInvoiceBadRequest { return &CreateInvoiceBadRequest{} } -/* -CreateInvoiceBadRequest describes a response with status code 400, with default header values. +/* CreateInvoiceBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,8 +125,7 @@ func NewCreateInvoiceForbidden() *CreateInvoiceForbidden { return &CreateInvoiceForbidden{} } -/* -CreateInvoiceForbidden describes a response with status code 403, with default header values. +/* CreateInvoiceForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -160,8 +157,7 @@ func NewCreateInvoiceNotFound() *CreateInvoiceNotFound { return &CreateInvoiceNotFound{} } -/* -CreateInvoiceNotFound describes a response with status code 404, with default header values. +/* CreateInvoiceNotFound describes a response with status code 404, with default header values. Not Found */ @@ -193,8 +189,7 @@ func NewCreateInvoiceInternalServerError() *CreateInvoiceInternalServerError { return &CreateInvoiceInternalServerError{} } -/* -CreateInvoiceInternalServerError describes a response with status code 500, with default header values. +/* CreateInvoiceInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/invoices/invoices_client.go b/pkg/platform/api/mono/mono_client/invoices/invoices_client.go index a27fdd442b..341b99375c 100644 --- a/pkg/platform/api/mono/mono_client/invoices/invoices_client.go +++ b/pkg/platform/api/mono/mono_client/invoices/invoices_client.go @@ -40,7 +40,7 @@ type ClientService interface { } /* -CalculateTax calculates the tax for the given address and options + CalculateTax calculates the tax for the given address and options */ func (a *Client) CalculateTax(params *CalculateTaxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CalculateTaxOK, error) { // TODO: Validate the params before sending @@ -79,9 +79,9 @@ func (a *Client) CalculateTax(params *CalculateTaxParams, authInfo runtime.Clien } /* -CancelSubscription cancels trial + CancelSubscription cancels trial -Cancels the organization's paid tier trial; at the end of the trial period, paid tier access will end instead of starting a paid subscription. + Cancels the organization's paid tier trial; at the end of the trial period, paid tier access will end instead of starting a paid subscription. */ func (a *Client) CancelSubscription(params *CancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelSubscriptionOK, error) { // TODO: Validate the params before sending @@ -120,9 +120,9 @@ func (a *Client) CancelSubscription(params *CancelSubscriptionParams, authInfo r } /* -CreateInvoice creates new invoice + CreateInvoice creates new invoice -Creates a new invoice for the organization + Creates a new invoice for the organization */ func (a *Client) CreateInvoice(params *CreateInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInvoiceOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/limits/get_organization_limits_parameters.go b/pkg/platform/api/mono/mono_client/limits/get_organization_limits_parameters.go index bf5a6a6687..38e3d5f1ca 100644 --- a/pkg/platform/api/mono/mono_client/limits/get_organization_limits_parameters.go +++ b/pkg/platform/api/mono/mono_client/limits/get_organization_limits_parameters.go @@ -52,12 +52,10 @@ func NewGetOrganizationLimitsParamsWithHTTPClient(client *http.Client) *GetOrgan } } -/* -GetOrganizationLimitsParams contains all the parameters to send to the API endpoint +/* GetOrganizationLimitsParams contains all the parameters to send to the API endpoint + for the get organization limits operation. - for the get organization limits operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOrganizationLimitsParams struct { diff --git a/pkg/platform/api/mono/mono_client/limits/get_organization_limits_responses.go b/pkg/platform/api/mono/mono_client/limits/get_organization_limits_responses.go index 349e5288c1..ff608f2b79 100644 --- a/pkg/platform/api/mono/mono_client/limits/get_organization_limits_responses.go +++ b/pkg/platform/api/mono/mono_client/limits/get_organization_limits_responses.go @@ -57,8 +57,7 @@ func NewGetOrganizationLimitsOK() *GetOrganizationLimitsOK { return &GetOrganizationLimitsOK{} } -/* -GetOrganizationLimitsOK describes a response with status code 200, with default header values. +/* GetOrganizationLimitsOK describes a response with status code 200, with default header values. Success */ @@ -90,8 +89,7 @@ func NewGetOrganizationLimitsForbidden() *GetOrganizationLimitsForbidden { return &GetOrganizationLimitsForbidden{} } -/* -GetOrganizationLimitsForbidden describes a response with status code 403, with default header values. +/* GetOrganizationLimitsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -123,8 +121,7 @@ func NewGetOrganizationLimitsNotFound() *GetOrganizationLimitsNotFound { return &GetOrganizationLimitsNotFound{} } -/* -GetOrganizationLimitsNotFound describes a response with status code 404, with default header values. +/* GetOrganizationLimitsNotFound describes a response with status code 404, with default header values. Not Found */ @@ -156,8 +153,7 @@ func NewGetOrganizationLimitsInternalServerError() *GetOrganizationLimitsInterna return &GetOrganizationLimitsInternalServerError{} } -/* -GetOrganizationLimitsInternalServerError describes a response with status code 500, with default header values. +/* GetOrganizationLimitsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/limits/limits_client.go b/pkg/platform/api/mono/mono_client/limits/limits_client.go index 49ff3caea9..7f1d4fff90 100644 --- a/pkg/platform/api/mono/mono_client/limits/limits_client.go +++ b/pkg/platform/api/mono/mono_client/limits/limits_client.go @@ -36,9 +36,9 @@ type ClientService interface { } /* -GetOrganizationLimits organizations limitations + GetOrganizationLimits organizations limitations -Returns the limitations that apply to the org (inherited from their tier) + Returns the limitations that apply to the org (inherited from their tier) */ func (a *Client) GetOrganizationLimits(params *GetOrganizationLimitsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationLimitsOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_get_parameters.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_get_parameters.go index 57388ce055..d3ba2add47 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_get_parameters.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_get_parameters.go @@ -52,12 +52,10 @@ func NewAuthDeviceGetParamsWithHTTPClient(client *http.Client) *AuthDeviceGetPar } } -/* -AuthDeviceGetParams contains all the parameters to send to the API endpoint +/* AuthDeviceGetParams contains all the parameters to send to the API endpoint + for the auth device get operation. - for the auth device get operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AuthDeviceGetParams struct { diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_get_responses.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_get_responses.go index faa6d595fd..70d6f558c3 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_get_responses.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_get_responses.go @@ -56,8 +56,7 @@ func NewAuthDeviceGetOK() *AuthDeviceGetOK { return &AuthDeviceGetOK{} } -/* -AuthDeviceGetOK describes a response with status code 200, with default header values. +/* AuthDeviceGetOK describes a response with status code 200, with default header values. Success */ @@ -89,14 +88,13 @@ func NewAuthDeviceGetBadRequest() *AuthDeviceGetBadRequest { return &AuthDeviceGetBadRequest{} } -/* - AuthDeviceGetBadRequest describes a response with status code 400, with default header values. - - authorization_pending: The authorization request is still pending as the end user hasn't yet completed the user-interaction steps +/* AuthDeviceGetBadRequest describes a response with status code 400, with default header values. + authorization_pending: The authorization request is still pending as the end user hasn't yet completed the user-interaction steps slow_down: A variant of "authorization_pending", the authorization request is still pending and polling should continue, but the interval MUST be increased by 5 seconds for this and all subsequent requests. expired_token: The "device_code" has expired, and the device authorization session has concluded. The only error key that the client MUST stop making requests after is 'expired_token'. + */ type AuthDeviceGetBadRequest struct { Payload *AuthDeviceGetBadRequestBody @@ -126,8 +124,7 @@ func NewAuthDeviceGetInternalServerError() *AuthDeviceGetInternalServerError { return &AuthDeviceGetInternalServerError{} } -/* -AuthDeviceGetInternalServerError describes a response with status code 500, with default header values. +/* AuthDeviceGetInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -154,8 +151,7 @@ func (o *AuthDeviceGetInternalServerError) readResponse(response runtime.ClientR return nil } -/* -AuthDeviceGetBadRequestBody auth device get bad request body +/*AuthDeviceGetBadRequestBody auth device get bad request body swagger:model AuthDeviceGetBadRequestBody */ type AuthDeviceGetBadRequestBody struct { diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_post_parameters.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_post_parameters.go index 857ed763d5..0d07e4c34a 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_post_parameters.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_post_parameters.go @@ -52,12 +52,10 @@ func NewAuthDevicePostParamsWithHTTPClient(client *http.Client) *AuthDevicePostP } } -/* -AuthDevicePostParams contains all the parameters to send to the API endpoint +/* AuthDevicePostParams contains all the parameters to send to the API endpoint + for the auth device post operation. - for the auth device post operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AuthDevicePostParams struct { diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_post_responses.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_post_responses.go index 1a60b4b4f8..ea726f4c49 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_post_responses.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_post_responses.go @@ -45,8 +45,7 @@ func NewAuthDevicePostOK() *AuthDevicePostOK { return &AuthDevicePostOK{} } -/* -AuthDevicePostOK describes a response with status code 200, with default header values. +/* AuthDevicePostOK describes a response with status code 200, with default header values. Success */ @@ -78,8 +77,7 @@ func NewAuthDevicePostInternalServerError() *AuthDevicePostInternalServerError { return &AuthDevicePostInternalServerError{} } -/* -AuthDevicePostInternalServerError describes a response with status code 500, with default header values. +/* AuthDevicePostInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_put_parameters.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_put_parameters.go index be759e031d..af60811b69 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_put_parameters.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_put_parameters.go @@ -52,12 +52,10 @@ func NewAuthDevicePutParamsWithHTTPClient(client *http.Client) *AuthDevicePutPar } } -/* -AuthDevicePutParams contains all the parameters to send to the API endpoint +/* AuthDevicePutParams contains all the parameters to send to the API endpoint + for the auth device put operation. - for the auth device put operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AuthDevicePutParams struct { diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_put_responses.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_put_responses.go index d80f719d8d..39b0eb5f2d 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_put_responses.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_put_responses.go @@ -57,8 +57,7 @@ func NewAuthDevicePutOK() *AuthDevicePutOK { return &AuthDevicePutOK{} } -/* -AuthDevicePutOK describes a response with status code 200, with default header values. +/* AuthDevicePutOK describes a response with status code 200, with default header values. Success */ @@ -79,8 +78,7 @@ func NewAuthDevicePutBadRequest() *AuthDevicePutBadRequest { return &AuthDevicePutBadRequest{} } -/* -AuthDevicePutBadRequest describes a response with status code 400, with default header values. +/* AuthDevicePutBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -112,8 +110,7 @@ func NewAuthDevicePutUnauthorized() *AuthDevicePutUnauthorized { return &AuthDevicePutUnauthorized{} } -/* -AuthDevicePutUnauthorized describes a response with status code 401, with default header values. +/* AuthDevicePutUnauthorized describes a response with status code 401, with default header values. Invalid credentials */ @@ -145,8 +142,7 @@ func NewAuthDevicePutInternalServerError() *AuthDevicePutInternalServerError { return &AuthDevicePutInternalServerError{} } -/* -AuthDevicePutInternalServerError describes a response with status code 500, with default header values. +/* AuthDevicePutInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/oauth/oauth_client.go b/pkg/platform/api/mono/mono_client/oauth/oauth_client.go index 914b5960f6..912c927c24 100644 --- a/pkg/platform/api/mono/mono_client/oauth/oauth_client.go +++ b/pkg/platform/api/mono/mono_client/oauth/oauth_client.go @@ -40,7 +40,7 @@ type ClientService interface { } /* -AuthDeviceGet gets the status of a particular device code authorization flow based on device code + AuthDeviceGet gets the status of a particular device code authorization flow based on device code */ func (a *Client) AuthDeviceGet(params *AuthDeviceGetParams, opts ...ClientOption) (*AuthDeviceGetOK, error) { // TODO: Validate the params before sending @@ -78,7 +78,7 @@ func (a *Client) AuthDeviceGet(params *AuthDeviceGetParams, opts ...ClientOption } /* -AuthDevicePost initializes device o a u t h flow with the API + AuthDevicePost initializes device o a u t h flow with the API */ func (a *Client) AuthDevicePost(params *AuthDevicePostParams, opts ...ClientOption) (*AuthDevicePostOK, error) { // TODO: Validate the params before sending @@ -116,7 +116,7 @@ func (a *Client) AuthDevicePost(params *AuthDevicePostParams, opts ...ClientOpti } /* -AuthDevicePut authorizes user code this endpoint completes the device authorization grant flow successfully + AuthDevicePut authorizes user code this endpoint completes the device authorization grant flow successfully */ func (a *Client) AuthDevicePut(params *AuthDevicePutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthDevicePutOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_parameters.go b/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_parameters.go index 32b7f59e70..6478dfb404 100644 --- a/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_parameters.go @@ -54,12 +54,10 @@ func NewAddOrganizationAutoInviteParamsWithHTTPClient(client *http.Client) *AddO } } -/* -AddOrganizationAutoInviteParams contains all the parameters to send to the API endpoint +/* AddOrganizationAutoInviteParams contains all the parameters to send to the API endpoint + for the add organization auto invite operation. - for the add organization auto invite operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddOrganizationAutoInviteParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_responses.go b/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_responses.go index d4d7c3165e..ca80b31597 100644 --- a/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_responses.go @@ -51,8 +51,7 @@ func NewAddOrganizationAutoInviteOK() *AddOrganizationAutoInviteOK { return &AddOrganizationAutoInviteOK{} } -/* -AddOrganizationAutoInviteOK describes a response with status code 200, with default header values. +/* AddOrganizationAutoInviteOK describes a response with status code 200, with default header values. Success */ @@ -82,8 +81,7 @@ func NewAddOrganizationAutoInviteForbidden() *AddOrganizationAutoInviteForbidden return &AddOrganizationAutoInviteForbidden{} } -/* -AddOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. +/* AddOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -115,8 +113,7 @@ func NewAddOrganizationAutoInviteInternalServerError() *AddOrganizationAutoInvit return &AddOrganizationAutoInviteInternalServerError{} } -/* -AddOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. +/* AddOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/add_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/add_organization_parameters.go index 0653ec33d0..3c2343ed3e 100644 --- a/pkg/platform/api/mono/mono_client/organizations/add_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/add_organization_parameters.go @@ -54,12 +54,10 @@ func NewAddOrganizationParamsWithHTTPClient(client *http.Client) *AddOrganizatio } } -/* -AddOrganizationParams contains all the parameters to send to the API endpoint +/* AddOrganizationParams contains all the parameters to send to the API endpoint + for the add organization operation. - for the add organization operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/add_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/add_organization_responses.go index 2c09c2b392..7d78748b38 100644 --- a/pkg/platform/api/mono/mono_client/organizations/add_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/add_organization_responses.go @@ -63,8 +63,7 @@ func NewAddOrganizationOK() *AddOrganizationOK { return &AddOrganizationOK{} } -/* -AddOrganizationOK describes a response with status code 200, with default header values. +/* AddOrganizationOK describes a response with status code 200, with default header values. Organization Created */ @@ -96,8 +95,7 @@ func NewAddOrganizationBadRequest() *AddOrganizationBadRequest { return &AddOrganizationBadRequest{} } -/* -AddOrganizationBadRequest describes a response with status code 400, with default header values. +/* AddOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewAddOrganizationForbidden() *AddOrganizationForbidden { return &AddOrganizationForbidden{} } -/* -AddOrganizationForbidden describes a response with status code 403, with default header values. +/* AddOrganizationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewAddOrganizationConflict() *AddOrganizationConflict { return &AddOrganizationConflict{} } -/* -AddOrganizationConflict describes a response with status code 409, with default header values. +/* AddOrganizationConflict describes a response with status code 409, with default header values. Conflict */ @@ -195,8 +191,7 @@ func NewAddOrganizationInternalServerError() *AddOrganizationInternalServerError return &AddOrganizationInternalServerError{} } -/* -AddOrganizationInternalServerError describes a response with status code 500, with default header values. +/* AddOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_parameters.go index b620ab8ab5..242eb1acb5 100644 --- a/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_parameters.go @@ -52,12 +52,10 @@ func NewBulkInviteOrganizationParamsWithHTTPClient(client *http.Client) *BulkInv } } -/* -BulkInviteOrganizationParams contains all the parameters to send to the API endpoint +/* BulkInviteOrganizationParams contains all the parameters to send to the API endpoint + for the bulk invite organization operation. - for the bulk invite organization operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type BulkInviteOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_responses.go index ef372f1802..90d99ffa6f 100644 --- a/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_responses.go @@ -63,8 +63,7 @@ func NewBulkInviteOrganizationOK() *BulkInviteOrganizationOK { return &BulkInviteOrganizationOK{} } -/* -BulkInviteOrganizationOK describes a response with status code 200, with default header values. +/* BulkInviteOrganizationOK describes a response with status code 200, with default header values. Success */ @@ -94,8 +93,7 @@ func NewBulkInviteOrganizationBadRequest() *BulkInviteOrganizationBadRequest { return &BulkInviteOrganizationBadRequest{} } -/* -BulkInviteOrganizationBadRequest describes a response with status code 400, with default header values. +/* BulkInviteOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,8 +125,7 @@ func NewBulkInviteOrganizationUnauthorized() *BulkInviteOrganizationUnauthorized return &BulkInviteOrganizationUnauthorized{} } -/* -BulkInviteOrganizationUnauthorized describes a response with status code 401, with default header values. +/* BulkInviteOrganizationUnauthorized describes a response with status code 401, with default header values. Unauthorized */ @@ -149,8 +146,7 @@ func NewBulkInviteOrganizationForbidden() *BulkInviteOrganizationForbidden { return &BulkInviteOrganizationForbidden{} } -/* -BulkInviteOrganizationForbidden describes a response with status code 403, with default header values. +/* BulkInviteOrganizationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -182,8 +178,7 @@ func NewBulkInviteOrganizationInternalServerError() *BulkInviteOrganizationInter return &BulkInviteOrganizationInternalServerError{} } -/* -BulkInviteOrganizationInternalServerError describes a response with status code 500, with default header values. +/* BulkInviteOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_invite_parameters.go b/pkg/platform/api/mono/mono_client/organizations/delete_invite_parameters.go index aab6b438f7..ed8d43bea9 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_invite_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_invite_parameters.go @@ -52,12 +52,10 @@ func NewDeleteInviteParamsWithHTTPClient(client *http.Client) *DeleteInviteParam } } -/* -DeleteInviteParams contains all the parameters to send to the API endpoint +/* DeleteInviteParams contains all the parameters to send to the API endpoint + for the delete invite operation. - for the delete invite operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type DeleteInviteParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_invite_responses.go b/pkg/platform/api/mono/mono_client/organizations/delete_invite_responses.go index 1c2b2b3abc..fa6f198e7a 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_invite_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_invite_responses.go @@ -57,8 +57,7 @@ func NewDeleteInviteOK() *DeleteInviteOK { return &DeleteInviteOK{} } -/* -DeleteInviteOK describes a response with status code 200, with default header values. +/* DeleteInviteOK describes a response with status code 200, with default header values. Invitation Delete */ @@ -90,8 +89,7 @@ func NewDeleteInviteForbidden() *DeleteInviteForbidden { return &DeleteInviteForbidden{} } -/* -DeleteInviteForbidden describes a response with status code 403, with default header values. +/* DeleteInviteForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -123,8 +121,7 @@ func NewDeleteInviteNotFound() *DeleteInviteNotFound { return &DeleteInviteNotFound{} } -/* -DeleteInviteNotFound describes a response with status code 404, with default header values. +/* DeleteInviteNotFound describes a response with status code 404, with default header values. Not Found */ @@ -156,8 +153,7 @@ func NewDeleteInviteInternalServerError() *DeleteInviteInternalServerError { return &DeleteInviteInternalServerError{} } -/* -DeleteInviteInternalServerError describes a response with status code 500, with default header values. +/* DeleteInviteInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_parameters.go b/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_parameters.go index 32b9a29d32..395516e075 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_parameters.go @@ -52,12 +52,10 @@ func NewDeleteOrganizationAutoInviteParamsWithHTTPClient(client *http.Client) *D } } -/* -DeleteOrganizationAutoInviteParams contains all the parameters to send to the API endpoint +/* DeleteOrganizationAutoInviteParams contains all the parameters to send to the API endpoint + for the delete organization auto invite operation. - for the delete organization auto invite operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type DeleteOrganizationAutoInviteParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_responses.go b/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_responses.go index 2b07783840..2ced164fbc 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_responses.go @@ -57,8 +57,7 @@ func NewDeleteOrganizationAutoInviteOK() *DeleteOrganizationAutoInviteOK { return &DeleteOrganizationAutoInviteOK{} } -/* -DeleteOrganizationAutoInviteOK describes a response with status code 200, with default header values. +/* DeleteOrganizationAutoInviteOK describes a response with status code 200, with default header values. Success */ @@ -88,8 +87,7 @@ func NewDeleteOrganizationAutoInviteForbidden() *DeleteOrganizationAutoInviteFor return &DeleteOrganizationAutoInviteForbidden{} } -/* -DeleteOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. +/* DeleteOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,8 +119,7 @@ func NewDeleteOrganizationAutoInviteNotFound() *DeleteOrganizationAutoInviteNotF return &DeleteOrganizationAutoInviteNotFound{} } -/* -DeleteOrganizationAutoInviteNotFound describes a response with status code 404, with default header values. +/* DeleteOrganizationAutoInviteNotFound describes a response with status code 404, with default header values. Not Found */ @@ -154,8 +151,7 @@ func NewDeleteOrganizationAutoInviteInternalServerError() *DeleteOrganizationAut return &DeleteOrganizationAutoInviteInternalServerError{} } -/* -DeleteOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. +/* DeleteOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/delete_organization_parameters.go index 2cc4217311..ceb34341f4 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_organization_parameters.go @@ -52,12 +52,10 @@ func NewDeleteOrganizationParamsWithHTTPClient(client *http.Client) *DeleteOrgan } } -/* -DeleteOrganizationParams contains all the parameters to send to the API endpoint +/* DeleteOrganizationParams contains all the parameters to send to the API endpoint + for the delete organization operation. - for the delete organization operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type DeleteOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/delete_organization_responses.go index 8b3870d61f..2538e0ffa1 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_organization_responses.go @@ -63,8 +63,7 @@ func NewDeleteOrganizationOK() *DeleteOrganizationOK { return &DeleteOrganizationOK{} } -/* -DeleteOrganizationOK describes a response with status code 200, with default header values. +/* DeleteOrganizationOK describes a response with status code 200, with default header values. Organization deleted */ @@ -96,8 +95,7 @@ func NewDeleteOrganizationBadRequest() *DeleteOrganizationBadRequest { return &DeleteOrganizationBadRequest{} } -/* -DeleteOrganizationBadRequest describes a response with status code 400, with default header values. +/* DeleteOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewDeleteOrganizationForbidden() *DeleteOrganizationForbidden { return &DeleteOrganizationForbidden{} } -/* -DeleteOrganizationForbidden describes a response with status code 403, with default header values. +/* DeleteOrganizationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewDeleteOrganizationNotFound() *DeleteOrganizationNotFound { return &DeleteOrganizationNotFound{} } -/* -DeleteOrganizationNotFound describes a response with status code 404, with default header values. +/* DeleteOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewDeleteOrganizationInternalServerError() *DeleteOrganizationInternalServe return &DeleteOrganizationInternalServerError{} } -/* -DeleteOrganizationInternalServerError describes a response with status code 500, with default header values. +/* DeleteOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_billing_parameters.go b/pkg/platform/api/mono/mono_client/organizations/edit_billing_parameters.go index 2a7148494f..6d716fad53 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_billing_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_billing_parameters.go @@ -54,12 +54,10 @@ func NewEditBillingParamsWithHTTPClient(client *http.Client) *EditBillingParams } } -/* -EditBillingParams contains all the parameters to send to the API endpoint +/* EditBillingParams contains all the parameters to send to the API endpoint + for the edit billing operation. - for the edit billing operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type EditBillingParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_billing_responses.go b/pkg/platform/api/mono/mono_client/organizations/edit_billing_responses.go index 76d61b7692..b8226ae252 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_billing_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_billing_responses.go @@ -63,8 +63,7 @@ func NewEditBillingOK() *EditBillingOK { return &EditBillingOK{} } -/* -EditBillingOK describes a response with status code 200, with default header values. +/* EditBillingOK describes a response with status code 200, with default header values. Success */ @@ -96,8 +95,7 @@ func NewEditBillingBadRequest() *EditBillingBadRequest { return &EditBillingBadRequest{} } -/* -EditBillingBadRequest describes a response with status code 400, with default header values. +/* EditBillingBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewEditBillingForbidden() *EditBillingForbidden { return &EditBillingForbidden{} } -/* -EditBillingForbidden describes a response with status code 403, with default header values. +/* EditBillingForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewEditBillingNotFound() *EditBillingNotFound { return &EditBillingNotFound{} } -/* -EditBillingNotFound describes a response with status code 404, with default header values. +/* EditBillingNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewEditBillingInternalServerError() *EditBillingInternalServerError { return &EditBillingInternalServerError{} } -/* -EditBillingInternalServerError describes a response with status code 500, with default header values. +/* EditBillingInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_member_parameters.go b/pkg/platform/api/mono/mono_client/organizations/edit_member_parameters.go index 06021845d8..443cf46172 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_member_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_member_parameters.go @@ -54,12 +54,10 @@ func NewEditMemberParamsWithHTTPClient(client *http.Client) *EditMemberParams { } } -/* -EditMemberParams contains all the parameters to send to the API endpoint +/* EditMemberParams contains all the parameters to send to the API endpoint + for the edit member operation. - for the edit member operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type EditMemberParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_member_responses.go b/pkg/platform/api/mono/mono_client/organizations/edit_member_responses.go index 88a5259c83..104e1f9d0f 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_member_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_member_responses.go @@ -63,8 +63,7 @@ func NewEditMemberOK() *EditMemberOK { return &EditMemberOK{} } -/* -EditMemberOK describes a response with status code 200, with default header values. +/* EditMemberOK describes a response with status code 200, with default header values. Membership Roster */ @@ -94,8 +93,7 @@ func NewEditMemberBadRequest() *EditMemberBadRequest { return &EditMemberBadRequest{} } -/* -EditMemberBadRequest describes a response with status code 400, with default header values. +/* EditMemberBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,8 +125,7 @@ func NewEditMemberForbidden() *EditMemberForbidden { return &EditMemberForbidden{} } -/* -EditMemberForbidden describes a response with status code 403, with default header values. +/* EditMemberForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -160,8 +157,7 @@ func NewEditMemberNotFound() *EditMemberNotFound { return &EditMemberNotFound{} } -/* -EditMemberNotFound describes a response with status code 404, with default header values. +/* EditMemberNotFound describes a response with status code 404, with default header values. Not Found */ @@ -193,8 +189,7 @@ func NewEditMemberInternalServerError() *EditMemberInternalServerError { return &EditMemberInternalServerError{} } -/* -EditMemberInternalServerError describes a response with status code 500, with default header values. +/* EditMemberInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/edit_organization_parameters.go index c3187a239b..ee8ce7a361 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_organization_parameters.go @@ -54,12 +54,10 @@ func NewEditOrganizationParamsWithHTTPClient(client *http.Client) *EditOrganizat } } -/* -EditOrganizationParams contains all the parameters to send to the API endpoint +/* EditOrganizationParams contains all the parameters to send to the API endpoint + for the edit organization operation. - for the edit organization operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type EditOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/edit_organization_responses.go index 68ea07a0d3..a26011928d 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_organization_responses.go @@ -63,8 +63,7 @@ func NewEditOrganizationOK() *EditOrganizationOK { return &EditOrganizationOK{} } -/* -EditOrganizationOK describes a response with status code 200, with default header values. +/* EditOrganizationOK describes a response with status code 200, with default header values. Organization updated */ @@ -96,8 +95,7 @@ func NewEditOrganizationBadRequest() *EditOrganizationBadRequest { return &EditOrganizationBadRequest{} } -/* -EditOrganizationBadRequest describes a response with status code 400, with default header values. +/* EditOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewEditOrganizationForbidden() *EditOrganizationForbidden { return &EditOrganizationForbidden{} } -/* -EditOrganizationForbidden describes a response with status code 403, with default header values. +/* EditOrganizationForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -162,8 +159,7 @@ func NewEditOrganizationNotFound() *EditOrganizationNotFound { return &EditOrganizationNotFound{} } -/* -EditOrganizationNotFound describes a response with status code 404, with default header values. +/* EditOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewEditOrganizationInternalServerError() *EditOrganizationInternalServerErr return &EditOrganizationInternalServerError{} } -/* -EditOrganizationInternalServerError describes a response with status code 500, with default header values. +/* EditOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_parameters.go index e6273a1779..b100d6fd88 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_parameters.go @@ -52,12 +52,10 @@ func NewGetAdminMetadataParamsWithHTTPClient(client *http.Client) *GetAdminMetad } } -/* -GetAdminMetadataParams contains all the parameters to send to the API endpoint +/* GetAdminMetadataParams contains all the parameters to send to the API endpoint + for the get admin metadata operation. - for the get admin metadata operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetAdminMetadataParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_responses.go index 78dcf7c4d2..080825cac9 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_responses.go @@ -63,8 +63,7 @@ func NewGetAdminMetadataOK() *GetAdminMetadataOK { return &GetAdminMetadataOK{} } -/* -GetAdminMetadataOK describes a response with status code 200, with default header values. +/* GetAdminMetadataOK describes a response with status code 200, with default header values. Success */ @@ -96,8 +95,7 @@ func NewGetAdminMetadataBadRequest() *GetAdminMetadataBadRequest { return &GetAdminMetadataBadRequest{} } -/* -GetAdminMetadataBadRequest describes a response with status code 400, with default header values. +/* GetAdminMetadataBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewGetAdminMetadataForbidden() *GetAdminMetadataForbidden { return &GetAdminMetadataForbidden{} } -/* -GetAdminMetadataForbidden describes a response with status code 403, with default header values. +/* GetAdminMetadataForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewGetAdminMetadataNotFound() *GetAdminMetadataNotFound { return &GetAdminMetadataNotFound{} } -/* -GetAdminMetadataNotFound describes a response with status code 404, with default header values. +/* GetAdminMetadataNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewGetAdminMetadataInternalServerError() *GetAdminMetadataInternalServerErr return &GetAdminMetadataInternalServerError{} } -/* -GetAdminMetadataInternalServerError describes a response with status code 500, with default header values. +/* GetAdminMetadataInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_billing_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_billing_parameters.go index e56ba049e1..ceace7d383 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_billing_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_billing_parameters.go @@ -52,12 +52,10 @@ func NewGetBillingParamsWithHTTPClient(client *http.Client) *GetBillingParams { } } -/* -GetBillingParams contains all the parameters to send to the API endpoint +/* GetBillingParams contains all the parameters to send to the API endpoint + for the get billing operation. - for the get billing operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetBillingParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_billing_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_billing_responses.go index 4899a822a7..3863b9dea7 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_billing_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_billing_responses.go @@ -63,8 +63,7 @@ func NewGetBillingOK() *GetBillingOK { return &GetBillingOK{} } -/* -GetBillingOK describes a response with status code 200, with default header values. +/* GetBillingOK describes a response with status code 200, with default header values. Success */ @@ -96,8 +95,7 @@ func NewGetBillingBadRequest() *GetBillingBadRequest { return &GetBillingBadRequest{} } -/* -GetBillingBadRequest describes a response with status code 400, with default header values. +/* GetBillingBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewGetBillingForbidden() *GetBillingForbidden { return &GetBillingForbidden{} } -/* -GetBillingForbidden describes a response with status code 403, with default header values. +/* GetBillingForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewGetBillingNotFound() *GetBillingNotFound { return &GetBillingNotFound{} } -/* -GetBillingNotFound describes a response with status code 404, with default header values. +/* GetBillingNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewGetBillingInternalServerError() *GetBillingInternalServerError { return &GetBillingInternalServerError{} } -/* -GetBillingInternalServerError describes a response with status code 500, with default header values. +/* GetBillingInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_parameters.go index 818495d41e..5672bc9fdc 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_parameters.go @@ -52,12 +52,10 @@ func NewGetNextMutationIDParamsWithHTTPClient(client *http.Client) *GetNextMutat } } -/* -GetNextMutationIDParams contains all the parameters to send to the API endpoint +/* GetNextMutationIDParams contains all the parameters to send to the API endpoint + for the get next mutation ID operation. - for the get next mutation ID operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetNextMutationIDParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_responses.go index ff3811c0f5..fd40131b11 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_responses.go @@ -57,8 +57,7 @@ func NewGetNextMutationIDOK() *GetNextMutationIDOK { return &GetNextMutationIDOK{} } -/* -GetNextMutationIDOK describes a response with status code 200, with default header values. +/* GetNextMutationIDOK describes a response with status code 200, with default header values. Success */ @@ -88,8 +87,7 @@ func NewGetNextMutationIDForbidden() *GetNextMutationIDForbidden { return &GetNextMutationIDForbidden{} } -/* -GetNextMutationIDForbidden describes a response with status code 403, with default header values. +/* GetNextMutationIDForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -121,8 +119,7 @@ func NewGetNextMutationIDNotFound() *GetNextMutationIDNotFound { return &GetNextMutationIDNotFound{} } -/* -GetNextMutationIDNotFound describes a response with status code 404, with default header values. +/* GetNextMutationIDNotFound describes a response with status code 404, with default header values. Not Found */ @@ -154,8 +151,7 @@ func NewGetNextMutationIDInternalServerError() *GetNextMutationIDInternalServerE return &GetNextMutationIDInternalServerError{} } -/* -GetNextMutationIDInternalServerError describes a response with status code 500, with default header values. +/* GetNextMutationIDInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_parameters.go index 9cae817626..fda58896ae 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_parameters.go @@ -52,12 +52,10 @@ func NewGetOrganizationAutoInviteParamsWithHTTPClient(client *http.Client) *GetO } } -/* -GetOrganizationAutoInviteParams contains all the parameters to send to the API endpoint +/* GetOrganizationAutoInviteParams contains all the parameters to send to the API endpoint + for the get organization auto invite operation. - for the get organization auto invite operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOrganizationAutoInviteParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_responses.go index 837a06cc2a..65f714d448 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_responses.go @@ -51,8 +51,7 @@ func NewGetOrganizationAutoInviteOK() *GetOrganizationAutoInviteOK { return &GetOrganizationAutoInviteOK{} } -/* -GetOrganizationAutoInviteOK describes a response with status code 200, with default header values. +/* GetOrganizationAutoInviteOK describes a response with status code 200, with default header values. Success */ @@ -82,8 +81,7 @@ func NewGetOrganizationAutoInviteForbidden() *GetOrganizationAutoInviteForbidden return &GetOrganizationAutoInviteForbidden{} } -/* -GetOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. +/* GetOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -115,8 +113,7 @@ func NewGetOrganizationAutoInviteInternalServerError() *GetOrganizationAutoInvit return &GetOrganizationAutoInviteInternalServerError{} } -/* -GetOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. +/* GetOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_parameters.go index 8419e45a37..33b647568b 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_parameters.go @@ -52,12 +52,10 @@ func NewGetOrganizationInvitationsParamsWithHTTPClient(client *http.Client) *Get } } -/* -GetOrganizationInvitationsParams contains all the parameters to send to the API endpoint +/* GetOrganizationInvitationsParams contains all the parameters to send to the API endpoint + for the get organization invitations operation. - for the get organization invitations operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOrganizationInvitationsParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_responses.go index 87c23c92b0..1e7cd4d449 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_responses.go @@ -51,8 +51,7 @@ func NewGetOrganizationInvitationsOK() *GetOrganizationInvitationsOK { return &GetOrganizationInvitationsOK{} } -/* -GetOrganizationInvitationsOK describes a response with status code 200, with default header values. +/* GetOrganizationInvitationsOK describes a response with status code 200, with default header values. Success */ @@ -82,8 +81,7 @@ func NewGetOrganizationInvitationsForbidden() *GetOrganizationInvitationsForbidd return &GetOrganizationInvitationsForbidden{} } -/* -GetOrganizationInvitationsForbidden describes a response with status code 403, with default header values. +/* GetOrganizationInvitationsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -115,8 +113,7 @@ func NewGetOrganizationInvitationsInternalServerError() *GetOrganizationInvitati return &GetOrganizationInvitationsInternalServerError{} } -/* -GetOrganizationInvitationsInternalServerError describes a response with status code 500, with default header values. +/* GetOrganizationInvitationsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_members_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_members_parameters.go index fe361d5eef..8c0ad102f1 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_members_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_members_parameters.go @@ -52,12 +52,10 @@ func NewGetOrganizationMembersParamsWithHTTPClient(client *http.Client) *GetOrga } } -/* -GetOrganizationMembersParams contains all the parameters to send to the API endpoint +/* GetOrganizationMembersParams contains all the parameters to send to the API endpoint + for the get organization members operation. - for the get organization members operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOrganizationMembersParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_members_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_members_responses.go index d9b3cb4d89..bef739fece 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_members_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_members_responses.go @@ -57,8 +57,7 @@ func NewGetOrganizationMembersOK() *GetOrganizationMembersOK { return &GetOrganizationMembersOK{} } -/* -GetOrganizationMembersOK describes a response with status code 200, with default header values. +/* GetOrganizationMembersOK describes a response with status code 200, with default header values. Success */ @@ -88,8 +87,7 @@ func NewGetOrganizationMembersForbidden() *GetOrganizationMembersForbidden { return &GetOrganizationMembersForbidden{} } -/* -GetOrganizationMembersForbidden describes a response with status code 403, with default header values. +/* GetOrganizationMembersForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,8 +119,7 @@ func NewGetOrganizationMembersNotFound() *GetOrganizationMembersNotFound { return &GetOrganizationMembersNotFound{} } -/* -GetOrganizationMembersNotFound describes a response with status code 404, with default header values. +/* GetOrganizationMembersNotFound describes a response with status code 404, with default header values. Not Found */ @@ -154,8 +151,7 @@ func NewGetOrganizationMembersInternalServerError() *GetOrganizationMembersInter return &GetOrganizationMembersInternalServerError{} } -/* -GetOrganizationMembersInternalServerError describes a response with status code 500, with default header values. +/* GetOrganizationMembersInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_parameters.go index c3f46486e7..af9ee1ee3a 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_parameters.go @@ -52,12 +52,10 @@ func NewGetOrganizationMutationsParamsWithHTTPClient(client *http.Client) *GetOr } } -/* -GetOrganizationMutationsParams contains all the parameters to send to the API endpoint +/* GetOrganizationMutationsParams contains all the parameters to send to the API endpoint + for the get organization mutations operation. - for the get organization mutations operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOrganizationMutationsParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_responses.go index 128fd0e1a0..4d69a88b7c 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_responses.go @@ -57,8 +57,7 @@ func NewGetOrganizationMutationsOK() *GetOrganizationMutationsOK { return &GetOrganizationMutationsOK{} } -/* -GetOrganizationMutationsOK describes a response with status code 200, with default header values. +/* GetOrganizationMutationsOK describes a response with status code 200, with default header values. Success */ @@ -88,8 +87,7 @@ func NewGetOrganizationMutationsForbidden() *GetOrganizationMutationsForbidden { return &GetOrganizationMutationsForbidden{} } -/* -GetOrganizationMutationsForbidden describes a response with status code 403, with default header values. +/* GetOrganizationMutationsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,8 +119,7 @@ func NewGetOrganizationMutationsNotFound() *GetOrganizationMutationsNotFound { return &GetOrganizationMutationsNotFound{} } -/* -GetOrganizationMutationsNotFound describes a response with status code 404, with default header values. +/* GetOrganizationMutationsNotFound describes a response with status code 404, with default header values. Not Found */ @@ -154,8 +151,7 @@ func NewGetOrganizationMutationsInternalServerError() *GetOrganizationMutationsI return &GetOrganizationMutationsInternalServerError{} } -/* -GetOrganizationMutationsInternalServerError describes a response with status code 500, with default header values. +/* GetOrganizationMutationsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_parameters.go index 1060fedf31..c68c8b1b00 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_parameters.go @@ -52,12 +52,10 @@ func NewGetOrganizationParamsWithHTTPClient(client *http.Client) *GetOrganizatio } } -/* -GetOrganizationParams contains all the parameters to send to the API endpoint +/* GetOrganizationParams contains all the parameters to send to the API endpoint + for the get organization operation. - for the get organization operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_responses.go index 00cfef8af5..2b63817ffd 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_responses.go @@ -57,8 +57,7 @@ func NewGetOrganizationOK() *GetOrganizationOK { return &GetOrganizationOK{} } -/* -GetOrganizationOK describes a response with status code 200, with default header values. +/* GetOrganizationOK describes a response with status code 200, with default header values. Organization Record */ @@ -90,8 +89,7 @@ func NewGetOrganizationBadRequest() *GetOrganizationBadRequest { return &GetOrganizationBadRequest{} } -/* -GetOrganizationBadRequest describes a response with status code 400, with default header values. +/* GetOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -123,8 +121,7 @@ func NewGetOrganizationNotFound() *GetOrganizationNotFound { return &GetOrganizationNotFound{} } -/* -GetOrganizationNotFound describes a response with status code 404, with default header values. +/* GetOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -156,8 +153,7 @@ func NewGetOrganizationInternalServerError() *GetOrganizationInternalServerError return &GetOrganizationInternalServerError{} } -/* -GetOrganizationInternalServerError describes a response with status code 500, with default header values. +/* GetOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_parameters.go index 1c2418d8b6..8bb9afaf19 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_parameters.go @@ -52,12 +52,10 @@ func NewGetOrganizationTierParamsWithHTTPClient(client *http.Client) *GetOrganiz } } -/* -GetOrganizationTierParams contains all the parameters to send to the API endpoint +/* GetOrganizationTierParams contains all the parameters to send to the API endpoint + for the get organization tier operation. - for the get organization tier operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOrganizationTierParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_responses.go index fa78e7c9a0..92470ab0c1 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_responses.go @@ -57,8 +57,7 @@ func NewGetOrganizationTierOK() *GetOrganizationTierOK { return &GetOrganizationTierOK{} } -/* -GetOrganizationTierOK describes a response with status code 200, with default header values. +/* GetOrganizationTierOK describes a response with status code 200, with default header values. Success */ @@ -90,8 +89,7 @@ func NewGetOrganizationTierForbidden() *GetOrganizationTierForbidden { return &GetOrganizationTierForbidden{} } -/* -GetOrganizationTierForbidden describes a response with status code 403, with default header values. +/* GetOrganizationTierForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -123,8 +121,7 @@ func NewGetOrganizationTierNotFound() *GetOrganizationTierNotFound { return &GetOrganizationTierNotFound{} } -/* -GetOrganizationTierNotFound describes a response with status code 404, with default header values. +/* GetOrganizationTierNotFound describes a response with status code 404, with default header values. Forbidden */ @@ -156,8 +153,7 @@ func NewGetOrganizationTierInternalServerError() *GetOrganizationTierInternalSer return &GetOrganizationTierInternalServerError{} } -/* -GetOrganizationTierInternalServerError describes a response with status code 500, with default header values. +/* GetOrganizationTierInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/invite_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/invite_organization_parameters.go index 71e930a282..8e040b76f2 100644 --- a/pkg/platform/api/mono/mono_client/organizations/invite_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/invite_organization_parameters.go @@ -52,12 +52,10 @@ func NewInviteOrganizationParamsWithHTTPClient(client *http.Client) *InviteOrgan } } -/* -InviteOrganizationParams contains all the parameters to send to the API endpoint +/* InviteOrganizationParams contains all the parameters to send to the API endpoint + for the invite organization operation. - for the invite organization operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type InviteOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/invite_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/invite_organization_responses.go index 6cbcca95d5..54389e93e3 100644 --- a/pkg/platform/api/mono/mono_client/organizations/invite_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/invite_organization_responses.go @@ -66,8 +66,7 @@ func NewInviteOrganizationOK() *InviteOrganizationOK { return &InviteOrganizationOK{} } -/* -InviteOrganizationOK describes a response with status code 200, with default header values. +/* InviteOrganizationOK describes a response with status code 200, with default header values. Invitation Sent */ @@ -97,8 +96,7 @@ func NewInviteOrganizationBadRequest() *InviteOrganizationBadRequest { return &InviteOrganizationBadRequest{} } -/* -InviteOrganizationBadRequest describes a response with status code 400, with default header values. +/* InviteOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -130,8 +128,7 @@ func NewInviteOrganizationForbidden() *InviteOrganizationForbidden { return &InviteOrganizationForbidden{} } -/* -InviteOrganizationForbidden describes a response with status code 403, with default header values. +/* InviteOrganizationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -163,8 +160,7 @@ func NewInviteOrganizationNotFound() *InviteOrganizationNotFound { return &InviteOrganizationNotFound{} } -/* -InviteOrganizationNotFound describes a response with status code 404, with default header values. +/* InviteOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -196,8 +192,7 @@ func NewInviteOrganizationInternalServerError() *InviteOrganizationInternalServe return &InviteOrganizationInternalServerError{} } -/* -InviteOrganizationInternalServerError describes a response with status code 500, with default header values. +/* InviteOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -224,8 +219,7 @@ func (o *InviteOrganizationInternalServerError) readResponse(response runtime.Cl return nil } -/* -InviteOrganizationBody invite organization body +/*InviteOrganizationBody invite organization body swagger:model InviteOrganizationBody */ type InviteOrganizationBody struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/join_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/join_organization_parameters.go index 4ca389d5cc..7a3111cde9 100644 --- a/pkg/platform/api/mono/mono_client/organizations/join_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/join_organization_parameters.go @@ -52,12 +52,10 @@ func NewJoinOrganizationParamsWithHTTPClient(client *http.Client) *JoinOrganizat } } -/* -JoinOrganizationParams contains all the parameters to send to the API endpoint +/* JoinOrganizationParams contains all the parameters to send to the API endpoint + for the join organization operation. - for the join organization operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type JoinOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/join_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/join_organization_responses.go index 0192c56b94..f3c4068f40 100644 --- a/pkg/platform/api/mono/mono_client/organizations/join_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/join_organization_responses.go @@ -65,8 +65,7 @@ func NewJoinOrganizationOK() *JoinOrganizationOK { return &JoinOrganizationOK{} } -/* -JoinOrganizationOK describes a response with status code 200, with default header values. +/* JoinOrganizationOK describes a response with status code 200, with default header values. Membership Roster */ @@ -96,8 +95,7 @@ func NewJoinOrganizationBadRequest() *JoinOrganizationBadRequest { return &JoinOrganizationBadRequest{} } -/* -JoinOrganizationBadRequest describes a response with status code 400, with default header values. +/* JoinOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewJoinOrganizationForbidden() *JoinOrganizationForbidden { return &JoinOrganizationForbidden{} } -/* -JoinOrganizationForbidden describes a response with status code 403, with default header values. +/* JoinOrganizationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewJoinOrganizationNotFound() *JoinOrganizationNotFound { return &JoinOrganizationNotFound{} } -/* -JoinOrganizationNotFound describes a response with status code 404, with default header values. +/* JoinOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewJoinOrganizationInternalServerError() *JoinOrganizationInternalServerErr return &JoinOrganizationInternalServerError{} } -/* -JoinOrganizationInternalServerError describes a response with status code 500, with default header values. +/* JoinOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -223,8 +218,7 @@ func (o *JoinOrganizationInternalServerError) readResponse(response runtime.Clie return nil } -/* -JoinOrganizationBody join organization body +/*JoinOrganizationBody join organization body swagger:model JoinOrganizationBody */ type JoinOrganizationBody struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_parameters.go b/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_parameters.go index b5d9b895d6..7557437787 100644 --- a/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_parameters.go @@ -52,12 +52,10 @@ func NewKomodoAuthorizedParamsWithHTTPClient(client *http.Client) *KomodoAuthori } } -/* -KomodoAuthorizedParams contains all the parameters to send to the API endpoint +/* KomodoAuthorizedParams contains all the parameters to send to the API endpoint + for the komodo authorized operation. - for the komodo authorized operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type KomodoAuthorizedParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_responses.go b/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_responses.go index 592334004b..532701fffb 100644 --- a/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_responses.go @@ -57,8 +57,7 @@ func NewKomodoAuthorizedOK() *KomodoAuthorizedOK { return &KomodoAuthorizedOK{} } -/* -KomodoAuthorizedOK describes a response with status code 200, with default header values. +/* KomodoAuthorizedOK describes a response with status code 200, with default header values. Success */ @@ -79,8 +78,7 @@ func NewKomodoAuthorizedBadRequest() *KomodoAuthorizedBadRequest { return &KomodoAuthorizedBadRequest{} } -/* -KomodoAuthorizedBadRequest describes a response with status code 400, with default header values. +/* KomodoAuthorizedBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -112,8 +110,7 @@ func NewKomodoAuthorizedForbidden() *KomodoAuthorizedForbidden { return &KomodoAuthorizedForbidden{} } -/* -KomodoAuthorizedForbidden describes a response with status code 403, with default header values. +/* KomodoAuthorizedForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -145,8 +142,7 @@ func NewKomodoAuthorizedInternalServerError() *KomodoAuthorizedInternalServerErr return &KomodoAuthorizedInternalServerError{} } -/* -KomodoAuthorizedInternalServerError describes a response with status code 500, with default header values. +/* KomodoAuthorizedInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/list_organizations_parameters.go b/pkg/platform/api/mono/mono_client/organizations/list_organizations_parameters.go index 630c480eb6..21e76a3014 100644 --- a/pkg/platform/api/mono/mono_client/organizations/list_organizations_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/list_organizations_parameters.go @@ -53,12 +53,10 @@ func NewListOrganizationsParamsWithHTTPClient(client *http.Client) *ListOrganiza } } -/* -ListOrganizationsParams contains all the parameters to send to the API endpoint +/* ListOrganizationsParams contains all the parameters to send to the API endpoint + for the list organizations operation. - for the list organizations operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type ListOrganizationsParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/list_organizations_responses.go b/pkg/platform/api/mono/mono_client/organizations/list_organizations_responses.go index 5d87a74a4c..95fc17dc4b 100644 --- a/pkg/platform/api/mono/mono_client/organizations/list_organizations_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/list_organizations_responses.go @@ -45,8 +45,7 @@ func NewListOrganizationsOK() *ListOrganizationsOK { return &ListOrganizationsOK{} } -/* -ListOrganizationsOK describes a response with status code 200, with default header values. +/* ListOrganizationsOK describes a response with status code 200, with default header values. Success */ @@ -76,8 +75,7 @@ func NewListOrganizationsBadRequest() *ListOrganizationsBadRequest { return &ListOrganizationsBadRequest{} } -/* -ListOrganizationsBadRequest describes a response with status code 400, with default header values. +/* ListOrganizationsBadRequest describes a response with status code 400, with default header values. Bad Request */ diff --git a/pkg/platform/api/mono/mono_client/organizations/mutate_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/mutate_organization_parameters.go index 91e390948d..01defcf19f 100644 --- a/pkg/platform/api/mono/mono_client/organizations/mutate_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/mutate_organization_parameters.go @@ -54,12 +54,10 @@ func NewMutateOrganizationParamsWithHTTPClient(client *http.Client) *MutateOrgan } } -/* -MutateOrganizationParams contains all the parameters to send to the API endpoint +/* MutateOrganizationParams contains all the parameters to send to the API endpoint + for the mutate organization operation. - for the mutate organization operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type MutateOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/mutate_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/mutate_organization_responses.go index bacb763dbb..b54e4d2da6 100644 --- a/pkg/platform/api/mono/mono_client/organizations/mutate_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/mutate_organization_responses.go @@ -69,8 +69,7 @@ func NewMutateOrganizationOK() *MutateOrganizationOK { return &MutateOrganizationOK{} } -/* -MutateOrganizationOK describes a response with status code 200, with default header values. +/* MutateOrganizationOK describes a response with status code 200, with default header values. Organization updated */ @@ -102,8 +101,7 @@ func NewMutateOrganizationBadRequest() *MutateOrganizationBadRequest { return &MutateOrganizationBadRequest{} } -/* -MutateOrganizationBadRequest describes a response with status code 400, with default header values. +/* MutateOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,8 +133,7 @@ func NewMutateOrganizationForbidden() *MutateOrganizationForbidden { return &MutateOrganizationForbidden{} } -/* -MutateOrganizationForbidden describes a response with status code 403, with default header values. +/* MutateOrganizationForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -168,8 +165,7 @@ func NewMutateOrganizationNotFound() *MutateOrganizationNotFound { return &MutateOrganizationNotFound{} } -/* -MutateOrganizationNotFound describes a response with status code 404, with default header values. +/* MutateOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -201,8 +197,7 @@ func NewMutateOrganizationConflict() *MutateOrganizationConflict { return &MutateOrganizationConflict{} } -/* -MutateOrganizationConflict describes a response with status code 409, with default header values. +/* MutateOrganizationConflict describes a response with status code 409, with default header values. Conflict */ @@ -234,8 +229,7 @@ func NewMutateOrganizationInternalServerError() *MutateOrganizationInternalServe return &MutateOrganizationInternalServerError{} } -/* -MutateOrganizationInternalServerError describes a response with status code 500, with default header values. +/* MutateOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/organizations_client.go b/pkg/platform/api/mono/mono_client/organizations/organizations_client.go index c232c6f3cb..8007716b90 100644 --- a/pkg/platform/api/mono/mono_client/organizations/organizations_client.go +++ b/pkg/platform/api/mono/mono_client/organizations/organizations_client.go @@ -86,9 +86,9 @@ type ClientService interface { } /* -AddOrganization creates a new organization + AddOrganization creates a new organization -Create a new organization + Create a new organization */ func (a *Client) AddOrganization(params *AddOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOrganizationOK, error) { // TODO: Validate the params before sending @@ -127,9 +127,9 @@ func (a *Client) AddOrganization(params *AddOrganizationParams, authInfo runtime } /* -AddOrganizationAutoInvite adds a domain to organization auto invite + AddOrganizationAutoInvite adds a domain to organization auto invite -Add a domain to an organization's auto-invite settings + Add a domain to an organization's auto-invite settings */ func (a *Client) AddOrganizationAutoInvite(params *AddOrganizationAutoInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOrganizationAutoInviteOK, error) { // TODO: Validate the params before sending @@ -168,22 +168,21 @@ func (a *Client) AddOrganizationAutoInvite(params *AddOrganizationAutoInvitePara } /* - BulkInviteOrganization bulks organization invitations - - Invite many users to an organization at once. Note that while the content type + BulkInviteOrganization bulks organization invitations + Invite many users to an organization at once. Note that while the content type must be sent as `text/plain`, the body is actually two column CSV data. First column is the role to assign them. It should be one of `admin`, `editor`, or `reader`. Second is email address. Example: + ``` + editor, person1@email.com + editor, person2@email.com + ``` - ``` - editor, person1@email.com - editor, person2@email.com - ``` + Note that quoted strings are not supported. - Note that quoted strings are not supported. */ func (a *Client) BulkInviteOrganization(params *BulkInviteOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BulkInviteOrganizationOK, error) { // TODO: Validate the params before sending @@ -222,9 +221,9 @@ func (a *Client) BulkInviteOrganization(params *BulkInviteOrganizationParams, au } /* -DeleteInvite invites a user to an organization + DeleteInvite invites a user to an organization -Revoke a user's invitation + Revoke a user's invitation */ func (a *Client) DeleteInvite(params *DeleteInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInviteOK, error) { // TODO: Validate the params before sending @@ -263,9 +262,9 @@ func (a *Client) DeleteInvite(params *DeleteInviteParams, authInfo runtime.Clien } /* -DeleteOrganization deletes an organization + DeleteOrganization deletes an organization -Delete an organization + Delete an organization */ func (a *Client) DeleteOrganization(params *DeleteOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationOK, error) { // TODO: Validate the params before sending @@ -304,9 +303,9 @@ func (a *Client) DeleteOrganization(params *DeleteOrganizationParams, authInfo r } /* -DeleteOrganizationAutoInvite removes a domain from an organization s auto invite settings + DeleteOrganizationAutoInvite removes a domain from an organization s auto invite settings -Remove a domain from an organization's auto-invite settings + Remove a domain from an organization's auto-invite settings */ func (a *Client) DeleteOrganizationAutoInvite(params *DeleteOrganizationAutoInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationAutoInviteOK, error) { // TODO: Validate the params before sending @@ -345,9 +344,9 @@ func (a *Client) DeleteOrganizationAutoInvite(params *DeleteOrganizationAutoInvi } /* -EditBilling updates an orgs billing information + EditBilling updates an orgs billing information -Update an orgs billing information + Update an orgs billing information */ func (a *Client) EditBilling(params *EditBillingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditBillingOK, error) { // TODO: Validate the params before sending @@ -386,9 +385,9 @@ func (a *Client) EditBilling(params *EditBillingParams, authInfo runtime.ClientA } /* -EditMember edits a member of an organization + EditMember edits a member of an organization -Edit a member of an organization + Edit a member of an organization */ func (a *Client) EditMember(params *EditMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditMemberOK, error) { // TODO: Validate the params before sending @@ -427,9 +426,9 @@ func (a *Client) EditMember(params *EditMemberParams, authInfo runtime.ClientAut } /* -EditOrganization edits an organization + EditOrganization edits an organization -Edit an organization + Edit an organization */ func (a *Client) EditOrganization(params *EditOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditOrganizationOK, error) { // TODO: Validate the params before sending @@ -468,9 +467,9 @@ func (a *Client) EditOrganization(params *EditOrganizationParams, authInfo runti } /* -GetAdminMetadata gets admin metadata for organization + GetAdminMetadata gets admin metadata for organization -Get admin metadata + Get admin metadata */ func (a *Client) GetAdminMetadata(params *GetAdminMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdminMetadataOK, error) { // TODO: Validate the params before sending @@ -509,9 +508,9 @@ func (a *Client) GetAdminMetadata(params *GetAdminMetadataParams, authInfo runti } /* -GetBilling retrieves an orgs billing information + GetBilling retrieves an orgs billing information -Retrieve an orgs billing information + Retrieve an orgs billing information */ func (a *Client) GetBilling(params *GetBillingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBillingOK, error) { // TODO: Validate the params before sending @@ -550,9 +549,9 @@ func (a *Client) GetBilling(params *GetBillingParams, authInfo runtime.ClientAut } /* -GetNextMutationID nexts mutation ID + GetNextMutationID nexts mutation ID -Get the id that the next mutation of this org should use + Get the id that the next mutation of this org should use */ func (a *Client) GetNextMutationID(params *GetNextMutationIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNextMutationIDOK, error) { // TODO: Validate the params before sending @@ -591,9 +590,9 @@ func (a *Client) GetNextMutationID(params *GetNextMutationIDParams, authInfo run } /* -GetOrganization retrieves an organization + GetOrganization retrieves an organization -Return a specific organization + Return a specific organization */ func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationOK, error) { // TODO: Validate the params before sending @@ -632,9 +631,9 @@ func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime } /* -GetOrganizationAutoInvite organizations auto invite settings + GetOrganizationAutoInvite organizations auto invite settings -Return organization auto-invite settings + Return organization auto-invite settings */ func (a *Client) GetOrganizationAutoInvite(params *GetOrganizationAutoInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationAutoInviteOK, error) { // TODO: Validate the params before sending @@ -673,9 +672,9 @@ func (a *Client) GetOrganizationAutoInvite(params *GetOrganizationAutoInvitePara } /* -GetOrganizationInvitations organizations invitations + GetOrganizationInvitations organizations invitations -Return a list of pending invitations + Return a list of pending invitations */ func (a *Client) GetOrganizationInvitations(params *GetOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationInvitationsOK, error) { // TODO: Validate the params before sending @@ -714,9 +713,9 @@ func (a *Client) GetOrganizationInvitations(params *GetOrganizationInvitationsPa } /* -GetOrganizationMembers organizations membership + GetOrganizationMembers organizations membership -Return a list of users who are members of the organization + Return a list of users who are members of the organization */ func (a *Client) GetOrganizationMembers(params *GetOrganizationMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationMembersOK, error) { // TODO: Validate the params before sending @@ -755,9 +754,9 @@ func (a *Client) GetOrganizationMembers(params *GetOrganizationMembersParams, au } /* -GetOrganizationMutations gets history of mutations applied to an organization + GetOrganizationMutations gets history of mutations applied to an organization -Query mutation records for the org + Query mutation records for the org */ func (a *Client) GetOrganizationMutations(params *GetOrganizationMutationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationMutationsOK, error) { // TODO: Validate the params before sending @@ -796,9 +795,9 @@ func (a *Client) GetOrganizationMutations(params *GetOrganizationMutationsParams } /* -GetOrganizationTier gets information about an organization s tier + GetOrganizationTier gets information about an organization s tier -Get information about an organization's tier + Get information about an organization's tier */ func (a *Client) GetOrganizationTier(params *GetOrganizationTierParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationTierOK, error) { // TODO: Validate the params before sending @@ -837,9 +836,9 @@ func (a *Client) GetOrganizationTier(params *GetOrganizationTierParams, authInfo } /* -InviteOrganization invites a user to an organization + InviteOrganization invites a user to an organization -Invite a user to an organization's roster + Invite a user to an organization's roster */ func (a *Client) InviteOrganization(params *InviteOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InviteOrganizationOK, error) { // TODO: Validate the params before sending @@ -878,9 +877,9 @@ func (a *Client) InviteOrganization(params *InviteOrganizationParams, authInfo r } /* -JoinOrganization joins a user to an organization + JoinOrganization joins a user to an organization -Add a user to an organization's roster + Add a user to an organization's roster */ func (a *Client) JoinOrganization(params *JoinOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*JoinOrganizationOK, error) { // TODO: Validate the params before sending @@ -919,9 +918,9 @@ func (a *Client) JoinOrganization(params *JoinOrganizationParams, authInfo runti } /* -KomodoAuthorized is user authorized to use komodo ID e + KomodoAuthorized is user authorized to use komodo ID e -Check that the authenticated user is permitted to use Komodo IDE + Check that the authenticated user is permitted to use Komodo IDE */ func (a *Client) KomodoAuthorized(params *KomodoAuthorizedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KomodoAuthorizedOK, error) { // TODO: Validate the params before sending @@ -960,9 +959,9 @@ func (a *Client) KomodoAuthorized(params *KomodoAuthorizedParams, authInfo runti } /* -ListOrganizations lists of visible organizations + ListOrganizations lists of visible organizations -Retrieve all organizations from the system that the user has access to + Retrieve all organizations from the system that the user has access to */ func (a *Client) ListOrganizations(params *ListOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationsOK, error) { // TODO: Validate the params before sending @@ -1001,9 +1000,9 @@ func (a *Client) ListOrganizations(params *ListOrganizationsParams, authInfo run } /* -MutateOrganization mutates organization + MutateOrganization mutates organization -Perform an atomic mutation on the org + Perform an atomic mutation on the org */ func (a *Client) MutateOrganization(params *MutateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MutateOrganizationOK, error) { // TODO: Validate the params before sending @@ -1042,9 +1041,9 @@ func (a *Client) MutateOrganization(params *MutateOrganizationParams, authInfo r } /* -QuitOrganization drops a user from an organization + QuitOrganization drops a user from an organization -Remove a user from an organization's roster + Remove a user from an organization's roster */ func (a *Client) QuitOrganization(params *QuitOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QuitOrganizationOK, error) { // TODO: Validate the params before sending @@ -1083,9 +1082,9 @@ func (a *Client) QuitOrganization(params *QuitOrganizationParams, authInfo runti } /* -SetAdminMetadata changes admin metadata for organization + SetAdminMetadata changes admin metadata for organization -Set admin metadata + Set admin metadata */ func (a *Client) SetAdminMetadata(params *SetAdminMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAdminMetadataOK, error) { // TODO: Validate the params before sending @@ -1124,9 +1123,9 @@ func (a *Client) SetAdminMetadata(params *SetAdminMetadataParams, authInfo runti } /* -UpdateBillingDate changes billing date for organization + UpdateBillingDate changes billing date for organization -Set a new billing date + Set a new billing date */ func (a *Client) UpdateBillingDate(params *UpdateBillingDateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBillingDateOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/organizations/quit_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/quit_organization_parameters.go index 79318db09a..1fe0952326 100644 --- a/pkg/platform/api/mono/mono_client/organizations/quit_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/quit_organization_parameters.go @@ -52,12 +52,10 @@ func NewQuitOrganizationParamsWithHTTPClient(client *http.Client) *QuitOrganizat } } -/* -QuitOrganizationParams contains all the parameters to send to the API endpoint +/* QuitOrganizationParams contains all the parameters to send to the API endpoint + for the quit organization operation. - for the quit organization operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type QuitOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/quit_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/quit_organization_responses.go index 0f789e3345..a85fec7ae4 100644 --- a/pkg/platform/api/mono/mono_client/organizations/quit_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/quit_organization_responses.go @@ -63,8 +63,7 @@ func NewQuitOrganizationOK() *QuitOrganizationOK { return &QuitOrganizationOK{} } -/* -QuitOrganizationOK describes a response with status code 200, with default header values. +/* QuitOrganizationOK describes a response with status code 200, with default header values. Membership updated */ @@ -94,8 +93,7 @@ func NewQuitOrganizationBadRequest() *QuitOrganizationBadRequest { return &QuitOrganizationBadRequest{} } -/* -QuitOrganizationBadRequest describes a response with status code 400, with default header values. +/* QuitOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,8 +125,7 @@ func NewQuitOrganizationForbidden() *QuitOrganizationForbidden { return &QuitOrganizationForbidden{} } -/* -QuitOrganizationForbidden describes a response with status code 403, with default header values. +/* QuitOrganizationForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -160,8 +157,7 @@ func NewQuitOrganizationNotFound() *QuitOrganizationNotFound { return &QuitOrganizationNotFound{} } -/* -QuitOrganizationNotFound describes a response with status code 404, with default header values. +/* QuitOrganizationNotFound describes a response with status code 404, with default header values. User or Org Not Found */ @@ -193,8 +189,7 @@ func NewQuitOrganizationInternalServerError() *QuitOrganizationInternalServerErr return &QuitOrganizationInternalServerError{} } -/* -QuitOrganizationInternalServerError describes a response with status code 500, with default header values. +/* QuitOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_parameters.go b/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_parameters.go index 7779237786..9324351009 100644 --- a/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_parameters.go @@ -54,12 +54,10 @@ func NewSetAdminMetadataParamsWithHTTPClient(client *http.Client) *SetAdminMetad } } -/* -SetAdminMetadataParams contains all the parameters to send to the API endpoint +/* SetAdminMetadataParams contains all the parameters to send to the API endpoint + for the set admin metadata operation. - for the set admin metadata operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SetAdminMetadataParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_responses.go b/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_responses.go index d829f01ffb..6d02cfadbb 100644 --- a/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_responses.go @@ -63,8 +63,7 @@ func NewSetAdminMetadataOK() *SetAdminMetadataOK { return &SetAdminMetadataOK{} } -/* -SetAdminMetadataOK describes a response with status code 200, with default header values. +/* SetAdminMetadataOK describes a response with status code 200, with default header values. Success */ @@ -96,8 +95,7 @@ func NewSetAdminMetadataBadRequest() *SetAdminMetadataBadRequest { return &SetAdminMetadataBadRequest{} } -/* -SetAdminMetadataBadRequest describes a response with status code 400, with default header values. +/* SetAdminMetadataBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewSetAdminMetadataForbidden() *SetAdminMetadataForbidden { return &SetAdminMetadataForbidden{} } -/* -SetAdminMetadataForbidden describes a response with status code 403, with default header values. +/* SetAdminMetadataForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewSetAdminMetadataNotFound() *SetAdminMetadataNotFound { return &SetAdminMetadataNotFound{} } -/* -SetAdminMetadataNotFound describes a response with status code 404, with default header values. +/* SetAdminMetadataNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewSetAdminMetadataInternalServerError() *SetAdminMetadataInternalServerErr return &SetAdminMetadataInternalServerError{} } -/* -SetAdminMetadataInternalServerError describes a response with status code 500, with default header values. +/* SetAdminMetadataInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/update_billing_date_parameters.go b/pkg/platform/api/mono/mono_client/organizations/update_billing_date_parameters.go index 0e7786bac7..e1017c465e 100644 --- a/pkg/platform/api/mono/mono_client/organizations/update_billing_date_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/update_billing_date_parameters.go @@ -52,12 +52,10 @@ func NewUpdateBillingDateParamsWithHTTPClient(client *http.Client) *UpdateBillin } } -/* -UpdateBillingDateParams contains all the parameters to send to the API endpoint +/* UpdateBillingDateParams contains all the parameters to send to the API endpoint + for the update billing date operation. - for the update billing date operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type UpdateBillingDateParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/update_billing_date_responses.go b/pkg/platform/api/mono/mono_client/organizations/update_billing_date_responses.go index d394545e65..f79db599e6 100644 --- a/pkg/platform/api/mono/mono_client/organizations/update_billing_date_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/update_billing_date_responses.go @@ -65,8 +65,7 @@ func NewUpdateBillingDateOK() *UpdateBillingDateOK { return &UpdateBillingDateOK{} } -/* -UpdateBillingDateOK describes a response with status code 200, with default header values. +/* UpdateBillingDateOK describes a response with status code 200, with default header values. Billing date updated */ @@ -98,8 +97,7 @@ func NewUpdateBillingDateBadRequest() *UpdateBillingDateBadRequest { return &UpdateBillingDateBadRequest{} } -/* -UpdateBillingDateBadRequest describes a response with status code 400, with default header values. +/* UpdateBillingDateBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -131,8 +129,7 @@ func NewUpdateBillingDateForbidden() *UpdateBillingDateForbidden { return &UpdateBillingDateForbidden{} } -/* -UpdateBillingDateForbidden describes a response with status code 403, with default header values. +/* UpdateBillingDateForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -164,8 +161,7 @@ func NewUpdateBillingDateNotFound() *UpdateBillingDateNotFound { return &UpdateBillingDateNotFound{} } -/* -UpdateBillingDateNotFound describes a response with status code 404, with default header values. +/* UpdateBillingDateNotFound describes a response with status code 404, with default header values. Not Found */ @@ -197,8 +193,7 @@ func NewUpdateBillingDateInternalServerError() *UpdateBillingDateInternalServerE return &UpdateBillingDateInternalServerError{} } -/* -UpdateBillingDateInternalServerError describes a response with status code 500, with default header values. +/* UpdateBillingDateInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -225,8 +220,7 @@ func (o *UpdateBillingDateInternalServerError) readResponse(response runtime.Cli return nil } -/* -UpdateBillingDateBody update billing date body +/*UpdateBillingDateBody update billing date body swagger:model UpdateBillingDateBody */ type UpdateBillingDateBody struct { diff --git a/pkg/platform/api/mono/mono_client/projects/add_branch_parameters.go b/pkg/platform/api/mono/mono_client/projects/add_branch_parameters.go index 4075d4d78d..bbe8999faa 100644 --- a/pkg/platform/api/mono/mono_client/projects/add_branch_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/add_branch_parameters.go @@ -52,12 +52,10 @@ func NewAddBranchParamsWithHTTPClient(client *http.Client) *AddBranchParams { } } -/* -AddBranchParams contains all the parameters to send to the API endpoint +/* AddBranchParams contains all the parameters to send to the API endpoint + for the add branch operation. - for the add branch operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddBranchParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/add_branch_responses.go b/pkg/platform/api/mono/mono_client/projects/add_branch_responses.go index 59d86c149a..c2527ccbfc 100644 --- a/pkg/platform/api/mono/mono_client/projects/add_branch_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/add_branch_responses.go @@ -71,8 +71,7 @@ func NewAddBranchOK() *AddBranchOK { return &AddBranchOK{} } -/* -AddBranchOK describes a response with status code 200, with default header values. +/* AddBranchOK describes a response with status code 200, with default header values. Success */ @@ -104,8 +103,7 @@ func NewAddBranchBadRequest() *AddBranchBadRequest { return &AddBranchBadRequest{} } -/* -AddBranchBadRequest describes a response with status code 400, with default header values. +/* AddBranchBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -137,8 +135,7 @@ func NewAddBranchForbidden() *AddBranchForbidden { return &AddBranchForbidden{} } -/* -AddBranchForbidden describes a response with status code 403, with default header values. +/* AddBranchForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -170,8 +167,7 @@ func NewAddBranchNotFound() *AddBranchNotFound { return &AddBranchNotFound{} } -/* -AddBranchNotFound describes a response with status code 404, with default header values. +/* AddBranchNotFound describes a response with status code 404, with default header values. Not Found */ @@ -203,8 +199,7 @@ func NewAddBranchConflict() *AddBranchConflict { return &AddBranchConflict{} } -/* -AddBranchConflict describes a response with status code 409, with default header values. +/* AddBranchConflict describes a response with status code 409, with default header values. Conflict */ @@ -236,8 +231,7 @@ func NewAddBranchInternalServerError() *AddBranchInternalServerError { return &AddBranchInternalServerError{} } -/* -AddBranchInternalServerError describes a response with status code 500, with default header values. +/* AddBranchInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -264,8 +258,7 @@ func (o *AddBranchInternalServerError) readResponse(response runtime.ClientRespo return nil } -/* -AddBranchBody add branch body +/*AddBranchBody add branch body swagger:model AddBranchBody */ type AddBranchBody struct { diff --git a/pkg/platform/api/mono/mono_client/projects/add_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/add_project_parameters.go index 310f13df0d..7d421f89c7 100644 --- a/pkg/platform/api/mono/mono_client/projects/add_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/add_project_parameters.go @@ -54,12 +54,10 @@ func NewAddProjectParamsWithHTTPClient(client *http.Client) *AddProjectParams { } } -/* -AddProjectParams contains all the parameters to send to the API endpoint +/* AddProjectParams contains all the parameters to send to the API endpoint + for the add project operation. - for the add project operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/add_project_responses.go b/pkg/platform/api/mono/mono_client/projects/add_project_responses.go index 0b1ab43cba..87430cf4de 100644 --- a/pkg/platform/api/mono/mono_client/projects/add_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/add_project_responses.go @@ -69,8 +69,7 @@ func NewAddProjectOK() *AddProjectOK { return &AddProjectOK{} } -/* -AddProjectOK describes a response with status code 200, with default header values. +/* AddProjectOK describes a response with status code 200, with default header values. Project Added */ @@ -102,8 +101,7 @@ func NewAddProjectBadRequest() *AddProjectBadRequest { return &AddProjectBadRequest{} } -/* -AddProjectBadRequest describes a response with status code 400, with default header values. +/* AddProjectBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,8 +133,7 @@ func NewAddProjectForbidden() *AddProjectForbidden { return &AddProjectForbidden{} } -/* -AddProjectForbidden describes a response with status code 403, with default header values. +/* AddProjectForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -168,8 +165,7 @@ func NewAddProjectNotFound() *AddProjectNotFound { return &AddProjectNotFound{} } -/* -AddProjectNotFound describes a response with status code 404, with default header values. +/* AddProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -201,8 +197,7 @@ func NewAddProjectConflict() *AddProjectConflict { return &AddProjectConflict{} } -/* -AddProjectConflict describes a response with status code 409, with default header values. +/* AddProjectConflict describes a response with status code 409, with default header values. Conflict */ @@ -234,8 +229,7 @@ func NewAddProjectInternalServerError() *AddProjectInternalServerError { return &AddProjectInternalServerError{} } -/* -AddProjectInternalServerError describes a response with status code 500, with default header values. +/* AddProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/delete_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/delete_project_parameters.go index 0e99bcee84..200127e16a 100644 --- a/pkg/platform/api/mono/mono_client/projects/delete_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/delete_project_parameters.go @@ -52,12 +52,10 @@ func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectPar } } -/* -DeleteProjectParams contains all the parameters to send to the API endpoint +/* DeleteProjectParams contains all the parameters to send to the API endpoint + for the delete project operation. - for the delete project operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type DeleteProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/delete_project_responses.go b/pkg/platform/api/mono/mono_client/projects/delete_project_responses.go index 603c006410..8309ccee5b 100644 --- a/pkg/platform/api/mono/mono_client/projects/delete_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/delete_project_responses.go @@ -63,8 +63,7 @@ func NewDeleteProjectOK() *DeleteProjectOK { return &DeleteProjectOK{} } -/* -DeleteProjectOK describes a response with status code 200, with default header values. +/* DeleteProjectOK describes a response with status code 200, with default header values. Project deleted */ @@ -96,8 +95,7 @@ func NewDeleteProjectBadRequest() *DeleteProjectBadRequest { return &DeleteProjectBadRequest{} } -/* -DeleteProjectBadRequest describes a response with status code 400, with default header values. +/* DeleteProjectBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewDeleteProjectForbidden() *DeleteProjectForbidden { return &DeleteProjectForbidden{} } -/* -DeleteProjectForbidden describes a response with status code 403, with default header values. +/* DeleteProjectForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewDeleteProjectNotFound() *DeleteProjectNotFound { return &DeleteProjectNotFound{} } -/* -DeleteProjectNotFound describes a response with status code 404, with default header values. +/* DeleteProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewDeleteProjectInternalServerError() *DeleteProjectInternalServerError { return &DeleteProjectInternalServerError{} } -/* -DeleteProjectInternalServerError describes a response with status code 500, with default header values. +/* DeleteProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/edit_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/edit_project_parameters.go index ef7794ca6e..b6a04b5eee 100644 --- a/pkg/platform/api/mono/mono_client/projects/edit_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/edit_project_parameters.go @@ -54,12 +54,10 @@ func NewEditProjectParamsWithHTTPClient(client *http.Client) *EditProjectParams } } -/* -EditProjectParams contains all the parameters to send to the API endpoint +/* EditProjectParams contains all the parameters to send to the API endpoint + for the edit project operation. - for the edit project operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type EditProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/edit_project_responses.go b/pkg/platform/api/mono/mono_client/projects/edit_project_responses.go index 5775d13e98..d24aba3fac 100644 --- a/pkg/platform/api/mono/mono_client/projects/edit_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/edit_project_responses.go @@ -69,8 +69,7 @@ func NewEditProjectOK() *EditProjectOK { return &EditProjectOK{} } -/* -EditProjectOK describes a response with status code 200, with default header values. +/* EditProjectOK describes a response with status code 200, with default header values. Project updated */ @@ -102,8 +101,7 @@ func NewEditProjectBadRequest() *EditProjectBadRequest { return &EditProjectBadRequest{} } -/* -EditProjectBadRequest describes a response with status code 400, with default header values. +/* EditProjectBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,8 +133,7 @@ func NewEditProjectForbidden() *EditProjectForbidden { return &EditProjectForbidden{} } -/* -EditProjectForbidden describes a response with status code 403, with default header values. +/* EditProjectForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -168,8 +165,7 @@ func NewEditProjectNotFound() *EditProjectNotFound { return &EditProjectNotFound{} } -/* -EditProjectNotFound describes a response with status code 404, with default header values. +/* EditProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -201,8 +197,7 @@ func NewEditProjectConflict() *EditProjectConflict { return &EditProjectConflict{} } -/* -EditProjectConflict describes a response with status code 409, with default header values. +/* EditProjectConflict describes a response with status code 409, with default header values. Conflict */ @@ -234,8 +229,7 @@ func NewEditProjectInternalServerError() *EditProjectInternalServerError { return &EditProjectInternalServerError{} } -/* -EditProjectInternalServerError describes a response with status code 500, with default header values. +/* EditProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/fork_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/fork_project_parameters.go index fe043f7493..aba8c8575f 100644 --- a/pkg/platform/api/mono/mono_client/projects/fork_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/fork_project_parameters.go @@ -52,12 +52,10 @@ func NewForkProjectParamsWithHTTPClient(client *http.Client) *ForkProjectParams } } -/* -ForkProjectParams contains all the parameters to send to the API endpoint +/* ForkProjectParams contains all the parameters to send to the API endpoint + for the fork project operation. - for the fork project operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type ForkProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/fork_project_responses.go b/pkg/platform/api/mono/mono_client/projects/fork_project_responses.go index 7c2b393495..98fcd68bc8 100644 --- a/pkg/platform/api/mono/mono_client/projects/fork_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/fork_project_responses.go @@ -73,8 +73,7 @@ func NewForkProjectOK() *ForkProjectOK { return &ForkProjectOK{} } -/* -ForkProjectOK describes a response with status code 200, with default header values. +/* ForkProjectOK describes a response with status code 200, with default header values. Project forked */ @@ -106,8 +105,7 @@ func NewForkProjectBadRequest() *ForkProjectBadRequest { return &ForkProjectBadRequest{} } -/* -ForkProjectBadRequest describes a response with status code 400, with default header values. +/* ForkProjectBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -139,8 +137,7 @@ func NewForkProjectForbidden() *ForkProjectForbidden { return &ForkProjectForbidden{} } -/* -ForkProjectForbidden describes a response with status code 403, with default header values. +/* ForkProjectForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -172,8 +169,7 @@ func NewForkProjectNotFound() *ForkProjectNotFound { return &ForkProjectNotFound{} } -/* -ForkProjectNotFound describes a response with status code 404, with default header values. +/* ForkProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -205,8 +201,7 @@ func NewForkProjectConflict() *ForkProjectConflict { return &ForkProjectConflict{} } -/* -ForkProjectConflict describes a response with status code 409, with default header values. +/* ForkProjectConflict describes a response with status code 409, with default header values. Conflict */ @@ -238,8 +233,7 @@ func NewForkProjectInternalServerError() *ForkProjectInternalServerError { return &ForkProjectInternalServerError{} } -/* -ForkProjectInternalServerError describes a response with status code 500, with default header values. +/* ForkProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -266,8 +260,7 @@ func (o *ForkProjectInternalServerError) readResponse(response runtime.ClientRes return nil } -/* -ForkProjectBody fork project body +/*ForkProjectBody fork project body swagger:model ForkProjectBody */ type ForkProjectBody struct { diff --git a/pkg/platform/api/mono/mono_client/projects/get_project_by_id_parameters.go b/pkg/platform/api/mono/mono_client/projects/get_project_by_id_parameters.go index 9ed12f11a0..f746611742 100644 --- a/pkg/platform/api/mono/mono_client/projects/get_project_by_id_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/get_project_by_id_parameters.go @@ -52,12 +52,10 @@ func NewGetProjectByIDParamsWithHTTPClient(client *http.Client) *GetProjectByIDP } } -/* -GetProjectByIDParams contains all the parameters to send to the API endpoint +/* GetProjectByIDParams contains all the parameters to send to the API endpoint + for the get project by ID operation. - for the get project by ID operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetProjectByIDParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/get_project_by_id_responses.go b/pkg/platform/api/mono/mono_client/projects/get_project_by_id_responses.go index 97fae2ca55..1794a32b64 100644 --- a/pkg/platform/api/mono/mono_client/projects/get_project_by_id_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/get_project_by_id_responses.go @@ -51,8 +51,7 @@ func NewGetProjectByIDOK() *GetProjectByIDOK { return &GetProjectByIDOK{} } -/* -GetProjectByIDOK describes a response with status code 200, with default header values. +/* GetProjectByIDOK describes a response with status code 200, with default header values. Success */ @@ -84,8 +83,7 @@ func NewGetProjectByIDNotFound() *GetProjectByIDNotFound { return &GetProjectByIDNotFound{} } -/* -GetProjectByIDNotFound describes a response with status code 404, with default header values. +/* GetProjectByIDNotFound describes a response with status code 404, with default header values. Not Found */ @@ -117,8 +115,7 @@ func NewGetProjectByIDInternalServerError() *GetProjectByIDInternalServerError { return &GetProjectByIDInternalServerError{} } -/* -GetProjectByIDInternalServerError describes a response with status code 500, with default header values. +/* GetProjectByIDInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/get_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/get_project_parameters.go index 707c506c4d..cc297a7827 100644 --- a/pkg/platform/api/mono/mono_client/projects/get_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/get_project_parameters.go @@ -52,12 +52,10 @@ func NewGetProjectParamsWithHTTPClient(client *http.Client) *GetProjectParams { } } -/* -GetProjectParams contains all the parameters to send to the API endpoint +/* GetProjectParams contains all the parameters to send to the API endpoint + for the get project operation. - for the get project operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/get_project_responses.go b/pkg/platform/api/mono/mono_client/projects/get_project_responses.go index d23a49e098..70269953eb 100644 --- a/pkg/platform/api/mono/mono_client/projects/get_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/get_project_responses.go @@ -51,8 +51,7 @@ func NewGetProjectOK() *GetProjectOK { return &GetProjectOK{} } -/* -GetProjectOK describes a response with status code 200, with default header values. +/* GetProjectOK describes a response with status code 200, with default header values. Success */ @@ -84,8 +83,7 @@ func NewGetProjectNotFound() *GetProjectNotFound { return &GetProjectNotFound{} } -/* -GetProjectNotFound describes a response with status code 404, with default header values. +/* GetProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -117,8 +115,7 @@ func NewGetProjectInternalServerError() *GetProjectInternalServerError { return &GetProjectInternalServerError{} } -/* -GetProjectInternalServerError describes a response with status code 500, with default header values. +/* GetProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/list_projects_parameters.go b/pkg/platform/api/mono/mono_client/projects/list_projects_parameters.go index a45d3b8ce7..4f6847567f 100644 --- a/pkg/platform/api/mono/mono_client/projects/list_projects_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/list_projects_parameters.go @@ -52,12 +52,10 @@ func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParam } } -/* -ListProjectsParams contains all the parameters to send to the API endpoint +/* ListProjectsParams contains all the parameters to send to the API endpoint + for the list projects operation. - for the list projects operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type ListProjectsParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/list_projects_responses.go b/pkg/platform/api/mono/mono_client/projects/list_projects_responses.go index 8474d070ae..dd1920c5f4 100644 --- a/pkg/platform/api/mono/mono_client/projects/list_projects_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/list_projects_responses.go @@ -51,8 +51,7 @@ func NewListProjectsOK() *ListProjectsOK { return &ListProjectsOK{} } -/* -ListProjectsOK describes a response with status code 200, with default header values. +/* ListProjectsOK describes a response with status code 200, with default header values. Success */ @@ -82,8 +81,7 @@ func NewListProjectsNotFound() *ListProjectsNotFound { return &ListProjectsNotFound{} } -/* -ListProjectsNotFound describes a response with status code 404, with default header values. +/* ListProjectsNotFound describes a response with status code 404, with default header values. Not Found */ @@ -115,8 +113,7 @@ func NewListProjectsInternalServerError() *ListProjectsInternalServerError { return &ListProjectsInternalServerError{} } -/* -ListProjectsInternalServerError describes a response with status code 500, with default header values. +/* ListProjectsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/move_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/move_project_parameters.go index a6e07b2957..eb85f1f039 100644 --- a/pkg/platform/api/mono/mono_client/projects/move_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/move_project_parameters.go @@ -52,12 +52,10 @@ func NewMoveProjectParamsWithHTTPClient(client *http.Client) *MoveProjectParams } } -/* -MoveProjectParams contains all the parameters to send to the API endpoint +/* MoveProjectParams contains all the parameters to send to the API endpoint + for the move project operation. - for the move project operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type MoveProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/move_project_responses.go b/pkg/platform/api/mono/mono_client/projects/move_project_responses.go index 6cca65c876..0a832a9b53 100644 --- a/pkg/platform/api/mono/mono_client/projects/move_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/move_project_responses.go @@ -71,8 +71,7 @@ func NewMoveProjectOK() *MoveProjectOK { return &MoveProjectOK{} } -/* -MoveProjectOK describes a response with status code 200, with default header values. +/* MoveProjectOK describes a response with status code 200, with default header values. Project moved */ @@ -104,8 +103,7 @@ func NewMoveProjectBadRequest() *MoveProjectBadRequest { return &MoveProjectBadRequest{} } -/* -MoveProjectBadRequest describes a response with status code 400, with default header values. +/* MoveProjectBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -137,8 +135,7 @@ func NewMoveProjectForbidden() *MoveProjectForbidden { return &MoveProjectForbidden{} } -/* -MoveProjectForbidden describes a response with status code 403, with default header values. +/* MoveProjectForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -170,8 +167,7 @@ func NewMoveProjectNotFound() *MoveProjectNotFound { return &MoveProjectNotFound{} } -/* -MoveProjectNotFound describes a response with status code 404, with default header values. +/* MoveProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -203,8 +199,7 @@ func NewMoveProjectConflict() *MoveProjectConflict { return &MoveProjectConflict{} } -/* -MoveProjectConflict describes a response with status code 409, with default header values. +/* MoveProjectConflict describes a response with status code 409, with default header values. Conflict */ @@ -236,8 +231,7 @@ func NewMoveProjectInternalServerError() *MoveProjectInternalServerError { return &MoveProjectInternalServerError{} } -/* -MoveProjectInternalServerError describes a response with status code 500, with default header values. +/* MoveProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -264,8 +258,7 @@ func (o *MoveProjectInternalServerError) readResponse(response runtime.ClientRes return nil } -/* -MoveProjectBody move project body +/*MoveProjectBody move project body swagger:model MoveProjectBody */ type MoveProjectBody struct { diff --git a/pkg/platform/api/mono/mono_client/projects/projects_client.go b/pkg/platform/api/mono/mono_client/projects/projects_client.go index bfe913efd9..c654fc8741 100644 --- a/pkg/platform/api/mono/mono_client/projects/projects_client.go +++ b/pkg/platform/api/mono/mono_client/projects/projects_client.go @@ -52,9 +52,9 @@ type ClientService interface { } /* -AddBranch adds branch + AddBranch adds branch -Add a branch on the specified project + Add a branch on the specified project */ func (a *Client) AddBranch(params *AddBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBranchOK, error) { // TODO: Validate the params before sending @@ -93,9 +93,9 @@ func (a *Client) AddBranch(params *AddBranchParams, authInfo runtime.ClientAuthI } /* -AddProject creates a project + AddProject creates a project -Add a new project to an organization + Add a new project to an organization */ func (a *Client) AddProject(params *AddProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProjectOK, error) { // TODO: Validate the params before sending @@ -134,9 +134,9 @@ func (a *Client) AddProject(params *AddProjectParams, authInfo runtime.ClientAut } /* -DeleteProject deletes a project + DeleteProject deletes a project -Delete a Project + Delete a Project */ func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, error) { // TODO: Validate the params before sending @@ -175,9 +175,9 @@ func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.Cli } /* -EditProject edits a project + EditProject edits a project -Edit a project + Edit a project */ func (a *Client) EditProject(params *EditProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditProjectOK, error) { // TODO: Validate the params before sending @@ -216,9 +216,9 @@ func (a *Client) EditProject(params *EditProjectParams, authInfo runtime.ClientA } /* -ForkProject forks a project + ForkProject forks a project -Fork a project + Fork a project */ func (a *Client) ForkProject(params *ForkProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForkProjectOK, error) { // TODO: Validate the params before sending @@ -257,9 +257,9 @@ func (a *Client) ForkProject(params *ForkProjectParams, authInfo runtime.ClientA } /* -GetProject organizations project info + GetProject organizations project info -Get project details + Get project details */ func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error) { // TODO: Validate the params before sending @@ -298,9 +298,9 @@ func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAut } /* -GetProjectByID projects info + GetProjectByID projects info -Get project details by ID + Get project details by ID */ func (a *Client) GetProjectByID(params *GetProjectByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectByIDOK, error) { // TODO: Validate the params before sending @@ -339,9 +339,9 @@ func (a *Client) GetProjectByID(params *GetProjectByIDParams, authInfo runtime.C } /* -ListProjects organizations projects + ListProjects organizations projects -Return a list of projects for an organization + Return a list of projects for an organization */ func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error) { // TODO: Validate the params before sending @@ -380,9 +380,9 @@ func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.Clien } /* -MoveProject moves a project to a different organization + MoveProject moves a project to a different organization -Move a project to a different organization + Move a project to a different organization */ func (a *Client) MoveProject(params *MoveProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveProjectOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/s3/s3_client.go b/pkg/platform/api/mono/mono_client/s3/s3_client.go index 0926081920..cee4c04aac 100644 --- a/pkg/platform/api/mono/mono_client/s3/s3_client.go +++ b/pkg/platform/api/mono/mono_client/s3/s3_client.go @@ -36,9 +36,9 @@ type ClientService interface { } /* -SignS3URI signs an s3 URI + SignS3URI signs an s3 URI -Returns a signed, limited-duration S3 URI + Returns a signed, limited-duration S3 URI */ func (a *Client) SignS3URI(params *SignS3URIParams, opts ...ClientOption) (*SignS3URIOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_parameters.go b/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_parameters.go index 5f177d5ed8..a443ebb6db 100644 --- a/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_parameters.go +++ b/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_parameters.go @@ -52,12 +52,10 @@ func NewSignS3URIParamsWithHTTPClient(client *http.Client) *SignS3URIParams { } } -/* -SignS3URIParams contains all the parameters to send to the API endpoint +/* SignS3URIParams contains all the parameters to send to the API endpoint + for the sign s3 URI operation. - for the sign s3 URI operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SignS3URIParams struct { diff --git a/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_responses.go b/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_responses.go index 62082cdc73..ee29ec130c 100644 --- a/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_responses.go +++ b/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_responses.go @@ -57,8 +57,7 @@ func NewSignS3URIOK() *SignS3URIOK { return &SignS3URIOK{} } -/* -SignS3URIOK describes a response with status code 200, with default header values. +/* SignS3URIOK describes a response with status code 200, with default header values. Success */ @@ -90,8 +89,7 @@ func NewSignS3URIBadRequest() *SignS3URIBadRequest { return &SignS3URIBadRequest{} } -/* -SignS3URIBadRequest describes a response with status code 400, with default header values. +/* SignS3URIBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -123,8 +121,7 @@ func NewSignS3URIForbidden() *SignS3URIForbidden { return &SignS3URIForbidden{} } -/* -SignS3URIForbidden describes a response with status code 403, with default header values. +/* SignS3URIForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -156,8 +153,7 @@ func NewSignS3URIInternalServerError() *SignS3URIInternalServerError { return &SignS3URIInternalServerError{} } -/* -SignS3URIInternalServerError describes a response with status code 500, with default header values. +/* SignS3URIInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/status/get_info_parameters.go b/pkg/platform/api/mono/mono_client/status/get_info_parameters.go index b17f18882d..aad041a3dc 100644 --- a/pkg/platform/api/mono/mono_client/status/get_info_parameters.go +++ b/pkg/platform/api/mono/mono_client/status/get_info_parameters.go @@ -52,12 +52,10 @@ func NewGetInfoParamsWithHTTPClient(client *http.Client) *GetInfoParams { } } -/* -GetInfoParams contains all the parameters to send to the API endpoint +/* GetInfoParams contains all the parameters to send to the API endpoint + for the get info operation. - for the get info operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetInfoParams struct { diff --git a/pkg/platform/api/mono/mono_client/status/get_info_responses.go b/pkg/platform/api/mono/mono_client/status/get_info_responses.go index 77291eb549..7100a397dd 100644 --- a/pkg/platform/api/mono/mono_client/status/get_info_responses.go +++ b/pkg/platform/api/mono/mono_client/status/get_info_responses.go @@ -51,8 +51,7 @@ func NewGetInfoOK() *GetInfoOK { return &GetInfoOK{} } -/* -GetInfoOK describes a response with status code 200, with default header values. +/* GetInfoOK describes a response with status code 200, with default header values. Success */ @@ -84,8 +83,7 @@ func NewGetInfoUnauthorized() *GetInfoUnauthorized { return &GetInfoUnauthorized{} } -/* -GetInfoUnauthorized describes a response with status code 401, with default header values. +/* GetInfoUnauthorized describes a response with status code 401, with default header values. Unauthenticated */ @@ -117,8 +115,7 @@ func NewGetInfoForbidden() *GetInfoForbidden { return &GetInfoForbidden{} } -/* -GetInfoForbidden describes a response with status code 403, with default header values. +/* GetInfoForbidden describes a response with status code 403, with default header values. Unauthorized */ diff --git a/pkg/platform/api/mono/mono_client/status/status_client.go b/pkg/platform/api/mono/mono_client/status/status_client.go index ab1fae9dfe..6956e79a42 100644 --- a/pkg/platform/api/mono/mono_client/status/status_client.go +++ b/pkg/platform/api/mono/mono_client/status/status_client.go @@ -38,9 +38,9 @@ type ClientService interface { } /* -GetInfo tests method for developer testing + GetInfo tests method for developer testing -Helpful for testing JWT operation + Helpful for testing JWT operation */ func (a *Client) GetInfo(params *GetInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInfoOK, error) { // TODO: Validate the params before sending @@ -79,9 +79,9 @@ func (a *Client) GetInfo(params *GetInfoParams, authInfo runtime.ClientAuthInfoW } /* -Usage reports platform usage statistics + Usage reports platform usage statistics -Active users by date range + Active users by date range */ func (a *Client) Usage(params *UsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UsageOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/status/usage_parameters.go b/pkg/platform/api/mono/mono_client/status/usage_parameters.go index 7ac6469094..f293b92d6c 100644 --- a/pkg/platform/api/mono/mono_client/status/usage_parameters.go +++ b/pkg/platform/api/mono/mono_client/status/usage_parameters.go @@ -53,12 +53,10 @@ func NewUsageParamsWithHTTPClient(client *http.Client) *UsageParams { } } -/* -UsageParams contains all the parameters to send to the API endpoint +/* UsageParams contains all the parameters to send to the API endpoint + for the usage operation. - for the usage operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type UsageParams struct { diff --git a/pkg/platform/api/mono/mono_client/status/usage_responses.go b/pkg/platform/api/mono/mono_client/status/usage_responses.go index 7a205217a9..67197b8768 100644 --- a/pkg/platform/api/mono/mono_client/status/usage_responses.go +++ b/pkg/platform/api/mono/mono_client/status/usage_responses.go @@ -51,8 +51,7 @@ func NewUsageOK() *UsageOK { return &UsageOK{} } -/* -UsageOK describes a response with status code 200, with default header values. +/* UsageOK describes a response with status code 200, with default header values. Success */ @@ -84,8 +83,7 @@ func NewUsageBadRequest() *UsageBadRequest { return &UsageBadRequest{} } -/* -UsageBadRequest describes a response with status code 400, with default header values. +/* UsageBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -117,8 +115,7 @@ func NewUsageForbidden() *UsageForbidden { return &UsageForbidden{} } -/* -UsageForbidden describes a response with status code 403, with default header values. +/* UsageForbidden describes a response with status code 403, with default header values. Unauthorized */ diff --git a/pkg/platform/api/mono/mono_client/tiers/get_add_ons_parameters.go b/pkg/platform/api/mono/mono_client/tiers/get_add_ons_parameters.go index 6887a2d5b3..0f4c3cb5b4 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_add_ons_parameters.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_add_ons_parameters.go @@ -52,12 +52,10 @@ func NewGetAddOnsParamsWithHTTPClient(client *http.Client) *GetAddOnsParams { } } -/* -GetAddOnsParams contains all the parameters to send to the API endpoint +/* GetAddOnsParams contains all the parameters to send to the API endpoint + for the get add ons operation. - for the get add ons operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetAddOnsParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/tiers/get_add_ons_responses.go b/pkg/platform/api/mono/mono_client/tiers/get_add_ons_responses.go index efaab00117..e961959aca 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_add_ons_responses.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_add_ons_responses.go @@ -51,8 +51,7 @@ func NewGetAddOnsOK() *GetAddOnsOK { return &GetAddOnsOK{} } -/* -GetAddOnsOK describes a response with status code 200, with default header values. +/* GetAddOnsOK describes a response with status code 200, with default header values. Success */ @@ -82,8 +81,7 @@ func NewGetAddOnsForbidden() *GetAddOnsForbidden { return &GetAddOnsForbidden{} } -/* -GetAddOnsForbidden describes a response with status code 403, with default header values. +/* GetAddOnsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -115,8 +113,7 @@ func NewGetAddOnsInternalServerError() *GetAddOnsInternalServerError { return &GetAddOnsInternalServerError{} } -/* -GetAddOnsInternalServerError describes a response with status code 500, with default header values. +/* GetAddOnsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/tiers/get_tiers_parameters.go b/pkg/platform/api/mono/mono_client/tiers/get_tiers_parameters.go index 1757113a4b..a2ab0f10bc 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_tiers_parameters.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_tiers_parameters.go @@ -52,12 +52,10 @@ func NewGetTiersParamsWithHTTPClient(client *http.Client) *GetTiersParams { } } -/* -GetTiersParams contains all the parameters to send to the API endpoint +/* GetTiersParams contains all the parameters to send to the API endpoint + for the get tiers operation. - for the get tiers operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetTiersParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_parameters.go b/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_parameters.go index f4210948f0..fd683cd5be 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_parameters.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_parameters.go @@ -52,12 +52,10 @@ func NewGetTiersPricingParamsWithHTTPClient(client *http.Client) *GetTiersPricin } } -/* -GetTiersPricingParams contains all the parameters to send to the API endpoint +/* GetTiersPricingParams contains all the parameters to send to the API endpoint + for the get tiers pricing operation. - for the get tiers pricing operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetTiersPricingParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_responses.go b/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_responses.go index ea51e20ae4..34bd525cf2 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_responses.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_responses.go @@ -57,8 +57,7 @@ func NewGetTiersPricingOK() *GetTiersPricingOK { return &GetTiersPricingOK{} } -/* -GetTiersPricingOK describes a response with status code 200, with default header values. +/* GetTiersPricingOK describes a response with status code 200, with default header values. Success */ @@ -88,8 +87,7 @@ func NewGetTiersPricingForbidden() *GetTiersPricingForbidden { return &GetTiersPricingForbidden{} } -/* -GetTiersPricingForbidden describes a response with status code 403, with default header values. +/* GetTiersPricingForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,8 +119,7 @@ func NewGetTiersPricingNotFound() *GetTiersPricingNotFound { return &GetTiersPricingNotFound{} } -/* -GetTiersPricingNotFound describes a response with status code 404, with default header values. +/* GetTiersPricingNotFound describes a response with status code 404, with default header values. No tiers available */ @@ -154,8 +151,7 @@ func NewGetTiersPricingInternalServerError() *GetTiersPricingInternalServerError return &GetTiersPricingInternalServerError{} } -/* -GetTiersPricingInternalServerError describes a response with status code 500, with default header values. +/* GetTiersPricingInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/tiers/get_tiers_responses.go b/pkg/platform/api/mono/mono_client/tiers/get_tiers_responses.go index 0f730e26e0..836c67510c 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_tiers_responses.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_tiers_responses.go @@ -57,8 +57,7 @@ func NewGetTiersOK() *GetTiersOK { return &GetTiersOK{} } -/* -GetTiersOK describes a response with status code 200, with default header values. +/* GetTiersOK describes a response with status code 200, with default header values. Success */ @@ -88,8 +87,7 @@ func NewGetTiersForbidden() *GetTiersForbidden { return &GetTiersForbidden{} } -/* -GetTiersForbidden describes a response with status code 403, with default header values. +/* GetTiersForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,8 +119,7 @@ func NewGetTiersNotFound() *GetTiersNotFound { return &GetTiersNotFound{} } -/* -GetTiersNotFound describes a response with status code 404, with default header values. +/* GetTiersNotFound describes a response with status code 404, with default header values. No tiers available */ @@ -154,8 +151,7 @@ func NewGetTiersInternalServerError() *GetTiersInternalServerError { return &GetTiersInternalServerError{} } -/* -GetTiersInternalServerError describes a response with status code 500, with default header values. +/* GetTiersInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_parameters.go b/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_parameters.go index 8576b6a497..f65c948845 100644 --- a/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_parameters.go +++ b/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_parameters.go @@ -54,12 +54,10 @@ func NewSetAddOnDefaultParamsWithHTTPClient(client *http.Client) *SetAddOnDefaul } } -/* -SetAddOnDefaultParams contains all the parameters to send to the API endpoint +/* SetAddOnDefaultParams contains all the parameters to send to the API endpoint + for the set add on default operation. - for the set add on default operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SetAddOnDefaultParams struct { diff --git a/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_responses.go b/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_responses.go index b2b95f8c48..3f205c253c 100644 --- a/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_responses.go +++ b/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_responses.go @@ -63,8 +63,7 @@ func NewSetAddOnDefaultOK() *SetAddOnDefaultOK { return &SetAddOnDefaultOK{} } -/* -SetAddOnDefaultOK describes a response with status code 200, with default header values. +/* SetAddOnDefaultOK describes a response with status code 200, with default header values. Success */ @@ -96,8 +95,7 @@ func NewSetAddOnDefaultBadRequest() *SetAddOnDefaultBadRequest { return &SetAddOnDefaultBadRequest{} } -/* -SetAddOnDefaultBadRequest describes a response with status code 400, with default header values. +/* SetAddOnDefaultBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewSetAddOnDefaultForbidden() *SetAddOnDefaultForbidden { return &SetAddOnDefaultForbidden{} } -/* -SetAddOnDefaultForbidden describes a response with status code 403, with default header values. +/* SetAddOnDefaultForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewSetAddOnDefaultNotFound() *SetAddOnDefaultNotFound { return &SetAddOnDefaultNotFound{} } -/* -SetAddOnDefaultNotFound describes a response with status code 404, with default header values. +/* SetAddOnDefaultNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewSetAddOnDefaultInternalServerError() *SetAddOnDefaultInternalServerError return &SetAddOnDefaultInternalServerError{} } -/* -SetAddOnDefaultInternalServerError describes a response with status code 500, with default header values. +/* SetAddOnDefaultInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/tiers/tiers_client.go b/pkg/platform/api/mono/mono_client/tiers/tiers_client.go index 6cb544325a..e1439a3421 100644 --- a/pkg/platform/api/mono/mono_client/tiers/tiers_client.go +++ b/pkg/platform/api/mono/mono_client/tiers/tiers_client.go @@ -42,7 +42,7 @@ type ClientService interface { } /* -GetAddOns gets information about all available add ons + GetAddOns gets information about all available add ons */ func (a *Client) GetAddOns(params *GetAddOnsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAddOnsOK, error) { // TODO: Validate the params before sending @@ -81,7 +81,7 @@ func (a *Client) GetAddOns(params *GetAddOnsParams, authInfo runtime.ClientAuthI } /* -GetTiers gets information about all available tiers + GetTiers gets information about all available tiers */ func (a *Client) GetTiers(params *GetTiersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTiersOK, error) { // TODO: Validate the params before sending @@ -120,7 +120,7 @@ func (a *Client) GetTiers(params *GetTiersParams, authInfo runtime.ClientAuthInf } /* -GetTiersPricing gets information about all available tiers including their price in dollars per active runtime per year + GetTiersPricing gets information about all available tiers including their price in dollars per active runtime per year */ func (a *Client) GetTiersPricing(params *GetTiersPricingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTiersPricingOK, error) { // TODO: Validate the params before sending @@ -159,7 +159,7 @@ func (a *Client) GetTiersPricing(params *GetTiersPricingParams, authInfo runtime } /* -SetAddOnDefault sets default state of add on for a tier + SetAddOnDefault sets default state of add on for a tier */ func (a *Client) SetAddOnDefault(params *SetAddOnDefaultParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAddOnDefaultOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/users/add_email_parameters.go b/pkg/platform/api/mono/mono_client/users/add_email_parameters.go index 92d8abb33b..566aae1ec9 100644 --- a/pkg/platform/api/mono/mono_client/users/add_email_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/add_email_parameters.go @@ -52,12 +52,10 @@ func NewAddEmailParamsWithHTTPClient(client *http.Client) *AddEmailParams { } } -/* -AddEmailParams contains all the parameters to send to the API endpoint +/* AddEmailParams contains all the parameters to send to the API endpoint + for the add email operation. - for the add email operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddEmailParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/add_email_responses.go b/pkg/platform/api/mono/mono_client/users/add_email_responses.go index c3904059a5..383462f34c 100644 --- a/pkg/platform/api/mono/mono_client/users/add_email_responses.go +++ b/pkg/platform/api/mono/mono_client/users/add_email_responses.go @@ -71,8 +71,7 @@ func NewAddEmailOK() *AddEmailOK { return &AddEmailOK{} } -/* -AddEmailOK describes a response with status code 200, with default header values. +/* AddEmailOK describes a response with status code 200, with default header values. Email added */ @@ -104,8 +103,7 @@ func NewAddEmailBadRequest() *AddEmailBadRequest { return &AddEmailBadRequest{} } -/* -AddEmailBadRequest describes a response with status code 400, with default header values. +/* AddEmailBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -137,8 +135,7 @@ func NewAddEmailForbidden() *AddEmailForbidden { return &AddEmailForbidden{} } -/* -AddEmailForbidden describes a response with status code 403, with default header values. +/* AddEmailForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -170,8 +167,7 @@ func NewAddEmailNotFound() *AddEmailNotFound { return &AddEmailNotFound{} } -/* -AddEmailNotFound describes a response with status code 404, with default header values. +/* AddEmailNotFound describes a response with status code 404, with default header values. Not Found */ @@ -203,8 +199,7 @@ func NewAddEmailConflict() *AddEmailConflict { return &AddEmailConflict{} } -/* -AddEmailConflict describes a response with status code 409, with default header values. +/* AddEmailConflict describes a response with status code 409, with default header values. Conflict */ @@ -236,8 +231,7 @@ func NewAddEmailInternalServerError() *AddEmailInternalServerError { return &AddEmailInternalServerError{} } -/* -AddEmailInternalServerError describes a response with status code 500, with default header values. +/* AddEmailInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -264,8 +258,7 @@ func (o *AddEmailInternalServerError) readResponse(response runtime.ClientRespon return nil } -/* -AddEmailBody add email body +/*AddEmailBody add email body swagger:model AddEmailBody */ type AddEmailBody struct { diff --git a/pkg/platform/api/mono/mono_client/users/add_user_parameters.go b/pkg/platform/api/mono/mono_client/users/add_user_parameters.go index de9b9c5732..18e0915c9c 100644 --- a/pkg/platform/api/mono/mono_client/users/add_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/add_user_parameters.go @@ -54,12 +54,10 @@ func NewAddUserParamsWithHTTPClient(client *http.Client) *AddUserParams { } } -/* -AddUserParams contains all the parameters to send to the API endpoint +/* AddUserParams contains all the parameters to send to the API endpoint + for the add user operation. - for the add user operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/add_user_responses.go b/pkg/platform/api/mono/mono_client/users/add_user_responses.go index bfe9e731b1..d2920c89d2 100644 --- a/pkg/platform/api/mono/mono_client/users/add_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/add_user_responses.go @@ -57,8 +57,7 @@ func NewAddUserOK() *AddUserOK { return &AddUserOK{} } -/* -AddUserOK describes a response with status code 200, with default header values. +/* AddUserOK describes a response with status code 200, with default header values. Successfully Created */ @@ -90,8 +89,7 @@ func NewAddUserBadRequest() *AddUserBadRequest { return &AddUserBadRequest{} } -/* -AddUserBadRequest describes a response with status code 400, with default header values. +/* AddUserBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -123,8 +121,7 @@ func NewAddUserConflict() *AddUserConflict { return &AddUserConflict{} } -/* -AddUserConflict describes a response with status code 409, with default header values. +/* AddUserConflict describes a response with status code 409, with default header values. Conflict */ @@ -156,8 +153,7 @@ func NewAddUserInternalServerError() *AddUserInternalServerError { return &AddUserInternalServerError{} } -/* -AddUserInternalServerError describes a response with status code 500, with default header values. +/* AddUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/delete_email_parameters.go b/pkg/platform/api/mono/mono_client/users/delete_email_parameters.go index 3065cf3a4a..2831cee7f2 100644 --- a/pkg/platform/api/mono/mono_client/users/delete_email_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/delete_email_parameters.go @@ -52,12 +52,10 @@ func NewDeleteEmailParamsWithHTTPClient(client *http.Client) *DeleteEmailParams } } -/* -DeleteEmailParams contains all the parameters to send to the API endpoint +/* DeleteEmailParams contains all the parameters to send to the API endpoint + for the delete email operation. - for the delete email operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type DeleteEmailParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/delete_email_responses.go b/pkg/platform/api/mono/mono_client/users/delete_email_responses.go index 95c4235f98..a00b3fb23d 100644 --- a/pkg/platform/api/mono/mono_client/users/delete_email_responses.go +++ b/pkg/platform/api/mono/mono_client/users/delete_email_responses.go @@ -65,8 +65,7 @@ func NewDeleteEmailOK() *DeleteEmailOK { return &DeleteEmailOK{} } -/* -DeleteEmailOK describes a response with status code 200, with default header values. +/* DeleteEmailOK describes a response with status code 200, with default header values. Email deleted */ @@ -98,8 +97,7 @@ func NewDeleteEmailBadRequest() *DeleteEmailBadRequest { return &DeleteEmailBadRequest{} } -/* -DeleteEmailBadRequest describes a response with status code 400, with default header values. +/* DeleteEmailBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -131,8 +129,7 @@ func NewDeleteEmailForbidden() *DeleteEmailForbidden { return &DeleteEmailForbidden{} } -/* -DeleteEmailForbidden describes a response with status code 403, with default header values. +/* DeleteEmailForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -164,8 +161,7 @@ func NewDeleteEmailNotFound() *DeleteEmailNotFound { return &DeleteEmailNotFound{} } -/* -DeleteEmailNotFound describes a response with status code 404, with default header values. +/* DeleteEmailNotFound describes a response with status code 404, with default header values. Not Found */ @@ -197,8 +193,7 @@ func NewDeleteEmailInternalServerError() *DeleteEmailInternalServerError { return &DeleteEmailInternalServerError{} } -/* -DeleteEmailInternalServerError describes a response with status code 500, with default header values. +/* DeleteEmailInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -225,8 +220,7 @@ func (o *DeleteEmailInternalServerError) readResponse(response runtime.ClientRes return nil } -/* -DeleteEmailBody delete email body +/*DeleteEmailBody delete email body swagger:model DeleteEmailBody */ type DeleteEmailBody struct { diff --git a/pkg/platform/api/mono/mono_client/users/delete_user_parameters.go b/pkg/platform/api/mono/mono_client/users/delete_user_parameters.go index 429f168db8..2c8a71c7c0 100644 --- a/pkg/platform/api/mono/mono_client/users/delete_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/delete_user_parameters.go @@ -52,12 +52,10 @@ func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams { } } -/* -DeleteUserParams contains all the parameters to send to the API endpoint +/* DeleteUserParams contains all the parameters to send to the API endpoint + for the delete user operation. - for the delete user operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type DeleteUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/delete_user_responses.go b/pkg/platform/api/mono/mono_client/users/delete_user_responses.go index 7be7e91e14..bf5b04b042 100644 --- a/pkg/platform/api/mono/mono_client/users/delete_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/delete_user_responses.go @@ -63,8 +63,7 @@ func NewDeleteUserOK() *DeleteUserOK { return &DeleteUserOK{} } -/* -DeleteUserOK describes a response with status code 200, with default header values. +/* DeleteUserOK describes a response with status code 200, with default header values. User deleted */ @@ -96,8 +95,7 @@ func NewDeleteUserBadRequest() *DeleteUserBadRequest { return &DeleteUserBadRequest{} } -/* -DeleteUserBadRequest describes a response with status code 400, with default header values. +/* DeleteUserBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewDeleteUserForbidden() *DeleteUserForbidden { return &DeleteUserForbidden{} } -/* -DeleteUserForbidden describes a response with status code 403, with default header values. +/* DeleteUserForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewDeleteUserNotFound() *DeleteUserNotFound { return &DeleteUserNotFound{} } -/* -DeleteUserNotFound describes a response with status code 404, with default header values. +/* DeleteUserNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewDeleteUserInternalServerError() *DeleteUserInternalServerError { return &DeleteUserInternalServerError{} } -/* -DeleteUserInternalServerError describes a response with status code 500, with default header values. +/* DeleteUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/edit_user_parameters.go b/pkg/platform/api/mono/mono_client/users/edit_user_parameters.go index 5ae5eb3538..f0efabcd5c 100644 --- a/pkg/platform/api/mono/mono_client/users/edit_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/edit_user_parameters.go @@ -54,12 +54,10 @@ func NewEditUserParamsWithHTTPClient(client *http.Client) *EditUserParams { } } -/* -EditUserParams contains all the parameters to send to the API endpoint +/* EditUserParams contains all the parameters to send to the API endpoint + for the edit user operation. - for the edit user operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type EditUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/edit_user_responses.go b/pkg/platform/api/mono/mono_client/users/edit_user_responses.go index 78c8a6828a..cca210bb4a 100644 --- a/pkg/platform/api/mono/mono_client/users/edit_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/edit_user_responses.go @@ -63,8 +63,7 @@ func NewEditUserOK() *EditUserOK { return &EditUserOK{} } -/* -EditUserOK describes a response with status code 200, with default header values. +/* EditUserOK describes a response with status code 200, with default header values. User updated */ @@ -96,8 +95,7 @@ func NewEditUserBadRequest() *EditUserBadRequest { return &EditUserBadRequest{} } -/* -EditUserBadRequest describes a response with status code 400, with default header values. +/* EditUserBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewEditUserForbidden() *EditUserForbidden { return &EditUserForbidden{} } -/* -EditUserForbidden describes a response with status code 403, with default header values. +/* EditUserForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewEditUserNotFound() *EditUserNotFound { return &EditUserNotFound{} } -/* -EditUserNotFound describes a response with status code 404, with default header values. +/* EditUserNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewEditUserInternalServerError() *EditUserInternalServerError { return &EditUserInternalServerError{} } -/* -EditUserInternalServerError describes a response with status code 500, with default header values. +/* EditUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_domains_by_user_parameters.go b/pkg/platform/api/mono/mono_client/users/get_domains_by_user_parameters.go index 8fb7801514..cf5f23b482 100644 --- a/pkg/platform/api/mono/mono_client/users/get_domains_by_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_domains_by_user_parameters.go @@ -52,12 +52,10 @@ func NewGetDomainsByUserParamsWithHTTPClient(client *http.Client) *GetDomainsByU } } -/* -GetDomainsByUserParams contains all the parameters to send to the API endpoint +/* GetDomainsByUserParams contains all the parameters to send to the API endpoint + for the get domains by user operation. - for the get domains by user operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetDomainsByUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_domains_by_user_responses.go b/pkg/platform/api/mono/mono_client/users/get_domains_by_user_responses.go index 73f7830dc8..1ac3f734ce 100644 --- a/pkg/platform/api/mono/mono_client/users/get_domains_by_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_domains_by_user_responses.go @@ -51,8 +51,7 @@ func NewGetDomainsByUserOK() *GetDomainsByUserOK { return &GetDomainsByUserOK{} } -/* -GetDomainsByUserOK describes a response with status code 200, with default header values. +/* GetDomainsByUserOK describes a response with status code 200, with default header values. Domain records */ @@ -82,8 +81,7 @@ func NewGetDomainsByUserForbidden() *GetDomainsByUserForbidden { return &GetDomainsByUserForbidden{} } -/* -GetDomainsByUserForbidden describes a response with status code 403, with default header values. +/* GetDomainsByUserForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -115,8 +113,7 @@ func NewGetDomainsByUserInternalServerError() *GetDomainsByUserInternalServerErr return &GetDomainsByUserInternalServerError{} } -/* -GetDomainsByUserInternalServerError describes a response with status code 500, with default header values. +/* GetDomainsByUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_email_verification_link_parameters.go b/pkg/platform/api/mono/mono_client/users/get_email_verification_link_parameters.go index bb16ebeffe..e40fbaf28e 100644 --- a/pkg/platform/api/mono/mono_client/users/get_email_verification_link_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_email_verification_link_parameters.go @@ -52,12 +52,10 @@ func NewGetEmailVerificationLinkParamsWithHTTPClient(client *http.Client) *GetEm } } -/* -GetEmailVerificationLinkParams contains all the parameters to send to the API endpoint +/* GetEmailVerificationLinkParams contains all the parameters to send to the API endpoint + for the get email verification link operation. - for the get email verification link operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetEmailVerificationLinkParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_email_verification_link_responses.go b/pkg/platform/api/mono/mono_client/users/get_email_verification_link_responses.go index bea93c6587..bcc87fff20 100644 --- a/pkg/platform/api/mono/mono_client/users/get_email_verification_link_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_email_verification_link_responses.go @@ -63,8 +63,7 @@ func NewGetEmailVerificationLinkOK() *GetEmailVerificationLinkOK { return &GetEmailVerificationLinkOK{} } -/* -GetEmailVerificationLinkOK describes a response with status code 200, with default header values. +/* GetEmailVerificationLinkOK describes a response with status code 200, with default header values. Success */ @@ -94,8 +93,7 @@ func NewGetEmailVerificationLinkBadRequest() *GetEmailVerificationLinkBadRequest return &GetEmailVerificationLinkBadRequest{} } -/* -GetEmailVerificationLinkBadRequest describes a response with status code 400, with default header values. +/* GetEmailVerificationLinkBadRequest describes a response with status code 400, with default header values. Email is already verified */ @@ -127,8 +125,7 @@ func NewGetEmailVerificationLinkForbidden() *GetEmailVerificationLinkForbidden { return &GetEmailVerificationLinkForbidden{} } -/* -GetEmailVerificationLinkForbidden describes a response with status code 403, with default header values. +/* GetEmailVerificationLinkForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -160,8 +157,7 @@ func NewGetEmailVerificationLinkNotFound() *GetEmailVerificationLinkNotFound { return &GetEmailVerificationLinkNotFound{} } -/* -GetEmailVerificationLinkNotFound describes a response with status code 404, with default header values. +/* GetEmailVerificationLinkNotFound describes a response with status code 404, with default header values. Email not found */ @@ -193,8 +189,7 @@ func NewGetEmailVerificationLinkInternalServerError() *GetEmailVerificationLinkI return &GetEmailVerificationLinkInternalServerError{} } -/* -GetEmailVerificationLinkInternalServerError describes a response with status code 500, with default header values. +/* GetEmailVerificationLinkInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_emails_by_user_parameters.go b/pkg/platform/api/mono/mono_client/users/get_emails_by_user_parameters.go index 25cc1d8253..075d7c8d95 100644 --- a/pkg/platform/api/mono/mono_client/users/get_emails_by_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_emails_by_user_parameters.go @@ -52,12 +52,10 @@ func NewGetEmailsByUserParamsWithHTTPClient(client *http.Client) *GetEmailsByUse } } -/* -GetEmailsByUserParams contains all the parameters to send to the API endpoint +/* GetEmailsByUserParams contains all the parameters to send to the API endpoint + for the get emails by user operation. - for the get emails by user operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetEmailsByUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_emails_by_user_responses.go b/pkg/platform/api/mono/mono_client/users/get_emails_by_user_responses.go index ccb1421100..a8d4a0c105 100644 --- a/pkg/platform/api/mono/mono_client/users/get_emails_by_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_emails_by_user_responses.go @@ -51,8 +51,7 @@ func NewGetEmailsByUserOK() *GetEmailsByUserOK { return &GetEmailsByUserOK{} } -/* -GetEmailsByUserOK describes a response with status code 200, with default header values. +/* GetEmailsByUserOK describes a response with status code 200, with default header values. Email records */ @@ -82,8 +81,7 @@ func NewGetEmailsByUserForbidden() *GetEmailsByUserForbidden { return &GetEmailsByUserForbidden{} } -/* -GetEmailsByUserForbidden describes a response with status code 403, with default header values. +/* GetEmailsByUserForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -115,8 +113,7 @@ func NewGetEmailsByUserInternalServerError() *GetEmailsByUserInternalServerError return &GetEmailsByUserInternalServerError{} } -/* -GetEmailsByUserInternalServerError describes a response with status code 500, with default header values. +/* GetEmailsByUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_parameters.go b/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_parameters.go index c97b254105..96bb3014c3 100644 --- a/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_parameters.go @@ -52,12 +52,10 @@ func NewGetInvitationByCodeParamsWithHTTPClient(client *http.Client) *GetInvitat } } -/* -GetInvitationByCodeParams contains all the parameters to send to the API endpoint +/* GetInvitationByCodeParams contains all the parameters to send to the API endpoint + for the get invitation by code operation. - for the get invitation by code operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetInvitationByCodeParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_responses.go b/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_responses.go index e2ad0d727f..4d938ec176 100644 --- a/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_responses.go @@ -63,8 +63,7 @@ func NewGetInvitationByCodeOK() *GetInvitationByCodeOK { return &GetInvitationByCodeOK{} } -/* -GetInvitationByCodeOK describes a response with status code 200, with default header values. +/* GetInvitationByCodeOK describes a response with status code 200, with default header values. Invitation */ @@ -96,8 +95,7 @@ func NewGetInvitationByCodeBadRequest() *GetInvitationByCodeBadRequest { return &GetInvitationByCodeBadRequest{} } -/* -GetInvitationByCodeBadRequest describes a response with status code 400, with default header values. +/* GetInvitationByCodeBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewGetInvitationByCodeForbidden() *GetInvitationByCodeForbidden { return &GetInvitationByCodeForbidden{} } -/* -GetInvitationByCodeForbidden describes a response with status code 403, with default header values. +/* GetInvitationByCodeForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewGetInvitationByCodeNotFound() *GetInvitationByCodeNotFound { return &GetInvitationByCodeNotFound{} } -/* -GetInvitationByCodeNotFound describes a response with status code 404, with default header values. +/* GetInvitationByCodeNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewGetInvitationByCodeInternalServerError() *GetInvitationByCodeInternalSer return &GetInvitationByCodeInternalServerError{} } -/* -GetInvitationByCodeInternalServerError describes a response with status code 500, with default header values. +/* GetInvitationByCodeInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_parameters.go b/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_parameters.go index b35de1d622..e78bb8a42b 100644 --- a/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_parameters.go @@ -52,12 +52,10 @@ func NewGetInvitationsByUserParamsWithHTTPClient(client *http.Client) *GetInvita } } -/* -GetInvitationsByUserParams contains all the parameters to send to the API endpoint +/* GetInvitationsByUserParams contains all the parameters to send to the API endpoint + for the get invitations by user operation. - for the get invitations by user operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetInvitationsByUserParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_responses.go b/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_responses.go index 5e2a1d2587..326ba84005 100644 --- a/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_responses.go @@ -45,8 +45,7 @@ func NewGetInvitationsByUserOK() *GetInvitationsByUserOK { return &GetInvitationsByUserOK{} } -/* -GetInvitationsByUserOK describes a response with status code 200, with default header values. +/* GetInvitationsByUserOK describes a response with status code 200, with default header values. Pending Invitations */ @@ -76,8 +75,7 @@ func NewGetInvitationsByUserInternalServerError() *GetInvitationsByUserInternalS return &GetInvitationsByUserInternalServerError{} } -/* -GetInvitationsByUserInternalServerError describes a response with status code 500, with default header values. +/* GetInvitationsByUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_user_by_id_parameters.go b/pkg/platform/api/mono/mono_client/users/get_user_by_id_parameters.go index 1e4c698216..468a5181f4 100644 --- a/pkg/platform/api/mono/mono_client/users/get_user_by_id_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_user_by_id_parameters.go @@ -52,12 +52,10 @@ func NewGetUserByIDParamsWithHTTPClient(client *http.Client) *GetUserByIDParams } } -/* -GetUserByIDParams contains all the parameters to send to the API endpoint +/* GetUserByIDParams contains all the parameters to send to the API endpoint + for the get user by ID operation. - for the get user by ID operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetUserByIDParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_user_by_id_responses.go b/pkg/platform/api/mono/mono_client/users/get_user_by_id_responses.go index 44a5ba612f..e63bc09b47 100644 --- a/pkg/platform/api/mono/mono_client/users/get_user_by_id_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_user_by_id_responses.go @@ -51,8 +51,7 @@ func NewGetUserByIDOK() *GetUserByIDOK { return &GetUserByIDOK{} } -/* -GetUserByIDOK describes a response with status code 200, with default header values. +/* GetUserByIDOK describes a response with status code 200, with default header values. User Record */ @@ -84,8 +83,7 @@ func NewGetUserByIDNotFound() *GetUserByIDNotFound { return &GetUserByIDNotFound{} } -/* -GetUserByIDNotFound describes a response with status code 404, with default header values. +/* GetUserByIDNotFound describes a response with status code 404, with default header values. Not Found */ @@ -117,8 +115,7 @@ func NewGetUserByIDInternalServerError() *GetUserByIDInternalServerError { return &GetUserByIDInternalServerError{} } -/* -GetUserByIDInternalServerError describes a response with status code 500, with default header values. +/* GetUserByIDInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_user_parameters.go b/pkg/platform/api/mono/mono_client/users/get_user_parameters.go index 7ae18c57ce..ca7ac594ef 100644 --- a/pkg/platform/api/mono/mono_client/users/get_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_user_parameters.go @@ -52,12 +52,10 @@ func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams { } } -/* -GetUserParams contains all the parameters to send to the API endpoint +/* GetUserParams contains all the parameters to send to the API endpoint + for the get user operation. - for the get user operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_user_responses.go b/pkg/platform/api/mono/mono_client/users/get_user_responses.go index 2acc35328f..a18ecefbcf 100644 --- a/pkg/platform/api/mono/mono_client/users/get_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_user_responses.go @@ -51,8 +51,7 @@ func NewGetUserOK() *GetUserOK { return &GetUserOK{} } -/* -GetUserOK describes a response with status code 200, with default header values. +/* GetUserOK describes a response with status code 200, with default header values. User Record */ @@ -84,8 +83,7 @@ func NewGetUserNotFound() *GetUserNotFound { return &GetUserNotFound{} } -/* -GetUserNotFound describes a response with status code 404, with default header values. +/* GetUserNotFound describes a response with status code 404, with default header values. Not Found */ @@ -117,8 +115,7 @@ func NewGetUserInternalServerError() *GetUserInternalServerError { return &GetUserInternalServerError{} } -/* -GetUserInternalServerError describes a response with status code 500, with default header values. +/* GetUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/list_invitations_parameters.go b/pkg/platform/api/mono/mono_client/users/list_invitations_parameters.go index 3aea8618dc..a0214139b7 100644 --- a/pkg/platform/api/mono/mono_client/users/list_invitations_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/list_invitations_parameters.go @@ -52,12 +52,10 @@ func NewListInvitationsParamsWithHTTPClient(client *http.Client) *ListInvitation } } -/* -ListInvitationsParams contains all the parameters to send to the API endpoint +/* ListInvitationsParams contains all the parameters to send to the API endpoint + for the list invitations operation. - for the list invitations operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type ListInvitationsParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/list_invitations_responses.go b/pkg/platform/api/mono/mono_client/users/list_invitations_responses.go index b4e0255764..9677fc8ad8 100644 --- a/pkg/platform/api/mono/mono_client/users/list_invitations_responses.go +++ b/pkg/platform/api/mono/mono_client/users/list_invitations_responses.go @@ -57,8 +57,7 @@ func NewListInvitationsOK() *ListInvitationsOK { return &ListInvitationsOK{} } -/* -ListInvitationsOK describes a response with status code 200, with default header values. +/* ListInvitationsOK describes a response with status code 200, with default header values. Pending Invitations */ @@ -88,8 +87,7 @@ func NewListInvitationsBadRequest() *ListInvitationsBadRequest { return &ListInvitationsBadRequest{} } -/* -ListInvitationsBadRequest describes a response with status code 400, with default header values. +/* ListInvitationsBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -121,8 +119,7 @@ func NewListInvitationsForbidden() *ListInvitationsForbidden { return &ListInvitationsForbidden{} } -/* -ListInvitationsForbidden describes a response with status code 403, with default header values. +/* ListInvitationsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -154,8 +151,7 @@ func NewListInvitationsInternalServerError() *ListInvitationsInternalServerError return &ListInvitationsInternalServerError{} } -/* -ListInvitationsInternalServerError describes a response with status code 500, with default header values. +/* ListInvitationsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/list_users_parameters.go b/pkg/platform/api/mono/mono_client/users/list_users_parameters.go index 2d1deaf494..4a521ab05c 100644 --- a/pkg/platform/api/mono/mono_client/users/list_users_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/list_users_parameters.go @@ -52,12 +52,10 @@ func NewListUsersParamsWithHTTPClient(client *http.Client) *ListUsersParams { } } -/* -ListUsersParams contains all the parameters to send to the API endpoint +/* ListUsersParams contains all the parameters to send to the API endpoint + for the list users operation. - for the list users operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type ListUsersParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/users/list_users_responses.go b/pkg/platform/api/mono/mono_client/users/list_users_responses.go index e41c179a25..3ce023ef12 100644 --- a/pkg/platform/api/mono/mono_client/users/list_users_responses.go +++ b/pkg/platform/api/mono/mono_client/users/list_users_responses.go @@ -45,8 +45,7 @@ func NewListUsersOK() *ListUsersOK { return &ListUsersOK{} } -/* -ListUsersOK describes a response with status code 200, with default header values. +/* ListUsersOK describes a response with status code 200, with default header values. Success */ @@ -76,8 +75,7 @@ func NewListUsersInternalServerError() *ListUsersInternalServerError { return &ListUsersInternalServerError{} } -/* -ListUsersInternalServerError describes a response with status code 500, with default header values. +/* ListUsersInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/search_emails_parameters.go b/pkg/platform/api/mono/mono_client/users/search_emails_parameters.go index d964e0d3bd..b6072a5dd4 100644 --- a/pkg/platform/api/mono/mono_client/users/search_emails_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/search_emails_parameters.go @@ -52,12 +52,10 @@ func NewSearchEmailsParamsWithHTTPClient(client *http.Client) *SearchEmailsParam } } -/* -SearchEmailsParams contains all the parameters to send to the API endpoint +/* SearchEmailsParams contains all the parameters to send to the API endpoint + for the search emails operation. - for the search emails operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SearchEmailsParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/search_emails_responses.go b/pkg/platform/api/mono/mono_client/users/search_emails_responses.go index 824dac452d..f960847219 100644 --- a/pkg/platform/api/mono/mono_client/users/search_emails_responses.go +++ b/pkg/platform/api/mono/mono_client/users/search_emails_responses.go @@ -53,8 +53,7 @@ func NewSearchEmailsOK() *SearchEmailsOK { return &SearchEmailsOK{} } -/* -SearchEmailsOK describes a response with status code 200, with default header values. +/* SearchEmailsOK describes a response with status code 200, with default header values. Search for users matching the given search string */ @@ -84,8 +83,7 @@ func NewSearchEmailsForbidden() *SearchEmailsForbidden { return &SearchEmailsForbidden{} } -/* -SearchEmailsForbidden describes a response with status code 403, with default header values. +/* SearchEmailsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -117,8 +115,7 @@ func NewSearchEmailsInternalServerError() *SearchEmailsInternalServerError { return &SearchEmailsInternalServerError{} } -/* -SearchEmailsInternalServerError describes a response with status code 500, with default header values. +/* SearchEmailsInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -145,8 +142,7 @@ func (o *SearchEmailsInternalServerError) readResponse(response runtime.ClientRe return nil } -/* -SearchEmailsBody search emails body +/*SearchEmailsBody search emails body swagger:model SearchEmailsBody */ type SearchEmailsBody struct { diff --git a/pkg/platform/api/mono/mono_client/users/search_usernames_parameters.go b/pkg/platform/api/mono/mono_client/users/search_usernames_parameters.go index 4f47b44991..5e57863070 100644 --- a/pkg/platform/api/mono/mono_client/users/search_usernames_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/search_usernames_parameters.go @@ -52,12 +52,10 @@ func NewSearchUsernamesParamsWithHTTPClient(client *http.Client) *SearchUsername } } -/* -SearchUsernamesParams contains all the parameters to send to the API endpoint +/* SearchUsernamesParams contains all the parameters to send to the API endpoint + for the search usernames operation. - for the search usernames operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SearchUsernamesParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/search_usernames_responses.go b/pkg/platform/api/mono/mono_client/users/search_usernames_responses.go index 36cfbd46bd..9d41c5d8bd 100644 --- a/pkg/platform/api/mono/mono_client/users/search_usernames_responses.go +++ b/pkg/platform/api/mono/mono_client/users/search_usernames_responses.go @@ -53,8 +53,7 @@ func NewSearchUsernamesOK() *SearchUsernamesOK { return &SearchUsernamesOK{} } -/* -SearchUsernamesOK describes a response with status code 200, with default header values. +/* SearchUsernamesOK describes a response with status code 200, with default header values. Search for users matching the given search string */ @@ -84,8 +83,7 @@ func NewSearchUsernamesForbidden() *SearchUsernamesForbidden { return &SearchUsernamesForbidden{} } -/* -SearchUsernamesForbidden describes a response with status code 403, with default header values. +/* SearchUsernamesForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -117,8 +115,7 @@ func NewSearchUsernamesInternalServerError() *SearchUsernamesInternalServerError return &SearchUsernamesInternalServerError{} } -/* -SearchUsernamesInternalServerError describes a response with status code 500, with default header values. +/* SearchUsernamesInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -145,8 +142,7 @@ func (o *SearchUsernamesInternalServerError) readResponse(response runtime.Clien return nil } -/* -SearchUsernamesBody search usernames body +/*SearchUsernamesBody search usernames body swagger:model SearchUsernamesBody */ type SearchUsernamesBody struct { diff --git a/pkg/platform/api/mono/mono_client/users/send_email_verification_parameters.go b/pkg/platform/api/mono/mono_client/users/send_email_verification_parameters.go index 0a03222d9c..4d083582c8 100644 --- a/pkg/platform/api/mono/mono_client/users/send_email_verification_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/send_email_verification_parameters.go @@ -52,12 +52,10 @@ func NewSendEmailVerificationParamsWithHTTPClient(client *http.Client) *SendEmai } } -/* -SendEmailVerificationParams contains all the parameters to send to the API endpoint +/* SendEmailVerificationParams contains all the parameters to send to the API endpoint + for the send email verification operation. - for the send email verification operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SendEmailVerificationParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/send_email_verification_responses.go b/pkg/platform/api/mono/mono_client/users/send_email_verification_responses.go index 99c10053da..cbb1077aae 100644 --- a/pkg/platform/api/mono/mono_client/users/send_email_verification_responses.go +++ b/pkg/platform/api/mono/mono_client/users/send_email_verification_responses.go @@ -63,8 +63,7 @@ func NewSendEmailVerificationOK() *SendEmailVerificationOK { return &SendEmailVerificationOK{} } -/* -SendEmailVerificationOK describes a response with status code 200, with default header values. +/* SendEmailVerificationOK describes a response with status code 200, with default header values. Email updated */ @@ -96,8 +95,7 @@ func NewSendEmailVerificationBadRequest() *SendEmailVerificationBadRequest { return &SendEmailVerificationBadRequest{} } -/* -SendEmailVerificationBadRequest describes a response with status code 400, with default header values. +/* SendEmailVerificationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewSendEmailVerificationForbidden() *SendEmailVerificationForbidden { return &SendEmailVerificationForbidden{} } -/* -SendEmailVerificationForbidden describes a response with status code 403, with default header values. +/* SendEmailVerificationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewSendEmailVerificationNotFound() *SendEmailVerificationNotFound { return &SendEmailVerificationNotFound{} } -/* -SendEmailVerificationNotFound describes a response with status code 404, with default header values. +/* SendEmailVerificationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewSendEmailVerificationInternalServerError() *SendEmailVerificationInterna return &SendEmailVerificationInternalServerError{} } -/* -SendEmailVerificationInternalServerError describes a response with status code 500, with default header values. +/* SendEmailVerificationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/set_preferred_email_parameters.go b/pkg/platform/api/mono/mono_client/users/set_preferred_email_parameters.go index 7093bd7775..770fb958c7 100644 --- a/pkg/platform/api/mono/mono_client/users/set_preferred_email_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/set_preferred_email_parameters.go @@ -52,12 +52,10 @@ func NewSetPreferredEmailParamsWithHTTPClient(client *http.Client) *SetPreferred } } -/* -SetPreferredEmailParams contains all the parameters to send to the API endpoint +/* SetPreferredEmailParams contains all the parameters to send to the API endpoint + for the set preferred email operation. - for the set preferred email operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SetPreferredEmailParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/set_preferred_email_responses.go b/pkg/platform/api/mono/mono_client/users/set_preferred_email_responses.go index 7dbfe84233..f7c8776071 100644 --- a/pkg/platform/api/mono/mono_client/users/set_preferred_email_responses.go +++ b/pkg/platform/api/mono/mono_client/users/set_preferred_email_responses.go @@ -63,8 +63,7 @@ func NewSetPreferredEmailOK() *SetPreferredEmailOK { return &SetPreferredEmailOK{} } -/* -SetPreferredEmailOK describes a response with status code 200, with default header values. +/* SetPreferredEmailOK describes a response with status code 200, with default header values. Email updated */ @@ -96,8 +95,7 @@ func NewSetPreferredEmailBadRequest() *SetPreferredEmailBadRequest { return &SetPreferredEmailBadRequest{} } -/* -SetPreferredEmailBadRequest describes a response with status code 400, with default header values. +/* SetPreferredEmailBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewSetPreferredEmailForbidden() *SetPreferredEmailForbidden { return &SetPreferredEmailForbidden{} } -/* -SetPreferredEmailForbidden describes a response with status code 403, with default header values. +/* SetPreferredEmailForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewSetPreferredEmailNotFound() *SetPreferredEmailNotFound { return &SetPreferredEmailNotFound{} } -/* -SetPreferredEmailNotFound describes a response with status code 404, with default header values. +/* SetPreferredEmailNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewSetPreferredEmailInternalServerError() *SetPreferredEmailInternalServerE return &SetPreferredEmailInternalServerError{} } -/* -SetPreferredEmailInternalServerError describes a response with status code 500, with default header values. +/* SetPreferredEmailInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/unique_username_parameters.go b/pkg/platform/api/mono/mono_client/users/unique_username_parameters.go index cf81ff936d..ca8abf95f0 100644 --- a/pkg/platform/api/mono/mono_client/users/unique_username_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/unique_username_parameters.go @@ -52,12 +52,10 @@ func NewUniqueUsernameParamsWithHTTPClient(client *http.Client) *UniqueUsernameP } } -/* -UniqueUsernameParams contains all the parameters to send to the API endpoint +/* UniqueUsernameParams contains all the parameters to send to the API endpoint + for the unique username operation. - for the unique username operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type UniqueUsernameParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/unique_username_responses.go b/pkg/platform/api/mono/mono_client/users/unique_username_responses.go index 8ff682927f..14e7c56dc2 100644 --- a/pkg/platform/api/mono/mono_client/users/unique_username_responses.go +++ b/pkg/platform/api/mono/mono_client/users/unique_username_responses.go @@ -51,8 +51,7 @@ func NewUniqueUsernameOK() *UniqueUsernameOK { return &UniqueUsernameOK{} } -/* -UniqueUsernameOK describes a response with status code 200, with default header values. +/* UniqueUsernameOK describes a response with status code 200, with default header values. Username available */ @@ -84,8 +83,7 @@ func NewUniqueUsernameBadRequest() *UniqueUsernameBadRequest { return &UniqueUsernameBadRequest{} } -/* -UniqueUsernameBadRequest describes a response with status code 400, with default header values. +/* UniqueUsernameBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -117,8 +115,7 @@ func NewUniqueUsernameConflict() *UniqueUsernameConflict { return &UniqueUsernameConflict{} } -/* -UniqueUsernameConflict describes a response with status code 409, with default header values. +/* UniqueUsernameConflict describes a response with status code 409, with default header values. Username Conflict */ diff --git a/pkg/platform/api/mono/mono_client/users/users_client.go b/pkg/platform/api/mono/mono_client/users/users_client.go index 9a44468813..a027c19e49 100644 --- a/pkg/platform/api/mono/mono_client/users/users_client.go +++ b/pkg/platform/api/mono/mono_client/users/users_client.go @@ -74,9 +74,9 @@ type ClientService interface { } /* -AddEmail creates new email for a user + AddEmail creates new email for a user -Create new email + Create new email */ func (a *Client) AddEmail(params *AddEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddEmailOK, error) { // TODO: Validate the params before sending @@ -115,9 +115,9 @@ func (a *Client) AddEmail(params *AddEmailParams, authInfo runtime.ClientAuthInf } /* -AddUser creates a new user + AddUser creates a new user -Create a new user + Create a new user */ func (a *Client) AddUser(params *AddUserParams, opts ...ClientOption) (*AddUserOK, error) { // TODO: Validate the params before sending @@ -155,9 +155,9 @@ func (a *Client) AddUser(params *AddUserParams, opts ...ClientOption) (*AddUserO } /* -DeleteEmail deletes email for a user + DeleteEmail deletes email for a user -Delete email + Delete email */ func (a *Client) DeleteEmail(params *DeleteEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEmailOK, error) { // TODO: Validate the params before sending @@ -196,9 +196,9 @@ func (a *Client) DeleteEmail(params *DeleteEmailParams, authInfo runtime.ClientA } /* -DeleteUser deletes a user + DeleteUser deletes a user -Delete a user + Delete a user */ func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, error) { // TODO: Validate the params before sending @@ -237,9 +237,9 @@ func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAut } /* -EditUser edits a user + EditUser edits a user -Edit a user record + Edit a user record */ func (a *Client) EditUser(params *EditUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditUserOK, error) { // TODO: Validate the params before sending @@ -278,9 +278,9 @@ func (a *Client) EditUser(params *EditUserParams, authInfo runtime.ClientAuthInf } /* -GetDomainsByUser retrieves a user s verified domains + GetDomainsByUser retrieves a user s verified domains -Return a list of domains suitable for auto-invite + Return a list of domains suitable for auto-invite */ func (a *Client) GetDomainsByUser(params *GetDomainsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDomainsByUserOK, error) { // TODO: Validate the params before sending @@ -319,9 +319,9 @@ func (a *Client) GetDomainsByUser(params *GetDomainsByUserParams, authInfo runti } /* -GetEmailVerificationLink gets the verification link for the given unverified email + GetEmailVerificationLink gets the verification link for the given unverified email -Returns the link needed to verify ownership of the provided email address, if it exists and is unverified. Only available to superusers. + Returns the link needed to verify ownership of the provided email address, if it exists and is unverified. Only available to superusers. */ func (a *Client) GetEmailVerificationLink(params *GetEmailVerificationLinkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEmailVerificationLinkOK, error) { // TODO: Validate the params before sending @@ -360,9 +360,9 @@ func (a *Client) GetEmailVerificationLink(params *GetEmailVerificationLinkParams } /* -GetEmailsByUser retrieves a user s emails + GetEmailsByUser retrieves a user s emails -Return a list of emails matching username + Return a list of emails matching username */ func (a *Client) GetEmailsByUser(params *GetEmailsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEmailsByUserOK, error) { // TODO: Validate the params before sending @@ -401,9 +401,9 @@ func (a *Client) GetEmailsByUser(params *GetEmailsByUserParams, authInfo runtime } /* -GetInvitationByCode returns the invitation with the corresponding code + GetInvitationByCode returns the invitation with the corresponding code -Returns the invitation with the corresponding code + Returns the invitation with the corresponding code */ func (a *Client) GetInvitationByCode(params *GetInvitationByCodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvitationByCodeOK, error) { // TODO: Validate the params before sending @@ -442,9 +442,9 @@ func (a *Client) GetInvitationByCode(params *GetInvitationByCodeParams, authInfo } /* -GetInvitationsByUser lists of pending invitations for the logged in user + GetInvitationsByUser lists of pending invitations for the logged in user -Has this user been invited to any organizations + Has this user been invited to any organizations */ func (a *Client) GetInvitationsByUser(params *GetInvitationsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvitationsByUserOK, error) { // TODO: Validate the params before sending @@ -483,9 +483,9 @@ func (a *Client) GetInvitationsByUser(params *GetInvitationsByUserParams, authIn } /* -GetUser retrieves a user record + GetUser retrieves a user record -Return a specific user matching username + Return a specific user matching username */ func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error) { // TODO: Validate the params before sending @@ -524,9 +524,9 @@ func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoW } /* -GetUserByID retrieves a user record by their user ID + GetUserByID retrieves a user record by their user ID -Return a specific user matching user ID + Return a specific user matching user ID */ func (a *Client) GetUserByID(params *GetUserByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserByIDOK, error) { // TODO: Validate the params before sending @@ -565,9 +565,9 @@ func (a *Client) GetUserByID(params *GetUserByIDParams, authInfo runtime.ClientA } /* -ListInvitations lists of pending invitations for an email address + ListInvitations lists of pending invitations for an email address -Has this email address been invited to any organizations + Has this email address been invited to any organizations */ func (a *Client) ListInvitations(params *ListInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInvitationsOK, error) { // TODO: Validate the params before sending @@ -606,9 +606,9 @@ func (a *Client) ListInvitations(params *ListInvitationsParams, authInfo runtime } /* -ListUsers lists of visible users + ListUsers lists of visible users -Retrieve all users from the system that the user has access to + Retrieve all users from the system that the user has access to */ func (a *Client) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersOK, error) { // TODO: Validate the params before sending @@ -647,7 +647,7 @@ func (a *Client) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthI } /* -SearchEmails Search for users by email address, requires superuser + SearchEmails Search for users by email address, requires superuser */ func (a *Client) SearchEmails(params *SearchEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchEmailsOK, error) { // TODO: Validate the params before sending @@ -686,7 +686,7 @@ func (a *Client) SearchEmails(params *SearchEmailsParams, authInfo runtime.Clien } /* -SearchUsernames Search for users, requires superuser + SearchUsernames Search for users, requires superuser */ func (a *Client) SearchUsernames(params *SearchUsernamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchUsernamesOK, error) { // TODO: Validate the params before sending @@ -725,9 +725,9 @@ func (a *Client) SearchUsernames(params *SearchUsernamesParams, authInfo runtime } /* -SendEmailVerification sends a verification email to user + SendEmailVerification sends a verification email to user -Send a verification email to user + Send a verification email to user */ func (a *Client) SendEmailVerification(params *SendEmailVerificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendEmailVerificationOK, error) { // TODO: Validate the params before sending @@ -766,9 +766,9 @@ func (a *Client) SendEmailVerification(params *SendEmailVerificationParams, auth } /* -SetPreferredEmail updates preferred email + SetPreferredEmail updates preferred email -Update preferred email + Update preferred email */ func (a *Client) SetPreferredEmail(params *SetPreferredEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetPreferredEmailOK, error) { // TODO: Validate the params before sending @@ -807,9 +807,9 @@ func (a *Client) SetPreferredEmail(params *SetPreferredEmailParams, authInfo run } /* -UniqueUsername checks if a username is already taken in the system + UniqueUsername checks if a username is already taken in the system -Is the supplied username already assigned + Is the supplied username already assigned */ func (a *Client) UniqueUsername(params *UniqueUsernameParams, opts ...ClientOption) (*UniqueUsernameOK, error) { // TODO: Validate the params before sending @@ -847,9 +847,9 @@ func (a *Client) UniqueUsername(params *UniqueUsernameParams, opts ...ClientOpti } /* -VerifyEmail verifies the designated email + VerifyEmail verifies the designated email -Verify the designated email + Verify the designated email */ func (a *Client) VerifyEmail(params *VerifyEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyEmailOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/users/verify_email_parameters.go b/pkg/platform/api/mono/mono_client/users/verify_email_parameters.go index 40eadfc02a..28677388b5 100644 --- a/pkg/platform/api/mono/mono_client/users/verify_email_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/verify_email_parameters.go @@ -52,12 +52,10 @@ func NewVerifyEmailParamsWithHTTPClient(client *http.Client) *VerifyEmailParams } } -/* -VerifyEmailParams contains all the parameters to send to the API endpoint +/* VerifyEmailParams contains all the parameters to send to the API endpoint + for the verify email operation. - for the verify email operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type VerifyEmailParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/verify_email_responses.go b/pkg/platform/api/mono/mono_client/users/verify_email_responses.go index 9bfa2275df..ba81a2ce49 100644 --- a/pkg/platform/api/mono/mono_client/users/verify_email_responses.go +++ b/pkg/platform/api/mono/mono_client/users/verify_email_responses.go @@ -63,8 +63,7 @@ func NewVerifyEmailOK() *VerifyEmailOK { return &VerifyEmailOK{} } -/* -VerifyEmailOK describes a response with status code 200, with default header values. +/* VerifyEmailOK describes a response with status code 200, with default header values. Email updated */ @@ -96,8 +95,7 @@ func NewVerifyEmailBadRequest() *VerifyEmailBadRequest { return &VerifyEmailBadRequest{} } -/* -VerifyEmailBadRequest describes a response with status code 400, with default header values. +/* VerifyEmailBadRequest describes a response with status code 400, with default header values. Invalid Code */ @@ -129,8 +127,7 @@ func NewVerifyEmailForbidden() *VerifyEmailForbidden { return &VerifyEmailForbidden{} } -/* -VerifyEmailForbidden describes a response with status code 403, with default header values. +/* VerifyEmailForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -162,8 +159,7 @@ func NewVerifyEmailNotFound() *VerifyEmailNotFound { return &VerifyEmailNotFound{} } -/* -VerifyEmailNotFound describes a response with status code 404, with default header values. +/* VerifyEmailNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewVerifyEmailInternalServerError() *VerifyEmailInternalServerError { return &VerifyEmailInternalServerError{} } -/* -VerifyEmailInternalServerError describes a response with status code 500, with default header values. +/* VerifyEmailInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/add_commit_parameters.go b/pkg/platform/api/mono/mono_client/version_control/add_commit_parameters.go index 2a4c26e6ec..bc5e28cc9d 100644 --- a/pkg/platform/api/mono/mono_client/version_control/add_commit_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/add_commit_parameters.go @@ -54,12 +54,10 @@ func NewAddCommitParamsWithHTTPClient(client *http.Client) *AddCommitParams { } } -/* -AddCommitParams contains all the parameters to send to the API endpoint +/* AddCommitParams contains all the parameters to send to the API endpoint + for the add commit operation. - for the add commit operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddCommitParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/add_commit_responses.go b/pkg/platform/api/mono/mono_client/version_control/add_commit_responses.go index 4014d440f3..478c7e7bca 100644 --- a/pkg/platform/api/mono/mono_client/version_control/add_commit_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/add_commit_responses.go @@ -69,8 +69,7 @@ func NewAddCommitOK() *AddCommitOK { return &AddCommitOK{} } -/* -AddCommitOK describes a response with status code 200, with default header values. +/* AddCommitOK describes a response with status code 200, with default header values. Create a new commit */ @@ -102,8 +101,7 @@ func NewAddCommitBadRequest() *AddCommitBadRequest { return &AddCommitBadRequest{} } -/* -AddCommitBadRequest describes a response with status code 400, with default header values. +/* AddCommitBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,8 +133,7 @@ func NewAddCommitForbidden() *AddCommitForbidden { return &AddCommitForbidden{} } -/* -AddCommitForbidden describes a response with status code 403, with default header values. +/* AddCommitForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -168,8 +165,7 @@ func NewAddCommitNotFound() *AddCommitNotFound { return &AddCommitNotFound{} } -/* -AddCommitNotFound describes a response with status code 404, with default header values. +/* AddCommitNotFound describes a response with status code 404, with default header values. branch was not found */ @@ -201,8 +197,7 @@ func NewAddCommitConflict() *AddCommitConflict { return &AddCommitConflict{} } -/* -AddCommitConflict describes a response with status code 409, with default header values. +/* AddCommitConflict describes a response with status code 409, with default header values. Commit changes conflict with checkpoint */ @@ -234,8 +229,7 @@ func NewAddCommitInternalServerError() *AddCommitInternalServerError { return &AddCommitInternalServerError{} } -/* -AddCommitInternalServerError describes a response with status code 500, with default header values. +/* AddCommitInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/add_tag_parameters.go b/pkg/platform/api/mono/mono_client/version_control/add_tag_parameters.go index 109a35396d..ebbac0233a 100644 --- a/pkg/platform/api/mono/mono_client/version_control/add_tag_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/add_tag_parameters.go @@ -54,12 +54,10 @@ func NewAddTagParamsWithHTTPClient(client *http.Client) *AddTagParams { } } -/* -AddTagParams contains all the parameters to send to the API endpoint +/* AddTagParams contains all the parameters to send to the API endpoint + for the add tag operation. - for the add tag operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type AddTagParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/add_tag_responses.go b/pkg/platform/api/mono/mono_client/version_control/add_tag_responses.go index 5357ea6294..159bee1f3c 100644 --- a/pkg/platform/api/mono/mono_client/version_control/add_tag_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/add_tag_responses.go @@ -69,8 +69,7 @@ func NewAddTagOK() *AddTagOK { return &AddTagOK{} } -/* -AddTagOK describes a response with status code 200, with default header values. +/* AddTagOK describes a response with status code 200, with default header values. Success */ @@ -102,8 +101,7 @@ func NewAddTagBadRequest() *AddTagBadRequest { return &AddTagBadRequest{} } -/* -AddTagBadRequest describes a response with status code 400, with default header values. +/* AddTagBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,8 +133,7 @@ func NewAddTagForbidden() *AddTagForbidden { return &AddTagForbidden{} } -/* -AddTagForbidden describes a response with status code 403, with default header values. +/* AddTagForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -168,8 +165,7 @@ func NewAddTagNotFound() *AddTagNotFound { return &AddTagNotFound{} } -/* -AddTagNotFound describes a response with status code 404, with default header values. +/* AddTagNotFound describes a response with status code 404, with default header values. Not Found */ @@ -201,8 +197,7 @@ func NewAddTagConflict() *AddTagConflict { return &AddTagConflict{} } -/* -AddTagConflict describes a response with status code 409, with default header values. +/* AddTagConflict describes a response with status code 409, with default header values. Conflict */ @@ -234,8 +229,7 @@ func NewAddTagInternalServerError() *AddTagInternalServerError { return &AddTagInternalServerError{} } -/* -AddTagInternalServerError describes a response with status code 500, with default header values. +/* AddTagInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/delete_branch_parameters.go b/pkg/platform/api/mono/mono_client/version_control/delete_branch_parameters.go index ebe21be2a1..4c96212ee8 100644 --- a/pkg/platform/api/mono/mono_client/version_control/delete_branch_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/delete_branch_parameters.go @@ -52,12 +52,10 @@ func NewDeleteBranchParamsWithHTTPClient(client *http.Client) *DeleteBranchParam } } -/* -DeleteBranchParams contains all the parameters to send to the API endpoint +/* DeleteBranchParams contains all the parameters to send to the API endpoint + for the delete branch operation. - for the delete branch operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type DeleteBranchParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/delete_branch_responses.go b/pkg/platform/api/mono/mono_client/version_control/delete_branch_responses.go index 5b97427b70..e0e42b7048 100644 --- a/pkg/platform/api/mono/mono_client/version_control/delete_branch_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/delete_branch_responses.go @@ -57,8 +57,7 @@ func NewDeleteBranchOK() *DeleteBranchOK { return &DeleteBranchOK{} } -/* -DeleteBranchOK describes a response with status code 200, with default header values. +/* DeleteBranchOK describes a response with status code 200, with default header values. Branch deleted successfully */ @@ -90,8 +89,7 @@ func NewDeleteBranchForbidden() *DeleteBranchForbidden { return &DeleteBranchForbidden{} } -/* -DeleteBranchForbidden describes a response with status code 403, with default header values. +/* DeleteBranchForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -123,8 +121,7 @@ func NewDeleteBranchNotFound() *DeleteBranchNotFound { return &DeleteBranchNotFound{} } -/* -DeleteBranchNotFound describes a response with status code 404, with default header values. +/* DeleteBranchNotFound describes a response with status code 404, with default header values. branch was not found */ @@ -156,8 +153,7 @@ func NewDeleteBranchInternalServerError() *DeleteBranchInternalServerError { return &DeleteBranchInternalServerError{} } -/* -DeleteBranchInternalServerError describes a response with status code 500, with default header values. +/* DeleteBranchInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/edit_tag_parameters.go b/pkg/platform/api/mono/mono_client/version_control/edit_tag_parameters.go index e0a137bd1d..1046e622e1 100644 --- a/pkg/platform/api/mono/mono_client/version_control/edit_tag_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/edit_tag_parameters.go @@ -54,12 +54,10 @@ func NewEditTagParamsWithHTTPClient(client *http.Client) *EditTagParams { } } -/* -EditTagParams contains all the parameters to send to the API endpoint +/* EditTagParams contains all the parameters to send to the API endpoint + for the edit tag operation. - for the edit tag operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type EditTagParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/edit_tag_responses.go b/pkg/platform/api/mono/mono_client/version_control/edit_tag_responses.go index 9605574841..8f2a24933c 100644 --- a/pkg/platform/api/mono/mono_client/version_control/edit_tag_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/edit_tag_responses.go @@ -69,8 +69,7 @@ func NewEditTagOK() *EditTagOK { return &EditTagOK{} } -/* -EditTagOK describes a response with status code 200, with default header values. +/* EditTagOK describes a response with status code 200, with default header values. Success */ @@ -102,8 +101,7 @@ func NewEditTagBadRequest() *EditTagBadRequest { return &EditTagBadRequest{} } -/* -EditTagBadRequest describes a response with status code 400, with default header values. +/* EditTagBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,8 +133,7 @@ func NewEditTagForbidden() *EditTagForbidden { return &EditTagForbidden{} } -/* -EditTagForbidden describes a response with status code 403, with default header values. +/* EditTagForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -168,8 +165,7 @@ func NewEditTagNotFound() *EditTagNotFound { return &EditTagNotFound{} } -/* -EditTagNotFound describes a response with status code 404, with default header values. +/* EditTagNotFound describes a response with status code 404, with default header values. Not Found */ @@ -201,8 +197,7 @@ func NewEditTagConflict() *EditTagConflict { return &EditTagConflict{} } -/* -EditTagConflict describes a response with status code 409, with default header values. +/* EditTagConflict describes a response with status code 409, with default header values. Conflict */ @@ -234,8 +229,7 @@ func NewEditTagInternalServerError() *EditTagInternalServerError { return &EditTagInternalServerError{} } -/* -EditTagInternalServerError describes a response with status code 500, with default header values. +/* EditTagInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_branch_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_branch_parameters.go index d6264013a4..15fb655384 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_branch_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_branch_parameters.go @@ -52,12 +52,10 @@ func NewGetBranchParamsWithHTTPClient(client *http.Client) *GetBranchParams { } } -/* -GetBranchParams contains all the parameters to send to the API endpoint +/* GetBranchParams contains all the parameters to send to the API endpoint + for the get branch operation. - for the get branch operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetBranchParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_branch_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_branch_responses.go index ed8edef24a..2d905b72ef 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_branch_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_branch_responses.go @@ -45,8 +45,7 @@ func NewGetBranchOK() *GetBranchOK { return &GetBranchOK{} } -/* -GetBranchOK describes a response with status code 200, with default header values. +/* GetBranchOK describes a response with status code 200, with default header values. Get details about the branch */ @@ -78,8 +77,7 @@ func NewGetBranchNotFound() *GetBranchNotFound { return &GetBranchNotFound{} } -/* -GetBranchNotFound describes a response with status code 404, with default header values. +/* GetBranchNotFound describes a response with status code 404, with default header values. branch was not found */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_parameters.go index 592a92eb1c..9b29d3afef 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_parameters.go @@ -52,12 +52,10 @@ func NewGetCheckpointParamsWithHTTPClient(client *http.Client) *GetCheckpointPar } } -/* -GetCheckpointParams contains all the parameters to send to the API endpoint +/* GetCheckpointParams contains all the parameters to send to the API endpoint + for the get checkpoint operation. - for the get checkpoint operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetCheckpointParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_responses.go index 2705d342e0..f5b0f00e5f 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_responses.go @@ -57,8 +57,7 @@ func NewGetCheckpointOK() *GetCheckpointOK { return &GetCheckpointOK{} } -/* -GetCheckpointOK describes a response with status code 200, with default header values. +/* GetCheckpointOK describes a response with status code 200, with default header values. Get the checkpoint for the given commit */ @@ -88,8 +87,7 @@ func NewGetCheckpointForbidden() *GetCheckpointForbidden { return &GetCheckpointForbidden{} } -/* -GetCheckpointForbidden describes a response with status code 403, with default header values. +/* GetCheckpointForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,8 +119,7 @@ func NewGetCheckpointNotFound() *GetCheckpointNotFound { return &GetCheckpointNotFound{} } -/* -GetCheckpointNotFound describes a response with status code 404, with default header values. +/* GetCheckpointNotFound describes a response with status code 404, with default header values. checkpoint was not found */ @@ -154,8 +151,7 @@ func NewGetCheckpointInternalServerError() *GetCheckpointInternalServerError { return &GetCheckpointInternalServerError{} } -/* -GetCheckpointInternalServerError describes a response with status code 500, with default header values. +/* GetCheckpointInternalServerError describes a response with status code 500, with default header values. error retrieving checkpoint */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_commit_history_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_commit_history_parameters.go index f0c4ae8bf9..afa9d8bcb9 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_commit_history_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_commit_history_parameters.go @@ -53,12 +53,10 @@ func NewGetCommitHistoryParamsWithHTTPClient(client *http.Client) *GetCommitHist } } -/* -GetCommitHistoryParams contains all the parameters to send to the API endpoint +/* GetCommitHistoryParams contains all the parameters to send to the API endpoint + for the get commit history operation. - for the get commit history operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetCommitHistoryParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_commit_history_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_commit_history_responses.go index 941f7c3d7f..c8888fb470 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_commit_history_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_commit_history_responses.go @@ -57,8 +57,7 @@ func NewGetCommitHistoryOK() *GetCommitHistoryOK { return &GetCommitHistoryOK{} } -/* -GetCommitHistoryOK describes a response with status code 200, with default header values. +/* GetCommitHistoryOK describes a response with status code 200, with default header values. Get commit history starting from the given commit */ @@ -90,8 +89,7 @@ func NewGetCommitHistoryForbidden() *GetCommitHistoryForbidden { return &GetCommitHistoryForbidden{} } -/* -GetCommitHistoryForbidden describes a response with status code 403, with default header values. +/* GetCommitHistoryForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -123,8 +121,7 @@ func NewGetCommitHistoryNotFound() *GetCommitHistoryNotFound { return &GetCommitHistoryNotFound{} } -/* -GetCommitHistoryNotFound describes a response with status code 404, with default header values. +/* GetCommitHistoryNotFound describes a response with status code 404, with default header values. commit was not found */ @@ -156,8 +153,7 @@ func NewGetCommitHistoryInternalServerError() *GetCommitHistoryInternalServerErr return &GetCommitHistoryInternalServerError{} } -/* -GetCommitHistoryInternalServerError describes a response with status code 500, with default header values. +/* GetCommitHistoryInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_commit_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_commit_parameters.go index 080151f54f..130e266cc0 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_commit_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_commit_parameters.go @@ -52,12 +52,10 @@ func NewGetCommitParamsWithHTTPClient(client *http.Client) *GetCommitParams { } } -/* -GetCommitParams contains all the parameters to send to the API endpoint +/* GetCommitParams contains all the parameters to send to the API endpoint + for the get commit operation. - for the get commit operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetCommitParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_commit_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_commit_responses.go index d91dd7b88a..1851f24565 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_commit_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_commit_responses.go @@ -57,8 +57,7 @@ func NewGetCommitOK() *GetCommitOK { return &GetCommitOK{} } -/* -GetCommitOK describes a response with status code 200, with default header values. +/* GetCommitOK describes a response with status code 200, with default header values. Get commit details */ @@ -90,8 +89,7 @@ func NewGetCommitForbidden() *GetCommitForbidden { return &GetCommitForbidden{} } -/* -GetCommitForbidden describes a response with status code 403, with default header values. +/* GetCommitForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -123,8 +121,7 @@ func NewGetCommitNotFound() *GetCommitNotFound { return &GetCommitNotFound{} } -/* -GetCommitNotFound describes a response with status code 404, with default header values. +/* GetCommitNotFound describes a response with status code 404, with default header values. commit was not found */ @@ -156,8 +153,7 @@ func NewGetCommitInternalServerError() *GetCommitInternalServerError { return &GetCommitInternalServerError{} } -/* -GetCommitInternalServerError describes a response with status code 500, with default header values. +/* GetCommitInternalServerError describes a response with status code 500, with default header values. error retrieving commit */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_parameters.go index 4e1e19a3ec..4337fda384 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_parameters.go @@ -52,12 +52,10 @@ func NewGetHARepoParamsWithHTTPClient(client *http.Client) *GetHARepoParams { } } -/* -GetHARepoParams contains all the parameters to send to the API endpoint +/* GetHARepoParams contains all the parameters to send to the API endpoint + for the get h a repo operation. - for the get h a repo operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetHARepoParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_responses.go index a63434d288..edc6d0b30b 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_responses.go @@ -63,8 +63,7 @@ func NewGetHARepoOK() *GetHARepoOK { return &GetHARepoOK{} } -/* -GetHARepoOK describes a response with status code 200, with default header values. +/* GetHARepoOK describes a response with status code 200, with default header values. Success */ @@ -96,8 +95,7 @@ func NewGetHARepoBadRequest() *GetHARepoBadRequest { return &GetHARepoBadRequest{} } -/* -GetHARepoBadRequest describes a response with status code 400, with default header values. +/* GetHARepoBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,8 +127,7 @@ func NewGetHARepoForbidden() *GetHARepoForbidden { return &GetHARepoForbidden{} } -/* -GetHARepoForbidden describes a response with status code 403, with default header values. +/* GetHARepoForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -162,8 +159,7 @@ func NewGetHARepoNotFound() *GetHARepoNotFound { return &GetHARepoNotFound{} } -/* -GetHARepoNotFound describes a response with status code 404, with default header values. +/* GetHARepoNotFound describes a response with status code 404, with default header values. Not Found */ @@ -195,8 +191,7 @@ func NewGetHARepoInternalServerError() *GetHARepoInternalServerError { return &GetHARepoInternalServerError{} } -/* -GetHARepoInternalServerError describes a response with status code 500, with default header values. +/* GetHARepoInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_parameters.go index ce16b474d9..20db41fb39 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_parameters.go @@ -54,12 +54,10 @@ func NewGetOrderFromCheckpointParamsWithHTTPClient(client *http.Client) *GetOrde } } -/* -GetOrderFromCheckpointParams contains all the parameters to send to the API endpoint +/* GetOrderFromCheckpointParams contains all the parameters to send to the API endpoint + for the get order from checkpoint operation. - for the get order from checkpoint operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOrderFromCheckpointParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_responses.go index ef07730d3f..7c3d0ee4aa 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_responses.go @@ -45,8 +45,7 @@ func NewGetOrderFromCheckpointOK() *GetOrderFromCheckpointOK { return &GetOrderFromCheckpointOK{} } -/* -GetOrderFromCheckpointOK describes a response with status code 200, with default header values. +/* GetOrderFromCheckpointOK describes a response with status code 200, with default header values. Generate a solver order for the provided checkpoint data */ @@ -78,8 +77,7 @@ func NewGetOrderFromCheckpointInternalServerError() *GetOrderFromCheckpointInter return &GetOrderFromCheckpointInternalServerError{} } -/* -GetOrderFromCheckpointInternalServerError describes a response with status code 500, with default header values. +/* GetOrderFromCheckpointInternalServerError describes a response with status code 500, with default header values. Error generating order */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_order_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_order_parameters.go index 57e6999e64..0972fac379 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_order_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_order_parameters.go @@ -52,12 +52,10 @@ func NewGetOrderParamsWithHTTPClient(client *http.Client) *GetOrderParams { } } -/* -GetOrderParams contains all the parameters to send to the API endpoint +/* GetOrderParams contains all the parameters to send to the API endpoint + for the get order operation. - for the get order operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetOrderParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_order_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_order_responses.go index 963a09163b..fda870a4b3 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_order_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_order_responses.go @@ -57,8 +57,7 @@ func NewGetOrderOK() *GetOrderOK { return &GetOrderOK{} } -/* -GetOrderOK describes a response with status code 200, with default header values. +/* GetOrderOK describes a response with status code 200, with default header values. Get the solver order for the given commit */ @@ -90,8 +89,7 @@ func NewGetOrderForbidden() *GetOrderForbidden { return &GetOrderForbidden{} } -/* -GetOrderForbidden describes a response with status code 403, with default header values. +/* GetOrderForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -123,8 +121,7 @@ func NewGetOrderNotFound() *GetOrderNotFound { return &GetOrderNotFound{} } -/* -GetOrderNotFound describes a response with status code 404, with default header values. +/* GetOrderNotFound describes a response with status code 404, with default header values. order was not found */ @@ -156,8 +153,7 @@ func NewGetOrderInternalServerError() *GetOrderInternalServerError { return &GetOrderInternalServerError{} } -/* -GetOrderInternalServerError describes a response with status code 500, with default header values. +/* GetOrderInternalServerError describes a response with status code 500, with default header values. error retrieving order */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_parameters.go index 930c9a4008..2b3228dde2 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_parameters.go @@ -52,12 +52,10 @@ func NewGetRevertCommitParamsWithHTTPClient(client *http.Client) *GetRevertCommi } } -/* -GetRevertCommitParams contains all the parameters to send to the API endpoint +/* GetRevertCommitParams contains all the parameters to send to the API endpoint + for the get revert commit operation. - for the get revert commit operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetRevertCommitParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_responses.go index 420b5454e9..6267a43f04 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_responses.go @@ -57,8 +57,7 @@ func NewGetRevertCommitOK() *GetRevertCommitOK { return &GetRevertCommitOK{} } -/* -GetRevertCommitOK describes a response with status code 200, with default header values. +/* GetRevertCommitOK describes a response with status code 200, with default header values. Calculate a revert commit */ @@ -90,8 +89,7 @@ func NewGetRevertCommitForbidden() *GetRevertCommitForbidden { return &GetRevertCommitForbidden{} } -/* -GetRevertCommitForbidden describes a response with status code 403, with default header values. +/* GetRevertCommitForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -123,8 +121,7 @@ func NewGetRevertCommitNotFound() *GetRevertCommitNotFound { return &GetRevertCommitNotFound{} } -/* -GetRevertCommitNotFound describes a response with status code 404, with default header values. +/* GetRevertCommitNotFound describes a response with status code 404, with default header values. commit was not found */ @@ -156,8 +153,7 @@ func NewGetRevertCommitInternalServerError() *GetRevertCommitInternalServerError return &GetRevertCommitInternalServerError{} } -/* -GetRevertCommitInternalServerError describes a response with status code 500, with default header values. +/* GetRevertCommitInternalServerError describes a response with status code 500, with default header values. error calculating commit */ diff --git a/pkg/platform/api/mono/mono_client/version_control/merge_branch_parameters.go b/pkg/platform/api/mono/mono_client/version_control/merge_branch_parameters.go index c1782a17d5..3921d53a9c 100644 --- a/pkg/platform/api/mono/mono_client/version_control/merge_branch_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/merge_branch_parameters.go @@ -52,12 +52,10 @@ func NewMergeBranchParamsWithHTTPClient(client *http.Client) *MergeBranchParams } } -/* -MergeBranchParams contains all the parameters to send to the API endpoint +/* MergeBranchParams contains all the parameters to send to the API endpoint + for the merge branch operation. - for the merge branch operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type MergeBranchParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/merge_branch_responses.go b/pkg/platform/api/mono/mono_client/version_control/merge_branch_responses.go index 29cc1fdb46..3db59e6979 100644 --- a/pkg/platform/api/mono/mono_client/version_control/merge_branch_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/merge_branch_responses.go @@ -69,8 +69,7 @@ func NewMergeBranchOK() *MergeBranchOK { return &MergeBranchOK{} } -/* -MergeBranchOK describes a response with status code 200, with default header values. +/* MergeBranchOK describes a response with status code 200, with default header values. Merge the branch with the branch it was forked from using the given strategy or preview options */ @@ -102,8 +101,7 @@ func NewMergeBranchBadRequest() *MergeBranchBadRequest { return &MergeBranchBadRequest{} } -/* -MergeBranchBadRequest describes a response with status code 400, with default header values. +/* MergeBranchBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,8 +133,7 @@ func NewMergeBranchForbidden() *MergeBranchForbidden { return &MergeBranchForbidden{} } -/* -MergeBranchForbidden describes a response with status code 403, with default header values. +/* MergeBranchForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -168,8 +165,7 @@ func NewMergeBranchNotFound() *MergeBranchNotFound { return &MergeBranchNotFound{} } -/* -MergeBranchNotFound describes a response with status code 404, with default header values. +/* MergeBranchNotFound describes a response with status code 404, with default header values. branch was not found */ @@ -201,8 +197,7 @@ func NewMergeBranchConflict() *MergeBranchConflict { return &MergeBranchConflict{} } -/* -MergeBranchConflict describes a response with status code 409, with default header values. +/* MergeBranchConflict describes a response with status code 409, with default header values. Conflict */ @@ -234,8 +229,7 @@ func NewMergeBranchInternalServerError() *MergeBranchInternalServerError { return &MergeBranchInternalServerError{} } -/* -MergeBranchInternalServerError describes a response with status code 500, with default header values. +/* MergeBranchInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/merge_commits_parameters.go b/pkg/platform/api/mono/mono_client/version_control/merge_commits_parameters.go index d4c84d4ec9..f2cf1e2cb4 100644 --- a/pkg/platform/api/mono/mono_client/version_control/merge_commits_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/merge_commits_parameters.go @@ -52,12 +52,10 @@ func NewMergeCommitsParamsWithHTTPClient(client *http.Client) *MergeCommitsParam } } -/* -MergeCommitsParams contains all the parameters to send to the API endpoint +/* MergeCommitsParams contains all the parameters to send to the API endpoint + for the merge commits operation. - for the merge commits operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type MergeCommitsParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/merge_commits_responses.go b/pkg/platform/api/mono/mono_client/version_control/merge_commits_responses.go index 43db4622b9..faa6231526 100644 --- a/pkg/platform/api/mono/mono_client/version_control/merge_commits_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/merge_commits_responses.go @@ -75,8 +75,7 @@ func NewMergeCommitsOK() *MergeCommitsOK { return &MergeCommitsOK{} } -/* -MergeCommitsOK describes a response with status code 200, with default header values. +/* MergeCommitsOK describes a response with status code 200, with default header values. Merge the commit with the given commit */ @@ -108,8 +107,7 @@ func NewMergeCommitsNoContent() *MergeCommitsNoContent { return &MergeCommitsNoContent{} } -/* -MergeCommitsNoContent describes a response with status code 204, with default header values. +/* MergeCommitsNoContent describes a response with status code 204, with default header values. No merge required */ @@ -141,8 +139,7 @@ func NewMergeCommitsBadRequest() *MergeCommitsBadRequest { return &MergeCommitsBadRequest{} } -/* -MergeCommitsBadRequest describes a response with status code 400, with default header values. +/* MergeCommitsBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -174,8 +171,7 @@ func NewMergeCommitsForbidden() *MergeCommitsForbidden { return &MergeCommitsForbidden{} } -/* -MergeCommitsForbidden describes a response with status code 403, with default header values. +/* MergeCommitsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -207,8 +203,7 @@ func NewMergeCommitsNotFound() *MergeCommitsNotFound { return &MergeCommitsNotFound{} } -/* -MergeCommitsNotFound describes a response with status code 404, with default header values. +/* MergeCommitsNotFound describes a response with status code 404, with default header values. One of the commits was not found */ @@ -240,8 +235,7 @@ func NewMergeCommitsConflict() *MergeCommitsConflict { return &MergeCommitsConflict{} } -/* -MergeCommitsConflict describes a response with status code 409, with default header values. +/* MergeCommitsConflict describes a response with status code 409, with default header values. Conflict. Specifically due to commitWithChanges being in the history of commitReceivingChanges. */ @@ -273,8 +267,7 @@ func NewMergeCommitsInternalServerError() *MergeCommitsInternalServerError { return &MergeCommitsInternalServerError{} } -/* -MergeCommitsInternalServerError describes a response with status code 500, with default header values. +/* MergeCommitsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/remove_tag_parameters.go b/pkg/platform/api/mono/mono_client/version_control/remove_tag_parameters.go index 0433641f71..baa92b4d96 100644 --- a/pkg/platform/api/mono/mono_client/version_control/remove_tag_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/remove_tag_parameters.go @@ -52,12 +52,10 @@ func NewRemoveTagParamsWithHTTPClient(client *http.Client) *RemoveTagParams { } } -/* -RemoveTagParams contains all the parameters to send to the API endpoint +/* RemoveTagParams contains all the parameters to send to the API endpoint + for the remove tag operation. - for the remove tag operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type RemoveTagParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/remove_tag_responses.go b/pkg/platform/api/mono/mono_client/version_control/remove_tag_responses.go index c701e8581a..fb5f8ccab5 100644 --- a/pkg/platform/api/mono/mono_client/version_control/remove_tag_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/remove_tag_responses.go @@ -69,8 +69,7 @@ func NewRemoveTagOK() *RemoveTagOK { return &RemoveTagOK{} } -/* -RemoveTagOK describes a response with status code 200, with default header values. +/* RemoveTagOK describes a response with status code 200, with default header values. Success */ @@ -102,8 +101,7 @@ func NewRemoveTagBadRequest() *RemoveTagBadRequest { return &RemoveTagBadRequest{} } -/* -RemoveTagBadRequest describes a response with status code 400, with default header values. +/* RemoveTagBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,8 +133,7 @@ func NewRemoveTagForbidden() *RemoveTagForbidden { return &RemoveTagForbidden{} } -/* -RemoveTagForbidden describes a response with status code 403, with default header values. +/* RemoveTagForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -168,8 +165,7 @@ func NewRemoveTagNotFound() *RemoveTagNotFound { return &RemoveTagNotFound{} } -/* -RemoveTagNotFound describes a response with status code 404, with default header values. +/* RemoveTagNotFound describes a response with status code 404, with default header values. Not Found */ @@ -201,8 +197,7 @@ func NewRemoveTagConflict() *RemoveTagConflict { return &RemoveTagConflict{} } -/* -RemoveTagConflict describes a response with status code 409, with default header values. +/* RemoveTagConflict describes a response with status code 409, with default header values. Conflict */ @@ -234,8 +229,7 @@ func NewRemoveTagInternalServerError() *RemoveTagInternalServerError { return &RemoveTagInternalServerError{} } -/* -RemoveTagInternalServerError describes a response with status code 500, with default header values. +/* RemoveTagInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/update_branch_parameters.go b/pkg/platform/api/mono/mono_client/version_control/update_branch_parameters.go index 5b77ea4145..97716b3ca1 100644 --- a/pkg/platform/api/mono/mono_client/version_control/update_branch_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/update_branch_parameters.go @@ -54,12 +54,10 @@ func NewUpdateBranchParamsWithHTTPClient(client *http.Client) *UpdateBranchParam } } -/* -UpdateBranchParams contains all the parameters to send to the API endpoint +/* UpdateBranchParams contains all the parameters to send to the API endpoint + for the update branch operation. - for the update branch operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type UpdateBranchParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/update_branch_responses.go b/pkg/platform/api/mono/mono_client/version_control/update_branch_responses.go index 45b704a171..bea18e723b 100644 --- a/pkg/platform/api/mono/mono_client/version_control/update_branch_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/update_branch_responses.go @@ -69,8 +69,7 @@ func NewUpdateBranchOK() *UpdateBranchOK { return &UpdateBranchOK{} } -/* -UpdateBranchOK describes a response with status code 200, with default header values. +/* UpdateBranchOK describes a response with status code 200, with default header values. Branch was updated, returns resulting branch */ @@ -102,8 +101,7 @@ func NewUpdateBranchBadRequest() *UpdateBranchBadRequest { return &UpdateBranchBadRequest{} } -/* -UpdateBranchBadRequest describes a response with status code 400, with default header values. +/* UpdateBranchBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,8 +133,7 @@ func NewUpdateBranchForbidden() *UpdateBranchForbidden { return &UpdateBranchForbidden{} } -/* -UpdateBranchForbidden describes a response with status code 403, with default header values. +/* UpdateBranchForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -168,8 +165,7 @@ func NewUpdateBranchNotFound() *UpdateBranchNotFound { return &UpdateBranchNotFound{} } -/* -UpdateBranchNotFound describes a response with status code 404, with default header values. +/* UpdateBranchNotFound describes a response with status code 404, with default header values. Branch Not Found */ @@ -201,8 +197,7 @@ func NewUpdateBranchConflict() *UpdateBranchConflict { return &UpdateBranchConflict{} } -/* -UpdateBranchConflict describes a response with status code 409, with default header values. +/* UpdateBranchConflict describes a response with status code 409, with default header values. Conflict */ @@ -234,8 +229,7 @@ func NewUpdateBranchInternalServerError() *UpdateBranchInternalServerError { return &UpdateBranchInternalServerError{} } -/* -UpdateBranchInternalServerError describes a response with status code 500, with default header values. +/* UpdateBranchInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/version_control_client.go b/pkg/platform/api/mono/mono_client/version_control/version_control_client.go index 434f9c1c0e..89e27ab144 100644 --- a/pkg/platform/api/mono/mono_client/version_control/version_control_client.go +++ b/pkg/platform/api/mono/mono_client/version_control/version_control_client.go @@ -66,7 +66,7 @@ type ClientService interface { } /* -AddCommit add commit API + AddCommit add commit API */ func (a *Client) AddCommit(params *AddCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCommitOK, error) { // TODO: Validate the params before sending @@ -105,9 +105,9 @@ func (a *Client) AddCommit(params *AddCommitParams, authInfo runtime.ClientAuthI } /* -AddTag adds tag + AddTag adds tag -Add a tag by org and project names + Add a tag by org and project names */ func (a *Client) AddTag(params *AddTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTagOK, error) { // TODO: Validate the params before sending @@ -146,7 +146,7 @@ func (a *Client) AddTag(params *AddTagParams, authInfo runtime.ClientAuthInfoWri } /* -DeleteBranch Delete the branch and all descendent forks that are of the same project. Removes 'tracks' and 'tracking_type' data from all descendent forks in different projects. + DeleteBranch Delete the branch and all descendent forks that are of the same project. Removes 'tracks' and 'tracking_type' data from all descendent forks in different projects. */ func (a *Client) DeleteBranch(params *DeleteBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBranchOK, error) { // TODO: Validate the params before sending @@ -185,9 +185,9 @@ func (a *Client) DeleteBranch(params *DeleteBranchParams, authInfo runtime.Clien } /* -EditTag edits tag + EditTag edits tag -Edit a tag by org and project names, and tag label + Edit a tag by org and project names, and tag label */ func (a *Client) EditTag(params *EditTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditTagOK, error) { // TODO: Validate the params before sending @@ -226,7 +226,7 @@ func (a *Client) EditTag(params *EditTagParams, authInfo runtime.ClientAuthInfoW } /* -GetBranch get branch API + GetBranch get branch API */ func (a *Client) GetBranch(params *GetBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBranchOK, error) { // TODO: Validate the params before sending @@ -265,7 +265,7 @@ func (a *Client) GetBranch(params *GetBranchParams, authInfo runtime.ClientAuthI } /* -GetCheckpoint get checkpoint API + GetCheckpoint get checkpoint API */ func (a *Client) GetCheckpoint(params *GetCheckpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCheckpointOK, error) { // TODO: Validate the params before sending @@ -304,7 +304,7 @@ func (a *Client) GetCheckpoint(params *GetCheckpointParams, authInfo runtime.Cli } /* -GetCommit get commit API + GetCommit get commit API */ func (a *Client) GetCommit(params *GetCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommitOK, error) { // TODO: Validate the params before sending @@ -343,7 +343,7 @@ func (a *Client) GetCommit(params *GetCommitParams, authInfo runtime.ClientAuthI } /* -GetCommitHistory get commit history API + GetCommitHistory get commit history API */ func (a *Client) GetCommitHistory(params *GetCommitHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommitHistoryOK, error) { // TODO: Validate the params before sending @@ -382,9 +382,9 @@ func (a *Client) GetCommitHistory(params *GetCommitHistoryParams, authInfo runti } /* -GetHARepo gets h a repo info + GetHARepo gets h a repo info -Get HARepo by org and project names and HARepo label + Get HARepo by org and project names and HARepo label */ func (a *Client) GetHARepo(params *GetHARepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHARepoOK, error) { // TODO: Validate the params before sending @@ -423,7 +423,7 @@ func (a *Client) GetHARepo(params *GetHARepoParams, authInfo runtime.ClientAuthI } /* -GetOrder get order API + GetOrder get order API */ func (a *Client) GetOrder(params *GetOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrderOK, error) { // TODO: Validate the params before sending @@ -462,7 +462,7 @@ func (a *Client) GetOrder(params *GetOrderParams, authInfo runtime.ClientAuthInf } /* -GetOrderFromCheckpoint get order from checkpoint API + GetOrderFromCheckpoint get order from checkpoint API */ func (a *Client) GetOrderFromCheckpoint(params *GetOrderFromCheckpointParams, opts ...ClientOption) (*GetOrderFromCheckpointOK, error) { // TODO: Validate the params before sending @@ -500,7 +500,7 @@ func (a *Client) GetOrderFromCheckpoint(params *GetOrderFromCheckpointParams, op } /* -GetRevertCommit get revert commit API + GetRevertCommit get revert commit API */ func (a *Client) GetRevertCommit(params *GetRevertCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRevertCommitOK, error) { // TODO: Validate the params before sending @@ -539,7 +539,7 @@ func (a *Client) GetRevertCommit(params *GetRevertCommitParams, authInfo runtime } /* -MergeBranch merge branch API + MergeBranch merge branch API */ func (a *Client) MergeBranch(params *MergeBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MergeBranchOK, error) { // TODO: Validate the params before sending @@ -578,7 +578,7 @@ func (a *Client) MergeBranch(params *MergeBranchParams, authInfo runtime.ClientA } /* -MergeCommits merge commits API + MergeCommits merge commits API */ func (a *Client) MergeCommits(params *MergeCommitsParams, opts ...ClientOption) (*MergeCommitsOK, *MergeCommitsNoContent, error) { // TODO: Validate the params before sending @@ -617,9 +617,9 @@ func (a *Client) MergeCommits(params *MergeCommitsParams, opts ...ClientOption) } /* -RemoveTag removes tag + RemoveTag removes tag -Remove a tag by org and project names, and tag label + Remove a tag by org and project names, and tag label */ func (a *Client) RemoveTag(params *RemoveTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTagOK, error) { // TODO: Validate the params before sending @@ -658,7 +658,7 @@ func (a *Client) RemoveTag(params *RemoveTagParams, authInfo runtime.ClientAuthI } /* -UpdateBranch update branch API + UpdateBranch update branch API */ func (a *Client) UpdateBranch(params *UpdateBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBranchOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_models/user.go b/pkg/platform/api/mono/mono_models/user.go index 6f0b481004..ed5d18c857 100644 --- a/pkg/platform/api/mono/mono_models/user.go +++ b/pkg/platform/api/mono/mono_models/user.go @@ -338,6 +338,10 @@ type UserOrganizationsItems0 struct { // u r lname URLname string `json:"URLname,omitempty"` + // created + // Format: date-time + Created strfmt.DateTime `json:"created,omitempty"` + // organization ID // Format: uuid OrganizationID strfmt.UUID `json:"organizationID,omitempty"` @@ -356,6 +360,10 @@ type UserOrganizationsItems0 struct { func (m *UserOrganizationsItems0) Validate(formats strfmt.Registry) error { var res []error + if err := m.validateCreated(formats); err != nil { + res = append(res, err) + } + if err := m.validateOrganizationID(formats); err != nil { res = append(res, err) } @@ -366,6 +374,18 @@ func (m *UserOrganizationsItems0) Validate(formats strfmt.Registry) error { return nil } +func (m *UserOrganizationsItems0) validateCreated(formats strfmt.Registry) error { + if swag.IsZero(m.Created) { // not required + return nil + } + + if err := validate.FormatOf("created", "body", "date-time", m.Created.String(), formats); err != nil { + return err + } + + return nil +} + func (m *UserOrganizationsItems0) validateOrganizationID(formats strfmt.Registry) error { if swag.IsZero(m.OrganizationID) { // not required return nil diff --git a/pkg/platform/api/svc/request/analytics.go b/pkg/platform/api/svc/request/analytics.go index 713ebd2b87..1f1f8e87d7 100644 --- a/pkg/platform/api/svc/request/analytics.go +++ b/pkg/platform/api/svc/request/analytics.go @@ -28,12 +28,12 @@ func (e *AnalyticsEvent) Query() string { }` } -func (e *AnalyticsEvent) Vars() map[string]interface{} { +func (e *AnalyticsEvent) Vars() (map[string]interface{}, error) { return map[string]interface{}{ "category": e.category, "action": e.action, "source": e.source, "label": e.label, "dimensionsJson": e.dimensionsJson, - } + }, nil } diff --git a/pkg/platform/api/svc/request/availableupdate.go b/pkg/platform/api/svc/request/availableupdate.go index 6fc88dd9c1..496c22fd3e 100644 --- a/pkg/platform/api/svc/request/availableupdate.go +++ b/pkg/platform/api/svc/request/availableupdate.go @@ -24,9 +24,9 @@ func (u *AvailableUpdate) Query() string { }` } -func (u *AvailableUpdate) Vars() map[string]interface{} { +func (u *AvailableUpdate) Vars() (map[string]interface{}, error) { return map[string]interface{}{ "desiredChannel": u.desiredChannel, "desiredVersion": u.desiredVersion, - } + }, nil } diff --git a/pkg/platform/api/svc/request/configchanged.go b/pkg/platform/api/svc/request/configchanged.go index d6f99c56fa..b3dd9df25d 100644 --- a/pkg/platform/api/svc/request/configchanged.go +++ b/pkg/platform/api/svc/request/configchanged.go @@ -5,7 +5,7 @@ type ConfigChanged struct { } func NewConfigChanged(key string) *ConfigChanged { - return &ConfigChanged{key} + return &ConfigChanged{key: key} } func (e *ConfigChanged) Query() string { @@ -16,6 +16,6 @@ func (e *ConfigChanged) Query() string { }` } -func (e *ConfigChanged) Vars() map[string]interface{} { - return map[string]interface{}{"key": e.key} +func (e *ConfigChanged) Vars() (map[string]interface{}, error) { + return map[string]interface{}{"key": e.key}, nil } diff --git a/pkg/platform/api/svc/request/deprecation.go b/pkg/platform/api/svc/request/deprecation.go new file mode 100644 index 0000000000..6a3a4b1d29 --- /dev/null +++ b/pkg/platform/api/svc/request/deprecation.go @@ -0,0 +1,23 @@ +package request + +type DeprecationRequest struct { +} + +func NewDeprecationRequest() *DeprecationRequest { + return &DeprecationRequest{} +} + +func (d *DeprecationRequest) Query() string { + return `query { + checkDeprecation { + version + date + dateReached + reason + } + }` +} + +func (d *DeprecationRequest) Vars() (map[string]interface{}, error) { + return nil, nil +} diff --git a/pkg/platform/api/svc/request/fetchlogtail.go b/pkg/platform/api/svc/request/fetchlogtail.go index db50f28ee4..ecf5efe695 100644 --- a/pkg/platform/api/svc/request/fetchlogtail.go +++ b/pkg/platform/api/svc/request/fetchlogtail.go @@ -1,6 +1,7 @@ package request -type FetchLogTail struct{} +type FetchLogTail struct { +} func NewFetchLogTail() *FetchLogTail { return &FetchLogTail{} @@ -12,6 +13,6 @@ func (r *FetchLogTail) Query() string { }` } -func (r *FetchLogTail) Vars() map[string]interface{} { - return nil +func (r *FetchLogTail) Vars() (map[string]interface{}, error) { + return nil, nil } diff --git a/pkg/platform/api/svc/request/messaging.go b/pkg/platform/api/svc/request/messaging.go index 71f251f24f..a762e924ee 100644 --- a/pkg/platform/api/svc/request/messaging.go +++ b/pkg/platform/api/svc/request/messaging.go @@ -23,9 +23,9 @@ func (m *MessagingRequest) Query() string { }` } -func (m *MessagingRequest) Vars() map[string]interface{} { +func (m *MessagingRequest) Vars() (map[string]interface{}, error) { return map[string]interface{}{ "command": m.command, "flags": m.flags, - } + }, nil } diff --git a/pkg/platform/api/svc/request/projects.go b/pkg/platform/api/svc/request/projects.go index db5b96222a..14f28bb4d5 100644 --- a/pkg/platform/api/svc/request/projects.go +++ b/pkg/platform/api/svc/request/projects.go @@ -1,6 +1,7 @@ package request -type LocalProjectsRequest struct{} +type LocalProjectsRequest struct { +} func NewLocalProjectsRequest() *LocalProjectsRequest { return &LocalProjectsRequest{} @@ -15,6 +16,6 @@ func (l *LocalProjectsRequest) Query() string { }` } -func (l *LocalProjectsRequest) Vars() map[string]interface{} { - return nil +func (l *LocalProjectsRequest) Vars() (map[string]interface{}, error) { + return nil, nil } diff --git a/pkg/platform/api/svc/request/reportrtusage.go b/pkg/platform/api/svc/request/reportrtusage.go index 027c04b6ca..c0eda69d2b 100644 --- a/pkg/platform/api/svc/request/reportrtusage.go +++ b/pkg/platform/api/svc/request/reportrtusage.go @@ -24,11 +24,11 @@ func (e *ReportRuntimeUsage) Query() string { }` } -func (e *ReportRuntimeUsage) Vars() map[string]interface{} { +func (e *ReportRuntimeUsage) Vars() (map[string]interface{}, error) { return map[string]interface{}{ "pid": e.pid, "exec": e.exec, "source": e.source, "dimensionsJson": e.dimensionsJson, - } + }, nil } diff --git a/pkg/platform/api/svc/request/version.go b/pkg/platform/api/svc/request/version.go index 7b1c1409fe..f1dd69232d 100644 --- a/pkg/platform/api/svc/request/version.go +++ b/pkg/platform/api/svc/request/version.go @@ -1,6 +1,7 @@ package request -type VersionRequest struct{} +type VersionRequest struct { +} func NewVersionRequest() *VersionRequest { return &VersionRequest{} @@ -20,6 +21,6 @@ func (v *VersionRequest) Query() string { }` } -func (v *VersionRequest) Vars() map[string]interface{} { - return nil +func (v *VersionRequest) Vars() (map[string]interface{}, error) { + return nil, nil } diff --git a/pkg/platform/model/inventory.go b/pkg/platform/model/inventory.go index 56182a5601..587889ba05 100644 --- a/pkg/platform/model/inventory.go +++ b/pkg/platform/model/inventory.go @@ -4,6 +4,7 @@ import ( "fmt" "strconv" "strings" + "time" "github.com/go-openapi/strfmt" @@ -25,6 +26,8 @@ func (e ErrNoMatchingPlatform) Error() string { return "no matching platform" } +type ErrSearch404 struct{ *locale.LocalizedError } + // IngredientAndVersion is a sane version of whatever the hell it is go-swagger thinks it's doing type IngredientAndVersion struct { *inventory_models.SearchIngredientsResponseItem @@ -41,14 +44,14 @@ var platformCache []*Platform // SearchIngredients will return all ingredients+ingredientVersions that fuzzily // match the ingredient name. -func SearchIngredients(namespace Namespace, name string, includeVersions bool) ([]*IngredientAndVersion, error) { - return searchIngredientsNamespace(namespace, name, includeVersions, false) +func SearchIngredients(namespace string, name string, includeVersions bool, ts *time.Time) ([]*IngredientAndVersion, error) { + return searchIngredientsNamespace(namespace, name, includeVersions, false, ts) } // SearchIngredientsStrict will return all ingredients+ingredientVersions that // strictly match the ingredient name. -func SearchIngredientsStrict(namespace Namespace, name string, caseSensitive bool, includeVersions bool) ([]*IngredientAndVersion, error) { - results, err := searchIngredientsNamespace(namespace, name, includeVersions, true) +func SearchIngredientsStrict(namespace string, name string, caseSensitive bool, includeVersions bool, ts *time.Time) ([]*IngredientAndVersion, error) { + results, err := searchIngredientsNamespace(namespace, name, includeVersions, true, ts) if err != nil { return nil, err } @@ -105,24 +108,28 @@ type ErrTooManyMatches struct { Query string } -func searchIngredientsNamespace(ns Namespace, name string, includeVersions bool, exactOnly bool) ([]*IngredientAndVersion, error) { +func searchIngredientsNamespace(ns string, name string, includeVersions bool, exactOnly bool, ts *time.Time) ([]*IngredientAndVersion, error) { limit := int64(100) offset := int64(0) client := inventory.Get() - namespace := ns.String() params := inventory_operations.NewSearchIngredientsParams() params.SetQ(&name) if exactOnly { params.SetExactOnly(&exactOnly) } - if ns.Type() != NamespaceBlank { - params.SetNamespaces(&namespace) + if ns != "" { + params.SetNamespaces(&ns) } params.SetLimit(&limit) params.SetHTTPClient(api.NewHTTPClient()) + if ts != nil { + dt := strfmt.DateTime(*ts) + params.SetStateAt(&dt) + } + var ingredients []*IngredientAndVersion var entries []*inventory_models.SearchIngredientsResponseItem for offset == 0 || len(entries) == int(limit) { @@ -135,7 +142,11 @@ func searchIngredientsNamespace(ns Namespace, name string, includeVersions bool, results, err := client.SearchIngredients(params, authentication.ClientAuth()) if err != nil { if sidErr, ok := err.(*inventory_operations.SearchIngredientsDefault); ok { - return nil, locale.NewError(*sidErr.Payload.Message) + errv := locale.NewError(*sidErr.Payload.Message) + if sidErr.Code() == 404 { + return nil, &ErrSearch404{errv} + } + return nil, errv } return nil, errs.Wrap(err, "SearchIngredients failed") } @@ -401,14 +412,14 @@ func FetchIngredientVersions(ingredientID *strfmt.UUID) ([]*inventory_models.Ing } // FetchLatestTimeStamp fetches the latest timestamp from the inventory service. -func FetchLatestTimeStamp() (*strfmt.DateTime, error) { +func FetchLatestTimeStamp() (time.Time, error) { client := inventory.Get() result, err := client.GetLatestTimestamp(inventory_operations.NewGetLatestTimestampParams()) if err != nil { - return nil, errs.Wrap(err, "GetLatestTimestamp failed") + return time.Now(), errs.Wrap(err, "GetLatestTimestamp failed") } - return result.Payload.Timestamp, nil + return time.Time(*result.Payload.Timestamp), nil } func FetchNormalizedName(namespace Namespace, name string) (string, error) { diff --git a/pkg/platform/model/svc.go b/pkg/platform/model/svc.go index 40d206614d..ce653b58fe 100644 --- a/pkg/platform/model/svc.go +++ b/pkg/platform/model/svc.go @@ -45,10 +45,14 @@ func (m *SvcModel) request(ctx context.Context, request gqlclient.Request, resp if err != nil { reqError := &gqlclient.RequestError{} if errors.As(err, &reqError) && (!condition.BuiltViaCI() || condition.InTest()) { + vars, err := request.Vars() + if err != nil { + return errs.Wrap(err, "Could not get variables") + } logging.Debug( "svc client gql request failed - query: %q, vars: %q", reqError.Request.Query(), - jsonFromMap(reqError.Request.Vars()), + jsonFromMap(vars), ) } return err diff --git a/pkg/platform/model/vcs.go b/pkg/platform/model/vcs.go index be13732b22..40295f3643 100644 --- a/pkg/platform/model/vcs.go +++ b/pkg/platform/model/vcs.go @@ -81,8 +81,8 @@ const ( // NamespaceCamelFlagsMatch is the namespace used for passing camel flags NamespaceCamelFlagsMatch = `^camel-flags$` - // NamespaceSharedMatch is the namespace used for shared requirements (usually runtime libraries) - NamespaceSharedMatch = `^shared$` + // NamespaceOrgMatch is the namespace used for org specific requirements + NamespaceOrgMatch = `^org\/` // NamespaceBuildFlagsMatch is the namespace used for passing build flags NamespaceBuildFlagsMatch = `^build-flags$` @@ -133,6 +133,8 @@ var ( NamespaceBundle = NamespaceType{"bundle", "bundles", NamespaceBundlesMatch} NamespaceLanguage = NamespaceType{"language", "", NamespaceLanguageMatch} NamespacePlatform = NamespaceType{"platform", "", NamespacePlatformMatch} + NamespaceOrg = NamespaceType{"org", "org", NamespaceOrgMatch} + NamespaceRaw = NamespaceType{"raw", "", ""} NamespaceBlank = NamespaceType{"", "", ""} ) @@ -178,6 +180,10 @@ func NewNamespacePackage(language string) Namespace { return Namespace{NamespacePackage, fmt.Sprintf("language/%s", language)} } +func NewRawNamespace(value string) Namespace { + return Namespace{NamespaceRaw, value} +} + func NewBlankNamespace() Namespace { return Namespace{NamespaceBlank, ""} } @@ -197,6 +203,13 @@ func NewNamespacePlatform() Namespace { return Namespace{NamespacePlatform, "platform"} } +func NewOrgNamespace(orgName string) Namespace { + return Namespace{ + nsType: NamespaceOrg, + value: fmt.Sprintf("org/%s", orgName), + } +} + func LanguageFromNamespace(ns string) string { values := strings.Split(ns, "/") if len(values) != 2 { diff --git a/pkg/platform/runtime/setup/buildlog/buildlog_test.go b/pkg/platform/runtime/setup/buildlog/buildlog_test.go index 11a963338d..7743722ebf 100644 --- a/pkg/platform/runtime/setup/buildlog/buildlog_test.go +++ b/pkg/platform/runtime/setup/buildlog/buildlog_test.go @@ -197,7 +197,7 @@ func TestBuildLog(t *testing.T) { cm := &connectionMock{} tt.ConnectionMock(t, cm) - bl, err := NewWithCustomConnections(artifactMap, cm, em, recipeArtifact.ArtifactID, fileutils.TempFilePathUnsafe()) + bl, err := NewWithCustomConnections(artifactMap, cm, em, recipeArtifact.ArtifactID, fileutils.TempFilePathUnsafe("", "")) require.NoError(t, err) var downloads []artifact.ArtifactID diff --git a/test/integration/auth_int_test.go b/test/integration/auth_int_test.go index 3b42136177..2363ead498 100644 --- a/test/integration/auth_int_test.go +++ b/test/integration/auth_int_test.go @@ -34,11 +34,11 @@ func (suite *AuthIntegrationTestSuite) TestAuth() { suite.OnlyRunForTags(tagsuite.Auth, tagsuite.Critical) ts := e2e.New(suite.T(), false) defer ts.Close() - username, password := ts.CreateNewUser() + user := ts.CreateNewUser() ts.LogoutUser() - suite.interactiveLogin(ts, username, password) + suite.interactiveLogin(ts, user.Username, user.Password) ts.LogoutUser() - suite.loginFlags(ts, username) + suite.loginFlags(ts, user.Username) suite.ensureLogout(ts) } diff --git a/test/integration/fork_int_test.go b/test/integration/fork_int_test.go index ea74b4e889..a286bbe4fe 100644 --- a/test/integration/fork_int_test.go +++ b/test/integration/fork_int_test.go @@ -27,14 +27,14 @@ func (suite *ForkIntegrationTestSuite) TestFork() { ts := e2e.New(suite.T(), false) defer suite.cleanup(ts) - username, _ := ts.CreateNewUser() + user := ts.CreateNewUser() - cp := ts.Spawn("fork", "ActiveState-CLI/Python3", "--name", "Test-Python3", "--org", username) + cp := ts.Spawn("fork", "ActiveState-CLI/Python3", "--name", "Test-Python3", "--org", user.Username) cp.Expect("fork has been successfully created") cp.ExpectExitCode(0) // Check if we error out on conflicts properly - cp = ts.Spawn("fork", "ActiveState-CLI/Python3", "--name", "Test-Python3", "--org", username) + cp = ts.Spawn("fork", "ActiveState-CLI/Python3", "--name", "Test-Python3", "--org", user.Username) cp.Expect(`You already have a project with the name`) cp.ExpectExitCode(1) ts.IgnoreLogErrors() diff --git a/test/integration/import_int_test.go b/test/integration/import_int_test.go index d94a86eca3..20546ea17f 100644 --- a/test/integration/import_int_test.go +++ b/test/integration/import_int_test.go @@ -81,8 +81,8 @@ func (suite *ImportIntegrationTestSuite) TestImport() { ts := e2e.New(suite.T(), false) defer ts.Close() - username, _ := ts.CreateNewUser() - namespace := fmt.Sprintf("%s/%s", username, "Python3") + user := ts.CreateNewUser() + namespace := fmt.Sprintf("%s/%s", user.Username, "Python3") cp := ts.Spawn("init", "--language", "python", namespace, ts.Dirs.Work) cp.Expect("successfully initialized") diff --git a/test/integration/package_int_test.go b/test/integration/package_int_test.go index 280337dcb0..38dd341397 100644 --- a/test/integration/package_int_test.go +++ b/test/integration/package_int_test.go @@ -329,10 +329,10 @@ func (suite *PackageIntegrationTestSuite) TestPackage_operation() { ts := e2e.New(suite.T(), false) defer ts.Close() - username, _ := ts.CreateNewUser() - namespace := fmt.Sprintf("%s/%s", username, "python3-pkgtest") + user := ts.CreateNewUser() + namespace := fmt.Sprintf("%s/%s", user.Username, "python3-pkgtest") - cp := ts.Spawn("fork", "ActiveState-CLI/Packages", "--org", username, "--name", "python3-pkgtest") + cp := ts.Spawn("fork", "ActiveState-CLI/Packages", "--org", user.Username, "--name", "python3-pkgtest") cp.ExpectExitCode(0) cp = ts.Spawn("checkout", namespace, ".") @@ -345,21 +345,21 @@ func (suite *PackageIntegrationTestSuite) TestPackage_operation() { suite.Run("install", func() { cp := ts.Spawn("install", "urllib3@1.25.6") - cp.Expect(fmt.Sprintf("Operating on project %s/python3-pkgtest", username)) + cp.Expect(fmt.Sprintf("Operating on project %s/python3-pkgtest", user.Username)) cp.ExpectRe("(?:Package added|being built)", termtest.OptExpectTimeout(30*time.Second)) cp.Wait() }) suite.Run("install (update)", func() { cp := ts.Spawn("install", "urllib3@1.25.8") - cp.Expect(fmt.Sprintf("Operating on project %s/python3-pkgtest", username)) + cp.Expect(fmt.Sprintf("Operating on project %s/python3-pkgtest", user.Username)) cp.ExpectRe("(?:Package updated|being built)", termtest.OptExpectTimeout(30*time.Second)) cp.Wait() }) suite.Run("uninstall", func() { cp := ts.Spawn("uninstall", "urllib3") - cp.Expect(fmt.Sprintf("Operating on project %s/python3-pkgtest", username)) + cp.Expect(fmt.Sprintf("Operating on project %s/python3-pkgtest", user.Username)) cp.ExpectRe("(?:Package uninstalled|being built)", termtest.OptExpectTimeout(30*time.Second)) cp.Wait() }) diff --git a/test/integration/publish_int_test.go b/test/integration/publish_int_test.go new file mode 100644 index 0000000000..7a517fb443 --- /dev/null +++ b/test/integration/publish_int_test.go @@ -0,0 +1,430 @@ +package integration + +import ( + "fmt" + "os" + "regexp" + "testing" + + "github.com/ActiveState/cli/internal/constants" + "github.com/ActiveState/cli/internal/fileutils" + "github.com/ActiveState/cli/internal/rtutils/ptr" + "github.com/ActiveState/cli/internal/strutils" + "github.com/ActiveState/cli/internal/testhelpers/e2e" + "github.com/ActiveState/cli/internal/testhelpers/tagsuite" + "github.com/ActiveState/cli/pkg/platform/api/graphql/request" + "github.com/stretchr/testify/suite" + "gopkg.in/yaml.v3" +) + +var editorFileRx = regexp.MustCompile(`file:\s*?(.*?)\.\s`) + +type PublishIntegrationTestSuite struct { + tagsuite.Suite +} + +func (suite *PublishIntegrationTestSuite) TestPublish() { + suite.OnlyRunForTags(tagsuite.Publish) + + // For development convenience, should not be committed without commenting out.. + // os.Setenv(constants.APIHostEnvVarName, "pr11496.activestate.build") + + if v := os.Getenv(constants.APIHostEnvVarName); v == "" || v == constants.DefaultAPIHost { + suite.T().Skipf("Skipping test as %s is not set, this test can only be run against non-production envs.", constants.APIHostEnvVarName) + return + } + + type input struct { + args []string + metafile *string + editorValue *string + confirmUpload bool + } + + type expect struct { + confirmPrompt []string + immediateOutput string + exitBeforePrompt bool + exitCode int + } + + type invocation struct { + input input + expect expect + } + + tempFile := fileutils.TempFilePathUnsafe("", "*.zip") + defer os.Remove(tempFile) + + tempFileInvalid := fileutils.TempFilePathUnsafe("", "*.notzip") + defer os.Remove(tempFileInvalid) + + ts := e2e.New(suite.T(), false) + defer ts.Close() + + ts.Env = append(ts.Env, + // Publish tests shouldn't run against staging as they pollute the inventory db and artifact cache + constants.APIHostEnvVarName+"="+os.Getenv(constants.APIHostEnvVarName), + ) + + user := ts.CreateNewUser() + + tests := []struct { + name string + invocations []invocation + }{ + { + "New ingredient with file arg and flags", + []invocation{ + { + input{ + []string{ + tempFile, + "--name", "im-a-name-test1", + "--namespace", "org/{{.Username}}", + "--version", "2.3.4", + "--description", "im-a-description", + "--author", "author-name ", + }, + nil, + nil, + true, + }, + expect{ + []string{ + `Publish following ingredient?`, + `name: im-a-name-test1`, + `namespace: org/{{.Username}}`, + `version: 2.3.4`, + `description: im-a-description`, + `name: author-name`, + `email: author-email@domain.tld`, + }, + "", + false, + 0, + }, + }, + }, + }, + { + "New ingredient with invalid filename", + []invocation{{input{ + []string{tempFileInvalid}, + nil, + nil, + true, + }, + expect{ + []string{}, + "Expected file extension to be either", + false, + 1, + }, + }, + }, + }, + { + "New ingredient with meta file", + []invocation{{ + input{ + []string{"--meta", "{{.MetaFile}}", tempFile}, + ptr.To(` +name: im-a-name-test2 +namespace: org/{{.Username}} +version: 2.3.4 +description: im-a-description +authors: + - name: author-name + email: author-email@domain.tld +`), + nil, + true, + }, + expect{ + []string{ + `Publish following ingredient?`, + `name: im-a-name-test2`, + `namespace: org/{{.Username}}`, + `version: 2.3.4`, + `description: im-a-description`, + `name: author-name`, + `email: author-email@domain.tld`, + }, + "", + false, + 0, + }, + }}, + }, + { + "New ingredient with meta file and flags", + []invocation{{ + input{ + []string{"--meta", "{{.MetaFile}}", tempFile, "--name", "im-a-name-from-flag", "--author", "author-name-from-flag "}, + ptr.To(` +name: im-a-name +namespace: org/{{.Username}} +version: 2.3.4 +description: im-a-description +authors: + - name: author-name + email: author-email@domain.tld +`), + nil, + true, + }, + expect{ + []string{ + `Publish following ingredient?`, + `name: im-a-name-from-flag`, + `namespace: org/{{.Username}}`, + `version: 2.3.4`, + `description: im-a-description`, + `name: author-name-from-flag`, + `email: author-email-from-flag@domain.tld`, + }, + "", + false, + 0, + }, + }}, + }, + { + "New ingredient with editor flag", + []invocation{{ + input{ + []string{tempFile, "--editor"}, + nil, + ptr.To(` +name: im-a-name-test3 +namespace: org/{{.Username}} +version: 2.3.4 +description: im-a-description +authors: + - name: author-name + email: author-email@domain.tld +`), + true, + }, + expect{ + []string{ + `Publish following ingredient?`, + `name: im-a-name-test3`, + `namespace: org/{{.Username}}`, + `version: 2.3.4`, + `description: im-a-description`, + `name: author-name`, + `email: author-email@domain.tld`, + }, + "", + false, + 0, + }, + }}, + }, + { + "Cancel Publish", + []invocation{{ + input{ + []string{tempFile, "--name", "bogus", "--namespace", "org/{{.Username}}"}, + nil, + nil, + false, + }, + expect{ + []string{`name: bogus`}, + "", + false, + 0, + }, + }}, + }, + { + "Edit ingredient without file arg and with flags", + []invocation{ + { // Create ingredient + input{ + []string{tempFile, + "--name", "editable", + "--namespace", "org/{{.Username}}", + "--version", "1.0.0", + }, + nil, + nil, + true, + }, + expect{ + []string{ + `Publish following ingredient?`, + `name: editable`, + }, + "", + false, + 0, + }, + }, + { // Edit ingredient + input{ + []string{ + tempFile, + "--edit", + "--name", "editable", + "--namespace", "org/{{.Username}}", + "--version", "1.0.1", + "--author", "author-name-edited ", + }, + nil, + nil, + true, + }, + expect{ + []string{ + `Publish following ingredient?`, + `name: editable`, + `namespace: org/{{.Username}}`, + `version: 1.0.1`, + `name: author-name-edited`, + `email: author-email-edited@domain.tld`, + }, + "", + false, + 0, + }, + }, + { // Must supply version + input{ + []string{ + "--edit", + "--name", "editable", + "--description", "foo", + }, + nil, + nil, + false, + }, + expect{ + []string{ + `You did not provide a unique version number`, + }, + "", + true, + 1, + }, + }, + { // description editing not supported + input{ + []string{ + "--edit", + "--name", "editable", + "--description", "foo", + }, + nil, + nil, + false, + }, + expect{ + []string{ + `You did not provide a unique version number`, + }, + "", + true, + 1, + }, + }, + }, + }, + } + for n, tt := range tests { + suite.Run(tt.name, func() { + templateVars := map[string]interface{}{ + "Username": user.Username, + "Email": user.Email, + } + + for _, inv := range tt.invocations { + suite.Run(fmt.Sprintf("%s invocation %d", tt.name, n), func() { + ts.T = suite.T() // This differs per subtest + if inv.input.metafile != nil { + inputMetaParsed, err := strutils.ParseTemplate(*inv.input.metafile, templateVars, nil) + suite.Require().NoError(err) + metafile, err := fileutils.WriteTempFile("metafile.yaml", []byte(inputMetaParsed)) + suite.Require().NoError(err) + templateVars["MetaFile"] = metafile + } + + args := make([]string, len(inv.input.args)) + copy(args, inv.input.args) + + for k, v := range args { + vp, err := strutils.ParseTemplate(v, templateVars, nil) + suite.Require().NoError(err) + args[k] = vp + } + + cp := ts.SpawnWithOpts( + e2e.OptArgs(append([]string{"publish"}, args...)...), + ) + + if inv.expect.immediateOutput != "" { + cp.Expect(inv.expect.immediateOutput) + } + + // Send custom input via --editor + if inv.input.editorValue != nil { + cp.Expect("Press enter when done editing") + snapshot := cp.Snapshot() + match := editorFileRx.FindSubmatch([]byte(snapshot)) + if len(match) != 2 { + suite.Fail("Could not match rx in snapshot: %s", editorFileRx.String()) + } + fpath := match[1] + inputEditorValue, err := strutils.ParseTemplate(*inv.input.editorValue, templateVars, nil) + suite.Require().NoError(err) + suite.Require().NoError(fileutils.WriteFile(string(fpath), []byte(inputEditorValue))) + cp.SendLine("") + } + + if inv.expect.exitBeforePrompt { + cp.ExpectExitCode(inv.expect.exitCode) + return + } + + for _, value := range inv.expect.confirmPrompt { + v, err := strutils.ParseTemplate(value, templateVars, nil) + suite.Require().NoError(err) + cp.Expect(v) + } + + cp.Expect("Y/n") + + snapshot := cp.Snapshot() + rx := regexp.MustCompile(`(?s)Publish following ingredient\?(.*)\(Y/n`) + match := rx.FindSubmatch([]byte(snapshot)) + suite.Require().NotNil(match, fmt.Sprintf("Could not match '%s' against: %s", rx.String(), snapshot)) + + meta := request.PublishVariables{} + suite.Require().NoError(yaml.Unmarshal(match[1], &meta)) + + if inv.input.confirmUpload { + cp.SendLine("Y") + } else { + cp.SendLine("n") + cp.Expect("Publish cancelled") + } + + cp.Expect("Successfully published") + cp.ExpectExitCode(inv.expect.exitCode) + + cp = ts.Spawn("search", meta.Namespace+"/"+meta.Name, "--ts=now") + cp.Expect(meta.Version) + cp.ExpectExitCode(0) + }) + } + }) + } +} + +func TestPublishIntegrationTestSuite(t *testing.T) { + suite.Run(t, new(PublishIntegrationTestSuite)) +} diff --git a/test/integration/push_int_test.go b/test/integration/push_int_test.go index d7a18ca19c..cab97b7c24 100644 --- a/test/integration/push_int_test.go +++ b/test/integration/push_int_test.go @@ -114,7 +114,7 @@ func (suite *PushIntegrationTestSuite) TestPush_NoPermission_NewProject() { suite.OnlyRunForTags(tagsuite.Push) ts := e2e.New(suite.T(), false) defer ts.Close() - username, _ := ts.CreateNewUser() + user := ts.CreateNewUser() pname := strutils.UUID() cp := ts.SpawnWithOpts(e2e.OptArgs("activate", suite.baseProject, "--path", ts.Dirs.Work)) @@ -157,7 +157,7 @@ func (suite *PushIntegrationTestSuite) TestPush_NoPermission_NewProject() { pjfile, err = projectfile.Parse(pjfilepath) suite.Require().NoError(err) - suite.Require().Contains(pjfile.Project, username) + suite.Require().Contains(pjfile.Project, user.Username) suite.Require().Contains(pjfile.Project, pname.String()) }