class Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeMapping

Maps fields in Profile to their corresponding StrongIds in Related Profile.

Attributes

field_mappings[RW]

@return [Array<RelationshipTypeFieldMapping>] Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well.

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-04-26/generated/azure_mgmt_customer_insights/models/relationship_type_mapping.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RelationshipTypeMapping',
    type: {
      name: 'Composite',
      class_name: 'RelationshipTypeMapping',
      model_properties: {
        field_mappings: {
          client_side_validation: true,
          required: true,
          serialized_name: 'fieldMappings',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'RelationshipTypeFieldMappingElementType',
                type: {
                  name: 'Composite',
                  class_name: 'RelationshipTypeFieldMapping'
                }
            }
          }
        }
      }
    }
  }
end