/*
* LangSmith Deployment
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// ThreadPatch : Payload for updating a thread.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ThreadPatch {
/// Metadata to merge with existing thread metadata.
#[serde(rename = "metadata", skip_serializing_if = "Option::is_none")]
pub metadata: Option<serde_json::Value>,
#[serde(rename = "ttl", skip_serializing_if = "Option::is_none")]
pub ttl: Option<Box<models::Ttl>>,
}
impl ThreadPatch {
/// Payload for updating a thread.
pub fn new() -> ThreadPatch {
ThreadPatch {
metadata: None,
ttl: None,
}
}
}