redfish_codegen/models/cooling_loop/v1_0_0/
links.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// The links to other resources that are related to this resource.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct Links {
10    #[serde(rename = "Chassis")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub chassis: Option<models::odata_v4::IdRef>,
13    #[serde(rename = "Facility")]
14    #[serde(default, skip_serializing_if = "Option::is_none")]
15    pub facility: Option<models::odata_v4::IdRef>,
16    /// An array of links to the managers responsible for managing this equipment.
17    #[serde(rename = "ManagedBy")]
18    #[serde(default, skip_serializing_if = "Option::is_none")]
19    pub managed_by: Option<Vec<models::odata_v4::IdRef>>,
20    #[serde(rename = "ManagedBy@odata.count")]
21    #[serde(default, skip_serializing_if = "Option::is_none")]
22    pub managed_by_odata_count: Option<models::odata_v4::Count>,
23    #[serde(rename = "Oem")]
24    #[serde(default, skip_serializing_if = "Option::is_none")]
25    pub oem: Option<models::resource::Oem>,
26}
27
28impl crate::Metadata<'static> for Links {
29    const JSON_SCHEMA: &'static str = "CoolingLoop.v1_0_0.json";
30}