Newer Version Available
RecordApexRepresentation Class
Contains properties and a method to create a serializable representation of a record and
its associated data for AI service integration and data processing.
Namespace
RecordApexRepresentation Properties
The following are properties for RecordApexRepresentation.
objectType
Stores the type of the object.
Signature
public String objectType {get; set;}
1embeddedai.RecordApexRepresentation, objectTypeProperty Value
Type: String
recordData
Stores
a
list of objects, where each object holds a
key-value
pair.
Signature
public List<embeddedai.ApexMap> recordData {get; set;}
1embeddedai.RecordApexRepresentation, recordDataProperty Value
Type: List<embeddedai.ApexMap>
RecordApexRepresentation Methods
Create detailed, hierarchical record objects and convert them to a custom JSON string
for structured AI input.
The following are methods for RecordApexRepresentation.
toString()
Returns a structured JSON string representation of the RecordApexRepresentation object
and its nested related records.
Signature
public String toString()
1embeddedai.RecordApexRepresentation, toString, [], StringReturn Value
Type: String