Package com.openai.models
Class RefusalDeltaBlock
-
- All Implemented Interfaces:
public final class RefusalDeltaBlockThe refusal content that is part of a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRefusalDeltaBlock.Builderpublic final classRefusalDeltaBlock.TypeAlways
refusal.
-
Method Summary
Modifier and Type Method Description final Longindex()The index of the refusal part in the message. final RefusalDeltaBlock.Typetype()Always refusal.final Optional<String>refusal()final JsonField<Long>_index()The index of the refusal part in the message. final JsonField<RefusalDeltaBlock.Type>_type()Always refusal.final JsonField<String>_refusal()final Map<String, JsonValue>_additionalProperties()final RefusalDeltaBlockvalidate()final RefusalDeltaBlock.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RefusalDeltaBlock.Builderbuilder()-
-
Method Detail
-
type
final RefusalDeltaBlock.Type type()
Always
refusal.
-
_type
final JsonField<RefusalDeltaBlock.Type> _type()
Always
refusal.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final RefusalDeltaBlock validate()
-
toBuilder
final RefusalDeltaBlock.Builder toBuilder()
-
builder
final static RefusalDeltaBlock.Builder builder()
-
-
-
-