Sha256: 6f30ece03cee25dfaf1f5a94152c73845e6441b3387008051a50c1a102ebe126

Contents?: true

Size: 1.79 KB

Versions: 2

Compression:

Stored size: 1.79 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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

      include MsRest::JSONable
      # @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.12.0 lib/generated/azure_mgmt_datalake_store/models/error_details.rb
azure_mgmt_datalake_store-0.11.0 lib/generated/azure_mgmt_datalake_store/models/error_details.rb