Skip to content

Latest commit

 

History

History
228 lines (123 loc) · 6.36 KB

RuleProxyAction.md

File metadata and controls

228 lines (123 loc) · 6.36 KB

RuleProxyAction

Properties

Name Type Description Notes
Proxy ProxyConfig
Failover Pointer to FailoverConfig [optional]
Notify Pointer to string [optional]
NotifyConfig Pointer to NotifyConfig [optional]
WafEnabled bool [default to false]
WafConfig Pointer to WAFConfig [optional]
ProxyAlertEnabled Pointer to bool [optional]
ProxyInlineFnEnabled Pointer to bool [optional] [default to false]

Methods

NewRuleProxyAction

func NewRuleProxyAction(proxy ProxyConfig, wafEnabled bool, ) *RuleProxyAction

NewRuleProxyAction instantiates a new RuleProxyAction 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

NewRuleProxyActionWithDefaults

func NewRuleProxyActionWithDefaults() *RuleProxyAction

NewRuleProxyActionWithDefaults instantiates a new RuleProxyAction 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

GetProxy

func (o *RuleProxyAction) GetProxy() ProxyConfig

GetProxy returns the Proxy field if non-nil, zero value otherwise.

GetProxyOk

func (o *RuleProxyAction) GetProxyOk() (*ProxyConfig, bool)

GetProxyOk returns a tuple with the Proxy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProxy

func (o *RuleProxyAction) SetProxy(v ProxyConfig)

SetProxy sets Proxy field to given value.

GetFailover

func (o *RuleProxyAction) GetFailover() FailoverConfig

GetFailover returns the Failover field if non-nil, zero value otherwise.

GetFailoverOk

func (o *RuleProxyAction) GetFailoverOk() (*FailoverConfig, bool)

GetFailoverOk returns a tuple with the Failover field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFailover

func (o *RuleProxyAction) SetFailover(v FailoverConfig)

SetFailover sets Failover field to given value.

HasFailover

func (o *RuleProxyAction) HasFailover() bool

HasFailover returns a boolean if a field has been set.

GetNotify

func (o *RuleProxyAction) GetNotify() string

GetNotify returns the Notify field if non-nil, zero value otherwise.

GetNotifyOk

func (o *RuleProxyAction) GetNotifyOk() (*string, bool)

GetNotifyOk returns a tuple with the Notify field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNotify

func (o *RuleProxyAction) SetNotify(v string)

SetNotify sets Notify field to given value.

HasNotify

func (o *RuleProxyAction) HasNotify() bool

HasNotify returns a boolean if a field has been set.

GetNotifyConfig

func (o *RuleProxyAction) GetNotifyConfig() NotifyConfig

GetNotifyConfig returns the NotifyConfig field if non-nil, zero value otherwise.

GetNotifyConfigOk

func (o *RuleProxyAction) GetNotifyConfigOk() (*NotifyConfig, bool)

GetNotifyConfigOk returns a tuple with the NotifyConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNotifyConfig

func (o *RuleProxyAction) SetNotifyConfig(v NotifyConfig)

SetNotifyConfig sets NotifyConfig field to given value.

HasNotifyConfig

func (o *RuleProxyAction) HasNotifyConfig() bool

HasNotifyConfig returns a boolean if a field has been set.

GetWafEnabled

func (o *RuleProxyAction) GetWafEnabled() bool

GetWafEnabled returns the WafEnabled field if non-nil, zero value otherwise.

GetWafEnabledOk

func (o *RuleProxyAction) GetWafEnabledOk() (*bool, bool)

GetWafEnabledOk returns a tuple with the WafEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWafEnabled

func (o *RuleProxyAction) SetWafEnabled(v bool)

SetWafEnabled sets WafEnabled field to given value.

GetWafConfig

func (o *RuleProxyAction) GetWafConfig() WAFConfig

GetWafConfig returns the WafConfig field if non-nil, zero value otherwise.

GetWafConfigOk

func (o *RuleProxyAction) GetWafConfigOk() (*WAFConfig, bool)

GetWafConfigOk returns a tuple with the WafConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWafConfig

func (o *RuleProxyAction) SetWafConfig(v WAFConfig)

SetWafConfig sets WafConfig field to given value.

HasWafConfig

func (o *RuleProxyAction) HasWafConfig() bool

HasWafConfig returns a boolean if a field has been set.

GetProxyAlertEnabled

func (o *RuleProxyAction) GetProxyAlertEnabled() bool

GetProxyAlertEnabled returns the ProxyAlertEnabled field if non-nil, zero value otherwise.

GetProxyAlertEnabledOk

func (o *RuleProxyAction) GetProxyAlertEnabledOk() (*bool, bool)

GetProxyAlertEnabledOk returns a tuple with the ProxyAlertEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProxyAlertEnabled

func (o *RuleProxyAction) SetProxyAlertEnabled(v bool)

SetProxyAlertEnabled sets ProxyAlertEnabled field to given value.

HasProxyAlertEnabled

func (o *RuleProxyAction) HasProxyAlertEnabled() bool

HasProxyAlertEnabled returns a boolean if a field has been set.

GetProxyInlineFnEnabled

func (o *RuleProxyAction) GetProxyInlineFnEnabled() bool

GetProxyInlineFnEnabled returns the ProxyInlineFnEnabled field if non-nil, zero value otherwise.

GetProxyInlineFnEnabledOk

func (o *RuleProxyAction) GetProxyInlineFnEnabledOk() (*bool, bool)

GetProxyInlineFnEnabledOk returns a tuple with the ProxyInlineFnEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProxyInlineFnEnabled

func (o *RuleProxyAction) SetProxyInlineFnEnabled(v bool)

SetProxyInlineFnEnabled sets ProxyInlineFnEnabled field to given value.

HasProxyInlineFnEnabled

func (o *RuleProxyAction) HasProxyInlineFnEnabled() bool

HasProxyInlineFnEnabled returns a boolean if a field has been set.

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