Skip to content

Latest commit

 

History

History
212 lines (115 loc) · 5.82 KB

File metadata and controls

212 lines (115 loc) · 5.82 KB

LogForwarderSyslogConnectionType

Properties

Name Type Description Notes
SampleRate Pointer to int32 [optional]
Logtype Pointer to string [optional]
Host Pointer to string [optional]
Port Pointer to int32 [optional]
Tls Pointer to bool [optional]
Cert Pointer to string [optional]
RetryTime Pointer to int32 [optional]

Methods

NewLogForwarderSyslogConnectionType

func NewLogForwarderSyslogConnectionType() *LogForwarderSyslogConnectionType

NewLogForwarderSyslogConnectionType instantiates a new LogForwarderSyslogConnectionType 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

NewLogForwarderSyslogConnectionTypeWithDefaults

func NewLogForwarderSyslogConnectionTypeWithDefaults() *LogForwarderSyslogConnectionType

NewLogForwarderSyslogConnectionTypeWithDefaults instantiates a new LogForwarderSyslogConnectionType 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

GetSampleRate

func (o *LogForwarderSyslogConnectionType) GetSampleRate() int32

GetSampleRate returns the SampleRate field if non-nil, zero value otherwise.

GetSampleRateOk

func (o *LogForwarderSyslogConnectionType) GetSampleRateOk() (*int32, bool)

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

SetSampleRate

func (o *LogForwarderSyslogConnectionType) SetSampleRate(v int32)

SetSampleRate sets SampleRate field to given value.

HasSampleRate

func (o *LogForwarderSyslogConnectionType) HasSampleRate() bool

HasSampleRate returns a boolean if a field has been set.

GetLogtype

func (o *LogForwarderSyslogConnectionType) GetLogtype() string

GetLogtype returns the Logtype field if non-nil, zero value otherwise.

GetLogtypeOk

func (o *LogForwarderSyslogConnectionType) GetLogtypeOk() (*string, bool)

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

SetLogtype

func (o *LogForwarderSyslogConnectionType) SetLogtype(v string)

SetLogtype sets Logtype field to given value.

HasLogtype

func (o *LogForwarderSyslogConnectionType) HasLogtype() bool

HasLogtype returns a boolean if a field has been set.

GetHost

func (o *LogForwarderSyslogConnectionType) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

GetHostOk

func (o *LogForwarderSyslogConnectionType) GetHostOk() (*string, bool)

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

SetHost

func (o *LogForwarderSyslogConnectionType) SetHost(v string)

SetHost sets Host field to given value.

HasHost

func (o *LogForwarderSyslogConnectionType) HasHost() bool

HasHost returns a boolean if a field has been set.

GetPort

func (o *LogForwarderSyslogConnectionType) GetPort() int32

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

GetPortOk

func (o *LogForwarderSyslogConnectionType) 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 *LogForwarderSyslogConnectionType) SetPort(v int32)

SetPort sets Port field to given value.

HasPort

func (o *LogForwarderSyslogConnectionType) HasPort() bool

HasPort returns a boolean if a field has been set.

GetTls

func (o *LogForwarderSyslogConnectionType) GetTls() bool

GetTls returns the Tls field if non-nil, zero value otherwise.

GetTlsOk

func (o *LogForwarderSyslogConnectionType) GetTlsOk() (*bool, bool)

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

SetTls

func (o *LogForwarderSyslogConnectionType) SetTls(v bool)

SetTls sets Tls field to given value.

HasTls

func (o *LogForwarderSyslogConnectionType) HasTls() bool

HasTls returns a boolean if a field has been set.

GetCert

func (o *LogForwarderSyslogConnectionType) GetCert() string

GetCert returns the Cert field if non-nil, zero value otherwise.

GetCertOk

func (o *LogForwarderSyslogConnectionType) GetCertOk() (*string, bool)

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

SetCert

func (o *LogForwarderSyslogConnectionType) SetCert(v string)

SetCert sets Cert field to given value.

HasCert

func (o *LogForwarderSyslogConnectionType) HasCert() bool

HasCert returns a boolean if a field has been set.

GetRetryTime

func (o *LogForwarderSyslogConnectionType) GetRetryTime() int32

GetRetryTime returns the RetryTime field if non-nil, zero value otherwise.

GetRetryTimeOk

func (o *LogForwarderSyslogConnectionType) GetRetryTimeOk() (*int32, bool)

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

SetRetryTime

func (o *LogForwarderSyslogConnectionType) SetRetryTime(v int32)

SetRetryTime sets RetryTime field to given value.

HasRetryTime

func (o *LogForwarderSyslogConnectionType) HasRetryTime() bool

HasRetryTime returns a boolean if a field has been set.

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