Skip to content

Commit

Permalink
modified data types for action attributes (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
chandra1-n authored Sep 24, 2024
1 parent 8dd3737 commit 1bbfef4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions service/elastigroup/providers/azure/v3/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ type ScalingPolicy struct {
type Action struct {
Type *string `json:"type,omitempty"`
Adjustment *string `json:"adjustment,omitempty"`
Maximum *int `json:"maximum,omitempty"`
Minimum *int `json:"minimum,omitempty"`
Target *int `json:"target,omitempty"`
Maximum *string `json:"maximum,omitempty"`
Minimum *string `json:"minimum,omitempty"`
Target *string `json:"target,omitempty"`

forceSendFields []string
nullFields []string
Expand Down Expand Up @@ -1255,21 +1255,21 @@ func (o *Action) SetAdjustment(v *string) *Action {
return o
}

func (o *Action) SetMaximum(v *int) *Action {
func (o *Action) SetMaximum(v *string) *Action {
if o.Maximum = v; o.Maximum == nil {
o.nullFields = append(o.nullFields, "Maximum")
}
return o
}

func (o *Action) SetMinimum(v *int) *Action {
func (o *Action) SetMinimum(v *string) *Action {
if o.Minimum = v; o.Minimum == nil {
o.nullFields = append(o.nullFields, "Minimum")
}
return o
}

func (o *Action) SetTarget(v *int) *Action {
func (o *Action) SetTarget(v *string) *Action {
if o.Target = v; o.Target == nil {
o.nullFields = append(o.nullFields, "Target")
}
Expand Down

0 comments on commit 1bbfef4

Please sign in to comment.