| Name | Type | Description | Notes |
|---|---|---|---|
| Enabled | bool | Indicates whether the policy is enabled. | |
| Allowed | bool | Defines the default policy action. When true, traffic is allowed; when false, traffic is blocked. | |
| Id | string | Unique network policy ID. |
func NewFirewallPolicyBase(enabled bool, allowed bool, id string, ) *FirewallPolicyBase
NewFirewallPolicyBase instantiates a new FirewallPolicyBase 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 NewFirewallPolicyBaseWithDefaults() *FirewallPolicyBase
NewFirewallPolicyBaseWithDefaults instantiates a new FirewallPolicyBase 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 *FirewallPolicyBase) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *FirewallPolicyBase) 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 *FirewallPolicyBase) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *FirewallPolicyBase) GetAllowed() bool
GetAllowed returns the Allowed field if non-nil, zero value otherwise.
func (o *FirewallPolicyBase) GetAllowedOk() (*bool, bool)
GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FirewallPolicyBase) SetAllowed(v bool)
SetAllowed sets Allowed field to given value.
func (o *FirewallPolicyBase) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *FirewallPolicyBase) 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 *FirewallPolicyBase) SetId(v string)
SetId sets Id field to given value.