Package com.openai.models
Class RefusalDeltaBlock
-
- All Implemented Interfaces:
public final class RefusalDeltaBlock
The refusal content that is part of a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RefusalDeltaBlock.Builder
public final class
RefusalDeltaBlock.Type
Always
refusal
.
-
Method Summary
Modifier and Type Method Description final Long
index()
The index of the refusal part in the message. final RefusalDeltaBlock.Type
type()
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 RefusalDeltaBlock
validate()
final RefusalDeltaBlock.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static RefusalDeltaBlock.Builder
builder()
-
-
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()
-
-
-
-