langgraph_api/generated/models/
cron_count_request.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/// CronCountRequest : Payload for counting crons
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CronCountRequest {
17    /// The assistant ID or graph name to search for.
18    #[serde(rename = "assistant_id", skip_serializing_if = "Option::is_none")]
19    pub assistant_id: Option<uuid::Uuid>,
20    /// The thread ID to search for.
21    #[serde(rename = "thread_id", skip_serializing_if = "Option::is_none")]
22    pub thread_id: Option<uuid::Uuid>,
23}
24
25impl CronCountRequest {
26    /// Payload for counting crons
27    pub fn new() -> CronCountRequest {
28        CronCountRequest {
29            assistant_id: None,
30            thread_id: None,
31        }
32    }
33}