class Azure::CustomerInsights::Mgmt::V2017_04_26::Models::TypePropertiesMapping

Metadata for a Link's property mapping.

Attributes

source_property_name[RW]

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

target_property_name[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-04-26/generated/azure_mgmt_customer_insights/models/type_properties_mapping.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TypePropertiesMapping',
    type: {
      name: 'Composite',
      class_name: 'TypePropertiesMapping',
      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'
          }
        },
        link_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'linkType',
          type: {
            name: 'Enum',
            module: 'LinkTypes'
          }
        }
      }
    }
  }
end