# 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::Billing module Models # # The details of the error. # class ErrorDetails include MsRestAzure # @return [String] Error code. attr_accessor :code # @return [String] Error message indicating why the operation failed. attr_accessor :message # @return [String] The target of the particular 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