Name | Type | Description | Notes |
---|---|---|---|
DefaultLookup | Pointer to string | Value to set the target attribute if the source value is not found in the list. | [optional] |
IsEnabled | Pointer to bool | Whether or not the processor is enabled. | [optional] [default to false] |
LookupTable | []string | Mapping table of values for the source attribute and their associated target attribute values, formatted as `["source_key1,target_value1", "source_key2,target_value2"]` | |
Name | Pointer to string | Name of the processor. | [optional] |
Source | string | Source attribute used to perform the lookup. | |
Target | string | Name of the attribute that contains the corresponding value in the mapping list or the `default_lookup` if not found in the mapping list. | |
Type | LogsLookupProcessorType | [default to LOGSLOOKUPPROCESSORTYPE_LOOKUP_PROCESSOR] |
func NewLogsLookupProcessor(lookupTable []string, source string, target string, type_ LogsLookupProcessorType) *LogsLookupProcessor
NewLogsLookupProcessor instantiates a new LogsLookupProcessor 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 NewLogsLookupProcessorWithDefaults() *LogsLookupProcessor
NewLogsLookupProcessorWithDefaults instantiates a new LogsLookupProcessor 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 *LogsLookupProcessor) GetDefaultLookup() string
GetDefaultLookup returns the DefaultLookup field if non-nil, zero value otherwise.
func (o *LogsLookupProcessor) GetDefaultLookupOk() (*string, bool)
GetDefaultLookupOk returns a tuple with the DefaultLookup field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsLookupProcessor) SetDefaultLookup(v string)
SetDefaultLookup sets DefaultLookup field to given value.
func (o *LogsLookupProcessor) HasDefaultLookup() bool
HasDefaultLookup returns a boolean if a field has been set.
func (o *LogsLookupProcessor) GetIsEnabled() bool
GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.
func (o *LogsLookupProcessor) GetIsEnabledOk() (*bool, bool)
GetIsEnabledOk returns a tuple with the IsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsLookupProcessor) SetIsEnabled(v bool)
SetIsEnabled sets IsEnabled field to given value.
func (o *LogsLookupProcessor) HasIsEnabled() bool
HasIsEnabled returns a boolean if a field has been set.
func (o *LogsLookupProcessor) GetLookupTable() []string
GetLookupTable returns the LookupTable field if non-nil, zero value otherwise.
func (o *LogsLookupProcessor) GetLookupTableOk() (*[]string, bool)
GetLookupTableOk returns a tuple with the LookupTable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsLookupProcessor) SetLookupTable(v []string)
SetLookupTable sets LookupTable field to given value.
func (o *LogsLookupProcessor) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *LogsLookupProcessor) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsLookupProcessor) SetName(v string)
SetName sets Name field to given value.
func (o *LogsLookupProcessor) HasName() bool
HasName returns a boolean if a field has been set.
func (o *LogsLookupProcessor) GetSource() string
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *LogsLookupProcessor) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsLookupProcessor) SetSource(v string)
SetSource sets Source field to given value.
func (o *LogsLookupProcessor) GetTarget() string
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *LogsLookupProcessor) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsLookupProcessor) SetTarget(v string)
SetTarget sets Target field to given value.
func (o *LogsLookupProcessor) GetType() LogsLookupProcessorType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *LogsLookupProcessor) GetTypeOk() (*LogsLookupProcessorType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogsLookupProcessor) SetType(v LogsLookupProcessorType)
SetType sets Type field to given value.