Class RunCancelResponse.DataSource.Responses.Source.InnerResponses
-
- All Implemented Interfaces:
public final class RunCancelResponse.DataSource.Responses.Source.InnerResponsesA EvalResponsesSource object describing a run data source configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRunCancelResponse.DataSource.Responses.Source.InnerResponses.BuilderA builder for InnerResponses.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The type of run data source. final Optional<Long>createdAfter()Only include items created after this timestamp (inclusive). final Optional<Long>createdBefore()Only include items created before this timestamp (inclusive). final Optional<String>instructionsSearch()Optional string to search the 'instructions' field. final JsonValue_metadata()Metadata filter for the responses. final Optional<String>model()The name of the model to find responses for. final Optional<ReasoningEffort>reasoningEffort()Constrains effort on reasoning for reasoning models. final Optional<Double>temperature()Sampling temperature. final Optional<List<String>>tools()List of tool names. final Optional<Double>topP()Nucleus sampling parameter. final Optional<List<String>>users()List of user identifiers. final JsonField<Long>_createdAfter()Returns the raw JSON value of createdAfter. final JsonField<Long>_createdBefore()Returns the raw JSON value of createdBefore. final JsonField<String>_instructionsSearch()Returns the raw JSON value of instructionsSearch. final JsonField<String>_model()Returns the raw JSON value of model. final JsonField<ReasoningEffort>_reasoningEffort()Returns the raw JSON value of reasoningEffort. final JsonField<Double>_temperature()Returns the raw JSON value of temperature. final JsonField<List<String>>_tools()Returns the raw JSON value of tools. final JsonField<Double>_topP()Returns the raw JSON value of topP. final JsonField<List<String>>_users()Returns the raw JSON value of users. final Map<String, JsonValue>_additionalProperties()final RunCancelResponse.DataSource.Responses.Source.InnerResponses.BuildertoBuilder()final RunCancelResponse.DataSource.Responses.Source.InnerResponsesvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builderbuilder()Returns a mutable builder for constructing an instance of InnerResponses. -
-
Method Detail
-
_type
final JsonValue _type()
The type of run data source. Always
responses.Expected to always return the following:
JsonValue.from("responses")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
createdAfter
final Optional<Long> createdAfter()
Only include items created after this timestamp (inclusive). This is a query parameter used to select responses.
-
createdBefore
final Optional<Long> createdBefore()
Only include items created before this timestamp (inclusive). This is a query parameter used to select responses.
-
instructionsSearch
final Optional<String> instructionsSearch()
Optional string to search the 'instructions' field. This is a query parameter used to select responses.
-
_metadata
final JsonValue _metadata()
Metadata filter for the responses. This is a query parameter used to select responses.
This arbitrary value can be deserialized into a custom type using the
convertmethod:MyClass myObject = innerResponses.metadata().convert(MyClass.class);
-
model
final Optional<String> model()
The name of the model to find responses for. This is a query parameter used to select responses.
-
reasoningEffort
final Optional<ReasoningEffort> reasoningEffort()
Constrains effort on reasoning for reasoning models. Currently supported values are
none,minimal,low,medium,high, andxhigh. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.gpt-5.1defaults tonone, which does not perform reasoning. The supported reasoning values forgpt-5.1arenone,low,medium, andhigh. Tool calls are supported for all reasoning values in gpt-5.1.All models before
gpt-5.1default tomediumreasoning effort, and do not supportnone.The
gpt-5-promodel defaults to (and only supports)highreasoning effort.xhighis supported for all models aftergpt-5.1-codex-max.
-
temperature
final Optional<Double> temperature()
Sampling temperature. This is a query parameter used to select responses.
-
tools
final Optional<List<String>> tools()
List of tool names. This is a query parameter used to select responses.
-
topP
final Optional<Double> topP()
Nucleus sampling parameter. This is a query parameter used to select responses.
-
users
final Optional<List<String>> users()
List of user identifiers. This is a query parameter used to select responses.
-
_createdAfter
final JsonField<Long> _createdAfter()
Returns the raw JSON value of createdAfter.
Unlike createdAfter, this method doesn't throw if the JSON field has an unexpected type.
-
_createdBefore
final JsonField<Long> _createdBefore()
Returns the raw JSON value of createdBefore.
Unlike createdBefore, this method doesn't throw if the JSON field has an unexpected type.
-
_instructionsSearch
final JsonField<String> _instructionsSearch()
Returns the raw JSON value of instructionsSearch.
Unlike instructionsSearch, this method doesn't throw if the JSON field has an unexpected type.
-
_model
final JsonField<String> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_reasoningEffort
final JsonField<ReasoningEffort> _reasoningEffort()
Returns the raw JSON value of reasoningEffort.
Unlike reasoningEffort, this method doesn't throw if the JSON field has an unexpected type.
-
_temperature
final JsonField<Double> _temperature()
Returns the raw JSON value of temperature.
Unlike temperature, this method doesn't throw if the JSON field has an unexpected type.
-
_tools
final JsonField<List<String>> _tools()
Returns the raw JSON value of tools.
Unlike tools, this method doesn't throw if the JSON field has an unexpected type.
-
_topP
final JsonField<Double> _topP()
Returns the raw JSON value of topP.
Unlike topP, this method doesn't throw if the JSON field has an unexpected type.
-
_users
final JsonField<List<String>> _users()
Returns the raw JSON value of users.
Unlike users, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final RunCancelResponse.DataSource.Responses.Source.InnerResponses 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 RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder builder()
Returns a mutable builder for constructing an instance of InnerResponses.
-
-
-
-