Class: Azure::Network::Mgmt::V2019_09_01::Models::FirewallPolicyRuleCondition
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2019_09_01::Models::FirewallPolicyRuleCondition
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-09-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition.rb
Overview
Properties of a rule.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#description ⇒ String
Description of the rule condition.
-
#name ⇒ String
Name of the rule condition.
-
#ruleConditionType ⇒ Object
Returns the value of attribute ruleConditionType.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FirewallPolicyRuleCondition class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ FirewallPolicyRuleCondition
constructor
A new instance of FirewallPolicyRuleCondition.
Constructor Details
#initialize ⇒ FirewallPolicyRuleCondition
Returns a new instance of FirewallPolicyRuleCondition.
19 20 21 |
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition.rb', line 19 def initialize @ruleConditionType = "FirewallPolicyRuleCondition" end |
Instance Attribute Details
#description ⇒ String
Returns Description of the rule condition.
29 30 31 |
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition.rb', line 29 def description @description end |
#name ⇒ String
Returns Name of the rule condition.
26 27 28 |
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition.rb', line 26 def name @name end |
#ruleConditionType ⇒ Object
Returns the value of attribute ruleConditionType.
23 24 25 |
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition.rb', line 23 def ruleConditionType @ruleConditionType end |
Class Method Details
.mapper ⇒ Object
Mapper for FirewallPolicyRuleCondition class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/2019-09-01/generated/azure_mgmt_network/models/firewall_policy_rule_condition.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'FirewallPolicyRuleCondition', type: { name: 'Composite', polymorphic_discriminator: 'ruleConditionType', uber_parent: 'FirewallPolicyRuleCondition', class_name: 'FirewallPolicyRuleCondition', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } } } } } end |