Skip to content

Latest commit

 

History

History
265 lines (142 loc) · 7.71 KB

File metadata and controls

265 lines (142 loc) · 7.71 KB

CreateClusterPayload

Properties

Name Type Description Notes
DeploymentMode Pointer to string [optional] [default to "full"]
EnvironmentName string
KeypairName string
KubernetesVersion string
MasterCount Pointer to int32 [optional]
MasterFlavorName string
Name string
NodeCount Pointer to int32 [optional]
NodeFlavorName Pointer to string [optional]
NodeGroups Pointer to []CreateClusterNodeGroupPayload [optional]

Methods

NewCreateClusterPayload

func NewCreateClusterPayload(environmentName string, keypairName string, kubernetesVersion string, masterFlavorName string, name string, ) *CreateClusterPayload

NewCreateClusterPayload instantiates a new CreateClusterPayload 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

NewCreateClusterPayloadWithDefaults

func NewCreateClusterPayloadWithDefaults() *CreateClusterPayload

NewCreateClusterPayloadWithDefaults instantiates a new CreateClusterPayload 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

GetDeploymentMode

func (o *CreateClusterPayload) GetDeploymentMode() string

GetDeploymentMode returns the DeploymentMode field if non-nil, zero value otherwise.

GetDeploymentModeOk

func (o *CreateClusterPayload) GetDeploymentModeOk() (*string, bool)

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

SetDeploymentMode

func (o *CreateClusterPayload) SetDeploymentMode(v string)

SetDeploymentMode sets DeploymentMode field to given value.

HasDeploymentMode

func (o *CreateClusterPayload) HasDeploymentMode() bool

HasDeploymentMode returns a boolean if a field has been set.

GetEnvironmentName

func (o *CreateClusterPayload) GetEnvironmentName() string

GetEnvironmentName returns the EnvironmentName field if non-nil, zero value otherwise.

GetEnvironmentNameOk

func (o *CreateClusterPayload) GetEnvironmentNameOk() (*string, bool)

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

SetEnvironmentName

func (o *CreateClusterPayload) SetEnvironmentName(v string)

SetEnvironmentName sets EnvironmentName field to given value.

GetKeypairName

func (o *CreateClusterPayload) GetKeypairName() string

GetKeypairName returns the KeypairName field if non-nil, zero value otherwise.

GetKeypairNameOk

func (o *CreateClusterPayload) GetKeypairNameOk() (*string, bool)

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

SetKeypairName

func (o *CreateClusterPayload) SetKeypairName(v string)

SetKeypairName sets KeypairName field to given value.

GetKubernetesVersion

func (o *CreateClusterPayload) GetKubernetesVersion() string

GetKubernetesVersion returns the KubernetesVersion field if non-nil, zero value otherwise.

GetKubernetesVersionOk

func (o *CreateClusterPayload) GetKubernetesVersionOk() (*string, bool)

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

SetKubernetesVersion

func (o *CreateClusterPayload) SetKubernetesVersion(v string)

SetKubernetesVersion sets KubernetesVersion field to given value.

GetMasterCount

func (o *CreateClusterPayload) GetMasterCount() int32

GetMasterCount returns the MasterCount field if non-nil, zero value otherwise.

GetMasterCountOk

func (o *CreateClusterPayload) GetMasterCountOk() (*int32, bool)

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

SetMasterCount

func (o *CreateClusterPayload) SetMasterCount(v int32)

SetMasterCount sets MasterCount field to given value.

HasMasterCount

func (o *CreateClusterPayload) HasMasterCount() bool

HasMasterCount returns a boolean if a field has been set.

GetMasterFlavorName

func (o *CreateClusterPayload) GetMasterFlavorName() string

GetMasterFlavorName returns the MasterFlavorName field if non-nil, zero value otherwise.

GetMasterFlavorNameOk

func (o *CreateClusterPayload) GetMasterFlavorNameOk() (*string, bool)

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

SetMasterFlavorName

func (o *CreateClusterPayload) SetMasterFlavorName(v string)

SetMasterFlavorName sets MasterFlavorName field to given value.

GetName

func (o *CreateClusterPayload) GetName() string

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

GetNameOk

func (o *CreateClusterPayload) 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 *CreateClusterPayload) SetName(v string)

SetName sets Name field to given value.

GetNodeCount

func (o *CreateClusterPayload) GetNodeCount() int32

GetNodeCount returns the NodeCount field if non-nil, zero value otherwise.

GetNodeCountOk

func (o *CreateClusterPayload) GetNodeCountOk() (*int32, bool)

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

SetNodeCount

func (o *CreateClusterPayload) SetNodeCount(v int32)

SetNodeCount sets NodeCount field to given value.

HasNodeCount

func (o *CreateClusterPayload) HasNodeCount() bool

HasNodeCount returns a boolean if a field has been set.

GetNodeFlavorName

func (o *CreateClusterPayload) GetNodeFlavorName() string

GetNodeFlavorName returns the NodeFlavorName field if non-nil, zero value otherwise.

GetNodeFlavorNameOk

func (o *CreateClusterPayload) GetNodeFlavorNameOk() (*string, bool)

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

SetNodeFlavorName

func (o *CreateClusterPayload) SetNodeFlavorName(v string)

SetNodeFlavorName sets NodeFlavorName field to given value.

HasNodeFlavorName

func (o *CreateClusterPayload) HasNodeFlavorName() bool

HasNodeFlavorName returns a boolean if a field has been set.

GetNodeGroups

func (o *CreateClusterPayload) GetNodeGroups() []CreateClusterNodeGroupPayload

GetNodeGroups returns the NodeGroups field if non-nil, zero value otherwise.

GetNodeGroupsOk

func (o *CreateClusterPayload) GetNodeGroupsOk() (*[]CreateClusterNodeGroupPayload, bool)

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

SetNodeGroups

func (o *CreateClusterPayload) SetNodeGroups(v []CreateClusterNodeGroupPayload)

SetNodeGroups sets NodeGroups field to given value.

HasNodeGroups

func (o *CreateClusterPayload) HasNodeGroups() bool

HasNodeGroups returns a boolean if a field has been set.

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