Name | Type | Description | Notes |
---|---|---|---|
RuleName | Pointer to string | The name of the rule that triggered the event action | [optional] |
RuleId | Pointer to string | The unique ID of the rule that triggered the event action | [optional] |
ActionTaken | Pointer to WafRuleAction | [optional] [default to "BLOCK"] | |
Blocked | Pointer to bool | Whether the requesting client was blocked or not | [optional] |
Engine | Pointer to string | The name of the internal WAF engine powering the rule | [optional] |
RequestType | Pointer to EventWafRequestType | [optional] [default to "CHALLENGE"] | |
Result | Pointer to RuleActionResultType | [optional] [default to "RESULT_TYPE_UNSPECIFIED"] |
func NewEventRuleAction() *EventRuleAction
NewEventRuleAction instantiates a new EventRuleAction 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 NewEventRuleActionWithDefaults() *EventRuleAction
NewEventRuleActionWithDefaults instantiates a new EventRuleAction 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 *EventRuleAction) GetRuleName() string
GetRuleName returns the RuleName field if non-nil, zero value otherwise.
func (o *EventRuleAction) GetRuleNameOk() (*string, bool)
GetRuleNameOk returns a tuple with the RuleName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRuleAction) SetRuleName(v string)
SetRuleName sets RuleName field to given value.
func (o *EventRuleAction) HasRuleName() bool
HasRuleName returns a boolean if a field has been set.
func (o *EventRuleAction) GetRuleId() string
GetRuleId returns the RuleId field if non-nil, zero value otherwise.
func (o *EventRuleAction) GetRuleIdOk() (*string, bool)
GetRuleIdOk returns a tuple with the RuleId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRuleAction) SetRuleId(v string)
SetRuleId sets RuleId field to given value.
func (o *EventRuleAction) HasRuleId() bool
HasRuleId returns a boolean if a field has been set.
func (o *EventRuleAction) GetActionTaken() WafRuleAction
GetActionTaken returns the ActionTaken field if non-nil, zero value otherwise.
func (o *EventRuleAction) GetActionTakenOk() (*WafRuleAction, bool)
GetActionTakenOk returns a tuple with the ActionTaken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRuleAction) SetActionTaken(v WafRuleAction)
SetActionTaken sets ActionTaken field to given value.
func (o *EventRuleAction) HasActionTaken() bool
HasActionTaken returns a boolean if a field has been set.
func (o *EventRuleAction) GetBlocked() bool
GetBlocked returns the Blocked field if non-nil, zero value otherwise.
func (o *EventRuleAction) GetBlockedOk() (*bool, bool)
GetBlockedOk returns a tuple with the Blocked field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRuleAction) SetBlocked(v bool)
SetBlocked sets Blocked field to given value.
func (o *EventRuleAction) HasBlocked() bool
HasBlocked returns a boolean if a field has been set.
func (o *EventRuleAction) GetEngine() string
GetEngine returns the Engine field if non-nil, zero value otherwise.
func (o *EventRuleAction) GetEngineOk() (*string, bool)
GetEngineOk returns a tuple with the Engine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRuleAction) SetEngine(v string)
SetEngine sets Engine field to given value.
func (o *EventRuleAction) HasEngine() bool
HasEngine returns a boolean if a field has been set.
func (o *EventRuleAction) GetRequestType() EventWafRequestType
GetRequestType returns the RequestType field if non-nil, zero value otherwise.
func (o *EventRuleAction) GetRequestTypeOk() (*EventWafRequestType, bool)
GetRequestTypeOk returns a tuple with the RequestType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRuleAction) SetRequestType(v EventWafRequestType)
SetRequestType sets RequestType field to given value.
func (o *EventRuleAction) HasRequestType() bool
HasRequestType returns a boolean if a field has been set.
func (o *EventRuleAction) GetResult() RuleActionResultType
GetResult returns the Result field if non-nil, zero value otherwise.
func (o *EventRuleAction) GetResultOk() (*RuleActionResultType, bool)
GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRuleAction) SetResult(v RuleActionResultType)
SetResult sets Result field to given value.
func (o *EventRuleAction) HasResult() bool
HasResult returns a boolean if a field has been set.