langgraph_api/generated/models/assistant_count_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/// AssistantCountRequest : Payload for counting assistants.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct AssistantCountRequest {
17 /// Metadata to filter by. Exact match filter for each KV pair.
18 #[serde(rename = "metadata", skip_serializing_if = "Option::is_none")]
19 pub metadata: Option<serde_json::Value>,
20 /// The ID of the graph to filter by. The graph ID is normally set in your langgraph.json configuration.
21 #[serde(rename = "graph_id", skip_serializing_if = "Option::is_none")]
22 pub graph_id: Option<String>,
23 /// Name of the assistant to filter by. The filtering logic will match (case insensitive) assistants where 'name' is a substring of the assistant name.
24 #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
25 pub name: Option<String>,
26}
27
28impl AssistantCountRequest {
29 /// Payload for counting assistants.
30 pub fn new() -> AssistantCountRequest {
31 AssistantCountRequest {
32 metadata: None,
33 graph_id: None,
34 name: None,
35 }
36 }
37}