diff --git a/CHANGELOG.md b/CHANGELOG.md index c0fae9d51..320e5beb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -85,6 +85,9 @@ - `resourcemanager`: - [v0.24.1](services/resourcemanager/CHANGELOG.md#v0241) - Update description of the `Labels` field in model structs +- `runcommand`: + - [v1.9.0](services/runcommand/CHANGELOG.md#v190) + - `v1api`: **Bugfix:** Rename field `ParameterSchema` to `ParametersSchema` in `CommandTemplateSchema` model to match the actually attribute sent by the api - `serverupdate`: - [v1.5.3](services/serverupdate/CHANGELOG.md#v153) - **Docs:** Add a description to the attributes `Rrule` and `MaintenanceWindow` diff --git a/services/runcommand/CHANGELOG.md b/services/runcommand/CHANGELOG.md index fd7f00e15..16f30efa6 100644 --- a/services/runcommand/CHANGELOG.md +++ b/services/runcommand/CHANGELOG.md @@ -1,3 +1,6 @@ +## v1.9.0 +- `v1api`: **Bugfix:** Rename field `ParameterSchema` to `ParametersSchema` in `CommandTemplateSchema` model to match the actually attribute sent by the api + ## v1.8.0 - **Feature:** Introduce enums for various attributes diff --git a/services/runcommand/VERSION b/services/runcommand/VERSION index 4e2cea3bb..e2f650c40 100644 --- a/services/runcommand/VERSION +++ b/services/runcommand/VERSION @@ -1 +1 @@ -v1.8.0 \ No newline at end of file +v1.9.0 \ No newline at end of file diff --git a/services/runcommand/oas_commit b/services/runcommand/oas_commit index c08a6770d..da1ca1cac 100644 --- a/services/runcommand/oas_commit +++ b/services/runcommand/oas_commit @@ -1 +1 @@ -4407196dbbef4e53e6798809e856725cbc84ae05 +602a933a8a6cc22c52171febbca7ceaf63bc7538 diff --git a/services/runcommand/v1api/model_command_template_schema.go b/services/runcommand/v1api/model_command_template_schema.go index 24c4c19e2..9e39f3aa3 100644 --- a/services/runcommand/v1api/model_command_template_schema.go +++ b/services/runcommand/v1api/model_command_template_schema.go @@ -23,7 +23,7 @@ type CommandTemplateSchema struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` OsType []string `json:"osType,omitempty"` - ParameterSchema *ParametersSchema `json:"parameterSchema,omitempty"` + ParametersSchema *ParametersSchema `json:"parametersSchema,omitempty"` Title *string `json:"title,omitempty"` AdditionalProperties map[string]interface{} } @@ -143,36 +143,36 @@ func (o *CommandTemplateSchema) SetOsType(v []string) { o.OsType = v } -// GetParameterSchema returns the ParameterSchema field value if set, zero value otherwise. -func (o *CommandTemplateSchema) GetParameterSchema() ParametersSchema { - if o == nil || IsNil(o.ParameterSchema) { +// GetParametersSchema returns the ParametersSchema field value if set, zero value otherwise. +func (o *CommandTemplateSchema) GetParametersSchema() ParametersSchema { + if o == nil || IsNil(o.ParametersSchema) { var ret ParametersSchema return ret } - return *o.ParameterSchema + return *o.ParametersSchema } -// 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() (*ParametersSchema, bool) { - if o == nil || IsNil(o.ParameterSchema) { +func (o *CommandTemplateSchema) GetParametersSchemaOk() (*ParametersSchema, bool) { + if o == nil || IsNil(o.ParametersSchema) { return nil, false } - return o.ParameterSchema, true + return o.ParametersSchema, true } -// HasParameterSchema returns a boolean if a field has been set. -func (o *CommandTemplateSchema) HasParameterSchema() bool { - if o != nil && !IsNil(o.ParameterSchema) { +// HasParametersSchema returns a boolean if a field has been set. +func (o *CommandTemplateSchema) HasParametersSchema() bool { + if o != nil && !IsNil(o.ParametersSchema) { return true } return false } -// SetParameterSchema gets a reference to the given ParametersSchema and assigns it to the ParameterSchema field. -func (o *CommandTemplateSchema) SetParameterSchema(v ParametersSchema) { - o.ParameterSchema = &v +// SetParametersSchema gets a reference to the given ParametersSchema and assigns it to the ParametersSchema field. +func (o *CommandTemplateSchema) SetParametersSchema(v ParametersSchema) { + o.ParametersSchema = &v } // GetTitle returns the Title field value if set, zero value otherwise. @@ -226,8 +226,8 @@ func (o CommandTemplateSchema) ToMap() (map[string]interface{}, error) { if !IsNil(o.OsType) { toSerialize["osType"] = o.OsType } - if !IsNil(o.ParameterSchema) { - toSerialize["parameterSchema"] = o.ParameterSchema + if !IsNil(o.ParametersSchema) { + toSerialize["parametersSchema"] = o.ParametersSchema } if !IsNil(o.Title) { toSerialize["title"] = o.Title @@ -257,7 +257,7 @@ func (o *CommandTemplateSchema) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "description") delete(additionalProperties, "name") delete(additionalProperties, "osType") - delete(additionalProperties, "parameterSchema") + delete(additionalProperties, "parametersSchema") delete(additionalProperties, "title") o.AdditionalProperties = additionalProperties }