fix: correct mismatches between template-apply spec and impl (#157)
This commit is contained in:
@ -18,7 +18,7 @@ import (
|
||||
type TemplateSummaryDiffVariable struct {
|
||||
Kind string `json:"kind" yaml:"kind"`
|
||||
StateStatus string `json:"stateStatus" yaml:"stateStatus"`
|
||||
Id string `json:"id" yaml:"id"`
|
||||
Id uint64 `json:"id" yaml:"id"`
|
||||
TemplateMetaName string `json:"templateMetaName" yaml:"templateMetaName"`
|
||||
New *TemplateSummaryDiffVariableFields `json:"new,omitempty" yaml:"new,omitempty"`
|
||||
Old *TemplateSummaryDiffVariableFields `json:"old,omitempty" yaml:"old,omitempty"`
|
||||
@ -28,7 +28,7 @@ type TemplateSummaryDiffVariable struct {
|
||||
// This constructor will assign default values to properties that have it defined,
|
||||
// and makes sure properties required by API are set, but the set of arguments
|
||||
// will change when the set of required properties is changed
|
||||
func NewTemplateSummaryDiffVariable(kind string, stateStatus string, id string, templateMetaName string) *TemplateSummaryDiffVariable {
|
||||
func NewTemplateSummaryDiffVariable(kind string, stateStatus string, id uint64, templateMetaName string) *TemplateSummaryDiffVariable {
|
||||
this := TemplateSummaryDiffVariable{}
|
||||
this.Kind = kind
|
||||
this.StateStatus = stateStatus
|
||||
@ -94,9 +94,9 @@ func (o *TemplateSummaryDiffVariable) SetStateStatus(v string) {
|
||||
}
|
||||
|
||||
// GetId returns the Id field value
|
||||
func (o *TemplateSummaryDiffVariable) GetId() string {
|
||||
func (o *TemplateSummaryDiffVariable) GetId() uint64 {
|
||||
if o == nil {
|
||||
var ret string
|
||||
var ret uint64
|
||||
return ret
|
||||
}
|
||||
|
||||
@ -105,7 +105,7 @@ func (o *TemplateSummaryDiffVariable) GetId() string {
|
||||
|
||||
// GetIdOk returns a tuple with the Id field value
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *TemplateSummaryDiffVariable) GetIdOk() (*string, bool) {
|
||||
func (o *TemplateSummaryDiffVariable) GetIdOk() (*uint64, bool) {
|
||||
if o == nil {
|
||||
return nil, false
|
||||
}
|
||||
@ -113,7 +113,7 @@ func (o *TemplateSummaryDiffVariable) GetIdOk() (*string, bool) {
|
||||
}
|
||||
|
||||
// SetId sets field value
|
||||
func (o *TemplateSummaryDiffVariable) SetId(v string) {
|
||||
func (o *TemplateSummaryDiffVariable) SetId(v uint64) {
|
||||
o.Id = v
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user