openai-client-base 0.16.0

Auto-generated Rust client for the OpenAI API
/*
 * OpenAI API
 *
 * The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.
 *
 * The version of the OpenAPI document: 2.3.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// LiveSidebandServerEvent : Server events received by an attached Live sideband WebSocket. Audio deltas are delivered over the primary connection.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum LiveSidebandServerEvent {
    LiveTransportRinging(Box<models::LiveTransportRinging>),
    LiveTransportAnswered(Box<models::LiveTransportAnswered>),
    LiveTransportFailed(Box<models::LiveTransportFailed>),
    LiveSessionStarted(Box<models::LiveSessionStarted>),
    LiveSessionUpdated(Box<models::LiveSessionUpdated>),
    LiveInputAudioMuted(Box<models::LiveInputAudioMuted>),
    LiveInputAudioUnmuted(Box<models::LiveInputAudioUnmuted>),
    LiveOutputAudioFixturePlaying(Box<models::LiveOutputAudioFixturePlaying>),
    LiveOutputAudioFixturePlayed(Box<models::LiveOutputAudioFixturePlayed>),
    LiveInstructionsAppended(Box<models::LiveInstructionsAppended>),
    LiveThinkingAppended(Box<models::LiveThinkingAppended>),
    LiveCommentaryAppended(Box<models::LiveCommentaryAppended>),
    LiveInputTranscriptDelta(Box<models::LiveInputTranscriptDelta>),
    LiveOutputTranscriptDelta(Box<models::LiveOutputTranscriptDelta>),
    LiveDelegationCreated(Box<models::LiveDelegationCreated>),
    LiveDecisionEvent(Box<models::LiveDecisionEvent>),
    LiveDecisionItemCreated(Box<models::LiveDecisionItemCreated>),
    LiveDecisionItemDeleted(Box<models::LiveDecisionItemDeleted>),
    LiveResponseEvent(Box<models::LiveResponseEvent>),
    LiveSessionUsageUpdated(Box<models::LiveSessionUsageUpdated>),
    LiveSessionClosed(Box<models::LiveSessionClosed>),
    LiveErrorEvent(Box<models::LiveErrorEvent>),
    LiveInfoEvent(Box<models::LiveInfoEvent>),
}