This patch re-generates the client code for Cloud Hypervisor with the
updated `openapi-generator` v5.2.1.
Signed-off-by: Bo Chen <chen.bo@intel.com>
(cherry picked from commit 46eb07e14f)
2.5 KiB
DeviceConfig
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Path | string | ||
| Iommu | Pointer to bool | [optional] [default to false] | |
| Id | Pointer to string | [optional] |
Methods
NewDeviceConfig
func NewDeviceConfig(path string, ) *DeviceConfig
NewDeviceConfig instantiates a new DeviceConfig 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
NewDeviceConfigWithDefaults
func NewDeviceConfigWithDefaults() *DeviceConfig
NewDeviceConfigWithDefaults instantiates a new DeviceConfig 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
GetPath
func (o *DeviceConfig) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
GetPathOk
func (o *DeviceConfig) 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.
SetPath
func (o *DeviceConfig) SetPath(v string)
SetPath sets Path field to given value.
GetIommu
func (o *DeviceConfig) GetIommu() bool
GetIommu returns the Iommu field if non-nil, zero value otherwise.
GetIommuOk
func (o *DeviceConfig) 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.
SetIommu
func (o *DeviceConfig) SetIommu(v bool)
SetIommu sets Iommu field to given value.
HasIommu
func (o *DeviceConfig) HasIommu() bool
HasIommu returns a boolean if a field has been set.
GetId
func (o *DeviceConfig) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *DeviceConfig) 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.
SetId
func (o *DeviceConfig) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *DeviceConfig) HasId() bool
HasId returns a boolean if a field has been set.