Class BetaManagedAgentsAgentToolset20260401BashInput
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentToolset20260401BashInputInput payload for the
bashtool of theagent_toolset_20260401toolset. All fields are optional; a normal invocation suppliescommand, whilerestart=true(with nocommand) reboots the runner-side bash session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAgentToolset20260401BashInput.BuilderA builder for BetaManagedAgentsAgentToolset20260401BashInput.
-
Method Summary
Modifier and Type Method Description final Optional<String>command()Shell command to execute. final Optional<Boolean>restart()When true, restart the persistent bash session instead of running a command. final Optional<Long>timeoutMs()Per-call timeout in milliseconds. final JsonField<String>_command()Returns the raw JSON value of command. final JsonField<Boolean>_restart()Returns the raw JSON value of restart. final JsonField<Long>_timeoutMs()Returns the raw JSON value of timeoutMs. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAgentToolset20260401BashInput.BuildertoBuilder()final BetaManagedAgentsAgentToolset20260401BashInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAgentToolset20260401BashInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentToolset20260401BashInput. -
-
Method Detail
-
restart
final Optional<Boolean> restart()
When true, restart the persistent bash session instead of running a command. Subsequent calls without
restartwill run against the fresh session.
-
timeoutMs
final Optional<Long> timeoutMs()
Per-call timeout in milliseconds. Defaults to the runner-wide tool timeout when omitted or zero.
-
_command
final JsonField<String> _command()
Returns the raw JSON value of command.
Unlike command, this method doesn't throw if the JSON field has an unexpected type.
-
_restart
final JsonField<Boolean> _restart()
Returns the raw JSON value of restart.
Unlike restart, this method doesn't throw if the JSON field has an unexpected type.
-
_timeoutMs
final JsonField<Long> _timeoutMs()
Returns the raw JSON value of timeoutMs.
Unlike timeoutMs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAgentToolset20260401BashInput.Builder toBuilder()
-
validate
final BetaManagedAgentsAgentToolset20260401BashInput 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 BetaManagedAgentsAgentToolset20260401BashInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentToolset20260401BashInput.
-
-
-
-