Skip to content

OsgVirtualWanIpv4ConfigVO

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]
PriDns Pointer to string [optional]
PriDns2 Pointer to string [optional]
SndDns Pointer to string [optional]
SndDns2 Pointer to string [optional]

Methods

NewOsgVirtualWanIpv4ConfigVO

func NewOsgVirtualWanIpv4ConfigVO() *OsgVirtualWanIpv4ConfigVO

NewOsgVirtualWanIpv4ConfigVO instantiates a new OsgVirtualWanIpv4ConfigVO 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

NewOsgVirtualWanIpv4ConfigVOWithDefaults

func NewOsgVirtualWanIpv4ConfigVOWithDefaults() *OsgVirtualWanIpv4ConfigVO

NewOsgVirtualWanIpv4ConfigVOWithDefaults instantiates a new OsgVirtualWanIpv4ConfigVO 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 *OsgVirtualWanIpv4ConfigVO) GetGateway() string

GetGateway returns the Gateway field if non-nil, zero value otherwise.

GetGatewayOk

func (o *OsgVirtualWanIpv4ConfigVO) 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 *OsgVirtualWanIpv4ConfigVO) SetGateway(v string)

SetGateway sets Gateway field to given value.

HasGateway

func (o *OsgVirtualWanIpv4ConfigVO) HasGateway() bool

HasGateway returns a boolean if a field has been set.

GetGateway2

func (o *OsgVirtualWanIpv4ConfigVO) GetGateway2() string

GetGateway2 returns the Gateway2 field if non-nil, zero value otherwise.

GetGateway2Ok

func (o *OsgVirtualWanIpv4ConfigVO) 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 *OsgVirtualWanIpv4ConfigVO) SetGateway2(v string)

SetGateway2 sets Gateway2 field to given value.

HasGateway2

func (o *OsgVirtualWanIpv4ConfigVO) HasGateway2() bool

HasGateway2 returns a boolean if a field has been set.

GetIp

func (o *OsgVirtualWanIpv4ConfigVO) GetIp() string

GetIp returns the Ip field if non-nil, zero value otherwise.

GetIpOk

func (o *OsgVirtualWanIpv4ConfigVO) 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 *OsgVirtualWanIpv4ConfigVO) SetIp(v string)

SetIp sets Ip field to given value.

HasIp

func (o *OsgVirtualWanIpv4ConfigVO) HasIp() bool

HasIp returns a boolean if a field has been set.

GetIp2

func (o *OsgVirtualWanIpv4ConfigVO) GetIp2() string

GetIp2 returns the Ip2 field if non-nil, zero value otherwise.

GetIp2Ok

func (o *OsgVirtualWanIpv4ConfigVO) 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 *OsgVirtualWanIpv4ConfigVO) SetIp2(v string)

SetIp2 sets Ip2 field to given value.

HasIp2

func (o *OsgVirtualWanIpv4ConfigVO) HasIp2() bool

HasIp2 returns a boolean if a field has been set.

GetPriDns

func (o *OsgVirtualWanIpv4ConfigVO) GetPriDns() string

GetPriDns returns the PriDns field if non-nil, zero value otherwise.

GetPriDnsOk

func (o *OsgVirtualWanIpv4ConfigVO) 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 *OsgVirtualWanIpv4ConfigVO) SetPriDns(v string)

SetPriDns sets PriDns field to given value.

HasPriDns

func (o *OsgVirtualWanIpv4ConfigVO) HasPriDns() bool

HasPriDns returns a boolean if a field has been set.

GetPriDns2

func (o *OsgVirtualWanIpv4ConfigVO) GetPriDns2() string

GetPriDns2 returns the PriDns2 field if non-nil, zero value otherwise.

GetPriDns2Ok

func (o *OsgVirtualWanIpv4ConfigVO) 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 *OsgVirtualWanIpv4ConfigVO) SetPriDns2(v string)

SetPriDns2 sets PriDns2 field to given value.

HasPriDns2

func (o *OsgVirtualWanIpv4ConfigVO) HasPriDns2() bool

HasPriDns2 returns a boolean if a field has been set.

GetSndDns

func (o *OsgVirtualWanIpv4ConfigVO) GetSndDns() string

GetSndDns returns the SndDns field if non-nil, zero value otherwise.

GetSndDnsOk

func (o *OsgVirtualWanIpv4ConfigVO) 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 *OsgVirtualWanIpv4ConfigVO) SetSndDns(v string)

SetSndDns sets SndDns field to given value.

HasSndDns

func (o *OsgVirtualWanIpv4ConfigVO) HasSndDns() bool

HasSndDns returns a boolean if a field has been set.

GetSndDns2

func (o *OsgVirtualWanIpv4ConfigVO) GetSndDns2() string

GetSndDns2 returns the SndDns2 field if non-nil, zero value otherwise.

GetSndDns2Ok

func (o *OsgVirtualWanIpv4ConfigVO) 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 *OsgVirtualWanIpv4ConfigVO) SetSndDns2(v string)

SetSndDns2 sets SndDns2 field to given value.

HasSndDns2

func (o *OsgVirtualWanIpv4ConfigVO) HasSndDns2() bool

HasSndDns2 returns a boolean if a field has been set.

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