redfish_codegen/models/manager/v1_18_0/
graphical_console.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// The information about a graphical console service that this manager provides.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct GraphicalConsole {
10    /// This property enumerates the graphical console connection types that the implementation allows.
11    #[serde(rename = "ConnectTypesSupported")]
12    #[serde(default, skip_serializing_if = "Option::is_none")]
13    pub connect_types_supported: Option<Vec<models::manager::v1_18_0::GraphicalConnectTypesSupported>>,
14    /// The maximum number of service sessions, regardless of protocol, that this manager can support.
15    #[serde(rename = "MaxConcurrentSessions")]
16    #[serde(default, skip_serializing_if = "Option::is_none")]
17    pub max_concurrent_sessions: Option<i64>,
18    /// An indication of whether the service is enabled for this manager.
19    #[serde(rename = "ServiceEnabled")]
20    #[serde(default, skip_serializing_if = "Option::is_none")]
21    pub service_enabled: Option<bool>,
22}
23
24impl crate::Metadata<'static> for GraphicalConsole {
25    const JSON_SCHEMA: &'static str = "Manager.v1_18_0.json";
26}