Skip to content

Latest commit

 

History

History
161 lines (86 loc) · 3.96 KB

Cluster.md

File metadata and controls

161 lines (86 loc) · 3.96 KB

Cluster

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
Name string
Description Pointer to string [optional]
VirtualmachineCount int64 [readonly]

Methods

NewCluster

func NewCluster(id int32, url string, display string, name string, virtualmachineCount int64, ) *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

NewClusterWithDefaults

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

GetId

func (o *Cluster) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Cluster) GetIdOk() (*int32, bool)

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

SetId

func (o *Cluster) SetId(v int32)

SetId sets Id field to given value.

GetUrl

func (o *Cluster) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *Cluster) GetUrlOk() (*string, bool)

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

SetUrl

func (o *Cluster) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *Cluster) GetDisplay() string

GetDisplay returns the Display field if non-nil, zero value otherwise.

GetDisplayOk

func (o *Cluster) GetDisplayOk() (*string, bool)

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

SetDisplay

func (o *Cluster) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetName

func (o *Cluster) GetName() string

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

GetNameOk

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.

SetName

func (o *Cluster) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *Cluster) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Cluster) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *Cluster) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Cluster) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetVirtualmachineCount

func (o *Cluster) GetVirtualmachineCount() int64

GetVirtualmachineCount returns the VirtualmachineCount field if non-nil, zero value otherwise.

GetVirtualmachineCountOk

func (o *Cluster) GetVirtualmachineCountOk() (*int64, bool)

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

SetVirtualmachineCount

func (o *Cluster) SetVirtualmachineCount(v int64)

SetVirtualmachineCount sets VirtualmachineCount field to given value.

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