Ipv4IpoaOpenApiVO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| DefaultGateway | string | ||
| IpAddress | string | IP address | |
| Mtu | int32 | 576-1500, default:1500 | |
| PrimaryDns | Pointer to string | Primary DNS | [optional] |
| SecondaryDns | Pointer to string | Secondary DNS | [optional] |
| SubnetMask | string | ||
| WanMultipleIps | Pointer to []WanMultipleIpOpenApiVO | [optional] |
Methods
NewIpv4IpoaOpenApiVO
func NewIpv4IpoaOpenApiVO(defaultGateway string, ipAddress string, mtu int32, subnetMask string, ) *Ipv4IpoaOpenApiVO
NewIpv4IpoaOpenApiVO instantiates a new Ipv4IpoaOpenApiVO 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
NewIpv4IpoaOpenApiVOWithDefaults
func NewIpv4IpoaOpenApiVOWithDefaults() *Ipv4IpoaOpenApiVO
NewIpv4IpoaOpenApiVOWithDefaults instantiates a new Ipv4IpoaOpenApiVO 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
GetDefaultGateway
func (o *Ipv4IpoaOpenApiVO) GetDefaultGateway() string
GetDefaultGateway returns the DefaultGateway field if non-nil, zero value otherwise.
GetDefaultGatewayOk
func (o *Ipv4IpoaOpenApiVO) GetDefaultGatewayOk() (*string, bool)
GetDefaultGatewayOk returns a tuple with the DefaultGateway field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDefaultGateway
func (o *Ipv4IpoaOpenApiVO) SetDefaultGateway(v string)
SetDefaultGateway sets DefaultGateway field to given value.
GetIpAddress
func (o *Ipv4IpoaOpenApiVO) GetIpAddress() string
GetIpAddress returns the IpAddress field if non-nil, zero value otherwise.
GetIpAddressOk
func (o *Ipv4IpoaOpenApiVO) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIpAddress
func (o *Ipv4IpoaOpenApiVO) SetIpAddress(v string)
SetIpAddress sets IpAddress field to given value.
GetMtu
func (o *Ipv4IpoaOpenApiVO) GetMtu() int32
GetMtu returns the Mtu field if non-nil, zero value otherwise.
GetMtuOk
func (o *Ipv4IpoaOpenApiVO) 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.
SetMtu
func (o *Ipv4IpoaOpenApiVO) SetMtu(v int32)
SetMtu sets Mtu field to given value.
GetPrimaryDns
func (o *Ipv4IpoaOpenApiVO) GetPrimaryDns() string
GetPrimaryDns returns the PrimaryDns field if non-nil, zero value otherwise.
GetPrimaryDnsOk
func (o *Ipv4IpoaOpenApiVO) GetPrimaryDnsOk() (*string, bool)
GetPrimaryDnsOk returns a tuple with the PrimaryDns field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPrimaryDns
func (o *Ipv4IpoaOpenApiVO) SetPrimaryDns(v string)
SetPrimaryDns sets PrimaryDns field to given value.
HasPrimaryDns
func (o *Ipv4IpoaOpenApiVO) HasPrimaryDns() bool
HasPrimaryDns returns a boolean if a field has been set.
GetSecondaryDns
func (o *Ipv4IpoaOpenApiVO) GetSecondaryDns() string
GetSecondaryDns returns the SecondaryDns field if non-nil, zero value otherwise.
GetSecondaryDnsOk
func (o *Ipv4IpoaOpenApiVO) GetSecondaryDnsOk() (*string, bool)
GetSecondaryDnsOk returns a tuple with the SecondaryDns field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSecondaryDns
func (o *Ipv4IpoaOpenApiVO) SetSecondaryDns(v string)
SetSecondaryDns sets SecondaryDns field to given value.
HasSecondaryDns
func (o *Ipv4IpoaOpenApiVO) HasSecondaryDns() bool
HasSecondaryDns returns a boolean if a field has been set.
GetSubnetMask
func (o *Ipv4IpoaOpenApiVO) GetSubnetMask() string
GetSubnetMask returns the SubnetMask field if non-nil, zero value otherwise.
GetSubnetMaskOk
func (o *Ipv4IpoaOpenApiVO) GetSubnetMaskOk() (*string, bool)
GetSubnetMaskOk returns a tuple with the SubnetMask field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSubnetMask
func (o *Ipv4IpoaOpenApiVO) SetSubnetMask(v string)
SetSubnetMask sets SubnetMask field to given value.
GetWanMultipleIps
func (o *Ipv4IpoaOpenApiVO) GetWanMultipleIps() []WanMultipleIpOpenApiVO
GetWanMultipleIps returns the WanMultipleIps field if non-nil, zero value otherwise.
GetWanMultipleIpsOk
func (o *Ipv4IpoaOpenApiVO) GetWanMultipleIpsOk() (*[]WanMultipleIpOpenApiVO, bool)
GetWanMultipleIpsOk returns a tuple with the WanMultipleIps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetWanMultipleIps
func (o *Ipv4IpoaOpenApiVO) SetWanMultipleIps(v []WanMultipleIpOpenApiVO)
SetWanMultipleIps sets WanMultipleIps field to given value.
HasWanMultipleIps
func (o *Ipv4IpoaOpenApiVO) HasWanMultipleIps() bool
HasWanMultipleIps returns a boolean if a field has been set.