Sha256: 4166062152013fcad20218541e7c33245a92482d1f44a66e0b6dd5f789b4eb23

Contents?: true

Size: 1.13 KB

Versions: 6

Compression:

Stored size: 1.13 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::Monitor::Mgmt::V2018_11_27_preview
  module Models
    #
    # An error response from the API.
    #
    class ResponseWithError

      include MsRestAzure

      # @return [Error] Error information.
      attr_accessor :error


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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.19.0 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb
azure_mgmt_monitor-0.18.0 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb
azure_mgmt_monitor-0.17.6 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb
azure_mgmt_monitor-0.17.5 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb
azure_mgmt_monitor-0.17.4 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb
azure_mgmt_monitor-0.17.3 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb