| Name | Type | Description | Notes |
|---|---|---|---|
| Mode | Pointer to int32 | The mode of mitigation (1: Cookie, 2: Javascript, 3: Captcha) | [optional] |
| Ttl | Pointer to int32 | [optional] | |
| HttpsOnly | Pointer to bool | [optional] |
func NewChallengeAction() *ChallengeAction
NewChallengeAction instantiates a new ChallengeAction 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 NewChallengeActionWithDefaults() *ChallengeAction
NewChallengeActionWithDefaults instantiates a new ChallengeAction 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 *ChallengeAction) GetMode() int32
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *ChallengeAction) GetModeOk() (*int32, 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 *ChallengeAction) SetMode(v int32)
SetMode sets Mode field to given value.
func (o *ChallengeAction) HasMode() bool
HasMode returns a boolean if a field has been set.
func (o *ChallengeAction) GetTtl() int32
GetTtl returns the Ttl field if non-nil, zero value otherwise.
func (o *ChallengeAction) GetTtlOk() (*int32, bool)
GetTtlOk returns a tuple with the Ttl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChallengeAction) SetTtl(v int32)
SetTtl sets Ttl field to given value.
func (o *ChallengeAction) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (o *ChallengeAction) GetHttpsOnly() bool
GetHttpsOnly returns the HttpsOnly field if non-nil, zero value otherwise.
func (o *ChallengeAction) GetHttpsOnlyOk() (*bool, bool)
GetHttpsOnlyOk returns a tuple with the HttpsOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChallengeAction) SetHttpsOnly(v bool)
SetHttpsOnly sets HttpsOnly field to given value.
func (o *ChallengeAction) HasHttpsOnly() bool
HasHttpsOnly returns a boolean if a field has been set.