AgentforceUIApiRecordTypeInfo

A data structure that represents record type information from the UI API in Agentforce conversations. It provides metadata about record types including availability, mapping, and identification information.

PropertyTypeDescription
availableBoolWhether the record type is available
defaultRecordTypeMappingBoolWhether this is the default record type mapping
masterBoolWhether this is the master record type
nameStringThe name of the record type
recordTypeIdString?The unique identifier of the record type
MethodSignatureDescription
init(available:defaultRecordTypeMapping:master:name:recordTypeId:)init(available: Bool, defaultRecordTypeMapping: Bool, master: Bool, name: String, recordTypeId: String? = nil)Creates a new record type info with metadata
init(from:)init(from decoder: Decoder) throwsCreates a new instance from a decoder (inherited from Decodable)