Sha256: 74368e6c4049650409b50161edaca90811afe45946bf38f224eb0c8215cee218

Contents?: true

Size: 1.9 KB

Versions: 2

Compression:

Stored size: 1.9 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::IotHub::Mgmt::V2016_02_03
  module Models
    #
    # Error details.
    #
    class ErrorDetails

      include MsRestAzure

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

      # @return [String] The HTTP status code.
      attr_accessor :http_status_code

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

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


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.15.1 lib/2016-02-03/generated/azure_mgmt_iot_hub/models/error_details.rb
azure_mgmt_iot_hub-0.15.0 lib/2016-02-03/generated/azure_mgmt_iot_hub/models/error_details.rb