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};

/// AssistantVersionsSearchRequest : Payload for listing assistant versions.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AssistantVersionsSearchRequest {
    /// Metadata to filter versions by. Exact match filter for each KV pair.
    #[serde(rename = "metadata", skip_serializing_if = "Option::is_none")]
    pub metadata: Option<serde_json::Value>,
    /// The maximum number of versions to return.
    #[serde(rename = "limit", skip_serializing_if = "Option::is_none")]
    pub limit: Option<i32>,
    /// The number of versions to skip.
    #[serde(rename = "offset", skip_serializing_if = "Option::is_none")]
    pub offset: Option<i32>,
}

impl AssistantVersionsSearchRequest {
    /// Payload for listing assistant versions.
    pub fn new() -> AssistantVersionsSearchRequest {
        AssistantVersionsSearchRequest {
            metadata: None,
            limit: None,
            offset: None,
        }
    }
}