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