Skip to content

Latest commit

 

History

History
171 lines (92 loc) · 5.32 KB

LogsStringBuilderProcessor.md

File metadata and controls

171 lines (92 loc) · 5.32 KB

LogsStringBuilderProcessor

Properties

Name Type Description Notes
IsEnabled Pointer to bool Whether or not the processor is enabled. [optional] [default to false]
IsReplaceMissing Pointer to bool If true, it replaces all missing attributes of `template` by an empty string. If `false` (default), skips the operation for missing attributes. [optional] [default to false]
Name Pointer to string Name of the processor. [optional]
Target string The name of the attribute that contains the result of the template.
Template string A formula with one or more attributes and raw text.
Type LogsStringBuilderProcessorType [default to LOGSSTRINGBUILDERPROCESSORTYPE_STRING_BUILDER_PROCESSOR]

Methods

NewLogsStringBuilderProcessor

func NewLogsStringBuilderProcessor(target string, template string, type_ LogsStringBuilderProcessorType) *LogsStringBuilderProcessor

NewLogsStringBuilderProcessor instantiates a new LogsStringBuilderProcessor 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.

NewLogsStringBuilderProcessorWithDefaults

func NewLogsStringBuilderProcessorWithDefaults() *LogsStringBuilderProcessor

NewLogsStringBuilderProcessorWithDefaults instantiates a new LogsStringBuilderProcessor 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.

GetIsEnabled

func (o *LogsStringBuilderProcessor) GetIsEnabled() bool

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

GetIsEnabledOk

func (o *LogsStringBuilderProcessor) 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 *LogsStringBuilderProcessor) SetIsEnabled(v bool)

SetIsEnabled sets IsEnabled field to given value.

HasIsEnabled

func (o *LogsStringBuilderProcessor) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

GetIsReplaceMissing

func (o *LogsStringBuilderProcessor) GetIsReplaceMissing() bool

GetIsReplaceMissing returns the IsReplaceMissing field if non-nil, zero value otherwise.

GetIsReplaceMissingOk

func (o *LogsStringBuilderProcessor) GetIsReplaceMissingOk() (*bool, bool)

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

SetIsReplaceMissing

func (o *LogsStringBuilderProcessor) SetIsReplaceMissing(v bool)

SetIsReplaceMissing sets IsReplaceMissing field to given value.

HasIsReplaceMissing

func (o *LogsStringBuilderProcessor) HasIsReplaceMissing() bool

HasIsReplaceMissing returns a boolean if a field has been set.

GetName

func (o *LogsStringBuilderProcessor) GetName() string

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

GetNameOk

func (o *LogsStringBuilderProcessor) 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 *LogsStringBuilderProcessor) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *LogsStringBuilderProcessor) HasName() bool

HasName returns a boolean if a field has been set.

GetTarget

func (o *LogsStringBuilderProcessor) GetTarget() string

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

GetTargetOk

func (o *LogsStringBuilderProcessor) 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 *LogsStringBuilderProcessor) SetTarget(v string)

SetTarget sets Target field to given value.

GetTemplate

func (o *LogsStringBuilderProcessor) GetTemplate() string

GetTemplate returns the Template field if non-nil, zero value otherwise.

GetTemplateOk

func (o *LogsStringBuilderProcessor) GetTemplateOk() (*string, bool)

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

SetTemplate

func (o *LogsStringBuilderProcessor) SetTemplate(v string)

SetTemplate sets Template field to given value.

GetType

func (o *LogsStringBuilderProcessor) GetType() LogsStringBuilderProcessorType

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

GetTypeOk

func (o *LogsStringBuilderProcessor) GetTypeOk() (*LogsStringBuilderProcessorType, 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 *LogsStringBuilderProcessor) SetType(v LogsStringBuilderProcessorType)

SetType sets Type field to given value.

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