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
/*
* 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};
/// AssistantCountRequest : Payload for counting assistants.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AssistantCountRequest {
/// Metadata to filter by. Exact match filter for each KV pair.
#[serde(rename = "metadata", skip_serializing_if = "Option::is_none")]
pub metadata: Option<serde_json::Value>,
/// The ID of the graph to filter by. The graph ID is normally set in your langgraph.json configuration.
#[serde(rename = "graph_id", skip_serializing_if = "Option::is_none")]
pub graph_id: Option<String>,
/// Name of the assistant to filter by. The filtering logic will match (case insensitive) assistants where 'name' is a substring of the assistant name.
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
}
impl AssistantCountRequest {
/// Payload for counting assistants.
pub fn new() -> AssistantCountRequest {
AssistantCountRequest {
metadata: None,
graph_id: None,
name: None,
}
}
}