Package com.openai.models.webhooks
Class ResponseIncompleteWebhookEvent.Data.Builder
-
- All Implemented Interfaces:
public final class ResponseIncompleteWebhookEvent.Data.BuilderA builder for Data.
-
-
Method Summary
Modifier and Type Method Description final ResponseIncompleteWebhookEvent.Data.Builderid(String id)The unique ID of the model response. final ResponseIncompleteWebhookEvent.Data.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final ResponseIncompleteWebhookEvent.Data.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseIncompleteWebhookEvent.Data.BuilderputAdditionalProperty(String key, JsonValue value)final ResponseIncompleteWebhookEvent.Data.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseIncompleteWebhookEvent.Data.BuilderremoveAdditionalProperty(String key)final ResponseIncompleteWebhookEvent.Data.BuilderremoveAllAdditionalProperties(Set<String> keys)final ResponseIncompleteWebhookEvent.Databuild()Returns an immutable instance of Data. -
-
Method Detail
-
id
final ResponseIncompleteWebhookEvent.Data.Builder id(String id)
The unique ID of the model response.
-
id
final ResponseIncompleteWebhookEvent.Data.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseIncompleteWebhookEvent.Data.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseIncompleteWebhookEvent.Data.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseIncompleteWebhookEvent.Data.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseIncompleteWebhookEvent.Data.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseIncompleteWebhookEvent.Data.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseIncompleteWebhookEvent.Data build()
Returns an immutable instance of Data.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-