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] | |
Description | Pointer to string | [optional] | |
Action | Pointer to string | [optional] | |
IsEnabled | Pointer to bool | [optional] |
func NewDdosRule() *DdosRule
NewDdosRule instantiates a new DdosRule 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 NewDdosRuleWithDefaults() *DdosRule
NewDdosRuleWithDefaults instantiates a new DdosRule 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 *DdosRule) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *DdosRule) 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 *DdosRule) SetId(v string)
SetId sets Id field to given value.
func (o *DdosRule) HasId() bool
HasId returns a boolean if a field has been set.
func (o *DdosRule) GetUrlPattern() string
GetUrlPattern returns the UrlPattern field if non-nil, zero value otherwise.
func (o *DdosRule) 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 *DdosRule) SetUrlPattern(v string)
SetUrlPattern sets UrlPattern field to given value.
func (o *DdosRule) HasUrlPattern() bool
HasUrlPattern returns a boolean if a field has been set.
func (o *DdosRule) GetSources() []string
GetSources returns the Sources field if non-nil, zero value otherwise.
func (o *DdosRule) 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 *DdosRule) SetSources(v []string)
SetSources sets Sources field to given value.
func (o *DdosRule) HasSources() bool
HasSources returns a boolean if a field has been set.
func (o *DdosRule) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *DdosRule) 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 *DdosRule) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *DdosRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *DdosRule) GetAction() string
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *DdosRule) 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 *DdosRule) SetAction(v string)
SetAction sets Action field to given value.
func (o *DdosRule) HasAction() bool
HasAction returns a boolean if a field has been set.
func (o *DdosRule) GetIsEnabled() bool
GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.
func (o *DdosRule) 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 *DdosRule) SetIsEnabled(v bool)
SetIsEnabled sets IsEnabled field to given value.
func (o *DdosRule) HasIsEnabled() bool
HasIsEnabled returns a boolean if a field has been set.