# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Batch module Models # # Specific detail about an error. # class ErrorDetail include MsRestAzure # @return [String] An identifier for the error. Codes are invariant and # are intended to be consumed programmatically. attr_accessor :code # @return [String] A message describing the error, intended to be # suitable for display in a user interface. 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 ErrorDetail class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'ErrorDetail', type: { name: 'Composite', class_name: 'ErrorDetail', model_properties: { code: { required: false, serialized_name: 'code', type: { name: 'String' } }, message: { required: false, serialized_name: 'message', type: { name: 'String' } }, target: { required: false, serialized_name: 'target', type: { name: 'String' } } } } } end end end end