Name | Type | Description | Notes |
---|---|---|---|
Mode | Pointer to string | [optional] | |
ParanoiaLevel | Pointer to int32 | [optional] [default to 1] | |
AllowRules | Pointer to []string | [optional] | |
AllowIp | Pointer to []string | [optional] | |
BlockIp | Pointer to []string | [optional] | |
BlockUa | Pointer to []string | [optional] | |
BlockReferer | Pointer to []string | [optional] | |
Thresholds | Pointer to []Threshold | [optional] | |
HttpblEnabled | Pointer to map[string]bool | [optional] | |
NotifySlackHitsRpm | Pointer to int32 | [optional] | |
IpRatelimitMode | Pointer to string | [optional] [default to "disabled"] | |
IpRatelimitRps | Pointer to int32 | [optional] [default to 5] | |
IpRatelimitCooldown | Pointer to int32 | [optional] [default to 30] | |
RequestHeaderRatelimitMode | Pointer to string | [optional] [default to "disabled"] | |
RequestHeaderName | Pointer to string | [optional] | |
RequestHeaderRatelimitRps | Pointer to int32 | [optional] [default to 5] | |
RequestHeaderRatelimitCooldown | Pointer to int32 | [optional] [default to 30] | |
WafRatelimitMode | Pointer to string | [optional] [default to "disabled"] | |
WafRatelimitHits | Pointer to int32 | [optional] [default to 10] | |
WafRatelimitRps | Pointer to int32 | [optional] [default to 5] | |
WafRatelimitCooldown | Pointer to int32 | [optional] [default to 300] | |
NotifyEmail | Pointer to []string | [optional] | |
NotifySlack | Pointer to string | [optional] | |
NotifySlackRpm | Pointer to int32 | [optional] |
func NewWAFConfigUpdate() *WAFConfigUpdate
NewWAFConfigUpdate instantiates a new WAFConfigUpdate 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 NewWAFConfigUpdateWithDefaults() *WAFConfigUpdate
NewWAFConfigUpdateWithDefaults instantiates a new WAFConfigUpdate 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 *WAFConfigUpdate) GetMode() string
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetMode(v string)
SetMode sets Mode field to given value.
func (o *WAFConfigUpdate) HasMode() bool
HasMode returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetParanoiaLevel() int32
GetParanoiaLevel returns the ParanoiaLevel field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetParanoiaLevelOk() (*int32, bool)
GetParanoiaLevelOk returns a tuple with the ParanoiaLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetParanoiaLevel(v int32)
SetParanoiaLevel sets ParanoiaLevel field to given value.
func (o *WAFConfigUpdate) HasParanoiaLevel() bool
HasParanoiaLevel returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetAllowRules() []string
GetAllowRules returns the AllowRules field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetAllowRulesOk() (*[]string, bool)
GetAllowRulesOk returns a tuple with the AllowRules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetAllowRules(v []string)
SetAllowRules sets AllowRules field to given value.
func (o *WAFConfigUpdate) HasAllowRules() bool
HasAllowRules returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetAllowIp() []string
GetAllowIp returns the AllowIp field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetAllowIpOk() (*[]string, bool)
GetAllowIpOk returns a tuple with the AllowIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetAllowIp(v []string)
SetAllowIp sets AllowIp field to given value.
func (o *WAFConfigUpdate) HasAllowIp() bool
HasAllowIp returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetBlockIp() []string
GetBlockIp returns the BlockIp field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetBlockIpOk() (*[]string, bool)
GetBlockIpOk returns a tuple with the BlockIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetBlockIp(v []string)
SetBlockIp sets BlockIp field to given value.
func (o *WAFConfigUpdate) HasBlockIp() bool
HasBlockIp returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetBlockUa() []string
GetBlockUa returns the BlockUa field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetBlockUaOk() (*[]string, bool)
GetBlockUaOk returns a tuple with the BlockUa field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetBlockUa(v []string)
SetBlockUa sets BlockUa field to given value.
func (o *WAFConfigUpdate) HasBlockUa() bool
HasBlockUa returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetBlockReferer() []string
GetBlockReferer returns the BlockReferer field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetBlockRefererOk() (*[]string, bool)
GetBlockRefererOk returns a tuple with the BlockReferer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetBlockReferer(v []string)
SetBlockReferer sets BlockReferer field to given value.
func (o *WAFConfigUpdate) HasBlockReferer() bool
HasBlockReferer returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetThresholds() []Threshold
GetThresholds returns the Thresholds field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetThresholdsOk() (*[]Threshold, bool)
GetThresholdsOk returns a tuple with the Thresholds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetThresholds(v []Threshold)
SetThresholds sets Thresholds field to given value.
func (o *WAFConfigUpdate) HasThresholds() bool
HasThresholds returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetHttpblEnabled() map[string]bool
GetHttpblEnabled returns the HttpblEnabled field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetHttpblEnabledOk() (*map[string]bool, bool)
GetHttpblEnabledOk returns a tuple with the HttpblEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetHttpblEnabled(v map[string]bool)
SetHttpblEnabled sets HttpblEnabled field to given value.
func (o *WAFConfigUpdate) HasHttpblEnabled() bool
HasHttpblEnabled returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetNotifySlackHitsRpm() int32
GetNotifySlackHitsRpm returns the NotifySlackHitsRpm field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetNotifySlackHitsRpmOk() (*int32, bool)
GetNotifySlackHitsRpmOk returns a tuple with the NotifySlackHitsRpm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetNotifySlackHitsRpm(v int32)
SetNotifySlackHitsRpm sets NotifySlackHitsRpm field to given value.
func (o *WAFConfigUpdate) HasNotifySlackHitsRpm() bool
HasNotifySlackHitsRpm returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetIpRatelimitMode() string
GetIpRatelimitMode returns the IpRatelimitMode field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetIpRatelimitModeOk() (*string, bool)
GetIpRatelimitModeOk returns a tuple with the IpRatelimitMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetIpRatelimitMode(v string)
SetIpRatelimitMode sets IpRatelimitMode field to given value.
func (o *WAFConfigUpdate) HasIpRatelimitMode() bool
HasIpRatelimitMode returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetIpRatelimitRps() int32
GetIpRatelimitRps returns the IpRatelimitRps field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetIpRatelimitRpsOk() (*int32, bool)
GetIpRatelimitRpsOk returns a tuple with the IpRatelimitRps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetIpRatelimitRps(v int32)
SetIpRatelimitRps sets IpRatelimitRps field to given value.
func (o *WAFConfigUpdate) HasIpRatelimitRps() bool
HasIpRatelimitRps returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetIpRatelimitCooldown() int32
GetIpRatelimitCooldown returns the IpRatelimitCooldown field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetIpRatelimitCooldownOk() (*int32, bool)
GetIpRatelimitCooldownOk returns a tuple with the IpRatelimitCooldown field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetIpRatelimitCooldown(v int32)
SetIpRatelimitCooldown sets IpRatelimitCooldown field to given value.
func (o *WAFConfigUpdate) HasIpRatelimitCooldown() bool
HasIpRatelimitCooldown returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetRequestHeaderRatelimitMode() string
GetRequestHeaderRatelimitMode returns the RequestHeaderRatelimitMode field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetRequestHeaderRatelimitModeOk() (*string, bool)
GetRequestHeaderRatelimitModeOk returns a tuple with the RequestHeaderRatelimitMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetRequestHeaderRatelimitMode(v string)
SetRequestHeaderRatelimitMode sets RequestHeaderRatelimitMode field to given value.
func (o *WAFConfigUpdate) HasRequestHeaderRatelimitMode() bool
HasRequestHeaderRatelimitMode returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetRequestHeaderName() string
GetRequestHeaderName returns the RequestHeaderName field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetRequestHeaderNameOk() (*string, bool)
GetRequestHeaderNameOk returns a tuple with the RequestHeaderName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetRequestHeaderName(v string)
SetRequestHeaderName sets RequestHeaderName field to given value.
func (o *WAFConfigUpdate) HasRequestHeaderName() bool
HasRequestHeaderName returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetRequestHeaderRatelimitRps() int32
GetRequestHeaderRatelimitRps returns the RequestHeaderRatelimitRps field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetRequestHeaderRatelimitRpsOk() (*int32, bool)
GetRequestHeaderRatelimitRpsOk returns a tuple with the RequestHeaderRatelimitRps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetRequestHeaderRatelimitRps(v int32)
SetRequestHeaderRatelimitRps sets RequestHeaderRatelimitRps field to given value.
func (o *WAFConfigUpdate) HasRequestHeaderRatelimitRps() bool
HasRequestHeaderRatelimitRps returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetRequestHeaderRatelimitCooldown() int32
GetRequestHeaderRatelimitCooldown returns the RequestHeaderRatelimitCooldown field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetRequestHeaderRatelimitCooldownOk() (*int32, bool)
GetRequestHeaderRatelimitCooldownOk returns a tuple with the RequestHeaderRatelimitCooldown field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetRequestHeaderRatelimitCooldown(v int32)
SetRequestHeaderRatelimitCooldown sets RequestHeaderRatelimitCooldown field to given value.
func (o *WAFConfigUpdate) HasRequestHeaderRatelimitCooldown() bool
HasRequestHeaderRatelimitCooldown returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetWafRatelimitMode() string
GetWafRatelimitMode returns the WafRatelimitMode field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetWafRatelimitModeOk() (*string, bool)
GetWafRatelimitModeOk returns a tuple with the WafRatelimitMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetWafRatelimitMode(v string)
SetWafRatelimitMode sets WafRatelimitMode field to given value.
func (o *WAFConfigUpdate) HasWafRatelimitMode() bool
HasWafRatelimitMode returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetWafRatelimitHits() int32
GetWafRatelimitHits returns the WafRatelimitHits field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetWafRatelimitHitsOk() (*int32, bool)
GetWafRatelimitHitsOk returns a tuple with the WafRatelimitHits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetWafRatelimitHits(v int32)
SetWafRatelimitHits sets WafRatelimitHits field to given value.
func (o *WAFConfigUpdate) HasWafRatelimitHits() bool
HasWafRatelimitHits returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetWafRatelimitRps() int32
GetWafRatelimitRps returns the WafRatelimitRps field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetWafRatelimitRpsOk() (*int32, bool)
GetWafRatelimitRpsOk returns a tuple with the WafRatelimitRps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetWafRatelimitRps(v int32)
SetWafRatelimitRps sets WafRatelimitRps field to given value.
func (o *WAFConfigUpdate) HasWafRatelimitRps() bool
HasWafRatelimitRps returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetWafRatelimitCooldown() int32
GetWafRatelimitCooldown returns the WafRatelimitCooldown field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetWafRatelimitCooldownOk() (*int32, bool)
GetWafRatelimitCooldownOk returns a tuple with the WafRatelimitCooldown field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetWafRatelimitCooldown(v int32)
SetWafRatelimitCooldown sets WafRatelimitCooldown field to given value.
func (o *WAFConfigUpdate) HasWafRatelimitCooldown() bool
HasWafRatelimitCooldown returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetNotifyEmail() []string
GetNotifyEmail returns the NotifyEmail field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetNotifyEmailOk() (*[]string, bool)
GetNotifyEmailOk returns a tuple with the NotifyEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetNotifyEmail(v []string)
SetNotifyEmail sets NotifyEmail field to given value.
func (o *WAFConfigUpdate) HasNotifyEmail() bool
HasNotifyEmail returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetNotifySlack() string
GetNotifySlack returns the NotifySlack field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetNotifySlackOk() (*string, bool)
GetNotifySlackOk returns a tuple with the NotifySlack field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetNotifySlack(v string)
SetNotifySlack sets NotifySlack field to given value.
func (o *WAFConfigUpdate) HasNotifySlack() bool
HasNotifySlack returns a boolean if a field has been set.
func (o *WAFConfigUpdate) GetNotifySlackRpm() int32
GetNotifySlackRpm returns the NotifySlackRpm field if non-nil, zero value otherwise.
func (o *WAFConfigUpdate) GetNotifySlackRpmOk() (*int32, bool)
GetNotifySlackRpmOk returns a tuple with the NotifySlackRpm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WAFConfigUpdate) SetNotifySlackRpm(v int32)
SetNotifySlackRpm sets NotifySlackRpm field to given value.
func (o *WAFConfigUpdate) HasNotifySlackRpm() bool
HasNotifySlackRpm returns a boolean if a field has been set.