# 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::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10 module Models # # Service based exception details. # class ARMExceptionDetails include MsRestAzure # @return [String] Gets service error code. attr_accessor :code # @return [String] Gets error message. attr_accessor :message # @return [String] Gets possible cause for error. attr_accessor :possible_causes # @return [String] Gets recommended action for the error. attr_accessor :recommended_action # @return [String] Gets the client request Id for the session. attr_accessor :client_request_id # @return [String] Gets the activity Id for the session. attr_accessor :activity_id # @return [String] Gets exception target. attr_accessor :target # # Mapper for ARMExceptionDetails class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ARMExceptionDetails', type: { name: 'Composite', class_name: 'ARMExceptionDetails', model_properties: { code: { client_side_validation: true, required: false, serialized_name: 'code', type: { name: 'String' } }, message: { client_side_validation: true, required: false, serialized_name: 'message', type: { name: 'String' } }, possible_causes: { client_side_validation: true, required: false, serialized_name: 'possibleCauses', type: { name: 'String' } }, recommended_action: { client_side_validation: true, required: false, serialized_name: 'recommendedAction', type: { name: 'String' } }, client_request_id: { client_side_validation: true, required: false, serialized_name: 'clientRequestId', type: { name: 'String' } }, activity_id: { client_side_validation: true, required: false, serialized_name: 'activityId', type: { name: 'String' } }, target: { client_side_validation: true, required: false, serialized_name: 'target', type: { name: 'String' } } } } } end end end end