OsgWanPortIpv4ConfigVO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Gateway | Pointer to string | [optional] | |
| Gateway2 | Pointer to string | [optional] | |
| Ip | Pointer to string | [optional] | |
| Ip2 | Pointer to string | [optional] | |
| Mac | Pointer to string | [optional] | |
| Netmask | Pointer to string | [optional] | |
| PriDns | Pointer to string | [optional] | |
| PriDns2 | Pointer to string | [optional] | |
| SndDns | Pointer to string | [optional] | |
| SndDns2 | Pointer to string | [optional] |
Methods
NewOsgWanPortIpv4ConfigVO
func NewOsgWanPortIpv4ConfigVO() *OsgWanPortIpv4ConfigVO
NewOsgWanPortIpv4ConfigVO instantiates a new OsgWanPortIpv4ConfigVO 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
NewOsgWanPortIpv4ConfigVOWithDefaults
func NewOsgWanPortIpv4ConfigVOWithDefaults() *OsgWanPortIpv4ConfigVO
NewOsgWanPortIpv4ConfigVOWithDefaults instantiates a new OsgWanPortIpv4ConfigVO 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
GetGateway
func (o *OsgWanPortIpv4ConfigVO) GetGateway() string
GetGateway returns the Gateway field if non-nil, zero value otherwise.
GetGatewayOk
func (o *OsgWanPortIpv4ConfigVO) GetGatewayOk() (*string, bool)
GetGatewayOk returns a tuple with the Gateway field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGateway
func (o *OsgWanPortIpv4ConfigVO) SetGateway(v string)
SetGateway sets Gateway field to given value.
HasGateway
func (o *OsgWanPortIpv4ConfigVO) HasGateway() bool
HasGateway returns a boolean if a field has been set.
GetGateway2
func (o *OsgWanPortIpv4ConfigVO) GetGateway2() string
GetGateway2 returns the Gateway2 field if non-nil, zero value otherwise.
GetGateway2Ok
func (o *OsgWanPortIpv4ConfigVO) GetGateway2Ok() (*string, bool)
GetGateway2Ok returns a tuple with the Gateway2 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGateway2
func (o *OsgWanPortIpv4ConfigVO) SetGateway2(v string)
SetGateway2 sets Gateway2 field to given value.
HasGateway2
func (o *OsgWanPortIpv4ConfigVO) HasGateway2() bool
HasGateway2 returns a boolean if a field has been set.
GetIp
func (o *OsgWanPortIpv4ConfigVO) GetIp() string
GetIp returns the Ip field if non-nil, zero value otherwise.
GetIpOk
func (o *OsgWanPortIpv4ConfigVO) 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.
SetIp
func (o *OsgWanPortIpv4ConfigVO) SetIp(v string)
SetIp sets Ip field to given value.
HasIp
func (o *OsgWanPortIpv4ConfigVO) HasIp() bool
HasIp returns a boolean if a field has been set.
GetIp2
func (o *OsgWanPortIpv4ConfigVO) GetIp2() string
GetIp2 returns the Ip2 field if non-nil, zero value otherwise.
GetIp2Ok
func (o *OsgWanPortIpv4ConfigVO) GetIp2Ok() (*string, bool)
GetIp2Ok returns a tuple with the Ip2 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIp2
func (o *OsgWanPortIpv4ConfigVO) SetIp2(v string)
SetIp2 sets Ip2 field to given value.
HasIp2
func (o *OsgWanPortIpv4ConfigVO) HasIp2() bool
HasIp2 returns a boolean if a field has been set.
GetMac
func (o *OsgWanPortIpv4ConfigVO) GetMac() string
GetMac returns the Mac field if non-nil, zero value otherwise.
GetMacOk
func (o *OsgWanPortIpv4ConfigVO) 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 *OsgWanPortIpv4ConfigVO) SetMac(v string)
SetMac sets Mac field to given value.
HasMac
func (o *OsgWanPortIpv4ConfigVO) HasMac() bool
HasMac returns a boolean if a field has been set.
GetNetmask
func (o *OsgWanPortIpv4ConfigVO) GetNetmask() string
GetNetmask returns the Netmask field if non-nil, zero value otherwise.
GetNetmaskOk
func (o *OsgWanPortIpv4ConfigVO) GetNetmaskOk() (*string, bool)
GetNetmaskOk returns a tuple with the Netmask field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNetmask
func (o *OsgWanPortIpv4ConfigVO) SetNetmask(v string)
SetNetmask sets Netmask field to given value.
HasNetmask
func (o *OsgWanPortIpv4ConfigVO) HasNetmask() bool
HasNetmask returns a boolean if a field has been set.
GetPriDns
func (o *OsgWanPortIpv4ConfigVO) GetPriDns() string
GetPriDns returns the PriDns field if non-nil, zero value otherwise.
GetPriDnsOk
func (o *OsgWanPortIpv4ConfigVO) GetPriDnsOk() (*string, bool)
GetPriDnsOk returns a tuple with the PriDns field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPriDns
func (o *OsgWanPortIpv4ConfigVO) SetPriDns(v string)
SetPriDns sets PriDns field to given value.
HasPriDns
func (o *OsgWanPortIpv4ConfigVO) HasPriDns() bool
HasPriDns returns a boolean if a field has been set.
GetPriDns2
func (o *OsgWanPortIpv4ConfigVO) GetPriDns2() string
GetPriDns2 returns the PriDns2 field if non-nil, zero value otherwise.
GetPriDns2Ok
func (o *OsgWanPortIpv4ConfigVO) GetPriDns2Ok() (*string, bool)
GetPriDns2Ok returns a tuple with the PriDns2 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPriDns2
func (o *OsgWanPortIpv4ConfigVO) SetPriDns2(v string)
SetPriDns2 sets PriDns2 field to given value.
HasPriDns2
func (o *OsgWanPortIpv4ConfigVO) HasPriDns2() bool
HasPriDns2 returns a boolean if a field has been set.
GetSndDns
func (o *OsgWanPortIpv4ConfigVO) GetSndDns() string
GetSndDns returns the SndDns field if non-nil, zero value otherwise.
GetSndDnsOk
func (o *OsgWanPortIpv4ConfigVO) GetSndDnsOk() (*string, bool)
GetSndDnsOk returns a tuple with the SndDns field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSndDns
func (o *OsgWanPortIpv4ConfigVO) SetSndDns(v string)
SetSndDns sets SndDns field to given value.
HasSndDns
func (o *OsgWanPortIpv4ConfigVO) HasSndDns() bool
HasSndDns returns a boolean if a field has been set.
GetSndDns2
func (o *OsgWanPortIpv4ConfigVO) GetSndDns2() string
GetSndDns2 returns the SndDns2 field if non-nil, zero value otherwise.
GetSndDns2Ok
func (o *OsgWanPortIpv4ConfigVO) GetSndDns2Ok() (*string, bool)
GetSndDns2Ok returns a tuple with the SndDns2 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSndDns2
func (o *OsgWanPortIpv4ConfigVO) SetSndDns2(v string)
SetSndDns2 sets SndDns2 field to given value.
HasSndDns2
func (o *OsgWanPortIpv4ConfigVO) HasSndDns2() bool
HasSndDns2 returns a boolean if a field has been set.