Class Run.RequiredAction
-
- All Implemented Interfaces:
public final class Run.RequiredActionDetails on the action required to continue the run. Will be
nullif no action is required.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRun.RequiredAction.BuilderA builder for RequiredAction.
public final classRun.RequiredAction.SubmitToolOutputsDetails on the tool outputs needed for this run to continue.
-
Method Summary
Modifier and Type Method Description final Run.RequiredAction.SubmitToolOutputssubmitToolOutputs()Details on the tool outputs needed for this run to continue. final JsonValue_type()For now, this is always submit_tool_outputs.final JsonField<Run.RequiredAction.SubmitToolOutputs>_submitToolOutputs()Returns the raw JSON value of submitToolOutputs. final Map<String, JsonValue>_additionalProperties()final Run.RequiredAction.BuildertoBuilder()final Run.RequiredActionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Run.RequiredAction.Builderbuilder()Returns a mutable builder for constructing an instance of RequiredAction. -
-
Method Detail
-
submitToolOutputs
final Run.RequiredAction.SubmitToolOutputs submitToolOutputs()
Details on the tool outputs needed for this run to continue.
-
_type
final JsonValue _type()
For now, this is always
submit_tool_outputs.Expected to always return the following:
JsonValue.from("submit_tool_outputs")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_submitToolOutputs
final JsonField<Run.RequiredAction.SubmitToolOutputs> _submitToolOutputs()
Returns the raw JSON value of submitToolOutputs.
Unlike submitToolOutputs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Run.RequiredAction.Builder toBuilder()
-
validate
final Run.RequiredAction 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 Run.RequiredAction.Builder builder()
Returns a mutable builder for constructing an instance of RequiredAction.
The following fields are required:
.submitToolOutputs()
-
-
-
-