Package com.openai.models.responses
Class ResponseComputerToolCall.Action.Type
-
- All Implemented Interfaces:
public final class ResponseComputerToolCall.Action.TypeAn action to type in text.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseComputerToolCall.Action.Type.BuilderA builder for Type.
-
Method Summary
Modifier and Type Method Description final Stringtext()The text to type. final JsonValue_type()Specifies the event type. final JsonField<String>_text()Returns the raw JSON value of text. final Map<String, JsonValue>_additionalProperties()final ResponseComputerToolCall.Action.Type.BuildertoBuilder()final ResponseComputerToolCall.Action.Typevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseComputerToolCall.Action.Type.Builderbuilder()Returns a mutable builder for constructing an instance of Type. -
-
Method Detail
-
_type
final JsonValue _type()
Specifies the event type. For a type action, this property is always set to
type.Expected to always return the following:
JsonValue.from("type")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseComputerToolCall.Action.Type.Builder toBuilder()
-
validate
final ResponseComputerToolCall.Action.Type validate()
-
builder
final static ResponseComputerToolCall.Action.Type.Builder builder()
Returns a mutable builder for constructing an instance of Type.
The following fields are required:
.text()
-
-
-
-