Sha256: b0a128bb999ff37b212edc6aad946056d6b9c64540972d112a2faa66b000a081

Contents?: true

Size: 1.54 KB

Versions: 12

Compression:

Stored size: 1.54 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::Storage::Mgmt::V2019_06_01
  module Models
    #
    # Sets the CORS rules. You can include up to five CorsRule elements in the
    # request.
    #
    class CorsRules

      include MsRestAzure

      # @return [Array<CorsRule>] The List of CORS rules. You can include up to
      # five CorsRule elements in the request.
      attr_accessor :cors_rules


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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb
azure_mgmt_storage-0.22.0 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb
azure_mgmt_storage-0.21.2 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb
azure_mgmt_storage-0.21.1 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb
azure_mgmt_storage-0.21.0 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb
azure_mgmt_storage-0.20.1 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb
azure_mgmt_storage-0.20.0 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb
azure_mgmt_storage-0.19.3 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb
azure_mgmt_storage-0.19.2 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb
azure_mgmt_storage-0.19.1 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb
azure_mgmt_storage-0.19.0 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb
azure_mgmt_storage-0.18.2 lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb