Package com.openai.models
Class ChatCompletionContentPartRefusal.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionContentPartRefusal.Builder
-
-
Method Summary
Modifier and Type Method Description final ChatCompletionContentPartRefusal.Builderrefusal(String refusal)The refusal message generated by the model. final ChatCompletionContentPartRefusal.Builderrefusal(JsonField<String> refusal)The refusal message generated by the model. final ChatCompletionContentPartRefusal.Buildertype(JsonValue type)The type of the content part. final ChatCompletionContentPartRefusal.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ChatCompletionContentPartRefusal.BuilderputAdditionalProperty(String key, JsonValue value)final ChatCompletionContentPartRefusal.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ChatCompletionContentPartRefusal.BuilderremoveAdditionalProperty(String key)final ChatCompletionContentPartRefusal.BuilderremoveAllAdditionalProperties(Set<String> keys)final ChatCompletionContentPartRefusalbuild()-
-
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()
-
-
-
-