Skip to content

Latest commit

 

History

History
103 lines (56 loc) · 2.61 KB

PortForwarding.md

File metadata and controls

103 lines (56 loc) · 2.61 KB

PortForwarding

Properties

Name Type Description Notes
Id string
SrcPort Pointer to int32 [optional]
DstPort Pointer to int32 [optional]

Methods

NewPortForwarding

func NewPortForwarding(id string, ) *PortForwarding

NewPortForwarding instantiates a new PortForwarding 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

NewPortForwardingWithDefaults

func NewPortForwardingWithDefaults() *PortForwarding

NewPortForwardingWithDefaults instantiates a new PortForwarding 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

GetId

func (o *PortForwarding) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *PortForwarding) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *PortForwarding) SetId(v string)

SetId sets Id field to given value.

GetSrcPort

func (o *PortForwarding) GetSrcPort() int32

GetSrcPort returns the SrcPort field if non-nil, zero value otherwise.

GetSrcPortOk

func (o *PortForwarding) GetSrcPortOk() (*int32, 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 *PortForwarding) SetSrcPort(v int32)

SetSrcPort sets SrcPort field to given value.

HasSrcPort

func (o *PortForwarding) HasSrcPort() bool

HasSrcPort returns a boolean if a field has been set.

GetDstPort

func (o *PortForwarding) GetDstPort() int32

GetDstPort returns the DstPort field if non-nil, zero value otherwise.

GetDstPortOk

func (o *PortForwarding) GetDstPortOk() (*int32, 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 *PortForwarding) SetDstPort(v int32)

SetDstPort sets DstPort field to given value.

HasDstPort

func (o *PortForwarding) HasDstPort() bool

HasDstPort returns a boolean if a field has been set.

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