Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.55 KB

File metadata and controls

134 lines (73 loc) · 3.55 KB

WafConfigBlockLists

Properties

Name Type Description Notes
UserAgent Pointer to bool Block known bad user agents [optional] [default to false]
Referer Pointer to bool Block known bad referers [optional] [default to false]
Ip Pointer to bool Block known bad IPs [optional] [default to false]
Ai Pointer to bool Block AI crawlers [optional] [default to false]

Methods

NewWafConfigBlockLists

func NewWafConfigBlockLists() *WafConfigBlockLists

NewWafConfigBlockLists instantiates a new WafConfigBlockLists 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

NewWafConfigBlockListsWithDefaults

func NewWafConfigBlockListsWithDefaults() *WafConfigBlockLists

NewWafConfigBlockListsWithDefaults instantiates a new WafConfigBlockLists 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

GetUserAgent

func (o *WafConfigBlockLists) GetUserAgent() bool

GetUserAgent returns the UserAgent field if non-nil, zero value otherwise.

GetUserAgentOk

func (o *WafConfigBlockLists) GetUserAgentOk() (*bool, bool)

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

SetUserAgent

func (o *WafConfigBlockLists) SetUserAgent(v bool)

SetUserAgent sets UserAgent field to given value.

HasUserAgent

func (o *WafConfigBlockLists) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

GetReferer

func (o *WafConfigBlockLists) GetReferer() bool

GetReferer returns the Referer field if non-nil, zero value otherwise.

GetRefererOk

func (o *WafConfigBlockLists) GetRefererOk() (*bool, bool)

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

SetReferer

func (o *WafConfigBlockLists) SetReferer(v bool)

SetReferer sets Referer field to given value.

HasReferer

func (o *WafConfigBlockLists) HasReferer() bool

HasReferer returns a boolean if a field has been set.

GetIp

func (o *WafConfigBlockLists) GetIp() bool

GetIp returns the Ip field if non-nil, zero value otherwise.

GetIpOk

func (o *WafConfigBlockLists) GetIpOk() (*bool, bool)

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

SetIp

func (o *WafConfigBlockLists) SetIp(v bool)

SetIp sets Ip field to given value.

HasIp

func (o *WafConfigBlockLists) HasIp() bool

HasIp returns a boolean if a field has been set.

GetAi

func (o *WafConfigBlockLists) GetAi() bool

GetAi returns the Ai field if non-nil, zero value otherwise.

GetAiOk

func (o *WafConfigBlockLists) GetAiOk() (*bool, bool)

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

SetAi

func (o *WafConfigBlockLists) SetAi(v bool)

SetAi sets Ai field to given value.

HasAi

func (o *WafConfigBlockLists) HasAi() bool

HasAi returns a boolean if a field has been set.

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