Package com.anthropic.models.messages
Class BrowserTypeInput
-
- All Implemented Interfaces:
public final class BrowserTypeInputType a literal string at the current focus.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserTypeInput.BuilderA builder for BrowserTypeInput.
-
Method Summary
Modifier and Type Method Description final Stringtext()The text to type. final Optional<String>tabId()Tab to act on. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BrowserTypeInput.BuildertoBuilder()final BrowserTypeInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserTypeInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserTypeInput. final static BrowserTypeInputof(String text)Returns an immutable instance of BrowserTypeInput with the required text set to the given value. -
-
Method Detail
-
_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.
-
_tabId
final JsonField<String> _tabId()
Returns the raw JSON value of tabId.
Unlike tabId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BrowserTypeInput.Builder toBuilder()
-
validate
final BrowserTypeInput 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 BrowserTypeInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserTypeInput.
The following fields are required:
.text()
-
of
final static BrowserTypeInput of(String text)
Returns an immutable instance of BrowserTypeInput with the required text set to the given value.
-
-
-
-