Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.2 KB

File metadata and controls

160 lines (87 loc) · 4.2 KB

ContainerOverviewFields

Properties

Name Type Description Notes
CostPerHour Pointer to float32 [optional]
Count Pointer to int32 [optional]
Gpus Pointer to int32 [optional]
Ram Pointer to float32 [optional]
Vcpus Pointer to int32 [optional]

Methods

NewContainerOverviewFields

func NewContainerOverviewFields() *ContainerOverviewFields

NewContainerOverviewFields instantiates a new ContainerOverviewFields 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

NewContainerOverviewFieldsWithDefaults

func NewContainerOverviewFieldsWithDefaults() *ContainerOverviewFields

NewContainerOverviewFieldsWithDefaults instantiates a new ContainerOverviewFields 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

GetCostPerHour

func (o *ContainerOverviewFields) GetCostPerHour() float32

GetCostPerHour returns the CostPerHour field if non-nil, zero value otherwise.

GetCostPerHourOk

func (o *ContainerOverviewFields) GetCostPerHourOk() (*float32, bool)

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

SetCostPerHour

func (o *ContainerOverviewFields) SetCostPerHour(v float32)

SetCostPerHour sets CostPerHour field to given value.

HasCostPerHour

func (o *ContainerOverviewFields) HasCostPerHour() bool

HasCostPerHour returns a boolean if a field has been set.

GetCount

func (o *ContainerOverviewFields) GetCount() int32

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

GetCountOk

func (o *ContainerOverviewFields) GetCountOk() (*int32, 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 *ContainerOverviewFields) SetCount(v int32)

SetCount sets Count field to given value.

HasCount

func (o *ContainerOverviewFields) HasCount() bool

HasCount returns a boolean if a field has been set.

GetGpus

func (o *ContainerOverviewFields) GetGpus() int32

GetGpus returns the Gpus field if non-nil, zero value otherwise.

GetGpusOk

func (o *ContainerOverviewFields) GetGpusOk() (*int32, bool)

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

SetGpus

func (o *ContainerOverviewFields) SetGpus(v int32)

SetGpus sets Gpus field to given value.

HasGpus

func (o *ContainerOverviewFields) HasGpus() bool

HasGpus returns a boolean if a field has been set.

GetRam

func (o *ContainerOverviewFields) GetRam() float32

GetRam returns the Ram field if non-nil, zero value otherwise.

GetRamOk

func (o *ContainerOverviewFields) GetRamOk() (*float32, bool)

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

SetRam

func (o *ContainerOverviewFields) SetRam(v float32)

SetRam sets Ram field to given value.

HasRam

func (o *ContainerOverviewFields) HasRam() bool

HasRam returns a boolean if a field has been set.

GetVcpus

func (o *ContainerOverviewFields) GetVcpus() int32

GetVcpus returns the Vcpus field if non-nil, zero value otherwise.

GetVcpusOk

func (o *ContainerOverviewFields) GetVcpusOk() (*int32, bool)

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

SetVcpus

func (o *ContainerOverviewFields) SetVcpus(v int32)

SetVcpus sets Vcpus field to given value.

HasVcpus

func (o *ContainerOverviewFields) HasVcpus() bool

HasVcpus returns a boolean if a field has been set.

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