Class BetaManagedAgentsAgentMessageEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentMessageEventAn agent response event in the session conversation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAgentMessageEvent.BuilderA builder for BetaManagedAgentsAgentMessageEvent.
public final classBetaManagedAgentsAgentMessageEvent.Type
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this event. final List<BetaManagedAgentsTextBlock>content()Array of text blocks comprising the agent response. final OffsetDateTimeprocessedAt()A timestamp in RFC 3339 format final BetaManagedAgentsAgentMessageEvent.Typetype()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<List<BetaManagedAgentsTextBlock>>_content()Returns the raw JSON value of content. final JsonField<OffsetDateTime>_processedAt()Returns the raw JSON value of processedAt. final JsonField<BetaManagedAgentsAgentMessageEvent.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAgentMessageEvent.BuildertoBuilder()final BetaManagedAgentsAgentMessageEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAgentMessageEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentMessageEvent. -
-
Method Detail
-
content
final List<BetaManagedAgentsTextBlock> content()
Array of text blocks comprising the agent response.
-
processedAt
final OffsetDateTime processedAt()
A timestamp in RFC 3339 format
-
type
final BetaManagedAgentsAgentMessageEvent.Type type()
-
_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<BetaManagedAgentsTextBlock>> _content()
Returns the raw JSON value of content.
Unlike content, 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.
-
_type
final JsonField<BetaManagedAgentsAgentMessageEvent.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAgentMessageEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsAgentMessageEvent 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 BetaManagedAgentsAgentMessageEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentMessageEvent.
The following fields are required:
.id() .content() .processedAt() .type()
-
-
-
-