Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | A WAF policy's unique identifier | [optional] |
Name | Pointer to string | A WAF policy's name | [optional] [readonly] |
Description | Pointer to string | A WAF policy's description | [optional] [readonly] |
Action | Pointer to WafPolicyAction | [optional] [default to "BLOCK"] | |
Enabled | Pointer to bool | Whether or not a WAF policy is enabled | [optional] |
func NewSchemawafPolicy() *SchemawafPolicy
NewSchemawafPolicy instantiates a new SchemawafPolicy 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 NewSchemawafPolicyWithDefaults() *SchemawafPolicy
NewSchemawafPolicyWithDefaults instantiates a new SchemawafPolicy 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 *SchemawafPolicy) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *SchemawafPolicy) 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.
func (o *SchemawafPolicy) SetId(v string)
SetId sets Id field to given value.
func (o *SchemawafPolicy) HasId() bool
HasId returns a boolean if a field has been set.
func (o *SchemawafPolicy) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SchemawafPolicy) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SchemawafPolicy) SetName(v string)
SetName sets Name field to given value.
func (o *SchemawafPolicy) HasName() bool
HasName returns a boolean if a field has been set.
func (o *SchemawafPolicy) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SchemawafPolicy) 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.
func (o *SchemawafPolicy) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SchemawafPolicy) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *SchemawafPolicy) GetAction() WafPolicyAction
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *SchemawafPolicy) GetActionOk() (*WafPolicyAction, 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.
func (o *SchemawafPolicy) SetAction(v WafPolicyAction)
SetAction sets Action field to given value.
func (o *SchemawafPolicy) HasAction() bool
HasAction returns a boolean if a field has been set.
func (o *SchemawafPolicy) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *SchemawafPolicy) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SchemawafPolicy) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *SchemawafPolicy) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.