Package com.openai.models.responses
Class ResponseCompletedEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseCompletedEvent.BuilderA builder for ResponseCompletedEvent.
-
-
Method Summary
Modifier and Type Method Description final ResponseCompletedEvent.Builderresponse(Response response)Properties of the completed response. final ResponseCompletedEvent.Builderresponse(JsonField<Response> response)Properties of the completed response. final ResponseCompletedEvent.Buildertype(JsonValue type)The type of the event. final ResponseCompletedEvent.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseCompletedEvent.BuilderputAdditionalProperty(String key, JsonValue value)final ResponseCompletedEvent.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseCompletedEvent.BuilderremoveAdditionalProperty(String key)final ResponseCompletedEvent.BuilderremoveAllAdditionalProperties(Set<String> keys)final ResponseCompletedEventbuild()-
-
Method Detail
-
response
final ResponseCompletedEvent.Builder response(Response response)
Properties of the completed response.
-
response
final ResponseCompletedEvent.Builder response(JsonField<Response> response)
Properties of the completed response.
-
type
final ResponseCompletedEvent.Builder type(JsonValue type)
The type of the event. Always
response.completed.
-
additionalProperties
final ResponseCompletedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseCompletedEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseCompletedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseCompletedEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseCompletedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseCompletedEvent build()
-
-
-
-