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.6 KiB
VmAddDevice
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Path | Pointer to string | [optional] | |
| Iommu | Pointer to bool | [optional] [default to false] | |
| Id | Pointer to string | [optional] |
Methods
NewVmAddDevice
func NewVmAddDevice() *VmAddDevice
NewVmAddDevice instantiates a new VmAddDevice 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
NewVmAddDeviceWithDefaults
func NewVmAddDeviceWithDefaults() *VmAddDevice
NewVmAddDeviceWithDefaults instantiates a new VmAddDevice 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 *VmAddDevice) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
GetPathOk
func (o *VmAddDevice) 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 *VmAddDevice) SetPath(v string)
SetPath sets Path field to given value.
HasPath
func (o *VmAddDevice) HasPath() bool
HasPath returns a boolean if a field has been set.
GetIommu
func (o *VmAddDevice) GetIommu() bool
GetIommu returns the Iommu field if non-nil, zero value otherwise.
GetIommuOk
func (o *VmAddDevice) 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 *VmAddDevice) SetIommu(v bool)
SetIommu sets Iommu field to given value.
HasIommu
func (o *VmAddDevice) HasIommu() bool
HasIommu returns a boolean if a field has been set.
GetId
func (o *VmAddDevice) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *VmAddDevice) 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 *VmAddDevice) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *VmAddDevice) HasId() bool
HasId returns a boolean if a field has been set.