Class: Aws::CustomerProfiles::Types::ObjectTypeField

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb

Overview

Note:

When making an API call, you may pass ObjectTypeField data as a hash:

{
  source: "text",
  target: "text",
  content_type: "STRING", # accepts STRING, NUMBER, PHONE_NUMBER, EMAIL_ADDRESS, NAME
}

Represents a field in a ProfileObjectType.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeString

The content type of the field. Used for determining equality when searching.

Returns:

  • (String)


2120
2121
2122
2123
2124
2125
2126
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 2120

class ObjectTypeField < Struct.new(
  :source,
  :target,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.

Returns:

  • (String)


2120
2121
2122
2123
2124
2125
2126
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 2120

class ObjectTypeField < Struct.new(
  :source,
  :target,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end

#targetString

The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.

Returns:

  • (String)


2120
2121
2122
2123
2124
2125
2126
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 2120

class ObjectTypeField < Struct.new(
  :source,
  :target,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end