src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/NetConfig.md
| Name | Type | Description | Notes |
|---|---|---|---|
| Tap | Pointer to string | [optional] | |
| Ip | Pointer to string | IPv4 or IPv6 address | [optional] [default to "192.168.249.1"] |
| Mask | Pointer to string | Must be a valid IPv4 netmask if ip is an IPv4 address or a valid IPv6 netmask if ip is an IPv6 address. | [optional] [default to "255.255.255.0"] |
| Mac | Pointer to string | [optional] | |
| HostMac | Pointer to string | [optional] | |
| Mtu | Pointer to int32 | [optional] | |
| Iommu | Pointer to bool | [optional] [default to false] | |
| NumQueues | Pointer to int32 | [optional] [default to 2] | |
| QueueSize | Pointer to int32 | [optional] [default to 256] | |
| VhostUser | Pointer to bool | [optional] [default to false] | |
| VhostSocket | Pointer to string | [optional] | |
| VhostMode | Pointer to string | [optional] [default to "Client"] | |
| Id | Pointer to string | [optional] | |
| PciSegment | Pointer to int32 | [optional] | |
| RateLimiterConfig | Pointer to RateLimiterConfig | [optional] | |
| OffloadTso | Pointer to bool | [optional] [default to true] | |
| OffloadUfo | Pointer to bool | [optional] [default to true] | |
| OffloadCsum | Pointer to bool | [optional] [default to true] |
func NewNetConfig() *NetConfig
NewNetConfig instantiates a new NetConfig 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 NewNetConfigWithDefaults() *NetConfig
NewNetConfigWithDefaults instantiates a new NetConfig 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 *NetConfig) GetTap() string
GetTap returns the Tap field if non-nil, zero value otherwise.
func (o *NetConfig) GetTapOk() (*string, bool)
GetTapOk returns a tuple with the Tap field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetConfig) SetTap(v string)
SetTap sets Tap field to given value.
func (o *NetConfig) HasTap() bool
HasTap returns a boolean if a field has been set.
func (o *NetConfig) GetIp() string
GetIp returns the Ip field if non-nil, zero value otherwise.
func (o *NetConfig) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetConfig) SetIp(v string)
SetIp sets Ip field to given value.
func (o *NetConfig) HasIp() bool
HasIp returns a boolean if a field has been set.
func (o *NetConfig) GetMask() string
GetMask returns the Mask field if non-nil, zero value otherwise.
func (o *NetConfig) GetMaskOk() (*string, bool)
GetMaskOk returns a tuple with the Mask field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetConfig) SetMask(v string)
SetMask sets Mask field to given value.
func (o *NetConfig) HasMask() bool
HasMask returns a boolean if a field has been set.
func (o *NetConfig) GetMac() string
GetMac returns the Mac field if non-nil, zero value otherwise.
func (o *NetConfig) GetMacOk() (*string, bool)
GetMacOk returns a tuple with the Mac field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetConfig) SetMac(v string)
SetMac sets Mac field to given value.
func (o *NetConfig) HasMac() bool
HasMac returns a boolean if a field has been set.
func (o *NetConfig) GetHostMac() string
GetHostMac returns the HostMac field if non-nil, zero value otherwise.
func (o *NetConfig) GetHostMacOk() (*string, bool)
GetHostMacOk returns a tuple with the HostMac field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetConfig) SetHostMac(v string)
SetHostMac sets HostMac field to given value.
func (o *NetConfig) HasHostMac() bool
HasHostMac returns a boolean if a field has been set.
func (o *NetConfig) GetMtu() int32
GetMtu returns the Mtu field if non-nil, zero value otherwise.
func (o *NetConfig) GetMtuOk() (*int32, bool)
GetMtuOk returns a tuple with the Mtu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetConfig) SetMtu(v int32)
SetMtu sets Mtu field to given value.
func (o *NetConfig) HasMtu() bool
HasMtu returns a boolean if a field has been set.
func (o *NetConfig) GetIommu() bool
GetIommu returns the Iommu field if non-nil, zero value otherwise.
func (o *NetConfig) 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 *NetConfig) SetIommu(v bool)
SetIommu sets Iommu field to given value.
func (o *NetConfig) HasIommu() bool
HasIommu returns a boolean if a field has been set.
func (o *NetConfig) GetNumQueues() int32
GetNumQueues returns the NumQueues field if non-nil, zero value otherwise.
func (o *NetConfig) 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 *NetConfig) SetNumQueues(v int32)
SetNumQueues sets NumQueues field to given value.
func (o *NetConfig) HasNumQueues() bool
HasNumQueues returns a boolean if a field has been set.
func (o *NetConfig) GetQueueSize() int32
GetQueueSize returns the QueueSize field if non-nil, zero value otherwise.
func (o *NetConfig) 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 *NetConfig) SetQueueSize(v int32)
SetQueueSize sets QueueSize field to given value.
func (o *NetConfig) HasQueueSize() bool
HasQueueSize returns a boolean if a field has been set.
func (o *NetConfig) GetVhostUser() bool
GetVhostUser returns the VhostUser field if non-nil, zero value otherwise.
func (o *NetConfig) 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 *NetConfig) SetVhostUser(v bool)
SetVhostUser sets VhostUser field to given value.
func (o *NetConfig) HasVhostUser() bool
HasVhostUser returns a boolean if a field has been set.
func (o *NetConfig) GetVhostSocket() string
GetVhostSocket returns the VhostSocket field if non-nil, zero value otherwise.
func (o *NetConfig) 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 *NetConfig) SetVhostSocket(v string)
SetVhostSocket sets VhostSocket field to given value.
func (o *NetConfig) HasVhostSocket() bool
HasVhostSocket returns a boolean if a field has been set.
func (o *NetConfig) GetVhostMode() string
GetVhostMode returns the VhostMode field if non-nil, zero value otherwise.
func (o *NetConfig) GetVhostModeOk() (*string, bool)
GetVhostModeOk returns a tuple with the VhostMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetConfig) SetVhostMode(v string)
SetVhostMode sets VhostMode field to given value.
func (o *NetConfig) HasVhostMode() bool
HasVhostMode returns a boolean if a field has been set.
func (o *NetConfig) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *NetConfig) 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 *NetConfig) SetId(v string)
SetId sets Id field to given value.
func (o *NetConfig) HasId() bool
HasId returns a boolean if a field has been set.
func (o *NetConfig) GetPciSegment() int32
GetPciSegment returns the PciSegment field if non-nil, zero value otherwise.
func (o *NetConfig) 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 *NetConfig) SetPciSegment(v int32)
SetPciSegment sets PciSegment field to given value.
func (o *NetConfig) HasPciSegment() bool
HasPciSegment returns a boolean if a field has been set.
func (o *NetConfig) GetRateLimiterConfig() RateLimiterConfig
GetRateLimiterConfig returns the RateLimiterConfig field if non-nil, zero value otherwise.
func (o *NetConfig) 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 *NetConfig) SetRateLimiterConfig(v RateLimiterConfig)
SetRateLimiterConfig sets RateLimiterConfig field to given value.
func (o *NetConfig) HasRateLimiterConfig() bool
HasRateLimiterConfig returns a boolean if a field has been set.
func (o *NetConfig) GetOffloadTso() bool
GetOffloadTso returns the OffloadTso field if non-nil, zero value otherwise.
func (o *NetConfig) GetOffloadTsoOk() (*bool, bool)
GetOffloadTsoOk returns a tuple with the OffloadTso field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetConfig) SetOffloadTso(v bool)
SetOffloadTso sets OffloadTso field to given value.
func (o *NetConfig) HasOffloadTso() bool
HasOffloadTso returns a boolean if a field has been set.
func (o *NetConfig) GetOffloadUfo() bool
GetOffloadUfo returns the OffloadUfo field if non-nil, zero value otherwise.
func (o *NetConfig) GetOffloadUfoOk() (*bool, bool)
GetOffloadUfoOk returns a tuple with the OffloadUfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetConfig) SetOffloadUfo(v bool)
SetOffloadUfo sets OffloadUfo field to given value.
func (o *NetConfig) HasOffloadUfo() bool
HasOffloadUfo returns a boolean if a field has been set.
func (o *NetConfig) GetOffloadCsum() bool
GetOffloadCsum returns the OffloadCsum field if non-nil, zero value otherwise.
func (o *NetConfig) GetOffloadCsumOk() (*bool, bool)
GetOffloadCsumOk returns a tuple with the OffloadCsum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetConfig) SetOffloadCsum(v bool)
SetOffloadCsum sets OffloadCsum field to given value.
func (o *NetConfig) HasOffloadCsum() bool
HasOffloadCsum returns a boolean if a field has been set.