Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkFieldMapping

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

Overview

The fields mapping for Relationships.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#interaction_field_nameString

Returns The field name on the Interaction Type.

Returns:

  • (String)

    The field name on the Interaction Type.



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

def interaction_field_name
  @interaction_field_name
end

‘CopyIfNull’

Returns:

  • (LinkTypes)

    Link type. Possible values include: ‘UpdateAlways’,



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

def link_type
  @link_type
end

#relationship_field_nameString

Returns The field name on the Relationship metadata.

Returns:

  • (String)

    The field name on the Relationship metadata.



23
24
25
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_field_mapping.rb', line 23

def relationship_field_name
  @relationship_field_name
end

Class Method Details

.mapperObject

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



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
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_link_field_mapping.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RelationshipLinkFieldMapping',
    type: {
      name: 'Composite',
      class_name: 'RelationshipLinkFieldMapping',
      model_properties: {
        interaction_field_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'interactionFieldName',
          type: {
            name: 'String'
          }
        },
        link_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'linkType',
          type: {
            name: 'Enum',
            module: 'LinkTypes'
          }
        },
        relationship_field_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'relationshipFieldName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end