Sha256: 2c6d0820bc117b0adb52c3504487b09db8c775e91359f1dc4ae10c17e6467bed

Contents?: true

Size: 1.42 KB

Versions: 6

Compression:

Stored size: 1.42 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::OperationalInsights::Mgmt::V2015_11_01_preview
  module Models
    #
    # Describes the format of Error response.
    #
    class ErrorResponse

      include MsRestAzure

      # @return [String] Error code
      attr_accessor :code

      # @return [String] Error message indicating why the operation failed.
      attr_accessor :message


      #
      # 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: {
              code: {
                client_side_validation: true,
                required: false,
                serialized_name: 'code',
                type: {
                  name: 'String'
                }
              },
              message: {
                client_side_validation: true,
                required: false,
                serialized_name: 'message',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_operational_insights-0.20.0 lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb
azure_mgmt_operational_insights-0.19.3 lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb
azure_mgmt_operational_insights-0.19.2 lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb
azure_mgmt_operational_insights-0.19.1 lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb
azure_mgmt_operational_insights-0.19.0 lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb
azure_mgmt_operational_insights-0.18.0 lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb