Class BetaManagedAgentsSystemMessageEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSystemMessageEventA mid-conversation system message event. Carries system-role content that is appended to the session as a
role: "system"turn.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSystemMessageEvent.BuilderA builder for BetaManagedAgentsSystemMessageEvent.
public final classBetaManagedAgentsSystemMessageEvent.Type
-
Method Summary
-
-
Method Detail
-
content
final List<BetaManagedAgentsSystemContentBlock> content()
System content blocks. Text-only.
-
type
final BetaManagedAgentsSystemMessageEvent.Type type()
-
processedAt
final Optional<OffsetDateTime> processedAt()
A timestamp in RFC 3339 format
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_content
final JsonField<List<BetaManagedAgentsSystemContentBlock>> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsSystemMessageEvent.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_processedAt
final JsonField<OffsetDateTime> _processedAt()
Returns the raw JSON value of processedAt.
Unlike processedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSystemMessageEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsSystemMessageEvent validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsSystemMessageEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSystemMessageEvent.
The following fields are required:
.id() .content() .type()
-
-
-
-