Package com.openai.models
Class MessageDeltaEvent
-
- All Implemented Interfaces:
public final class MessageDeltaEvent
Represents a message delta i.e. any changed fields on a message during streaming.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
MessageDeltaEvent.Builder
A builder for MessageDeltaEvent.
-
Method Summary
Modifier and Type Method Description final String
id()
The identifier of the message, which can be referenced in API endpoints. final MessageDelta
delta()
The delta containing the fields that have changed on the Message. final JsonValue
_object_()
The object type, which is always thread.message.delta
.final JsonField<String>
_id()
The identifier of the message, which can be referenced in API endpoints. final JsonField<MessageDelta>
_delta()
The delta containing the fields that have changed on the Message. final Map<String, JsonValue>
_additionalProperties()
final MessageDeltaEvent
validate()
final MessageDeltaEvent.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static MessageDeltaEvent.Builder
builder()
-
-
Method Detail
-
delta
final MessageDelta delta()
The delta containing the fields that have changed on the Message.
-
_id
final JsonField<String> _id()
The identifier of the message, which can be referenced in API endpoints.
-
_delta
final JsonField<MessageDelta> _delta()
The delta containing the fields that have changed on the Message.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final MessageDeltaEvent validate()
-
toBuilder
final MessageDeltaEvent.Builder toBuilder()
-
builder
final static MessageDeltaEvent.Builder builder()
-
-
-
-