langgraph_api/generated/models/
health_response.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 HealthResponse {
16    /// Indicates the server is healthy
17    #[serde(rename = "ok")]
18    pub ok: Ok,
19}
20
21impl HealthResponse {
22    pub fn new(ok: Ok) -> HealthResponse {
23        HealthResponse { ok }
24    }
25}
26/// Indicates the server is healthy
27#[derive(
28    Clone, Copy, Debug, Default, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize,
29)]
30pub enum Ok {
31    #[serde(rename = "true")]
32    #[default]
33    True,
34}