Class BetaManagedAgentsUserInterruptEventParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsUserInterruptEventParamsParameters for sending an interrupt to pause the agent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsUserInterruptEventParams.BuilderA builder for BetaManagedAgentsUserInterruptEventParams.
public final classBetaManagedAgentsUserInterruptEventParams.Type
-
Method Summary
Modifier and Type Method Description final BetaManagedAgentsUserInterruptEventParams.Typetype()final Optional<String>sessionThreadId()If absent, interrupts every non-archived thread in a multiagent session (or the primary alone in a single-agent session). final JsonField<BetaManagedAgentsUserInterruptEventParams.Type>_type()Returns the raw JSON value of type. final JsonField<String>_sessionThreadId()Returns the raw JSON value of sessionThreadId. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsUserInterruptEventParams.BuildertoBuilder()final BetaManagedAgentsUserInterruptEventParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsUserInterruptEventParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsUserInterruptEventParams. -
-
Method Detail
-
type
final BetaManagedAgentsUserInterruptEventParams.Type type()
-
sessionThreadId
final Optional<String> sessionThreadId()
If absent, interrupts every non-archived thread in a multiagent session (or the primary alone in a single-agent session). If present, interrupts only the named thread.
-
_type
final JsonField<BetaManagedAgentsUserInterruptEventParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsUserInterruptEventParams.Builder toBuilder()
-
validate
final BetaManagedAgentsUserInterruptEventParams 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 BetaManagedAgentsUserInterruptEventParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsUserInterruptEventParams.
The following fields are required:
.type()
-
-
-
-