# 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::Resources2::Mgmt::V2019_05_10 module Models # # The detailed error message of resource management. # class ResourceManagementErrorWithDetails include MsRestAzure2 # @return [String] The error code returned when exporting the template. attr_accessor :code # @return [String] The error message describing the export error. attr_accessor :message # @return [String] The target of the error. attr_accessor :target # @return [Array] Validation error. attr_accessor :details # # Mapper for ResourceManagementErrorWithDetails class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceManagementErrorWithDetails', type: { name: 'Composite', class_name: 'ResourceManagementErrorWithDetails', 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' } }, details: { client_side_validation: true, required: false, read_only: true, serialized_name: 'details', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourceManagementErrorWithDetailsElementType', type: { name: 'Composite', class_name: 'ResourceManagementErrorWithDetails' } } } } } } } end end end end