Class BetaManagedAgentsSessionStatusIdleEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionStatusIdleEventIndicates the agent has paused and is awaiting user input.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionStatusIdleEvent.BuilderA builder for BetaManagedAgentsSessionStatusIdleEvent.
public final classBetaManagedAgentsSessionStatusIdleEvent.StopReasonThe agent completed its turn naturally and is ready for the next user message.
public final classBetaManagedAgentsSessionStatusIdleEvent.Type
-
Method Summary
-
-
Method Detail
-
processedAt
final OffsetDateTime processedAt()
A timestamp in RFC 3339 format
-
stopReason
final BetaManagedAgentsSessionStatusIdleEvent.StopReason stopReason()
The agent completed its turn naturally and is ready for the next user message.
-
type
final BetaManagedAgentsSessionStatusIdleEvent.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.
-
_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.
-
_stopReason
final JsonField<BetaManagedAgentsSessionStatusIdleEvent.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<BetaManagedAgentsSessionStatusIdleEvent.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 BetaManagedAgentsSessionStatusIdleEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionStatusIdleEvent 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 BetaManagedAgentsSessionStatusIdleEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionStatusIdleEvent.
The following fields are required:
.id() .processedAt() .stopReason() .type()
-
-
-
-