Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] [readonly] | |
UrlPattern | Pointer to string | - `?` matches any single character. - `` matches any (possibly empty) sequence of characters. - `**` matches the current directory and arbitrary subdirectories. This sequence must form a single path component, so both `a` and `b` are invalid and will result in an error. A sequence of more than two consecutive `` characters is also invalid. - `[...]` matches any character inside the brackets. Character sequences can also specify ranges of characters, as ordered by Unicode, so e.g. `[0-9]` specifies any character between 0 and 9 inclusive. An unclosed bracket is invalid. - `[!...]` is the negation of `[...]`, i.e. it matches any characters not in the brackets. - The metacharacters `?`, `*`, `[`, `] `can be matched by using brackets (e.g. `[?]`). When a `]` occurs immediately following `[` or `[!` then it is interpreted as being part of, rather then ending, the character set, so `]` and NOT `]` can be matched by `[]]` and `[!]]` respectively. The - character can be specified inside a character sequence pattern by placing it at the start or the end, e.g. `[abc-]`. | [optional] |
Sources | Pointer to []string | [optional] | |
Action | Pointer to string | [optional] | |
Description | Pointer to string | [optional] | |
IsEnabled | Pointer to bool | [optional] |
func NewWafRule() *WafRule
NewWafRule instantiates a new WafRule 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 NewWafRuleWithDefaults() *WafRule
NewWafRuleWithDefaults instantiates a new WafRule 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 *WafRule) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *WafRule) 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.
func (o *WafRule) SetId(v string)
SetId sets Id field to given value.
func (o *WafRule) HasId() bool
HasId returns a boolean if a field has been set.
func (o *WafRule) GetUrlPattern() string
GetUrlPattern returns the UrlPattern field if non-nil, zero value otherwise.
func (o *WafRule) GetUrlPatternOk() (*string, bool)
GetUrlPatternOk returns a tuple with the UrlPattern field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafRule) SetUrlPattern(v string)
SetUrlPattern sets UrlPattern field to given value.
func (o *WafRule) HasUrlPattern() bool
HasUrlPattern returns a boolean if a field has been set.
func (o *WafRule) GetSources() []string
GetSources returns the Sources field if non-nil, zero value otherwise.
func (o *WafRule) GetSourcesOk() (*[]string, bool)
GetSourcesOk returns a tuple with the Sources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafRule) SetSources(v []string)
SetSources sets Sources field to given value.
func (o *WafRule) HasSources() bool
HasSources returns a boolean if a field has been set.
func (o *WafRule) GetAction() string
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *WafRule) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafRule) SetAction(v string)
SetAction sets Action field to given value.
func (o *WafRule) HasAction() bool
HasAction returns a boolean if a field has been set.
func (o *WafRule) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *WafRule) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WafRule) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *WafRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *WafRule) GetIsEnabled() bool
GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.
func (o *WafRule) 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 *WafRule) SetIsEnabled(v bool)
SetIsEnabled sets IsEnabled field to given value.
func (o *WafRule) HasIsEnabled() bool
HasIsEnabled returns a boolean if a field has been set.