diff --git a/apps.gen.go b/apps.gen.go index 9de4f05..c037559 100644 --- a/apps.gen.go +++ b/apps.gen.go @@ -1124,6 +1124,10 @@ type AppInstanceSize struct { FeaturePreview bool `json:"feature_preview,omitempty"` // Indicates if the tier instance size allows more than one instance. SingleInstanceOnly bool `json:"single_instance_only,omitempty"` + // Indicates if the tier instance size is intended for deprecation. + DeprecationIntent bool `json:"deprecation_intent,omitempty"` + // The bandwidth allowance in GiB for the tier instance size. + BandwidthAllowanceGib string `json:"bandwidth_allowance_gib,omitempty"` } // AppInstanceSizeCPUType the model 'AppInstanceSizeCPUType' diff --git a/apps_accessors.go b/apps_accessors.go index 06c5ae5..0d655d8 100644 --- a/apps_accessors.go +++ b/apps_accessors.go @@ -1013,6 +1013,14 @@ func (a *AppIngressSpecRuleStringMatch) GetPrefix() string { return a.Prefix } +// GetBandwidthAllowanceGib returns the BandwidthAllowanceGib field. +func (a *AppInstanceSize) GetBandwidthAllowanceGib() string { + if a == nil { + return "" + } + return a.BandwidthAllowanceGib +} + // GetCPUs returns the CPUs field. func (a *AppInstanceSize) GetCPUs() string { if a == nil { @@ -1029,6 +1037,14 @@ func (a *AppInstanceSize) GetCPUType() AppInstanceSizeCPUType { return a.CPUType } +// GetDeprecationIntent returns the DeprecationIntent field. +func (a *AppInstanceSize) GetDeprecationIntent() bool { + if a == nil { + return false + } + return a.DeprecationIntent +} + // GetFeaturePreview returns the FeaturePreview field. func (a *AppInstanceSize) GetFeaturePreview() bool { if a == nil { diff --git a/apps_accessors_test.go b/apps_accessors_test.go index f60adeb..4dc958e 100644 --- a/apps_accessors_test.go +++ b/apps_accessors_test.go @@ -902,6 +902,13 @@ func TestAppInstanceSize_GetCPUType(tt *testing.T) { a.GetCPUType() } +func TestAppInstanceSize_GetDeprecationIntent(tt *testing.T) { + a := &AppInstanceSize{} + a.GetDeprecationIntent() + a = nil + a.GetDeprecationIntent() +} + func TestAppInstanceSize_GetFeaturePreview(tt *testing.T) { a := &AppInstanceSize{} a.GetFeaturePreview() @@ -937,6 +944,13 @@ func TestAppInstanceSize_GetSingleInstanceOnly(tt *testing.T) { a.GetSingleInstanceOnly() } +func TestAppInstanceSize_GetBandwidthAllowanceGib(tt *testing.T) { + a := &AppInstanceSize{} + a.GetBandwidthAllowanceGib() + a = nil + a.GetBandwidthAllowanceGib() +} + func TestAppInstanceSize_GetSlug(tt *testing.T) { a := &AppInstanceSize{} a.GetSlug()