Back to Kata Containers

VmAddUserDevice

src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/VmAddUserDevice.md

3.30.01.4 KB
Original Source

VmAddUserDevice

Properties

NameTypeDescriptionNotes
Socketstring

Methods

NewVmAddUserDevice

func NewVmAddUserDevice(socket string, ) *VmAddUserDevice

NewVmAddUserDevice instantiates a new VmAddUserDevice 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

NewVmAddUserDeviceWithDefaults

func NewVmAddUserDeviceWithDefaults() *VmAddUserDevice

NewVmAddUserDeviceWithDefaults instantiates a new VmAddUserDevice 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

GetSocket

func (o *VmAddUserDevice) GetSocket() string

GetSocket returns the Socket field if non-nil, zero value otherwise.

GetSocketOk

func (o *VmAddUserDevice) GetSocketOk() (*string, bool)

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

SetSocket

func (o *VmAddUserDevice) SetSocket(v string)

SetSocket sets Socket field to given value.

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