mod private
{
use crate::components::common::Metadata;
use crate::components::assistants_shared::assistant::ToolResources;
use serde::{ Serialize, Deserialize };
#[ derive( Debug, Serialize, Deserialize, Clone, PartialEq ) ] pub struct ThreadObject
{
pub id : String,
pub object : String,
pub created_at : i64,
#[ serde( skip_serializing_if = "Option::is_none" ) ]
pub tool_resources : Option< ToolResources >,
#[ serde( skip_serializing_if = "Option::is_none" ) ]
pub metadata : Option< Metadata >,
}
#[ derive( Debug, Deserialize, Clone, PartialEq ) ]
pub struct ListThreadsResponse
{
pub object : String,
pub data : Vec< ThreadObject >,
pub first_id : String,
pub last_id : String,
pub has_more : bool,
}
}
crate ::mod_interface!
{
exposed use private::ThreadObject;
exposed use private::ListThreadsResponse;
}