src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/DiskConfig.md
| Name | Type | Description | Notes |
|---|---|---|---|
| Path | Pointer to string | [optional] | |
| Readonly | Pointer to bool | [optional] [default to false] | |
| Direct | Pointer to bool | [optional] [default to false] | |
| Iommu | Pointer to bool | [optional] [default to false] | |
| NumQueues | Pointer to int32 | [optional] [default to 1] | |
| QueueSize | Pointer to int32 | [optional] [default to 128] | |
| VhostUser | Pointer to bool | [optional] [default to false] | |
| VhostSocket | Pointer to string | [optional] | |
| RateLimiterConfig | Pointer to RateLimiterConfig | [optional] | |
| PciSegment | Pointer to int32 | [optional] | |
| Id | Pointer to string | [optional] | |
| Serial | Pointer to string | [optional] | |
| RateLimitGroup | Pointer to string | [optional] | |
| QueueAffinity | Pointer to []VirtQueueAffinity | [optional] | |
| BackingFiles | Pointer to bool | [optional] [default to false] | |
| Sparse | Pointer to bool | [optional] [default to true] | |
| ImageType | Pointer to string | [optional] |
func NewDiskConfig() *DiskConfig
NewDiskConfig instantiates a new DiskConfig 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 NewDiskConfigWithDefaults() *DiskConfig
NewDiskConfigWithDefaults instantiates a new DiskConfig 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 *DiskConfig) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *DiskConfig) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetPath(v string)
SetPath sets Path field to given value.
func (o *DiskConfig) HasPath() bool
HasPath returns a boolean if a field has been set.
func (o *DiskConfig) GetReadonly() bool
GetReadonly returns the Readonly field if non-nil, zero value otherwise.
func (o *DiskConfig) GetReadonlyOk() (*bool, bool)
GetReadonlyOk returns a tuple with the Readonly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetReadonly(v bool)
SetReadonly sets Readonly field to given value.
func (o *DiskConfig) HasReadonly() bool
HasReadonly returns a boolean if a field has been set.
func (o *DiskConfig) GetDirect() bool
GetDirect returns the Direct field if non-nil, zero value otherwise.
func (o *DiskConfig) GetDirectOk() (*bool, bool)
GetDirectOk returns a tuple with the Direct field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetDirect(v bool)
SetDirect sets Direct field to given value.
func (o *DiskConfig) HasDirect() bool
HasDirect returns a boolean if a field has been set.
func (o *DiskConfig) GetIommu() bool
GetIommu returns the Iommu field if non-nil, zero value otherwise.
func (o *DiskConfig) 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 *DiskConfig) SetIommu(v bool)
SetIommu sets Iommu field to given value.
func (o *DiskConfig) HasIommu() bool
HasIommu returns a boolean if a field has been set.
func (o *DiskConfig) GetNumQueues() int32
GetNumQueues returns the NumQueues field if non-nil, zero value otherwise.
func (o *DiskConfig) GetNumQueuesOk() (*int32, bool)
GetNumQueuesOk returns a tuple with the NumQueues field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetNumQueues(v int32)
SetNumQueues sets NumQueues field to given value.
func (o *DiskConfig) HasNumQueues() bool
HasNumQueues returns a boolean if a field has been set.
func (o *DiskConfig) GetQueueSize() int32
GetQueueSize returns the QueueSize field if non-nil, zero value otherwise.
func (o *DiskConfig) GetQueueSizeOk() (*int32, bool)
GetQueueSizeOk returns a tuple with the QueueSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetQueueSize(v int32)
SetQueueSize sets QueueSize field to given value.
func (o *DiskConfig) HasQueueSize() bool
HasQueueSize returns a boolean if a field has been set.
func (o *DiskConfig) GetVhostUser() bool
GetVhostUser returns the VhostUser field if non-nil, zero value otherwise.
func (o *DiskConfig) GetVhostUserOk() (*bool, bool)
GetVhostUserOk returns a tuple with the VhostUser field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetVhostUser(v bool)
SetVhostUser sets VhostUser field to given value.
func (o *DiskConfig) HasVhostUser() bool
HasVhostUser returns a boolean if a field has been set.
func (o *DiskConfig) GetVhostSocket() string
GetVhostSocket returns the VhostSocket field if non-nil, zero value otherwise.
func (o *DiskConfig) GetVhostSocketOk() (*string, bool)
GetVhostSocketOk returns a tuple with the VhostSocket field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetVhostSocket(v string)
SetVhostSocket sets VhostSocket field to given value.
func (o *DiskConfig) HasVhostSocket() bool
HasVhostSocket returns a boolean if a field has been set.
func (o *DiskConfig) GetRateLimiterConfig() RateLimiterConfig
GetRateLimiterConfig returns the RateLimiterConfig field if non-nil, zero value otherwise.
func (o *DiskConfig) GetRateLimiterConfigOk() (*RateLimiterConfig, bool)
GetRateLimiterConfigOk returns a tuple with the RateLimiterConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetRateLimiterConfig(v RateLimiterConfig)
SetRateLimiterConfig sets RateLimiterConfig field to given value.
func (o *DiskConfig) HasRateLimiterConfig() bool
HasRateLimiterConfig returns a boolean if a field has been set.
func (o *DiskConfig) GetPciSegment() int32
GetPciSegment returns the PciSegment field if non-nil, zero value otherwise.
func (o *DiskConfig) GetPciSegmentOk() (*int32, bool)
GetPciSegmentOk returns a tuple with the PciSegment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetPciSegment(v int32)
SetPciSegment sets PciSegment field to given value.
func (o *DiskConfig) HasPciSegment() bool
HasPciSegment returns a boolean if a field has been set.
func (o *DiskConfig) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *DiskConfig) GetIdOk() (*string, 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.
func (o *DiskConfig) SetId(v string)
SetId sets Id field to given value.
func (o *DiskConfig) HasId() bool
HasId returns a boolean if a field has been set.
func (o *DiskConfig) GetSerial() string
GetSerial returns the Serial field if non-nil, zero value otherwise.
func (o *DiskConfig) GetSerialOk() (*string, 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 *DiskConfig) SetSerial(v string)
SetSerial sets Serial field to given value.
func (o *DiskConfig) HasSerial() bool
HasSerial returns a boolean if a field has been set.
func (o *DiskConfig) GetRateLimitGroup() string
GetRateLimitGroup returns the RateLimitGroup field if non-nil, zero value otherwise.
func (o *DiskConfig) GetRateLimitGroupOk() (*string, bool)
GetRateLimitGroupOk returns a tuple with the RateLimitGroup field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetRateLimitGroup(v string)
SetRateLimitGroup sets RateLimitGroup field to given value.
func (o *DiskConfig) HasRateLimitGroup() bool
HasRateLimitGroup returns a boolean if a field has been set.
func (o *DiskConfig) GetQueueAffinity() []VirtQueueAffinity
GetQueueAffinity returns the QueueAffinity field if non-nil, zero value otherwise.
func (o *DiskConfig) GetQueueAffinityOk() (*[]VirtQueueAffinity, bool)
GetQueueAffinityOk returns a tuple with the QueueAffinity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetQueueAffinity(v []VirtQueueAffinity)
SetQueueAffinity sets QueueAffinity field to given value.
func (o *DiskConfig) HasQueueAffinity() bool
HasQueueAffinity returns a boolean if a field has been set.
func (o *DiskConfig) GetBackingFiles() bool
GetBackingFiles returns the BackingFiles field if non-nil, zero value otherwise.
func (o *DiskConfig) GetBackingFilesOk() (*bool, bool)
GetBackingFilesOk returns a tuple with the BackingFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetBackingFiles(v bool)
SetBackingFiles sets BackingFiles field to given value.
func (o *DiskConfig) HasBackingFiles() bool
HasBackingFiles returns a boolean if a field has been set.
func (o *DiskConfig) GetSparse() bool
GetSparse returns the Sparse field if non-nil, zero value otherwise.
func (o *DiskConfig) GetSparseOk() (*bool, bool)
GetSparseOk returns a tuple with the Sparse field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetSparse(v bool)
SetSparse sets Sparse field to given value.
func (o *DiskConfig) HasSparse() bool
HasSparse returns a boolean if a field has been set.
func (o *DiskConfig) GetImageType() string
GetImageType returns the ImageType field if non-nil, zero value otherwise.
func (o *DiskConfig) GetImageTypeOk() (*string, bool)
GetImageTypeOk returns a tuple with the ImageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DiskConfig) SetImageType(v string)
SetImageType sets ImageType field to given value.
func (o *DiskConfig) HasImageType() bool
HasImageType returns a boolean if a field has been set.