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

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum BetaComputerAction {
    BetaClickParam(Box<models::BetaClickParam>),
    BetaDoubleClickAction(Box<models::BetaDoubleClickAction>),
    BetaDragParam(Box<models::BetaDragParam>),
    BetaKeyPressAction(Box<models::BetaKeyPressAction>),
    BetaMoveParam(Box<models::BetaMoveParam>),
    BetaScreenshotParam(Box<models::BetaScreenshotParam>),
    BetaScrollParam(Box<models::BetaScrollParam>),
    BetaTypeParam(Box<models::BetaTypeParam>),
    BetaWaitParam(Box<models::BetaWaitParam>),
}

impl Default for BetaComputerAction {
    fn default() -> Self {
        Self::BetaClickParam(Default::default())
    }
}