AgentforceUIApiRecord

A data structure that represents UI API record information in Agentforce conversations. It provides comprehensive record metadata including fields, relationships, and system information for displaying records in conversation interfaces.

PropertyTypeDescription
apiNameStringThe API name of the record
childRelationships[String : AgentforceUIAPIRecordCollection]Dictionary of child relationship names to record collections
eTagStringEntity tag for the record
fields[String : AgentforceUIAPIFieldValues]Dictionary of field names to field values
idStringThe unique identifier of the record
lastModifiedByIdString?ID of the user who last modified the record
lastModifiedDateString?Date when the record was last modified
recordTypeIdString?ID of the record type
recordTypeInfoAgentforceUIAPIRecordTypeInfo?Information about the record type
systemModstampString?System modification timestamp
weakEtagInt64Weak entity tag for the record
MethodSignatureDescription
init(apiName:childRelationships:eTag:weakEtag:fields:id:lastModifiedById:lastModifiedDate:recordTypeId:recordTypeInfo:systemModstamp:)init(apiName: String, childRelationships: [String : AgentforceUIAPIRecordCollection], eTag: String, weakEtag: Int64, fields: [String : AgentforceUIAPIFieldValues], id: String, lastModifiedById: String?, lastModifiedDate: String?, recordTypeId: String?, recordTypeInfo: AgentforceUIAPIRecordTypeInfo?, systemModstamp: String?)Creates a new record with all metadata and field information
init(from:)init(from decoder: Decoder) throwsCreates a new instance from a decoder (inherited from Decodable)