class Azure::CustomerInsights::Mgmt::V2017_01_01::Models::TypePropertiesMapping

Metadata for a Link's property mapping.

Attributes

interaction_type_property_name[RW]

@return [String] Property name on the source Interaction Type.

is_profile_type_id[RW]

@return [Boolean] Flag to indicate whether the Profile Type property is an id on the Profile Type.

profile_type_property_name[RW]

@return [String] Property name on the target Profile Type.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-01-01/generated/azure_mgmt_customer_insights/models/type_properties_mapping.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TypePropertiesMapping',
    type: {
      name: 'Composite',
      class_name: 'TypePropertiesMapping',
      model_properties: {
        interaction_type_property_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'interactionTypePropertyName',
          type: {
            name: 'String'
          }
        },
        profile_type_property_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'profileTypePropertyName',
          type: {
            name: 'String'
          }
        },
        is_profile_type_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isProfileTypeId',
          type: {
            name: 'Boolean'
          }
        },
        link_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'linkType',
          type: {
            name: 'Enum',
            module: 'LinkTypes'
          }
        }
      }
    }
  }
end