Name | Type | Description | Notes |
---|---|---|---|
Port | int32 | ||
Timeout | int32 | In milliseconds |
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
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
func (o *TcpConfig) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
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.
func (o *TcpConfig) SetPort(v int32)
SetPort sets Port field to given value.
func (o *TcpConfig) GetTimeout() int32
GetTimeout returns the Timeout field if non-nil, zero value otherwise.
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.
func (o *TcpConfig) SetTimeout(v int32)
SetTimeout sets Timeout field to given value.