| Name | Type | Description | Notes |
|---|---|---|---|
| AuthType | string | Auth Type | |
| BasicAuth | Pointer to BasicAuthCredentials | [optional] | |
| BearerToken | Pointer to BearerToken | [optional] | |
| Compression | Pointer to string | Compression | [optional] |
| Endpoint | string | End Point. For HTTP protcol logs export "/v1/logs" will be appended. | |
| Headers | Pointer to map[string]string | Headers | [optional] |
| LogsEndpoint | Pointer to string | Logs endpoint. The target URL to send log data to (e.g.: https://example.com:4318/v1/logs). If this setting is present the endpoint setting is ignored for logs. Allowed only for HTTP protocol | [optional] |
| MetricsEndpoint | Pointer to string | Metrics endpoint. The target URL to send metric data to (e.g.: https://example.com:4318/v1/metrics). If this setting is present the endpoint setting is ignored for metrics. Allowed only for HTTP protocol | [optional] |
| Protocol | Pointer to string | Protocol | [optional] |
| RetryOnFailure | Pointer to ExporterRetryConfig | [optional] | |
| TimeoutSeconds | Pointer to int32 | Timeout in seconds | [optional] |
func NewOTLPConfig(authType string, endpoint string, ) *OTLPConfig
NewOTLPConfig instantiates a new OTLPConfig 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 NewOTLPConfigWithDefaults() *OTLPConfig
NewOTLPConfigWithDefaults instantiates a new OTLPConfig 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 *OTLPConfig) GetAuthType() string
GetAuthType returns the AuthType field if non-nil, zero value otherwise.
func (o *OTLPConfig) 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 *OTLPConfig) SetAuthType(v string)
SetAuthType sets AuthType field to given value.
func (o *OTLPConfig) GetBasicAuth() BasicAuthCredentials
GetBasicAuth returns the BasicAuth field if non-nil, zero value otherwise.
func (o *OTLPConfig) GetBasicAuthOk() (*BasicAuthCredentials, bool)
GetBasicAuthOk returns a tuple with the BasicAuth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OTLPConfig) SetBasicAuth(v BasicAuthCredentials)
SetBasicAuth sets BasicAuth field to given value.
func (o *OTLPConfig) HasBasicAuth() bool
HasBasicAuth returns a boolean if a field has been set.
func (o *OTLPConfig) GetBearerToken() BearerToken
GetBearerToken returns the BearerToken field if non-nil, zero value otherwise.
func (o *OTLPConfig) GetBearerTokenOk() (*BearerToken, bool)
GetBearerTokenOk returns a tuple with the BearerToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OTLPConfig) SetBearerToken(v BearerToken)
SetBearerToken sets BearerToken field to given value.
func (o *OTLPConfig) HasBearerToken() bool
HasBearerToken returns a boolean if a field has been set.
func (o *OTLPConfig) GetCompression() string
GetCompression returns the Compression field if non-nil, zero value otherwise.
func (o *OTLPConfig) GetCompressionOk() (*string, bool)
GetCompressionOk returns a tuple with the Compression field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OTLPConfig) SetCompression(v string)
SetCompression sets Compression field to given value.
func (o *OTLPConfig) HasCompression() bool
HasCompression returns a boolean if a field has been set.
func (o *OTLPConfig) GetEndpoint() string
GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.
func (o *OTLPConfig) GetEndpointOk() (*string, bool)
GetEndpointOk returns a tuple with the Endpoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OTLPConfig) SetEndpoint(v string)
SetEndpoint sets Endpoint field to given value.
func (o *OTLPConfig) GetHeaders() map[string]string
GetHeaders returns the Headers field if non-nil, zero value otherwise.
func (o *OTLPConfig) GetHeadersOk() (*map[string]string, bool)
GetHeadersOk returns a tuple with the Headers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OTLPConfig) SetHeaders(v map[string]string)
SetHeaders sets Headers field to given value.
func (o *OTLPConfig) HasHeaders() bool
HasHeaders returns a boolean if a field has been set.
func (o *OTLPConfig) GetLogsEndpoint() string
GetLogsEndpoint returns the LogsEndpoint field if non-nil, zero value otherwise.
func (o *OTLPConfig) GetLogsEndpointOk() (*string, bool)
GetLogsEndpointOk returns a tuple with the LogsEndpoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OTLPConfig) SetLogsEndpoint(v string)
SetLogsEndpoint sets LogsEndpoint field to given value.
func (o *OTLPConfig) HasLogsEndpoint() bool
HasLogsEndpoint returns a boolean if a field has been set.
func (o *OTLPConfig) GetMetricsEndpoint() string
GetMetricsEndpoint returns the MetricsEndpoint field if non-nil, zero value otherwise.
func (o *OTLPConfig) GetMetricsEndpointOk() (*string, bool)
GetMetricsEndpointOk returns a tuple with the MetricsEndpoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OTLPConfig) SetMetricsEndpoint(v string)
SetMetricsEndpoint sets MetricsEndpoint field to given value.
func (o *OTLPConfig) HasMetricsEndpoint() bool
HasMetricsEndpoint returns a boolean if a field has been set.
func (o *OTLPConfig) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *OTLPConfig) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OTLPConfig) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *OTLPConfig) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (o *OTLPConfig) GetRetryOnFailure() ExporterRetryConfig
GetRetryOnFailure returns the RetryOnFailure field if non-nil, zero value otherwise.
func (o *OTLPConfig) GetRetryOnFailureOk() (*ExporterRetryConfig, bool)
GetRetryOnFailureOk returns a tuple with the RetryOnFailure field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OTLPConfig) SetRetryOnFailure(v ExporterRetryConfig)
SetRetryOnFailure sets RetryOnFailure field to given value.
func (o *OTLPConfig) HasRetryOnFailure() bool
HasRetryOnFailure returns a boolean if a field has been set.
func (o *OTLPConfig) GetTimeoutSeconds() int32
GetTimeoutSeconds returns the TimeoutSeconds field if non-nil, zero value otherwise.
func (o *OTLPConfig) GetTimeoutSecondsOk() (*int32, bool)
GetTimeoutSecondsOk returns a tuple with the TimeoutSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OTLPConfig) SetTimeoutSeconds(v int32)
SetTimeoutSeconds sets TimeoutSeconds field to given value.
func (o *OTLPConfig) HasTimeoutSeconds() bool
HasTimeoutSeconds returns a boolean if a field has been set.