Package com.anthropic.models.messages
Class BrowserSwitchTabInput
-
- All Implemented Interfaces:
public final class BrowserSwitchTabInputMake the tab with the given tab_id the active tab — the tab that actions without a tab_id apply to.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserSwitchTabInput.BuilderA builder for BrowserSwitchTabInput.
-
Method Summary
Modifier and Type Method Description final StringtabId()The tab to switch to. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BrowserSwitchTabInput.BuildertoBuilder()final BrowserSwitchTabInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserSwitchTabInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserSwitchTabInput. final static BrowserSwitchTabInputof(String tabId)Returns an immutable instance of BrowserSwitchTabInput with the required tabId set to the given value. -
-
Method Detail
-
_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 BrowserSwitchTabInput.Builder toBuilder()
-
validate
final BrowserSwitchTabInput 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 BrowserSwitchTabInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserSwitchTabInput.
The following fields are required:
.tabId()
-
of
final static BrowserSwitchTabInput of(String tabId)
Returns an immutable instance of BrowserSwitchTabInput with the required tabId set to the given value.
-
-
-
-