langgraph_api/generated/models/message_send_parameters_thread.rs
1/*
2 * LangSmith Deployment
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 0.1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// MessageSendParametersThread : Optional thread context
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct MessageSendParametersThread {
17 /// Thread identifier for conversation context
18 #[serde(rename = "threadId", skip_serializing_if = "Option::is_none")]
19 pub thread_id: Option<String>,
20}
21
22impl MessageSendParametersThread {
23 /// Optional thread context
24 pub fn new() -> MessageSendParametersThread {
25 MessageSendParametersThread { thread_id: None }
26 }
27}