Sha256: a0b29b7ac0870648f1b0d567126cfff5bb88466dd646439f8829f327be20b442

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::MarketplaceOrdering::Mgmt::V2015_06_01
  module Models
    #
    # Error reponse indicates Microsoft.MarketplaceOrdering service is not able
    # to process the incoming request. The reason is provided in the error
    # message.
    #
    class ErrorResponse

      include MsRestAzure

      # @return [ErrorResponseError] The details of the error.
      attr_accessor :error


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_marketplace_ordering-0.15.1 lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/models/error_response.rb
azure_mgmt_marketplace_ordering-0.15.0 lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/models/error_response.rb