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};

/// LiveForkClientEvent : Client events for a Live fork WebSocket. First send session.start with an overrides object (which may be empty), then wait for session.started before sending other commands. The model and conversation are inherited from the stored session.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum LiveForkClientEvent {
    LiveForkSessionStartEvent(Box<models::LiveForkSessionStartEvent>),
    LiveSessionUpdateParam(Box<models::LiveSessionUpdateParam>),
    LiveInputAudioAppendEvent(Box<models::LiveInputAudioAppendEvent>),
    LiveInputAudioMuteParam(Box<models::LiveInputAudioMuteParam>),
    LiveInputAudioUnmuteParam(Box<models::LiveInputAudioUnmuteParam>),
    LiveOutputAudioFixturePlayParam(Box<models::LiveOutputAudioFixturePlayParam>),
    LiveInstructionsAppendParam(Box<models::LiveInstructionsAppendParam>),
    LiveThinkingAppendParam(Box<models::LiveThinkingAppendParam>),
    LiveCommentaryAppendParam(Box<models::LiveCommentaryAppendParam>),
    LiveDecisionCreateParam(Box<models::LiveDecisionCreateParam>),
    LiveDecisionItemCreateParam(Box<models::LiveDecisionItemCreateParam>),
    LiveDecisionItemDeleteParam(Box<models::LiveDecisionItemDeleteParam>),
    LiveResponseItemCreateParam(Box<models::LiveResponseItemCreateParam>),
    LiveResponseCreateParam(Box<models::LiveResponseCreateParam>),
    LiveSessionCloseParam(Box<models::LiveSessionCloseParam>),
}