# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Network::Mgmt::V2018_02_01 module Models # # A web application firewall rule group. # class ApplicationGatewayFirewallRuleGroup include MsRestAzure # @return [String] The name of the web application firewall rule group. attr_accessor :rule_group_name # @return [String] The description of the web application firewall rule # group. attr_accessor :description # @return [Array] The rules of the web # application firewall rule group. attr_accessor :rules # # Mapper for ApplicationGatewayFirewallRuleGroup class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroup', type: { name: 'Composite', class_name: 'ApplicationGatewayFirewallRuleGroup', model_properties: { rule_group_name: { client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } }, rules: { client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleElementType', type: { name: 'Composite', class_name: 'ApplicationGatewayFirewallRule' } } } } } } } end end end end