Skip to content

Latest commit

 

History

History
192 lines (103 loc) · 5.73 KB

LogsLookupProcessor.md

File metadata and controls

192 lines (103 loc) · 5.73 KB

LogsLookupProcessor

Properties

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]

Methods

NewLogsLookupProcessor

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.

NewLogsLookupProcessorWithDefaults

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.

GetDefaultLookup

func (o *LogsLookupProcessor) GetDefaultLookup() string

GetDefaultLookup returns the DefaultLookup field if non-nil, zero value otherwise.

GetDefaultLookupOk

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.

SetDefaultLookup

func (o *LogsLookupProcessor) SetDefaultLookup(v string)

SetDefaultLookup sets DefaultLookup field to given value.

HasDefaultLookup

func (o *LogsLookupProcessor) HasDefaultLookup() bool

HasDefaultLookup returns a boolean if a field has been set.

GetIsEnabled

func (o *LogsLookupProcessor) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.

GetIsEnabledOk

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.

SetIsEnabled

func (o *LogsLookupProcessor) SetIsEnabled(v bool)

SetIsEnabled sets IsEnabled field to given value.

HasIsEnabled

func (o *LogsLookupProcessor) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

GetLookupTable

func (o *LogsLookupProcessor) GetLookupTable() []string

GetLookupTable returns the LookupTable field if non-nil, zero value otherwise.

GetLookupTableOk

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.

SetLookupTable

func (o *LogsLookupProcessor) SetLookupTable(v []string)

SetLookupTable sets LookupTable field to given value.

GetName

func (o *LogsLookupProcessor) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *LogsLookupProcessor) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *LogsLookupProcessor) HasName() bool

HasName returns a boolean if a field has been set.

GetSource

func (o *LogsLookupProcessor) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

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.

SetSource

func (o *LogsLookupProcessor) SetSource(v string)

SetSource sets Source field to given value.

GetTarget

func (o *LogsLookupProcessor) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

GetTargetOk

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.

SetTarget

func (o *LogsLookupProcessor) SetTarget(v string)

SetTarget sets Target field to given value.

GetType

func (o *LogsLookupProcessor) GetType() LogsLookupProcessorType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *LogsLookupProcessor) SetType(v LogsLookupProcessorType)

SetType sets Type field to given value.

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