Files
sdk/docs/ComputePoolScale.md

3.8 KiB

ComputePoolScale

Properties

Name Type Description Notes
ClusterId Pointer to string ClusterID is the cluster holding the pool, from the URL path. [optional]
Count Pointer to int64 Count is the node count to scale TO — an absolute target, not a delta, and never negative. [optional]
PoolId Pointer to string PoolID is the pool to resize, from the URL path — the `poolId` a cluster read reports for it. Required. [optional]
Provider Pointer to string Provider is the cloud the cluster lives on. Required; body or ?provider=. [optional]

Methods

NewComputePoolScale

func NewComputePoolScale() *ComputePoolScale

NewComputePoolScale instantiates a new ComputePoolScale 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

NewComputePoolScaleWithDefaults

func NewComputePoolScaleWithDefaults() *ComputePoolScale

NewComputePoolScaleWithDefaults instantiates a new ComputePoolScale 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

GetClusterId

func (o *ComputePoolScale) GetClusterId() string

GetClusterId returns the ClusterId field if non-nil, zero value otherwise.

GetClusterIdOk

func (o *ComputePoolScale) GetClusterIdOk() (*string, bool)

GetClusterIdOk returns a tuple with the ClusterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClusterId

func (o *ComputePoolScale) SetClusterId(v string)

SetClusterId sets ClusterId field to given value.

HasClusterId

func (o *ComputePoolScale) HasClusterId() bool

HasClusterId returns a boolean if a field has been set.

GetCount

func (o *ComputePoolScale) GetCount() int64

GetCount returns the Count field if non-nil, zero value otherwise.

GetCountOk

func (o *ComputePoolScale) GetCountOk() (*int64, bool)

GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCount

func (o *ComputePoolScale) SetCount(v int64)

SetCount sets Count field to given value.

HasCount

func (o *ComputePoolScale) HasCount() bool

HasCount returns a boolean if a field has been set.

GetPoolId

func (o *ComputePoolScale) GetPoolId() string

GetPoolId returns the PoolId field if non-nil, zero value otherwise.

GetPoolIdOk

func (o *ComputePoolScale) GetPoolIdOk() (*string, bool)

GetPoolIdOk returns a tuple with the PoolId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPoolId

func (o *ComputePoolScale) SetPoolId(v string)

SetPoolId sets PoolId field to given value.

HasPoolId

func (o *ComputePoolScale) HasPoolId() bool

HasPoolId returns a boolean if a field has been set.

GetProvider

func (o *ComputePoolScale) GetProvider() string

GetProvider returns the Provider field if non-nil, zero value otherwise.

GetProviderOk

func (o *ComputePoolScale) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProvider

func (o *ComputePoolScale) SetProvider(v string)

SetProvider sets Provider field to given value.

HasProvider

func (o *ComputePoolScale) HasProvider() bool

HasProvider returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]