Class ResponseWebSearchCallCompletedEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseWebSearchCallCompletedEvent.Builder
A builder for ResponseWebSearchCallCompletedEvent.
-
-
Method Summary
-
-
Method Detail
-
itemId
final ResponseWebSearchCallCompletedEvent.Builder itemId(String itemId)
Unique ID for the output item associated with the web search call.
-
itemId
final ResponseWebSearchCallCompletedEvent.Builder itemId(JsonField<String> itemId)
Sets Builder.itemId to an arbitrary JSON value.
You should usually call Builder.itemId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outputIndex
final ResponseWebSearchCallCompletedEvent.Builder outputIndex(Long outputIndex)
The index of the output item that the web search call is associated with.
-
outputIndex
final ResponseWebSearchCallCompletedEvent.Builder outputIndex(JsonField<Long> outputIndex)
Sets Builder.outputIndex to an arbitrary JSON value.
You should usually call Builder.outputIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sequenceNumber
final ResponseWebSearchCallCompletedEvent.Builder sequenceNumber(Long sequenceNumber)
The sequence number of the web search call being processed.
-
sequenceNumber
final ResponseWebSearchCallCompletedEvent.Builder sequenceNumber(JsonField<Long> sequenceNumber)
Sets Builder.sequenceNumber to an arbitrary JSON value.
You should usually call Builder.sequenceNumber with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseWebSearchCallCompletedEvent.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("response.web_search_call.completed")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseWebSearchCallCompletedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseWebSearchCallCompletedEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseWebSearchCallCompletedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseWebSearchCallCompletedEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseWebSearchCallCompletedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseWebSearchCallCompletedEvent build()
Returns an immutable instance of ResponseWebSearchCallCompletedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.itemId() .outputIndex() .sequenceNumber()
-
-
-
-