redfish_codegen/models/power_distribution/v1_3_1/
transfer_configuration.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// The configuration settings for an automatic transfer switch.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct TransferConfiguration {
9    /// The mains circuit that is switched on and qualified to supply power to the output circuit.
10    #[serde(rename = "ActiveMainsId")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub active_mains_id: Option<String>,
13    /// Indicates if the qualified alternate mains circuit is automatically switched on when the preferred mains circuit becomes unqualified and is automatically switched off.
14    #[serde(rename = "AutoTransferEnabled")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub auto_transfer_enabled: Option<bool>,
17    /// Indicates if a make-before-break switching sequence of the mains circuits is permitted when they are both qualified and in synchronization.
18    #[serde(rename = "ClosedTransitionAllowed")]
19    #[serde(default, skip_serializing_if = "Option::is_none")]
20    pub closed_transition_allowed: Option<bool>,
21    /// The time in seconds to wait for a closed transition to occur.
22    #[serde(rename = "ClosedTransitionTimeoutSeconds")]
23    #[serde(default, skip_serializing_if = "Option::is_none")]
24    pub closed_transition_timeout_seconds: Option<i64>,
25    /// The preferred source for the mains circuit to this equipment.
26    #[serde(rename = "PreferredMainsId")]
27    #[serde(default, skip_serializing_if = "Option::is_none")]
28    pub preferred_mains_id: Option<String>,
29    /// The time in seconds to delay the automatic transfer from the alternate mains circuit back to the preferred mains circuit.
30    #[serde(rename = "RetransferDelaySeconds")]
31    #[serde(default, skip_serializing_if = "Option::is_none")]
32    pub retransfer_delay_seconds: Option<i64>,
33    /// Indicates if the automatic transfer is permitted from the alternate mains circuit back to the preferred mains circuit after the preferred mains circuit is qualified again and the Retransfer Delay time has expired.
34    #[serde(rename = "RetransferEnabled")]
35    #[serde(default, skip_serializing_if = "Option::is_none")]
36    pub retransfer_enabled: Option<bool>,
37    /// The time in seconds to delay the automatic transfer from the preferred mains circuit to the alternate mains circuit when the preferred mains circuit is disqualified.
38    #[serde(rename = "TransferDelaySeconds")]
39    #[serde(default, skip_serializing_if = "Option::is_none")]
40    pub transfer_delay_seconds: Option<i64>,
41    /// Indicates if any transfer is inhibited.
42    #[serde(rename = "TransferInhibit")]
43    #[serde(default, skip_serializing_if = "Option::is_none")]
44    pub transfer_inhibit: Option<bool>,
45}
46
47impl crate::Metadata<'static> for TransferConfiguration {
48    const JSON_SCHEMA: &'static str = "PowerDistribution.v1_3_1.json";
49}