Class BetaManagedAgentsSessionThreadStatusIdleEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionThreadStatusIdleEventA session thread has yielded and is awaiting input. Emitted on the thread's own stream and cross-posted to the primary stream for child threads.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionThreadStatusIdleEvent.BuilderA builder for BetaManagedAgentsSessionThreadStatusIdleEvent.
public final classBetaManagedAgentsSessionThreadStatusIdleEvent.StopReasonThe agent completed its turn naturally and is ready for the next user message.
public final classBetaManagedAgentsSessionThreadStatusIdleEvent.Type
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this event. final StringagentName()Name of the agent the thread runs. final OffsetDateTimeprocessedAt()A timestamp in RFC 3339 format final StringsessionThreadId()Public sthr_ ID of the thread that went idle. final BetaManagedAgentsSessionThreadStatusIdleEvent.StopReasonstopReason()The agent completed its turn naturally and is ready for the next user message. final BetaManagedAgentsSessionThreadStatusIdleEvent.Typetype()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_agentName()Returns the raw JSON value of agentName. final JsonField<OffsetDateTime>_processedAt()Returns the raw JSON value of processedAt. final JsonField<String>_sessionThreadId()Returns the raw JSON value of sessionThreadId. final JsonField<BetaManagedAgentsSessionThreadStatusIdleEvent.StopReason>_stopReason()Returns the raw JSON value of stopReason. final JsonField<BetaManagedAgentsSessionThreadStatusIdleEvent.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSessionThreadStatusIdleEvent.BuildertoBuilder()final BetaManagedAgentsSessionThreadStatusIdleEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionThreadStatusIdleEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionThreadStatusIdleEvent. -
-
Method Detail
-
processedAt
final OffsetDateTime processedAt()
A timestamp in RFC 3339 format
-
sessionThreadId
final String sessionThreadId()
Public sthr_ ID of the thread that went idle.
-
stopReason
final BetaManagedAgentsSessionThreadStatusIdleEvent.StopReason stopReason()
The agent completed its turn naturally and is ready for the next user message.
-
type
final BetaManagedAgentsSessionThreadStatusIdleEvent.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.
-
_agentName
final JsonField<String> _agentName()
Returns the raw JSON value of agentName.
Unlike agentName, 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.
-
_sessionThreadId
final JsonField<String> _sessionThreadId()
Returns the raw JSON value of sessionThreadId.
Unlike sessionThreadId, this method doesn't throw if the JSON field has an unexpected type.
-
_stopReason
final JsonField<BetaManagedAgentsSessionThreadStatusIdleEvent.StopReason> _stopReason()
Returns the raw JSON value of stopReason.
Unlike stopReason, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsSessionThreadStatusIdleEvent.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 BetaManagedAgentsSessionThreadStatusIdleEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionThreadStatusIdleEvent 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 BetaManagedAgentsSessionThreadStatusIdleEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionThreadStatusIdleEvent.
The following fields are required:
.id() .agentName() .processedAt() .sessionThreadId() .stopReason() .type()
-
-
-
-