windmill-api 1.772.0

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.772.0
 * 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 CountRunnablesByOwner200Response {
    /// owner prefix (f/<folder> or u/<user>) to count
    #[serde(rename = "counts")]
    pub counts: std::collections::HashMap<String, i32>,
}

impl CountRunnablesByOwner200Response {
    pub fn new(counts: std::collections::HashMap<String, i32>) -> CountRunnablesByOwner200Response {
        CountRunnablesByOwner200Response {
            counts,
        }
    }
}