class Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview::Models::ErrorDetails

Generic resource error details information.

Attributes

code[RW]

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

message[RW]

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

target[RW]

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

Public Class Methods

mapper() click to toggle source

Mapper for ErrorDetails class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/error_details.rb, line 31
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