Name | Type | Description | Notes |
---|---|---|---|
ScalingState | Pointer to string | OK: The statement runs at the right scale. PENDING_SCALE_DOWN: The statement requires less resources, and will be scaled down in the near future. PENDING_SCALE_UP: The statement requires more resources, and will be scaled up in the near future. POOL_EXHAUSTED: The statement requires more resources, but not enough resources are available. | [optional] [readonly] |
LastUpdated | Pointer to time.Time | The last time the scaling status was updated. | [optional] [readonly] |
func NewSqlV1ScalingStatus() *SqlV1ScalingStatus
NewSqlV1ScalingStatus instantiates a new SqlV1ScalingStatus 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 NewSqlV1ScalingStatusWithDefaults() *SqlV1ScalingStatus
NewSqlV1ScalingStatusWithDefaults instantiates a new SqlV1ScalingStatus 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 *SqlV1ScalingStatus) GetScalingState() string
GetScalingState returns the ScalingState field if non-nil, zero value otherwise.
func (o *SqlV1ScalingStatus) GetScalingStateOk() (*string, bool)
GetScalingStateOk returns a tuple with the ScalingState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SqlV1ScalingStatus) SetScalingState(v string)
SetScalingState sets ScalingState field to given value.
func (o *SqlV1ScalingStatus) HasScalingState() bool
HasScalingState returns a boolean if a field has been set.
func (o *SqlV1ScalingStatus) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
func (o *SqlV1ScalingStatus) GetLastUpdatedOk() (*time.Time, bool)
GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SqlV1ScalingStatus) SetLastUpdated(v time.Time)
SetLastUpdated sets LastUpdated field to given value.
func (o *SqlV1ScalingStatus) HasLastUpdated() bool
HasLastUpdated returns a boolean if a field has been set.