/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.2.0
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

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

/// MemoryConfig : Conversation memory configuration
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(tag = "kind")]
pub enum MemoryConfig {
    #[serde(rename="off")]
    Off(Box<models::MemoryOff>),
    #[serde(rename="auto")]
    Auto(Box<models::MemoryAuto>),
    #[serde(rename="manual")]
    Manual(Box<models::MemoryManual>),
}

impl Default for MemoryConfig {
    fn default() -> Self {
        Self::Off(Default::default())
    }
}


