Name | Type | Description | Notes |
---|---|---|---|
ApiKey | Pointer to string | Elasticsearch api key relevant only for api_key auth-type | [optional] |
AuthType | Pointer to string | Elasticsearch auth type [api_key/password] | [optional] |
CloudId | Pointer to string | Elasticsearch cloud id relevant only for cloud server-type | [optional] |
Enable | Pointer to string | Enable Log Forwarding [true/false] | [optional] [default to "true"] |
EnableTls | Pointer to bool | Enable tls | [optional] |
Index | Pointer to string | Elasticsearch index | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
Nodes | Pointer to string | Elasticsearch nodes relevant only for nodes server-type | [optional] |
OutputFormat | Pointer to string | Logs format [text/json] | [optional] [default to "text"] |
Password | Pointer to string | Elasticsearch password relevant only for password auth-type | [optional] |
PullInterval | Pointer to string | Pull interval in seconds | [optional] [default to "10"] |
ServerType | Pointer to string | Elasticsearch server type [cloud/nodes] | [optional] |
TlsCertificate | Pointer to string | Elasticsearch tls certificate | [optional] [default to "use-existing"] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
UserName | Pointer to string | Elasticsearch user name relevant only for password auth-type | [optional] |
func NewGatewayUpdateLogForwardingElasticsearch() *GatewayUpdateLogForwardingElasticsearch
NewGatewayUpdateLogForwardingElasticsearch instantiates a new GatewayUpdateLogForwardingElasticsearch 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 NewGatewayUpdateLogForwardingElasticsearchWithDefaults() *GatewayUpdateLogForwardingElasticsearch
NewGatewayUpdateLogForwardingElasticsearchWithDefaults instantiates a new GatewayUpdateLogForwardingElasticsearch 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 *GatewayUpdateLogForwardingElasticsearch) GetApiKey() string
GetApiKey returns the ApiKey field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetApiKeyOk() (*string, bool)
GetApiKeyOk returns a tuple with the ApiKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetApiKey(v string)
SetApiKey sets ApiKey field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasApiKey() bool
HasApiKey returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetAuthType() string
GetAuthType returns the AuthType field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetAuthTypeOk() (*string, bool)
GetAuthTypeOk returns a tuple with the AuthType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetAuthType(v string)
SetAuthType sets AuthType field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasAuthType() bool
HasAuthType returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetCloudId() string
GetCloudId returns the CloudId field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetCloudIdOk() (*string, bool)
GetCloudIdOk returns a tuple with the CloudId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetCloudId(v string)
SetCloudId sets CloudId field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasCloudId() bool
HasCloudId returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetEnable() string
GetEnable returns the Enable field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetEnableOk() (*string, bool)
GetEnableOk returns a tuple with the Enable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetEnable(v string)
SetEnable sets Enable field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetEnableTls() bool
GetEnableTls returns the EnableTls field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetEnableTlsOk() (*bool, bool)
GetEnableTlsOk returns a tuple with the EnableTls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetEnableTls(v bool)
SetEnableTls sets EnableTls field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasEnableTls() bool
HasEnableTls returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetIndex() string
GetIndex returns the Index field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetIndex(v string)
SetIndex sets Index field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasIndex() bool
HasIndex returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetJsonOk() (*bool, bool)
GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetJson(v bool)
SetJson sets Json field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetNodes() string
GetNodes returns the Nodes field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetNodesOk() (*string, bool)
GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetNodes(v string)
SetNodes sets Nodes field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasNodes() bool
HasNodes returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetOutputFormat() string
GetOutputFormat returns the OutputFormat field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetOutputFormatOk() (*string, bool)
GetOutputFormatOk returns a tuple with the OutputFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetOutputFormat(v string)
SetOutputFormat sets OutputFormat field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasOutputFormat() bool
HasOutputFormat returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetPullInterval() string
GetPullInterval returns the PullInterval field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetPullIntervalOk() (*string, bool)
GetPullIntervalOk returns a tuple with the PullInterval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetPullInterval(v string)
SetPullInterval sets PullInterval field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasPullInterval() bool
HasPullInterval returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetServerType() string
GetServerType returns the ServerType field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetServerTypeOk() (*string, bool)
GetServerTypeOk returns a tuple with the ServerType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetServerType(v string)
SetServerType sets ServerType field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasServerType() bool
HasServerType returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetTlsCertificate() string
GetTlsCertificate returns the TlsCertificate field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetTlsCertificateOk() (*string, bool)
GetTlsCertificateOk returns a tuple with the TlsCertificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetTlsCertificate(v string)
SetTlsCertificate sets TlsCertificate field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasTlsCertificate() bool
HasTlsCertificate returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetToken(v string)
SetToken sets Token field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetUidTokenOk() (*string, bool)
GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) GetUserName() string
GetUserName returns the UserName field if non-nil, zero value otherwise.
func (o *GatewayUpdateLogForwardingElasticsearch) GetUserNameOk() (*string, bool)
GetUserNameOk returns a tuple with the UserName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GatewayUpdateLogForwardingElasticsearch) SetUserName(v string)
SetUserName sets UserName field to given value.
func (o *GatewayUpdateLogForwardingElasticsearch) HasUserName() bool
HasUserName returns a boolean if a field has been set.