/*
 * Ory Kratos API
 *
 * Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests. 
 *
 * The version of the OpenAPI document: v0.6.3-alpha.1
 * Contact: hi@ory.sh
 * Generated by: https://openapi-generator.tech
 */

/// ContainerTopOkBody : ContainerTopOKBody OK response to ContainerTop operation



#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct ContainerTopOkBody {
    /// Each process running in the container, where each is process is an array of values corresponding to the titles
    #[serde(rename = "Processes")]
    pub processes: Vec<Vec<String>>,
    /// The ps column titles
    #[serde(rename = "Titles")]
    pub titles: Vec<String>,
}

impl ContainerTopOkBody {
    /// ContainerTopOKBody OK response to ContainerTop operation
    pub fn new(processes: Vec<Vec<String>>, titles: Vec<String>) -> ContainerTopOkBody {
        ContainerTopOkBody {
            processes,
            titles,
        }
    }
}


