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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct StoreListNamespacesRequest {
    /// Optional list of strings representing the prefix to filter namespaces.
    #[serde(rename = "prefix", skip_serializing_if = "Option::is_none")]
    pub prefix: Option<Vec<String>>,
    /// Optional list of strings representing the suffix to filter namespaces.
    #[serde(rename = "suffix", skip_serializing_if = "Option::is_none")]
    pub suffix: Option<Vec<String>>,
    /// Optional integer specifying the maximum depth of namespaces to return.
    #[serde(rename = "max_depth", skip_serializing_if = "Option::is_none")]
    pub max_depth: Option<i32>,
    /// Maximum number of namespaces to return (default is 100).
    #[serde(rename = "limit", skip_serializing_if = "Option::is_none")]
    pub limit: Option<i32>,
    /// Number of namespaces to skip before returning results (default is 0).
    #[serde(rename = "offset", skip_serializing_if = "Option::is_none")]
    pub offset: Option<i32>,
}

impl StoreListNamespacesRequest {
    pub fn new() -> StoreListNamespacesRequest {
        StoreListNamespacesRequest {
            prefix: None,
            suffix: None,
            max_depth: None,
            limit: None,
            offset: None,
        }
    }
}