Package com.openai.models.realtime
Class ConversationCreatedEvent.Conversation
-
- All Implemented Interfaces:
public final class ConversationCreatedEvent.Conversation
The conversation resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ConversationCreatedEvent.Conversation.Builder
A builder for Conversation.
public final class
ConversationCreatedEvent.Conversation.Object
The object type, must be
realtime.conversation
.
-
Method Summary
Modifier and Type Method Description final Optional<String>
id()
The unique ID of the conversation. final Optional<ConversationCreatedEvent.Conversation.Object>
object_()
The object type, must be realtime.conversation
.final JsonField<String>
_id()
Returns the raw JSON value of id. final JsonField<ConversationCreatedEvent.Conversation.Object>
_object_()
Returns the raw JSON value of object_. final Map<String, JsonValue>
_additionalProperties()
final ConversationCreatedEvent.Conversation.Builder
toBuilder()
final ConversationCreatedEvent.Conversation
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ConversationCreatedEvent.Conversation.Builder
builder()
Returns a mutable builder for constructing an instance of Conversation. -
-
Method Detail
-
object_
final Optional<ConversationCreatedEvent.Conversation.Object> object_()
The object type, must be
realtime.conversation
.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_object_
final JsonField<ConversationCreatedEvent.Conversation.Object> _object_()
Returns the raw JSON value of object_.
Unlike object_, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ConversationCreatedEvent.Conversation.Builder toBuilder()
-
validate
final ConversationCreatedEvent.Conversation validate()
-
builder
final static ConversationCreatedEvent.Conversation.Builder builder()
Returns a mutable builder for constructing an instance of Conversation.
-
-
-
-