/AWS1/CL_QQCSPANMESSAGE¶
A message in the conversation history with participant role and content values
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_messageid TYPE /AWS1/QQCUUID /AWS1/QQCUUID¶
Unique message identifier
iv_participant TYPE /AWS1/QQCPARTICIPANT /AWS1/QQCPARTICIPANT¶
Message source role
iv_timestamp TYPE /AWS1/QQCTIMESTAMP /AWS1/QQCTIMESTAMP¶
Message timestamp
it_values TYPE /AWS1/CL_QQCSPANMESSAGEVALUE=>TT_SPANMESSAGEVALUELIST TT_SPANMESSAGEVALUELIST¶
Message content values (text, tool use, tool result)
Queryable Attributes¶
messageId¶
Unique message identifier
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MESSAGEID() |
Getter for MESSAGEID, with configurable default |
ASK_MESSAGEID() |
Getter for MESSAGEID w/ exceptions if field has no value |
HAS_MESSAGEID() |
Determine if MESSAGEID has a value |
participant¶
Message source role
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PARTICIPANT() |
Getter for PARTICIPANT, with configurable default |
ASK_PARTICIPANT() |
Getter for PARTICIPANT w/ exceptions if field has no value |
HAS_PARTICIPANT() |
Determine if PARTICIPANT has a value |
timestamp¶
Message timestamp
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TIMESTAMP() |
Getter for TIMESTAMP, with configurable default |
ASK_TIMESTAMP() |
Getter for TIMESTAMP w/ exceptions if field has no value |
HAS_TIMESTAMP() |
Determine if TIMESTAMP has a value |
values¶
Message content values (text, tool use, tool result)
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VALUES() |
Getter for VALUES, with configurable default |
ASK_VALUES() |
Getter for VALUES w/ exceptions if field has no value |
HAS_VALUES() |
Determine if VALUES has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_SPANMESSAGELIST¶
TYPES TT_SPANMESSAGELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_QQCSPANMESSAGE WITH DEFAULT KEY
.