Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-26/generated/azure_mgmt_customer_insights/models/participant_property_reference.rb

Overview

The participant property reference.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#source_property_nameString

Returns The source property that maps to the target property.

Returns:

  • (String)

    The source property that maps to the target property.



16
17
18
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/participant_property_reference.rb', line 16

def source_property_name
  @source_property_name
end

#target_property_nameString

Returns The target property that maps to the source property.

Returns:

  • (String)

    The target property that maps to the source property.



19
20
21
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/participant_property_reference.rb', line 19

def target_property_name
  @target_property_name
end

Class Method Details

.mapperObject

Mapper for ParticipantPropertyReference class as Ruby Hash. This will be used for serialization/deserialization.



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/participant_property_reference.rb', line 26

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