Sha256: 0be518f7761705bb17f03b93448ef2b9a07eef4bfa11557495e9e19872d00e20

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 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::V2020_08_01_preview
  module Models
    #
    # An error response from the storage resource provider.
    #
    class ErrorResponse

      include MsRestAzure

      # @return [ErrorResponseBody] Azure Storage Resource Provider error
      # response body.
      attr_accessor :error


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2020-08-01-preview/generated/azure_mgmt_storage/models/error_response.rb
azure_mgmt_storage-0.22.0 lib/2020-08-01-preview/generated/azure_mgmt_storage/models/error_response.rb