1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* 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,
}
}
}