Package com.openai.models.realtime
Class ConversationCreatedEvent.Conversation
-
- All Implemented Interfaces:
public final class ConversationCreatedEvent.ConversationThe conversation resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classConversationCreatedEvent.Conversation.BuilderA builder for Conversation.
public final classConversationCreatedEvent.Conversation.ObjectThe 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.BuildertoBuilder()final ConversationCreatedEvent.Conversationvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ConversationCreatedEvent.Conversation.Builderbuilder()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.
-
-
-
-