WanPortMappingVO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| DstPort | Pointer to string | [optional] | |
| SrcPort | Pointer to string | [optional] |
Methods
NewWanPortMappingVO
func NewWanPortMappingVO() *WanPortMappingVO
NewWanPortMappingVO instantiates a new WanPortMappingVO 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
NewWanPortMappingVOWithDefaults
func NewWanPortMappingVOWithDefaults() *WanPortMappingVO
NewWanPortMappingVOWithDefaults instantiates a new WanPortMappingVO 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
GetDstPort
func (o *WanPortMappingVO) GetDstPort() string
GetDstPort returns the DstPort field if non-nil, zero value otherwise.
GetDstPortOk
func (o *WanPortMappingVO) GetDstPortOk() (*string, bool)
GetDstPortOk returns a tuple with the DstPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDstPort
func (o *WanPortMappingVO) SetDstPort(v string)
SetDstPort sets DstPort field to given value.
HasDstPort
func (o *WanPortMappingVO) HasDstPort() bool
HasDstPort returns a boolean if a field has been set.
GetSrcPort
func (o *WanPortMappingVO) GetSrcPort() string
GetSrcPort returns the SrcPort field if non-nil, zero value otherwise.
GetSrcPortOk
func (o *WanPortMappingVO) GetSrcPortOk() (*string, bool)
GetSrcPortOk returns a tuple with the SrcPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSrcPort
func (o *WanPortMappingVO) SetSrcPort(v string)
SetSrcPort sets SrcPort field to given value.
HasSrcPort
func (o *WanPortMappingVO) HasSrcPort() bool
HasSrcPort returns a boolean if a field has been set.