Name | Type | Description | Notes |
---|---|---|---|
Cpus | Pointer to CpusConfig | [optional] | |
Memory | Pointer to MemoryConfig | [optional] | |
Payload | PayloadConfig | ||
Disks | Pointer to []DiskConfig | [optional] | |
Net | Pointer to []NetConfig | [optional] | |
Rng | Pointer to RngConfig | [optional] | |
Balloon | Pointer to BalloonConfig | [optional] | |
Fs | Pointer to []FsConfig | [optional] | |
Pmem | Pointer to []PmemConfig | [optional] | |
Serial | Pointer to ConsoleConfig | [optional] | |
Console | Pointer to ConsoleConfig | [optional] | |
Devices | Pointer to []DeviceConfig | [optional] | |
Vdpa | Pointer to []VdpaConfig | [optional] | |
Vsock | Pointer to VsockConfig | [optional] | |
SgxEpc | Pointer to []SgxEpcConfig | [optional] | |
Numa | Pointer to []NumaConfig | [optional] | |
Iommu | Pointer to bool | [optional] [default to false] | |
Watchdog | Pointer to bool | [optional] [default to false] | |
Platform | Pointer to PlatformConfig | [optional] | |
Tpm | Pointer to TpmConfig | [optional] |
func NewVmConfig(payload PayloadConfig, ) *VmConfig
NewVmConfig instantiates a new VmConfig 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 NewVmConfigWithDefaults() *VmConfig
NewVmConfigWithDefaults instantiates a new VmConfig 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 *VmConfig) GetCpus() CpusConfig
GetCpus returns the Cpus field if non-nil, zero value otherwise.
func (o *VmConfig) GetCpusOk() (*CpusConfig, 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.
func (o *VmConfig) SetCpus(v CpusConfig)
SetCpus sets Cpus field to given value.
func (o *VmConfig) HasCpus() bool
HasCpus returns a boolean if a field has been set.
func (o *VmConfig) GetMemory() MemoryConfig
GetMemory returns the Memory field if non-nil, zero value otherwise.
func (o *VmConfig) GetMemoryOk() (*MemoryConfig, bool)
GetMemoryOk returns a tuple with the Memory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetMemory(v MemoryConfig)
SetMemory sets Memory field to given value.
func (o *VmConfig) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (o *VmConfig) GetPayload() PayloadConfig
GetPayload returns the Payload field if non-nil, zero value otherwise.
func (o *VmConfig) GetPayloadOk() (*PayloadConfig, bool)
GetPayloadOk returns a tuple with the Payload field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetPayload(v PayloadConfig)
SetPayload sets Payload field to given value.
func (o *VmConfig) GetDisks() []DiskConfig
GetDisks returns the Disks field if non-nil, zero value otherwise.
func (o *VmConfig) GetDisksOk() (*[]DiskConfig, bool)
GetDisksOk returns a tuple with the Disks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetDisks(v []DiskConfig)
SetDisks sets Disks field to given value.
func (o *VmConfig) HasDisks() bool
HasDisks returns a boolean if a field has been set.
func (o *VmConfig) GetNet() []NetConfig
GetNet returns the Net field if non-nil, zero value otherwise.
func (o *VmConfig) GetNetOk() (*[]NetConfig, bool)
GetNetOk returns a tuple with the Net field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetNet(v []NetConfig)
SetNet sets Net field to given value.
func (o *VmConfig) HasNet() bool
HasNet returns a boolean if a field has been set.
func (o *VmConfig) GetRng() RngConfig
GetRng returns the Rng field if non-nil, zero value otherwise.
func (o *VmConfig) GetRngOk() (*RngConfig, bool)
GetRngOk returns a tuple with the Rng field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetRng(v RngConfig)
SetRng sets Rng field to given value.
func (o *VmConfig) HasRng() bool
HasRng returns a boolean if a field has been set.
func (o *VmConfig) GetBalloon() BalloonConfig
GetBalloon returns the Balloon field if non-nil, zero value otherwise.
func (o *VmConfig) GetBalloonOk() (*BalloonConfig, bool)
GetBalloonOk returns a tuple with the Balloon field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetBalloon(v BalloonConfig)
SetBalloon sets Balloon field to given value.
func (o *VmConfig) HasBalloon() bool
HasBalloon returns a boolean if a field has been set.
func (o *VmConfig) GetFs() []FsConfig
GetFs returns the Fs field if non-nil, zero value otherwise.
func (o *VmConfig) GetFsOk() (*[]FsConfig, bool)
GetFsOk returns a tuple with the Fs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetFs(v []FsConfig)
SetFs sets Fs field to given value.
func (o *VmConfig) HasFs() bool
HasFs returns a boolean if a field has been set.
func (o *VmConfig) GetPmem() []PmemConfig
GetPmem returns the Pmem field if non-nil, zero value otherwise.
func (o *VmConfig) GetPmemOk() (*[]PmemConfig, bool)
GetPmemOk returns a tuple with the Pmem field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetPmem(v []PmemConfig)
SetPmem sets Pmem field to given value.
func (o *VmConfig) HasPmem() bool
HasPmem returns a boolean if a field has been set.
func (o *VmConfig) GetSerial() ConsoleConfig
GetSerial returns the Serial field if non-nil, zero value otherwise.
func (o *VmConfig) GetSerialOk() (*ConsoleConfig, bool)
GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetSerial(v ConsoleConfig)
SetSerial sets Serial field to given value.
func (o *VmConfig) HasSerial() bool
HasSerial returns a boolean if a field has been set.
func (o *VmConfig) GetConsole() ConsoleConfig
GetConsole returns the Console field if non-nil, zero value otherwise.
func (o *VmConfig) GetConsoleOk() (*ConsoleConfig, bool)
GetConsoleOk returns a tuple with the Console field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetConsole(v ConsoleConfig)
SetConsole sets Console field to given value.
func (o *VmConfig) HasConsole() bool
HasConsole returns a boolean if a field has been set.
func (o *VmConfig) GetDevices() []DeviceConfig
GetDevices returns the Devices field if non-nil, zero value otherwise.
func (o *VmConfig) GetDevicesOk() (*[]DeviceConfig, bool)
GetDevicesOk returns a tuple with the Devices field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetDevices(v []DeviceConfig)
SetDevices sets Devices field to given value.
func (o *VmConfig) HasDevices() bool
HasDevices returns a boolean if a field has been set.
func (o *VmConfig) GetVdpa() []VdpaConfig
GetVdpa returns the Vdpa field if non-nil, zero value otherwise.
func (o *VmConfig) GetVdpaOk() (*[]VdpaConfig, bool)
GetVdpaOk returns a tuple with the Vdpa field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetVdpa(v []VdpaConfig)
SetVdpa sets Vdpa field to given value.
func (o *VmConfig) HasVdpa() bool
HasVdpa returns a boolean if a field has been set.
func (o *VmConfig) GetVsock() VsockConfig
GetVsock returns the Vsock field if non-nil, zero value otherwise.
func (o *VmConfig) GetVsockOk() (*VsockConfig, bool)
GetVsockOk returns a tuple with the Vsock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetVsock(v VsockConfig)
SetVsock sets Vsock field to given value.
func (o *VmConfig) HasVsock() bool
HasVsock returns a boolean if a field has been set.
func (o *VmConfig) GetSgxEpc() []SgxEpcConfig
GetSgxEpc returns the SgxEpc field if non-nil, zero value otherwise.
func (o *VmConfig) GetSgxEpcOk() (*[]SgxEpcConfig, bool)
GetSgxEpcOk returns a tuple with the SgxEpc field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetSgxEpc(v []SgxEpcConfig)
SetSgxEpc sets SgxEpc field to given value.
func (o *VmConfig) HasSgxEpc() bool
HasSgxEpc returns a boolean if a field has been set.
func (o *VmConfig) GetNuma() []NumaConfig
GetNuma returns the Numa field if non-nil, zero value otherwise.
func (o *VmConfig) GetNumaOk() (*[]NumaConfig, bool)
GetNumaOk returns a tuple with the Numa field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetNuma(v []NumaConfig)
SetNuma sets Numa field to given value.
func (o *VmConfig) HasNuma() bool
HasNuma returns a boolean if a field has been set.
func (o *VmConfig) GetIommu() bool
GetIommu returns the Iommu field if non-nil, zero value otherwise.
func (o *VmConfig) GetIommuOk() (*bool, bool)
GetIommuOk returns a tuple with the Iommu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetIommu(v bool)
SetIommu sets Iommu field to given value.
func (o *VmConfig) HasIommu() bool
HasIommu returns a boolean if a field has been set.
func (o *VmConfig) GetWatchdog() bool
GetWatchdog returns the Watchdog field if non-nil, zero value otherwise.
func (o *VmConfig) GetWatchdogOk() (*bool, bool)
GetWatchdogOk returns a tuple with the Watchdog field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetWatchdog(v bool)
SetWatchdog sets Watchdog field to given value.
func (o *VmConfig) HasWatchdog() bool
HasWatchdog returns a boolean if a field has been set.
func (o *VmConfig) GetPlatform() PlatformConfig
GetPlatform returns the Platform field if non-nil, zero value otherwise.
func (o *VmConfig) GetPlatformOk() (*PlatformConfig, bool)
GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetPlatform(v PlatformConfig)
SetPlatform sets Platform field to given value.
func (o *VmConfig) HasPlatform() bool
HasPlatform returns a boolean if a field has been set.
func (o *VmConfig) GetTpm() TpmConfig
GetTpm returns the Tpm field if non-nil, zero value otherwise.
func (o *VmConfig) GetTpmOk() (*TpmConfig, bool)
GetTpmOk returns a tuple with the Tpm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VmConfig) SetTpm(v TpmConfig)
SetTpm sets Tpm field to given value.
func (o *VmConfig) HasTpm() bool
HasTpm returns a boolean if a field has been set.