Cluster
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewCluster(name string, connections []ClusterConnections, ) *Cluster
NewCluster instantiates a new Cluster 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 NewClusterWithDefaults() *Cluster
NewClusterWithDefaults instantiates a new Cluster 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 *Cluster) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Cluster) 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.
func (o *Cluster) SetName(v string)
SetName sets Name field to given value.
func (o *Cluster) GetConnections() []ClusterConnections
GetConnections returns the Connections field if non-nil, zero value otherwise.
func (o *Cluster) GetConnectionsOk() (*[]ClusterConnections, bool)
GetConnectionsOk returns a tuple with the Connections field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetConnections(v []ClusterConnections)
SetConnections sets Connections field to given value.
func (o *Cluster) GetNfs() ClusterNfs
GetNfs returns the Nfs field if non-nil, zero value otherwise.
func (o *Cluster) GetNfsOk() (*ClusterNfs, bool)
GetNfsOk returns a tuple with the Nfs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetNfs(v ClusterNfs)
SetNfs sets Nfs field to given value.
func (o *Cluster) HasNfs() bool
HasNfs returns a boolean if a field has been set.
func (o *Cluster) GetSize() int32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *Cluster) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Cluster) SetSize(v int32)
SetSize sets Size field to given value.
func (o *Cluster) HasSize() bool
HasSize returns a boolean if a field has been set.
Name
string
Connections
Nfs
Pointer to ClusterNfs
[optional]
Size
Pointer to int32
The size of the Network File Storage cluster in TiB. Note that the cluster size cannot be reduced after provisioning. This value determines the billing fees.
[optional] [default to 2]