Sha256: 7060caa3cbb11ba3f9cacc6044a971d2f2e2e93f8daef62a06e13c8f7a7796b6

Contents?: true

Size: 1.76 KB

Versions: 2

Compression:

Stored size: 1.76 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::DataLakeStore
  module Models
    #
    # Data Lake Store error details information
    #
    class ErrorDetails

      include MsRestAzure

      # @return [String] the HTTP status code or error code associated with
      # this error
      attr_accessor :code

      # @return [String] the error message localized based on Accept-Language
      attr_accessor :message

      # @return [String] the target of the particular error (for example, the
      # name of the property in error).
      attr_accessor :target


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_datalake_store-0.7.0 lib/generated/azure_mgmt_datalake_store/models/error_details.rb
azure_mgmt_datalake_store-0.6.0 lib/generated/azure_mgmt_datalake_store/models/error_details.rb