NicProperties
Properties
Methods
NewNicProperties
func NewNicProperties(lan int32, ) *NicProperties
NewNicProperties instantiates a new NicProperties 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
NewNicPropertiesWithDefaults
func NewNicPropertiesWithDefaults() *NicProperties
NewNicPropertiesWithDefaults instantiates a new NicProperties 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
GetName
func (o *NicProperties) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *NicProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *NicProperties) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *NicProperties) HasName() bool
HasName returns a boolean if a field has been set.
GetMac
func (o *NicProperties) GetMac() string
GetMac returns the Mac field if non-nil, zero value otherwise.
GetMacOk
func (o *NicProperties) 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.
SetMac
func (o *NicProperties) SetMac(v string)
SetMac sets Mac field to given value.
HasMac
func (o *NicProperties) HasMac() bool
HasMac returns a boolean if a field has been set.
GetIps
func (o *NicProperties) GetIps() []string
GetIps returns the Ips field if non-nil, zero value otherwise.
GetIpsOk
func (o *NicProperties) GetIpsOk() (*[]string, bool)
GetIpsOk returns a tuple with the Ips field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIps
func (o *NicProperties) SetIps(v []string)
SetIps sets Ips field to given value.
HasIps
func (o *NicProperties) HasIps() bool
HasIps returns a boolean if a field has been set.
GetDhcp
func (o *NicProperties) GetDhcp() bool
GetDhcp returns the Dhcp field if non-nil, zero value otherwise.
GetDhcpOk
func (o *NicProperties) GetDhcpOk() (*bool, bool)
GetDhcpOk returns a tuple with the Dhcp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDhcp
func (o *NicProperties) SetDhcp(v bool)
SetDhcp sets Dhcp field to given value.
HasDhcp
func (o *NicProperties) HasDhcp() bool
HasDhcp returns a boolean if a field has been set.
GetLan
func (o *NicProperties) GetLan() int32
GetLan returns the Lan field if non-nil, zero value otherwise.
GetLanOk
func (o *NicProperties) GetLanOk() (*int32, bool)
GetLanOk returns a tuple with the Lan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLan
func (o *NicProperties) SetLan(v int32)
SetLan sets Lan field to given value.
GetFirewallActive
func (o *NicProperties) GetFirewallActive() bool
GetFirewallActive returns the FirewallActive field if non-nil, zero value otherwise.
GetFirewallActiveOk
func (o *NicProperties) GetFirewallActiveOk() (*bool, bool)
GetFirewallActiveOk returns a tuple with the FirewallActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFirewallActive
func (o *NicProperties) SetFirewallActive(v bool)
SetFirewallActive sets FirewallActive field to given value.
HasFirewallActive
func (o *NicProperties) HasFirewallActive() bool
HasFirewallActive returns a boolean if a field has been set.
GetNat
func (o *NicProperties) GetNat() bool
GetNat returns the Nat field if non-nil, zero value otherwise.
GetNatOk
func (o *NicProperties) GetNatOk() (*bool, bool)
GetNatOk returns a tuple with the Nat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNat
func (o *NicProperties) SetNat(v bool)
SetNat sets Nat field to given value.
HasNat
func (o *NicProperties) HasNat() bool
HasNat returns a boolean if a field has been set.
Last updated