Sha256: a8e9dffec1cfb62df819d2660a1838654c2ecda470c1c57ad5ca14c10fc0f143

Contents?: true

Size: 1.78 KB

Versions: 11

Compression:

Stored size: 1.78 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::IotCentral::Mgmt::V2017_07_01_privatepreview
  module Models
    #
    # Error details.
    #
    class ErrorDetails

      include MsRestAzure

      # @return [String] The error code.
      attr_accessor :code

      # @return [String] The error message.
      attr_accessor :message

      # @return [String] The target of the particular error.
      attr_accessor :target


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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_iot_central-0.19.4 lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb
azure_mgmt_iot_central-0.19.3 lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb
azure_mgmt_iot_central-0.19.2 lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb
azure_mgmt_iot_central-0.19.1 lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb
azure_mgmt_iot_central-0.19.0 lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb
azure_mgmt_iot_central-0.18.0 lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb
azure_mgmt_iot_central-0.17.3 lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb
azure_mgmt_iot_central-0.17.2 lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb
azure_mgmt_iot_central-0.17.1 lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb
azure_mgmt_iot_central-0.17.0 lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb
azure_mgmt_iot_central-0.16.0 lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb