Package com.openai.models
Class ChatCompletionContentPartRefusal.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionContentPartRefusal.Builder
A builder for ChatCompletionContentPartRefusal.
-
-
Method Summary
Modifier and Type Method Description final ChatCompletionContentPartRefusal.Builder
refusal(String refusal)
The refusal message generated by the model. final ChatCompletionContentPartRefusal.Builder
refusal(JsonField<String> refusal)
The refusal message generated by the model. final ChatCompletionContentPartRefusal.Builder
type(JsonValue type)
The type of the content part. final ChatCompletionContentPartRefusal.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final ChatCompletionContentPartRefusal.Builder
putAdditionalProperty(String key, JsonValue value)
final ChatCompletionContentPartRefusal.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final ChatCompletionContentPartRefusal.Builder
removeAdditionalProperty(String key)
final ChatCompletionContentPartRefusal.Builder
removeAllAdditionalProperties(Set<String> keys)
final ChatCompletionContentPartRefusal
build()
-
-
Method Detail
-
refusal
final ChatCompletionContentPartRefusal.Builder refusal(String refusal)
The refusal message generated by the model.
-
refusal
final ChatCompletionContentPartRefusal.Builder refusal(JsonField<String> refusal)
The refusal message generated by the model.
-
type
final ChatCompletionContentPartRefusal.Builder type(JsonValue type)
The type of the content part.
-
additionalProperties
final ChatCompletionContentPartRefusal.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatCompletionContentPartRefusal.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatCompletionContentPartRefusal.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatCompletionContentPartRefusal.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatCompletionContentPartRefusal.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatCompletionContentPartRefusal build()
-
-
-
-