# 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::CustomerInsights::Mgmt::V2017_04_26
  module Models
    #
    # The participant property reference.
    #
    class ParticipantPropertyReference

      include MsRestAzure

      # @return [String] The source property that maps to the target property.
      attr_accessor :source_property_name

      # @return [String] The target property that maps to the source property.
      attr_accessor :target_property_name


      #
      # Mapper for ParticipantPropertyReference class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ParticipantPropertyReference',
          type: {
            name: 'Composite',
            class_name: 'ParticipantPropertyReference',
            model_properties: {
              source_property_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'sourcePropertyName',
                type: {
                  name: 'String'
                }
              },
              target_property_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'targetPropertyName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
