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

/// MemoryManual : Explicit message history
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct MemoryManual {
    #[serde(rename = "kind")]
    pub kind: Kind,
    #[serde(rename = "messages")]
    pub messages: Vec<models::MemoryMessage>,
}

impl MemoryManual {
    /// Explicit message history
    pub fn new(kind: Kind, messages: Vec<models::MemoryMessage>) -> MemoryManual {
        MemoryManual {
            kind,
            messages,
        }
    }
}
/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Kind {
    #[serde(rename = "manual")]
    Manual,
}

impl Default for Kind {
    fn default() -> Kind {
        Self::Manual
    }
}

