Class RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder
-
- All Implemented Interfaces:
public final class RunCancelResponse.DataSource.Responses.Source.InnerResponses.BuilderA builder for InnerResponses.
-
-
Method Summary
-
-
Method Detail
-
type
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("responses")This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAfter
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder createdAfter(Long createdAfter)
Only include items created after this timestamp (inclusive). This is a query parameter used to select responses.
-
createdAfter
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder createdAfter(Long createdAfter)
Alias for Builder.createdAfter.
This unboxed primitive overload exists for backwards compatibility.
-
createdAfter
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder createdAfter(Optional<Long> createdAfter)
Alias for calling Builder.createdAfter with
createdAfter.orElse(null).
-
createdAfter
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder createdAfter(JsonField<Long> createdAfter)
Sets Builder.createdAfter to an arbitrary JSON value.
You should usually call Builder.createdAfter with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdBefore
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder createdBefore(Long createdBefore)
Only include items created before this timestamp (inclusive). This is a query parameter used to select responses.
-
createdBefore
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder createdBefore(Long createdBefore)
Alias for Builder.createdBefore.
This unboxed primitive overload exists for backwards compatibility.
-
createdBefore
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder createdBefore(Optional<Long> createdBefore)
Alias for calling Builder.createdBefore with
createdBefore.orElse(null).
-
createdBefore
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder createdBefore(JsonField<Long> createdBefore)
Sets Builder.createdBefore to an arbitrary JSON value.
You should usually call Builder.createdBefore with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
instructionsSearch
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder instructionsSearch(String instructionsSearch)
Optional string to search the 'instructions' field. This is a query parameter used to select responses.
-
instructionsSearch
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder instructionsSearch(Optional<String> instructionsSearch)
Alias for calling Builder.instructionsSearch with
instructionsSearch.orElse(null).
-
instructionsSearch
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder instructionsSearch(JsonField<String> instructionsSearch)
Sets Builder.instructionsSearch to an arbitrary JSON value.
You should usually call Builder.instructionsSearch with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder metadata(JsonValue metadata)
Metadata filter for the responses. This is a query parameter used to select responses.
-
model
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder model(String model)
The name of the model to find responses for. This is a query parameter used to select responses.
-
model
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder model(Optional<String> model)
Alias for calling Builder.model with
model.orElse(null).
-
model
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder model(JsonField<String> model)
Sets Builder.model to an arbitrary JSON value.
You should usually call Builder.model with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
reasoningEffort
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder reasoningEffort(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.
-
reasoningEffort
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder reasoningEffort(Optional<ReasoningEffort> reasoningEffort)
Alias for calling Builder.reasoningEffort with
reasoningEffort.orElse(null).
-
reasoningEffort
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder reasoningEffort(JsonField<ReasoningEffort> reasoningEffort)
Sets Builder.reasoningEffort to an arbitrary JSON value.
You should usually call Builder.reasoningEffort with a well-typed ReasoningEffort value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
temperature
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder temperature(Double temperature)
Sampling temperature. This is a query parameter used to select responses.
-
temperature
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder temperature(Double temperature)
Alias for Builder.temperature.
This unboxed primitive overload exists for backwards compatibility.
-
temperature
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder temperature(Optional<Double> temperature)
Alias for calling Builder.temperature with
temperature.orElse(null).
-
temperature
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder temperature(JsonField<Double> temperature)
Sets Builder.temperature to an arbitrary JSON value.
You should usually call Builder.temperature with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tools
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder tools(List<String> tools)
List of tool names. This is a query parameter used to select responses.
-
tools
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder tools(Optional<List<String>> tools)
Alias for calling Builder.tools with
tools.orElse(null).
-
tools
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder tools(JsonField<List<String>> tools)
Sets Builder.tools to an arbitrary JSON value.
You should usually call Builder.tools with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTool
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder addTool(String tool)
-
topP
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder topP(Double topP)
Nucleus sampling parameter. This is a query parameter used to select responses.
-
topP
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder topP(Double topP)
Alias for Builder.topP.
This unboxed primitive overload exists for backwards compatibility.
-
topP
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder topP(Optional<Double> topP)
Alias for calling Builder.topP with
topP.orElse(null).
-
topP
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder topP(JsonField<Double> topP)
Sets Builder.topP to an arbitrary JSON value.
You should usually call Builder.topP with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
users
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder users(List<String> users)
List of user identifiers. This is a query parameter used to select responses.
-
users
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder users(Optional<List<String>> users)
Alias for calling Builder.users with
users.orElse(null).
-
users
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder users(JsonField<List<String>> users)
Sets Builder.users to an arbitrary JSON value.
You should usually call Builder.users with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addUser
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder addUser(String user)
-
additionalProperties
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RunCancelResponse.DataSource.Responses.Source.InnerResponses.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RunCancelResponse.DataSource.Responses.Source.InnerResponses build()
Returns an immutable instance of InnerResponses.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-