# 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::ADHybridHealthService::Mgmt::V2014_01_01
  module Models
    #
    # The error details in legacy rule processing.
    #
    class RuleErrorInfo

      include MsRestAzure

      # @return [AttributeMapping] The attribute mapping details.
      attr_accessor :attribute_mapping

      # @return [String] The connector Id.
      attr_accessor :connector_id

      # @return [String] The connector name.
      attr_accessor :connector_name

      # @return [String] The object Id.
      attr_accessor :cs_object_id

      # @return [String] The distinguished name.
      attr_accessor :dn


      #
      # Mapper for RuleErrorInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RuleErrorInfo',
          type: {
            name: 'Composite',
            class_name: 'RuleErrorInfo',
            model_properties: {
              attribute_mapping: {
                client_side_validation: true,
                required: false,
                serialized_name: 'attributeMapping',
                type: {
                  name: 'Composite',
                  class_name: 'AttributeMapping'
                }
              },
              connector_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'connectorId',
                type: {
                  name: 'String'
                }
              },
              connector_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'connectorName',
                type: {
                  name: 'String'
                }
              },
              cs_object_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'csObjectId',
                type: {
                  name: 'String'
                }
              },
              dn: {
                client_side_validation: true,
                required: false,
                serialized_name: 'dn',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
