Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.81 KB

TcpConfig.md

File metadata and controls

72 lines (39 loc) · 1.81 KB

TcpConfig

Properties

Name Type Description Notes
Port int32
Timeout int32 In milliseconds

Methods

NewTcpConfig

func NewTcpConfig(port int32, timeout int32, ) *TcpConfig

NewTcpConfig instantiates a new TcpConfig 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

NewTcpConfigWithDefaults

func NewTcpConfigWithDefaults() *TcpConfig

NewTcpConfigWithDefaults instantiates a new TcpConfig 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

GetPort

func (o *TcpConfig) GetPort() int32

GetPort returns the Port field if non-nil, zero value otherwise.

GetPortOk

func (o *TcpConfig) GetPortOk() (*int32, bool)

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

SetPort

func (o *TcpConfig) SetPort(v int32)

SetPort sets Port field to given value.

GetTimeout

func (o *TcpConfig) GetTimeout() int32

GetTimeout returns the Timeout field if non-nil, zero value otherwise.

GetTimeoutOk

func (o *TcpConfig) GetTimeoutOk() (*int32, bool)

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

SetTimeout

func (o *TcpConfig) SetTimeout(v int32)

SetTimeout sets Timeout field to given value.

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