ory-client-client 0.0.1-alpha.1

SDK Client for ORY Keto
Documentation
/*
 * Ory APIs
 *
 * Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. 
 *
 * The version of the OpenAPI document: v0.0.1-alpha.1
 * Contact: support@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,
        }
    }
}