Class SessionObserveParams.Options
-
- All Implemented Interfaces:
public final class SessionObserveParams.Options
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionObserveParams.Options.BuilderA builder for Options.
public final classSessionObserveParams.Options.ModelModel configuration object or model name string (e.g., 'openai/gpt-5-nano')
public final classSessionObserveParams.Options.VariablesVariables whose names are exposed to the model so observe() returns %variableName% placeholders in suggested action arguments instead of literal values. Accepts flat primitives or { value, description? } objects.
-
Method Summary
Modifier and Type Method Description final Optional<SessionObserveParams.Options.Model>model()Model configuration object or model name string (e.g. final Optional<String>selector()CSS selector to scope observation to a specific element final Optional<Double>timeout()Timeout in ms for the observation final Optional<SessionObserveParams.Options.Variables>variables()Variables whose names are exposed to the model so observe() returns %variableName% placeholders in suggested action arguments instead of literal values. final JsonField<SessionObserveParams.Options.Model>_model()Returns the raw JSON value of model. final JsonField<String>_selector()Returns the raw JSON value of selector. final JsonField<Double>_timeout()Returns the raw JSON value of timeout. final JsonField<SessionObserveParams.Options.Variables>_variables()Returns the raw JSON value of variables. final Map<String, JsonValue>_additionalProperties()final SessionObserveParams.Options.BuildertoBuilder()final SessionObserveParams.Optionsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionObserveParams.Options.Builderbuilder()Returns a mutable builder for constructing an instance of Options. -
-
Method Detail
-
model
final Optional<SessionObserveParams.Options.Model> model()
Model configuration object or model name string (e.g., 'openai/gpt-5-nano')
-
variables
final Optional<SessionObserveParams.Options.Variables> variables()
Variables whose names are exposed to the model so observe() returns %variableName% placeholders in suggested action arguments instead of literal values. Accepts flat primitives or { value, description? } objects.
-
_model
final JsonField<SessionObserveParams.Options.Model> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_selector
final JsonField<String> _selector()
Returns the raw JSON value of selector.
Unlike selector, this method doesn't throw if the JSON field has an unexpected type.
-
_timeout
final JsonField<Double> _timeout()
Returns the raw JSON value of timeout.
Unlike timeout, this method doesn't throw if the JSON field has an unexpected type.
-
_variables
final JsonField<SessionObserveParams.Options.Variables> _variables()
Returns the raw JSON value of variables.
Unlike variables, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionObserveParams.Options.Builder toBuilder()
-
validate
final SessionObserveParams.Options 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 SessionObserveParams.Options.Builder builder()
Returns a mutable builder for constructing an instance of Options.
-
-
-
-