/*
* 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, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum BetaPromptCacheTtlEnum {
#[serde(rename = "30m")]
Variant30m,
}
impl std::fmt::Display for BetaPromptCacheTtlEnum {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
Self::Variant30m => write!(f, "30m"),
}
}
}
impl Default for BetaPromptCacheTtlEnum {
fn default() -> BetaPromptCacheTtlEnum {
Self::Variant30m
}
}