Sha256: e2720a6cdebc7afde3a3c234265d9ee4f57e88a2ddbf73fdb7a189ccb2a33480

Contents?: true

Size: 1.88 KB

Versions: 1

Compression:

Stored size: 1.88 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::ARM::IotHub
  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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.14.0 lib/generated/azure_mgmt_iot_hub/models/error_details.rb