windmill-api 1.683.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.683.1
 * Contact: contact@windmill.dev
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CountSearchLogsIndex200Response {
    /// a list of the terms that couldn't be parsed (and thus ignored)
    #[serde(rename = "query_parse_errors", skip_serializing_if = "Option::is_none")]
    pub query_parse_errors: Option<Vec<String>>,
    /// count of log lines that matched the query per hostname
    #[serde(rename = "count_per_host", skip_serializing_if = "Option::is_none")]
    pub count_per_host: Option<serde_json::Value>,
}

impl CountSearchLogsIndex200Response {
    pub fn new() -> CountSearchLogsIndex200Response {
        CountSearchLogsIndex200Response {
            query_parse_errors: None,
            count_per_host: None,
        }
    }
}