# 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::Synapse::Mgmt::V2019_06_01_preview
  module Models
    #
    # Replace all IP firewall rules request
    #
    class ReplaceAllIpFirewallRulesRequest

      include MsRestAzure

      # @return [Hash{String => IpFirewallRuleProperties}] IP firewall rule
      # properties
      attr_accessor :ip_firewall_rules


      #
      # Mapper for ReplaceAllIpFirewallRulesRequest class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReplaceAllIpFirewallRulesRequest',
          type: {
            name: 'Composite',
            class_name: 'ReplaceAllIpFirewallRulesRequest',
            model_properties: {
              ip_firewall_rules: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ipFirewallRules',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'IpFirewallRulePropertiesElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'IpFirewallRuleProperties'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
