Skip to content

Latest commit

 

History

History
212 lines (115 loc) · 5.43 KB

File metadata and controls

212 lines (115 loc) · 5.43 KB

FlyMachineGuest

Properties

Name Type Description Notes
CpuKind Pointer to string [optional]
Cpus Pointer to int64 [optional]
GpuKind Pointer to string [optional]
Gpus Pointer to int64 [optional]
HostDedicationId Pointer to string [optional]
KernelArgs Pointer to []string [optional]
MemoryMb Pointer to int64 [optional]

Methods

NewFlyMachineGuest

func NewFlyMachineGuest() *FlyMachineGuest

NewFlyMachineGuest instantiates a new FlyMachineGuest 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

NewFlyMachineGuestWithDefaults

func NewFlyMachineGuestWithDefaults() *FlyMachineGuest

NewFlyMachineGuestWithDefaults instantiates a new FlyMachineGuest 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

GetCpuKind

func (o *FlyMachineGuest) GetCpuKind() string

GetCpuKind returns the CpuKind field if non-nil, zero value otherwise.

GetCpuKindOk

func (o *FlyMachineGuest) GetCpuKindOk() (*string, bool)

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

SetCpuKind

func (o *FlyMachineGuest) SetCpuKind(v string)

SetCpuKind sets CpuKind field to given value.

HasCpuKind

func (o *FlyMachineGuest) HasCpuKind() bool

HasCpuKind returns a boolean if a field has been set.

GetCpus

func (o *FlyMachineGuest) GetCpus() int64

GetCpus returns the Cpus field if non-nil, zero value otherwise.

GetCpusOk

func (o *FlyMachineGuest) GetCpusOk() (*int64, bool)

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

SetCpus

func (o *FlyMachineGuest) SetCpus(v int64)

SetCpus sets Cpus field to given value.

HasCpus

func (o *FlyMachineGuest) HasCpus() bool

HasCpus returns a boolean if a field has been set.

GetGpuKind

func (o *FlyMachineGuest) GetGpuKind() string

GetGpuKind returns the GpuKind field if non-nil, zero value otherwise.

GetGpuKindOk

func (o *FlyMachineGuest) GetGpuKindOk() (*string, bool)

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

SetGpuKind

func (o *FlyMachineGuest) SetGpuKind(v string)

SetGpuKind sets GpuKind field to given value.

HasGpuKind

func (o *FlyMachineGuest) HasGpuKind() bool

HasGpuKind returns a boolean if a field has been set.

GetGpus

func (o *FlyMachineGuest) GetGpus() int64

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

GetGpusOk

func (o *FlyMachineGuest) GetGpusOk() (*int64, 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 *FlyMachineGuest) SetGpus(v int64)

SetGpus sets Gpus field to given value.

HasGpus

func (o *FlyMachineGuest) HasGpus() bool

HasGpus returns a boolean if a field has been set.

GetHostDedicationId

func (o *FlyMachineGuest) GetHostDedicationId() string

GetHostDedicationId returns the HostDedicationId field if non-nil, zero value otherwise.

GetHostDedicationIdOk

func (o *FlyMachineGuest) GetHostDedicationIdOk() (*string, bool)

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

SetHostDedicationId

func (o *FlyMachineGuest) SetHostDedicationId(v string)

SetHostDedicationId sets HostDedicationId field to given value.

HasHostDedicationId

func (o *FlyMachineGuest) HasHostDedicationId() bool

HasHostDedicationId returns a boolean if a field has been set.

GetKernelArgs

func (o *FlyMachineGuest) GetKernelArgs() []string

GetKernelArgs returns the KernelArgs field if non-nil, zero value otherwise.

GetKernelArgsOk

func (o *FlyMachineGuest) GetKernelArgsOk() (*[]string, bool)

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

SetKernelArgs

func (o *FlyMachineGuest) SetKernelArgs(v []string)

SetKernelArgs sets KernelArgs field to given value.

HasKernelArgs

func (o *FlyMachineGuest) HasKernelArgs() bool

HasKernelArgs returns a boolean if a field has been set.

GetMemoryMb

func (o *FlyMachineGuest) GetMemoryMb() int64

GetMemoryMb returns the MemoryMb field if non-nil, zero value otherwise.

GetMemoryMbOk

func (o *FlyMachineGuest) GetMemoryMbOk() (*int64, bool)

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

SetMemoryMb

func (o *FlyMachineGuest) SetMemoryMb(v int64)

SetMemoryMb sets MemoryMb field to given value.

HasMemoryMb

func (o *FlyMachineGuest) HasMemoryMb() bool

HasMemoryMb returns a boolean if a field has been set.

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