langgraph_api/generated/models/
store_list_namespaces_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#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct StoreListNamespacesRequest {
16    /// Optional list of strings representing the prefix to filter namespaces.
17    #[serde(rename = "prefix", skip_serializing_if = "Option::is_none")]
18    pub prefix: Option<Vec<String>>,
19    /// Optional list of strings representing the suffix to filter namespaces.
20    #[serde(rename = "suffix", skip_serializing_if = "Option::is_none")]
21    pub suffix: Option<Vec<String>>,
22    /// Optional integer specifying the maximum depth of namespaces to return.
23    #[serde(rename = "max_depth", skip_serializing_if = "Option::is_none")]
24    pub max_depth: Option<i32>,
25    /// Maximum number of namespaces to return (default is 100).
26    #[serde(rename = "limit", skip_serializing_if = "Option::is_none")]
27    pub limit: Option<i32>,
28    /// Number of namespaces to skip before returning results (default is 0).
29    #[serde(rename = "offset", skip_serializing_if = "Option::is_none")]
30    pub offset: Option<i32>,
31}
32
33impl StoreListNamespacesRequest {
34    pub fn new() -> StoreListNamespacesRequest {
35        StoreListNamespacesRequest {
36            prefix: None,
37            suffix: None,
38            max_depth: None,
39            limit: None,
40            offset: None,
41        }
42    }
43}