Class RealtimeConversationItemFunctionCallOutput
-
- All Implemented Interfaces:
public final class RealtimeConversationItemFunctionCallOutput
A function call output item in a Realtime conversation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RealtimeConversationItemFunctionCallOutput.Builder
A builder for RealtimeConversationItemFunctionCallOutput.
public final class
RealtimeConversationItemFunctionCallOutput.Object
Identifier for the API object being returned - always
realtime.item
.public final class
RealtimeConversationItemFunctionCallOutput.Status
The status of the item. Has no effect on the conversation.
-
Method Summary
-
-
Method Detail
-
_type
final JsonValue _type()
The type of the item. Always
function_call_output
.Expected to always return the following:
JsonValue.from("function_call_output")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
object_
final Optional<RealtimeConversationItemFunctionCallOutput.Object> object_()
Identifier for the API object being returned - always
realtime.item
.
-
status
final Optional<RealtimeConversationItemFunctionCallOutput.Status> status()
The status of the item. Has no effect on the conversation.
-
_callId
final JsonField<String> _callId()
Returns the raw JSON value of callId.
Unlike callId, this method doesn't throw if the JSON field has an unexpected type.
-
_output
final JsonField<String> _output()
Returns the raw JSON value of output.
Unlike output, this method doesn't throw if the JSON field has an unexpected type.
-
_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<RealtimeConversationItemFunctionCallOutput.Object> _object_()
Returns the raw JSON value of object_.
Unlike object_, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<RealtimeConversationItemFunctionCallOutput.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeConversationItemFunctionCallOutput.Builder toBuilder()
-
validate
final RealtimeConversationItemFunctionCallOutput validate()
-
builder
final static RealtimeConversationItemFunctionCallOutput.Builder builder()
Returns a mutable builder for constructing an instance of RealtimeConversationItemFunctionCallOutput.
The following fields are required:
.callId() .output()
-
-
-
-