Files
sdk/docs/ComputeCreateClusterReq.md

3.9 KiB

ComputeCreateClusterReq

Properties

Name Type Description Notes
Name Pointer to string Name is the cluster's name. Required. [optional]
NodePool Pointer to ComputeCreateClusterReqNodePool [optional]
Region Pointer to string Region is the provider region slug (e.g. "nyc3"). Required. [optional]
Version Pointer to string Version is the Kubernetes version slug; empty takes the provider default. [optional]

Methods

NewComputeCreateClusterReq

func NewComputeCreateClusterReq() *ComputeCreateClusterReq

NewComputeCreateClusterReq instantiates a new ComputeCreateClusterReq 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

NewComputeCreateClusterReqWithDefaults

func NewComputeCreateClusterReqWithDefaults() *ComputeCreateClusterReq

NewComputeCreateClusterReqWithDefaults instantiates a new ComputeCreateClusterReq 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

GetName

func (o *ComputeCreateClusterReq) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *ComputeCreateClusterReq) GetNameOk() (*string, bool)

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

SetName

func (o *ComputeCreateClusterReq) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *ComputeCreateClusterReq) HasName() bool

HasName returns a boolean if a field has been set.

GetNodePool

func (o *ComputeCreateClusterReq) GetNodePool() ComputeCreateClusterReqNodePool

GetNodePool returns the NodePool field if non-nil, zero value otherwise.

GetNodePoolOk

func (o *ComputeCreateClusterReq) GetNodePoolOk() (*ComputeCreateClusterReqNodePool, bool)

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

SetNodePool

func (o *ComputeCreateClusterReq) SetNodePool(v ComputeCreateClusterReqNodePool)

SetNodePool sets NodePool field to given value.

HasNodePool

func (o *ComputeCreateClusterReq) HasNodePool() bool

HasNodePool returns a boolean if a field has been set.

GetRegion

func (o *ComputeCreateClusterReq) GetRegion() string

GetRegion returns the Region field if non-nil, zero value otherwise.

GetRegionOk

func (o *ComputeCreateClusterReq) GetRegionOk() (*string, bool)

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

SetRegion

func (o *ComputeCreateClusterReq) SetRegion(v string)

SetRegion sets Region field to given value.

HasRegion

func (o *ComputeCreateClusterReq) HasRegion() bool

HasRegion returns a boolean if a field has been set.

GetVersion

func (o *ComputeCreateClusterReq) GetVersion() string

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *ComputeCreateClusterReq) GetVersionOk() (*string, bool)

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

SetVersion

func (o *ComputeCreateClusterReq) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *ComputeCreateClusterReq) HasVersion() bool

HasVersion returns a boolean if a field has been set.

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