Name | Type | Description | Notes |
---|---|---|---|
MetricLookbackSeconds | Pointer to int32 | [optional] | |
Percentile | Pointer to float32 | [optional] | |
PostScaleUpCooldownSeconds | Pointer to int32 | [optional] | |
PostScaleDownCooldownSeconds | Pointer to int32 | [optional] | |
PostReleaseCooldownSeconds | Pointer to int32 | [optional] | |
MemCpuRatioRThreshold | Pointer to float32 | [optional] | |
MemCpuRatioCThreshold | Pointer to float32 | [optional] | |
MemScaleUpThreshold | Pointer to float32 | [optional] | |
MemScaleDownThreshold | Pointer to float32 | [optional] | |
MinimumMemory | Pointer to int32 | [optional] | |
MaximumMemory | Pointer to int32 | [optional] | |
Autoscaling | Pointer to string | [optional] | |
MinCpuThreshold | Pointer to float32 | [optional] | |
MaxCpuThreshold | Pointer to float32 | [optional] | |
MinContainers | Pointer to int32 | [optional] | |
MaxContainers | Pointer to int32 | [optional] | |
ScaleUpStep | Pointer to int32 | [optional] | |
ScaleDownStep | Pointer to int32 | [optional] |
func NewCreateServiceSizingPolicyRequest() *CreateServiceSizingPolicyRequest
NewCreateServiceSizingPolicyRequest instantiates a new CreateServiceSizingPolicyRequest object 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 NewCreateServiceSizingPolicyRequestWithDefaults() *CreateServiceSizingPolicyRequest
NewCreateServiceSizingPolicyRequestWithDefaults instantiates a new CreateServiceSizingPolicyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *CreateServiceSizingPolicyRequest) GetMetricLookbackSeconds() int32
GetMetricLookbackSeconds returns the MetricLookbackSeconds field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetMetricLookbackSecondsOk() (*int32, bool)
GetMetricLookbackSecondsOk returns a tuple with the MetricLookbackSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetMetricLookbackSeconds(v int32)
SetMetricLookbackSeconds sets MetricLookbackSeconds field to given value.
func (o *CreateServiceSizingPolicyRequest) HasMetricLookbackSeconds() bool
HasMetricLookbackSeconds returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetPercentile() float32
GetPercentile returns the Percentile field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetPercentileOk() (*float32, bool)
GetPercentileOk returns a tuple with the Percentile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetPercentile(v float32)
SetPercentile sets Percentile field to given value.
func (o *CreateServiceSizingPolicyRequest) HasPercentile() bool
HasPercentile returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetPostScaleUpCooldownSeconds() int32
GetPostScaleUpCooldownSeconds returns the PostScaleUpCooldownSeconds field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetPostScaleUpCooldownSecondsOk() (*int32, bool)
GetPostScaleUpCooldownSecondsOk returns a tuple with the PostScaleUpCooldownSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetPostScaleUpCooldownSeconds(v int32)
SetPostScaleUpCooldownSeconds sets PostScaleUpCooldownSeconds field to given value.
func (o *CreateServiceSizingPolicyRequest) HasPostScaleUpCooldownSeconds() bool
HasPostScaleUpCooldownSeconds returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetPostScaleDownCooldownSeconds() int32
GetPostScaleDownCooldownSeconds returns the PostScaleDownCooldownSeconds field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetPostScaleDownCooldownSecondsOk() (*int32, bool)
GetPostScaleDownCooldownSecondsOk returns a tuple with the PostScaleDownCooldownSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetPostScaleDownCooldownSeconds(v int32)
SetPostScaleDownCooldownSeconds sets PostScaleDownCooldownSeconds field to given value.
func (o *CreateServiceSizingPolicyRequest) HasPostScaleDownCooldownSeconds() bool
HasPostScaleDownCooldownSeconds returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetPostReleaseCooldownSeconds() int32
GetPostReleaseCooldownSeconds returns the PostReleaseCooldownSeconds field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetPostReleaseCooldownSecondsOk() (*int32, bool)
GetPostReleaseCooldownSecondsOk returns a tuple with the PostReleaseCooldownSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetPostReleaseCooldownSeconds(v int32)
SetPostReleaseCooldownSeconds sets PostReleaseCooldownSeconds field to given value.
func (o *CreateServiceSizingPolicyRequest) HasPostReleaseCooldownSeconds() bool
HasPostReleaseCooldownSeconds returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetMemCpuRatioRThreshold() float32
GetMemCpuRatioRThreshold returns the MemCpuRatioRThreshold field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetMemCpuRatioRThresholdOk() (*float32, bool)
GetMemCpuRatioRThresholdOk returns a tuple with the MemCpuRatioRThreshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetMemCpuRatioRThreshold(v float32)
SetMemCpuRatioRThreshold sets MemCpuRatioRThreshold field to given value.
func (o *CreateServiceSizingPolicyRequest) HasMemCpuRatioRThreshold() bool
HasMemCpuRatioRThreshold returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetMemCpuRatioCThreshold() float32
GetMemCpuRatioCThreshold returns the MemCpuRatioCThreshold field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetMemCpuRatioCThresholdOk() (*float32, bool)
GetMemCpuRatioCThresholdOk returns a tuple with the MemCpuRatioCThreshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetMemCpuRatioCThreshold(v float32)
SetMemCpuRatioCThreshold sets MemCpuRatioCThreshold field to given value.
func (o *CreateServiceSizingPolicyRequest) HasMemCpuRatioCThreshold() bool
HasMemCpuRatioCThreshold returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetMemScaleUpThreshold() float32
GetMemScaleUpThreshold returns the MemScaleUpThreshold field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetMemScaleUpThresholdOk() (*float32, bool)
GetMemScaleUpThresholdOk returns a tuple with the MemScaleUpThreshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetMemScaleUpThreshold(v float32)
SetMemScaleUpThreshold sets MemScaleUpThreshold field to given value.
func (o *CreateServiceSizingPolicyRequest) HasMemScaleUpThreshold() bool
HasMemScaleUpThreshold returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetMemScaleDownThreshold() float32
GetMemScaleDownThreshold returns the MemScaleDownThreshold field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetMemScaleDownThresholdOk() (*float32, bool)
GetMemScaleDownThresholdOk returns a tuple with the MemScaleDownThreshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetMemScaleDownThreshold(v float32)
SetMemScaleDownThreshold sets MemScaleDownThreshold field to given value.
func (o *CreateServiceSizingPolicyRequest) HasMemScaleDownThreshold() bool
HasMemScaleDownThreshold returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetMinimumMemory() int32
GetMinimumMemory returns the MinimumMemory field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetMinimumMemoryOk() (*int32, bool)
GetMinimumMemoryOk returns a tuple with the MinimumMemory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetMinimumMemory(v int32)
SetMinimumMemory sets MinimumMemory field to given value.
func (o *CreateServiceSizingPolicyRequest) HasMinimumMemory() bool
HasMinimumMemory returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetMaximumMemory() int32
GetMaximumMemory returns the MaximumMemory field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetMaximumMemoryOk() (*int32, bool)
GetMaximumMemoryOk returns a tuple with the MaximumMemory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetMaximumMemory(v int32)
SetMaximumMemory sets MaximumMemory field to given value.
func (o *CreateServiceSizingPolicyRequest) HasMaximumMemory() bool
HasMaximumMemory returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetAutoscaling() string
GetAutoscaling returns the Autoscaling field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetAutoscalingOk() (*string, bool)
GetAutoscalingOk returns a tuple with the Autoscaling field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetAutoscaling(v string)
SetAutoscaling sets Autoscaling field to given value.
func (o *CreateServiceSizingPolicyRequest) HasAutoscaling() bool
HasAutoscaling returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetMinCpuThreshold() float32
GetMinCpuThreshold returns the MinCpuThreshold field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetMinCpuThresholdOk() (*float32, bool)
GetMinCpuThresholdOk returns a tuple with the MinCpuThreshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetMinCpuThreshold(v float32)
SetMinCpuThreshold sets MinCpuThreshold field to given value.
func (o *CreateServiceSizingPolicyRequest) HasMinCpuThreshold() bool
HasMinCpuThreshold returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetMaxCpuThreshold() float32
GetMaxCpuThreshold returns the MaxCpuThreshold field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetMaxCpuThresholdOk() (*float32, bool)
GetMaxCpuThresholdOk returns a tuple with the MaxCpuThreshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetMaxCpuThreshold(v float32)
SetMaxCpuThreshold sets MaxCpuThreshold field to given value.
func (o *CreateServiceSizingPolicyRequest) HasMaxCpuThreshold() bool
HasMaxCpuThreshold returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetMinContainers() int32
GetMinContainers returns the MinContainers field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetMinContainersOk() (*int32, bool)
GetMinContainersOk returns a tuple with the MinContainers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetMinContainers(v int32)
SetMinContainers sets MinContainers field to given value.
func (o *CreateServiceSizingPolicyRequest) HasMinContainers() bool
HasMinContainers returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetMaxContainers() int32
GetMaxContainers returns the MaxContainers field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetMaxContainersOk() (*int32, bool)
GetMaxContainersOk returns a tuple with the MaxContainers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetMaxContainers(v int32)
SetMaxContainers sets MaxContainers field to given value.
func (o *CreateServiceSizingPolicyRequest) HasMaxContainers() bool
HasMaxContainers returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetScaleUpStep() int32
GetScaleUpStep returns the ScaleUpStep field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetScaleUpStepOk() (*int32, bool)
GetScaleUpStepOk returns a tuple with the ScaleUpStep field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetScaleUpStep(v int32)
SetScaleUpStep sets ScaleUpStep field to given value.
func (o *CreateServiceSizingPolicyRequest) HasScaleUpStep() bool
HasScaleUpStep returns a boolean if a field has been set.
func (o *CreateServiceSizingPolicyRequest) GetScaleDownStep() int32
GetScaleDownStep returns the ScaleDownStep field if non-nil, zero value otherwise.
func (o *CreateServiceSizingPolicyRequest) GetScaleDownStepOk() (*int32, bool)
GetScaleDownStepOk returns a tuple with the ScaleDownStep field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateServiceSizingPolicyRequest) SetScaleDownStep(v int32)
SetScaleDownStep sets ScaleDownStep field to given value.
func (o *CreateServiceSizingPolicyRequest) HasScaleDownStep() bool
HasScaleDownStep returns a boolean if a field has been set.