Sha256: 69d5ec1b12d6dcb42fa97968e0bc9c2292f8afab103c60389db01dfd54712cf8

Contents?: true

Size: 1.48 KB

Versions: 3

Compression:

Stored size: 1.48 KB

Contents

# 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::Mysql::Mgmt::V2017_12_01
  module Models
    #
    # A list of firewall rules.
    #
    class FirewallRuleListResult

      include MsRestAzure

      # @return [Array<FirewallRule>] The list of firewall rules in a server.
      attr_accessor :value


      #
      # Mapper for FirewallRuleListResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'FirewallRuleListResult',
          type: {
            name: 'Composite',
            class_name: 'FirewallRuleListResult',
            model_properties: {
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'FirewallRuleElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'FirewallRule'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_mysql-0.17.2 lib/2017-12-01/generated/azure_mgmt_mysql/models/firewall_rule_list_result.rb
azure_mgmt_mysql-0.17.1 lib/2017-12-01/generated/azure_mgmt_mysql/models/firewall_rule_list_result.rb
azure_mgmt_mysql-0.17.0 lib/2017-12-01/generated/azure_mgmt_mysql/models/firewall_rule_list_result.rb