Class BetaManagedAgentsSessionUpdatedEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionUpdatedEventEmitted when an UpdateSession request changed at least one field. Carries only the fields that changed; absent fields were not part of the update. The new configuration applies from the next turn.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionUpdatedEvent.BuilderA builder for BetaManagedAgentsSessionUpdatedEvent.
public final classBetaManagedAgentsSessionUpdatedEvent.Typepublic final classBetaManagedAgentsSessionUpdatedEvent.MetadataThe session's full metadata bag after the update. Present when the update set non-empty metadata; absent when metadata was unchanged or cleared to empty.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this event. final OffsetDateTimeprocessedAt()A timestamp in RFC 3339 format final BetaManagedAgentsSessionUpdatedEvent.Typetype()final Optional<BetaManagedAgentsSessionAgent>agent()Resolved agentdefinition for asession.final Optional<BetaManagedAgentsSessionUpdatedEvent.Metadata>metadata()The session's full metadata bag after the update. final Optional<String>title()The session's new title. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_processedAt()Returns the raw JSON value of processedAt. final JsonField<BetaManagedAgentsSessionUpdatedEvent.Type>_type()Returns the raw JSON value of type. final JsonField<BetaManagedAgentsSessionAgent>_agent()Returns the raw JSON value of agent. final JsonField<BetaManagedAgentsSessionUpdatedEvent.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_title()Returns the raw JSON value of title. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSessionUpdatedEvent.BuildertoBuilder()final BetaManagedAgentsSessionUpdatedEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionUpdatedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionUpdatedEvent. -
-
Method Detail
-
processedAt
final OffsetDateTime processedAt()
A timestamp in RFC 3339 format
-
type
final BetaManagedAgentsSessionUpdatedEvent.Type type()
-
agent
final Optional<BetaManagedAgentsSessionAgent> agent()
Resolved
agentdefinition for asession. Snapshot of theagentatsessioncreation time.
-
metadata
final Optional<BetaManagedAgentsSessionUpdatedEvent.Metadata> metadata()
The session's full metadata bag after the update. Present when the update set non-empty metadata; absent when metadata was unchanged or cleared to empty.
-
title
final Optional<String> title()
The session's new title. Present only when the update changed it.
-
_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.
-
_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<BetaManagedAgentsSessionUpdatedEvent.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_agent
final JsonField<BetaManagedAgentsSessionAgent> _agent()
Returns the raw JSON value of agent.
Unlike agent, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<BetaManagedAgentsSessionUpdatedEvent.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_title
final JsonField<String> _title()
Returns the raw JSON value of title.
Unlike title, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSessionUpdatedEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionUpdatedEvent 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 BetaManagedAgentsSessionUpdatedEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionUpdatedEvent.
The following fields are required:
.id() .processedAt() .type()
-
-
-
-