# 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 profile property reference.
    #
    class ParticipantProfilePropertyReference

      include MsRestAzure

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

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


      #
      # Mapper for ParticipantProfilePropertyReference class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ParticipantProfilePropertyReference',
          type: {
            name: 'Composite',
            class_name: 'ParticipantProfilePropertyReference',
            model_properties: {
              interaction_property_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'interactionPropertyName',
                type: {
                  name: 'String'
                }
              },
              profile_property_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'profilePropertyName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
