langgraph-api 0.1.1

Rust Client API of LangGraph
Documentation
/*
 * 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};

/// CronCountRequest : Payload for counting crons
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CronCountRequest {
    /// The assistant ID or graph name to search for.
    #[serde(rename = "assistant_id", skip_serializing_if = "Option::is_none")]
    pub assistant_id: Option<uuid::Uuid>,
    /// The thread ID to search for.
    #[serde(rename = "thread_id", skip_serializing_if = "Option::is_none")]
    pub thread_id: Option<uuid::Uuid>,
}

impl CronCountRequest {
    /// Payload for counting crons
    pub fn new() -> CronCountRequest {
        CronCountRequest {
            assistant_id: None,
            thread_id: None,
        }
    }
}