# 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::V2020_08_01_preview module Models # # The properties of a storage account’s Queue service. # class QueueServiceProperties < Resource include MsRestAzure # @return [CorsRules] Specifies CORS rules for the Queue service. You can # include up to five CorsRule elements in the request. If no CorsRule # elements are included in the request body, all CORS rules will be # deleted, and CORS will be disabled for the Queue service. attr_accessor :cors # # Mapper for QueueServiceProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'QueueServiceProperties', type: { name: 'Composite', class_name: 'QueueServiceProperties', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, cors: { client_side_validation: true, required: false, serialized_name: 'properties.cors', type: { name: 'Composite', class_name: 'CorsRules' } } } } } end end end end