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