Skip to content

Latest commit

 

History

History
219 lines (116 loc) · 6.15 KB

DynamicRule.md

File metadata and controls

219 lines (116 loc) · 6.15 KB

DynamicRule

Properties

Name Type Description Notes
Name string Name of the dynamic parsing rule. Use a name that makes it easy to identify the rule.
Scope string Scope of the dynamic parsing rule. This could be a sourceCategory, sourceHost, or any other metadata that describes the data you want to extract from. Think of the Scope as the first portion of an ad hoc search, before the first pipe ( ). You'll use the Scope to run a search against the rule.
Enabled bool Is the dynamic parsing rule enabled. [default to true]
CreatedAt string Creation timestamp in UTC in RFC3339 format.
CreatedBy string Identifier of the user who created the resource.
ModifiedAt string Last modification timestamp in UTC.
ModifiedBy string Identifier of the user who last modified the resource.
Id string Unique identifier for the dynamic parsing rule.
IsSystemRule bool Whether the rule has been defined by the system, rather than by a user.

Methods

NewDynamicRule

func NewDynamicRule(name string, scope string, enabled bool, createdAt string, createdBy string, modifiedAt string, modifiedBy string, id string, isSystemRule bool, ) *DynamicRule

NewDynamicRule instantiates a new DynamicRule 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

NewDynamicRuleWithDefaults

func NewDynamicRuleWithDefaults() *DynamicRule

NewDynamicRuleWithDefaults instantiates a new DynamicRule 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

GetName

func (o *DynamicRule) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetScope

func (o *DynamicRule) GetScope() string

GetScope returns the Scope field if non-nil, zero value otherwise.

GetScopeOk

func (o *DynamicRule) GetScopeOk() (*string, bool)

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

SetScope

func (o *DynamicRule) SetScope(v string)

SetScope sets Scope field to given value.

GetEnabled

func (o *DynamicRule) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *DynamicRule) GetEnabledOk() (*bool, bool)

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

SetEnabled

func (o *DynamicRule) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

GetCreatedAt

func (o *DynamicRule) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *DynamicRule) GetCreatedAtOk() (*string, bool)

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

SetCreatedAt

func (o *DynamicRule) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

GetCreatedBy

func (o *DynamicRule) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *DynamicRule) GetCreatedByOk() (*string, bool)

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

SetCreatedBy

func (o *DynamicRule) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

GetModifiedAt

func (o *DynamicRule) GetModifiedAt() string

GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.

GetModifiedAtOk

func (o *DynamicRule) GetModifiedAtOk() (*string, bool)

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

SetModifiedAt

func (o *DynamicRule) SetModifiedAt(v string)

SetModifiedAt sets ModifiedAt field to given value.

GetModifiedBy

func (o *DynamicRule) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.

GetModifiedByOk

func (o *DynamicRule) GetModifiedByOk() (*string, bool)

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

SetModifiedBy

func (o *DynamicRule) SetModifiedBy(v string)

SetModifiedBy sets ModifiedBy field to given value.

GetId

func (o *DynamicRule) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *DynamicRule) GetIdOk() (*string, bool)

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

SetId

func (o *DynamicRule) SetId(v string)

SetId sets Id field to given value.

GetIsSystemRule

func (o *DynamicRule) GetIsSystemRule() bool

GetIsSystemRule returns the IsSystemRule field if non-nil, zero value otherwise.

GetIsSystemRuleOk

func (o *DynamicRule) GetIsSystemRuleOk() (*bool, bool)

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

SetIsSystemRule

func (o *DynamicRule) SetIsSystemRule(v bool)

SetIsSystemRule sets IsSystemRule field to given value.

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