Name | Type | Description | Notes |
---|---|---|---|
Policy | Pointer to string | 'Deny' traffic specified by this rule | [optional] |
Type | Pointer to string | Type of the L7 rule. One of: 'application', 'applicationCategory', 'host', 'port', 'ipRange' | [optional] |
Value | Pointer to string | The 'value' of what you want to block. Format of 'value' varies depending on type of the rule. The application categories and application ids can be retrieved from the the 'MX L7 application categories' endpoint. The countries follow the two-letter ISO 3166-1 alpha-2 format. | [optional] |
func NewUpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner() *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner
NewUpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner instantiates a new UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner 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 NewUpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInnerWithDefaults() *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner
NewUpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInnerWithDefaults instantiates a new UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner 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 *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) GetPolicy() string
GetPolicy returns the Policy field if non-nil, zero value otherwise.
func (o *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) SetPolicy(v string)
SetPolicy sets Policy field to given value.
func (o *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (o *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) SetType(v string)
SetType sets Type field to given value.
func (o *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) HasType() bool
HasType returns a boolean if a field has been set.
func (o *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) SetValue(v string)
SetValue sets Value field to given value.
func (o *UpdateNetworkApplianceFirewallL7FirewallRulesRequestRulesInner) HasValue() bool
HasValue returns a boolean if a field has been set.