From 487804b5dbd935de45ddaefb73a2a182658ec56c Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Tue, 20 Jan 2026 16:00:50 +0000 Subject: [PATCH 1/2] Generate runcommand --- .../model_command_template_schema.go | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/services/runcommand/model_command_template_schema.go b/services/runcommand/model_command_template_schema.go index f2b2808f3..99308cfe6 100644 --- a/services/runcommand/model_command_template_schema.go +++ b/services/runcommand/model_command_template_schema.go @@ -80,22 +80,22 @@ func setCommandTemplateSchemaGetOsTypeAttributeType(arg *CommandTemplateSchemaGe } /* - types and functions for parameterSchema + types and functions for parametersSchema */ // isModel -type CommandTemplateSchemaGetParameterSchemaAttributeType = *ParametersSchema -type CommandTemplateSchemaGetParameterSchemaArgType = ParametersSchema -type CommandTemplateSchemaGetParameterSchemaRetType = ParametersSchema +type CommandTemplateSchemaGetParametersSchemaAttributeType = *ParametersSchema +type CommandTemplateSchemaGetParametersSchemaArgType = ParametersSchema +type CommandTemplateSchemaGetParametersSchemaRetType = ParametersSchema -func getCommandTemplateSchemaGetParameterSchemaAttributeTypeOk(arg CommandTemplateSchemaGetParameterSchemaAttributeType) (ret CommandTemplateSchemaGetParameterSchemaRetType, ok bool) { +func getCommandTemplateSchemaGetParametersSchemaAttributeTypeOk(arg CommandTemplateSchemaGetParametersSchemaAttributeType) (ret CommandTemplateSchemaGetParametersSchemaRetType, ok bool) { if arg == nil { return ret, false } return *arg, true } -func setCommandTemplateSchemaGetParameterSchemaAttributeType(arg *CommandTemplateSchemaGetParameterSchemaAttributeType, val CommandTemplateSchemaGetParameterSchemaRetType) { +func setCommandTemplateSchemaGetParametersSchemaAttributeType(arg *CommandTemplateSchemaGetParametersSchemaAttributeType, val CommandTemplateSchemaGetParametersSchemaRetType) { *arg = &val } @@ -122,11 +122,11 @@ type CommandTemplateSchemaGetTitleRetType = string // CommandTemplateSchema struct for CommandTemplateSchema type CommandTemplateSchema struct { - Description CommandTemplateSchemaGetDescriptionAttributeType `json:"description,omitempty"` - Name CommandTemplateSchemaGetNameAttributeType `json:"name,omitempty"` - OsType CommandTemplateSchemaGetOsTypeAttributeType `json:"osType,omitempty"` - ParameterSchema CommandTemplateSchemaGetParameterSchemaAttributeType `json:"parameterSchema,omitempty"` - Title CommandTemplateSchemaGetTitleAttributeType `json:"title,omitempty"` + Description CommandTemplateSchemaGetDescriptionAttributeType `json:"description,omitempty"` + Name CommandTemplateSchemaGetNameAttributeType `json:"name,omitempty"` + OsType CommandTemplateSchemaGetOsTypeAttributeType `json:"osType,omitempty"` + ParametersSchema CommandTemplateSchemaGetParametersSchemaAttributeType `json:"parametersSchema,omitempty"` + Title CommandTemplateSchemaGetTitleAttributeType `json:"title,omitempty"` } // NewCommandTemplateSchema instantiates a new CommandTemplateSchema object @@ -215,27 +215,27 @@ func (o *CommandTemplateSchema) SetOsType(v CommandTemplateSchemaGetOsTypeRetTyp setCommandTemplateSchemaGetOsTypeAttributeType(&o.OsType, v) } -// GetParameterSchema returns the ParameterSchema field value if set, zero value otherwise. -func (o *CommandTemplateSchema) GetParameterSchema() (res CommandTemplateSchemaGetParameterSchemaRetType) { - res, _ = o.GetParameterSchemaOk() +// GetParametersSchema returns the ParametersSchema field value if set, zero value otherwise. +func (o *CommandTemplateSchema) GetParametersSchema() (res CommandTemplateSchemaGetParametersSchemaRetType) { + res, _ = o.GetParametersSchemaOk() return } -// GetParameterSchemaOk returns a tuple with the ParameterSchema field value if set, nil otherwise +// GetParametersSchemaOk returns a tuple with the ParametersSchema field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CommandTemplateSchema) GetParameterSchemaOk() (ret CommandTemplateSchemaGetParameterSchemaRetType, ok bool) { - return getCommandTemplateSchemaGetParameterSchemaAttributeTypeOk(o.ParameterSchema) +func (o *CommandTemplateSchema) GetParametersSchemaOk() (ret CommandTemplateSchemaGetParametersSchemaRetType, ok bool) { + return getCommandTemplateSchemaGetParametersSchemaAttributeTypeOk(o.ParametersSchema) } -// HasParameterSchema returns a boolean if a field has been set. -func (o *CommandTemplateSchema) HasParameterSchema() bool { - _, ok := o.GetParameterSchemaOk() +// HasParametersSchema returns a boolean if a field has been set. +func (o *CommandTemplateSchema) HasParametersSchema() bool { + _, ok := o.GetParametersSchemaOk() return ok } -// SetParameterSchema gets a reference to the given ParametersSchema and assigns it to the ParameterSchema field. -func (o *CommandTemplateSchema) SetParameterSchema(v CommandTemplateSchemaGetParameterSchemaRetType) { - setCommandTemplateSchemaGetParameterSchemaAttributeType(&o.ParameterSchema, v) +// SetParametersSchema gets a reference to the given ParametersSchema and assigns it to the ParametersSchema field. +func (o *CommandTemplateSchema) SetParametersSchema(v CommandTemplateSchemaGetParametersSchemaRetType) { + setCommandTemplateSchemaGetParametersSchemaAttributeType(&o.ParametersSchema, v) } // GetTitle returns the Title field value if set, zero value otherwise. @@ -272,8 +272,8 @@ func (o CommandTemplateSchema) ToMap() (map[string]interface{}, error) { if val, ok := getCommandTemplateSchemaGetOsTypeAttributeTypeOk(o.OsType); ok { toSerialize["OsType"] = val } - if val, ok := getCommandTemplateSchemaGetParameterSchemaAttributeTypeOk(o.ParameterSchema); ok { - toSerialize["ParameterSchema"] = val + if val, ok := getCommandTemplateSchemaGetParametersSchemaAttributeTypeOk(o.ParametersSchema); ok { + toSerialize["ParametersSchema"] = val } if val, ok := getCommandTemplateSchemaGetTitleAttributeTypeOk(o.Title); ok { toSerialize["Title"] = val From 9e8fba8ddf5acd2f30071c59df08e92009bb3cbb Mon Sep 17 00:00:00 2001 From: Marcel Jacek Date: Tue, 20 Jan 2026 17:22:08 +0100 Subject: [PATCH 2/2] add changelog entry --- CHANGELOG.md | 2 ++ services/runcommand/CHANGELOG.md | 9 ++++++--- services/runcommand/VERSION | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cdbd58c6..637b56749 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -88,6 +88,8 @@ - **Feature:** Add new methods for managing roles: `AddRole`, `DeleteRole`, `GetRole`, `UpdateRole` - `serverbackup`: [v1.3.5](services/serverbackup/CHANGELOG.md#v135) - **Bugfix:** Update backup status codes to match the backup status codes actually returned by the server backup API +- `runcommand`: [v1.4.0](services/runcommand/CHANGELOG.md#v140) + - **Bugfix:** Rename field `ParameterSchema` to `ParametersSchema` in `CommandTemplateSchema` model to match the actually attribute sent by the api ## Release (2025-12-05) - `alb`: diff --git a/services/runcommand/CHANGELOG.md b/services/runcommand/CHANGELOG.md index 9004c0f8c..4872ed05e 100644 --- a/services/runcommand/CHANGELOG.md +++ b/services/runcommand/CHANGELOG.md @@ -1,11 +1,14 @@ +## v1.4.0 +- **Bugfix:** Rename field `ParameterSchema` to `ParametersSchema` in `CommandTemplateSchema` model to match the actually attribute sent by the api + ## v1.3.3 - - Bump STACKIT SDK core module from `v0.20.0` to `v0.20.1` +- Bump STACKIT SDK core module from `v0.20.0` to `v0.20.1` ## v1.3.2 - - Bump STACKIT SDK core module from `v0.19.0` to `v0.20.0` +- Bump STACKIT SDK core module from `v0.19.0` to `v0.20.0` ## v1.3.1 - - **Dependencies:** Bump `github.com/golang-jwt/jwt/v5` from `v5.2.2` to `v5.2.3` +- **Dependencies:** Bump `github.com/golang-jwt/jwt/v5` from `v5.2.2` to `v5.2.3` ## v1.3.0 - Add `required:"true"` tags to model structs diff --git a/services/runcommand/VERSION b/services/runcommand/VERSION index 1b0c03e2f..ec7b96782 100644 --- a/services/runcommand/VERSION +++ b/services/runcommand/VERSION @@ -1 +1 @@ -v1.3.3 \ No newline at end of file +v1.4.0 \ No newline at end of file