Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 5.79 KB

DdosRule.md

File metadata and controls

186 lines (101 loc) · 5.79 KB

DdosRule

Properties

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]

Methods

NewDdosRule

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

NewDdosRuleWithDefaults

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

GetId

func (o *DdosRule) GetId() string

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

GetIdOk

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.

SetId

func (o *DdosRule) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *DdosRule) HasId() bool

HasId returns a boolean if a field has been set.

GetUrlPattern

func (o *DdosRule) GetUrlPattern() string

GetUrlPattern returns the UrlPattern field if non-nil, zero value otherwise.

GetUrlPatternOk

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.

SetUrlPattern

func (o *DdosRule) SetUrlPattern(v string)

SetUrlPattern sets UrlPattern field to given value.

HasUrlPattern

func (o *DdosRule) HasUrlPattern() bool

HasUrlPattern returns a boolean if a field has been set.

GetSources

func (o *DdosRule) GetSources() []string

GetSources returns the Sources field if non-nil, zero value otherwise.

GetSourcesOk

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.

SetSources

func (o *DdosRule) SetSources(v []string)

SetSources sets Sources field to given value.

HasSources

func (o *DdosRule) HasSources() bool

HasSources returns a boolean if a field has been set.

GetDescription

func (o *DdosRule) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

SetDescription

func (o *DdosRule) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *DdosRule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetAction

func (o *DdosRule) GetAction() string

GetAction returns the Action field if non-nil, zero value otherwise.

GetActionOk

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.

SetAction

func (o *DdosRule) SetAction(v string)

SetAction sets Action field to given value.

HasAction

func (o *DdosRule) HasAction() bool

HasAction returns a boolean if a field has been set.

GetIsEnabled

func (o *DdosRule) GetIsEnabled() bool

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

GetIsEnabledOk

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.

SetIsEnabled

func (o *DdosRule) SetIsEnabled(v bool)

SetIsEnabled sets IsEnabled field to given value.

HasIsEnabled

func (o *DdosRule) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

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