redfish_codegen/models/endpoint_group/v1_3_2/
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    /// The connections to which this endpoint group belongs.
11    #[serde(rename = "Connections")]
12    #[serde(default, skip_serializing_if = "Option::is_none")]
13    pub connections: Option<Vec<models::odata_v4::IdRef>>,
14    #[serde(rename = "Connections@odata.count")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub connections_odata_count: Option<models::odata_v4::Count>,
17    /// The endpoints in this endpoint group.
18    #[serde(rename = "Endpoints")]
19    #[serde(default, skip_serializing_if = "Option::is_none")]
20    pub endpoints: Option<Vec<models::odata_v4::IdRef>>,
21    #[serde(rename = "Endpoints@odata.count")]
22    #[serde(default, skip_serializing_if = "Option::is_none")]
23    pub endpoints_odata_count: Option<models::odata_v4::Count>,
24    #[serde(rename = "Oem")]
25    #[serde(default, skip_serializing_if = "Option::is_none")]
26    pub oem: Option<models::resource::Oem>,
27}
28
29impl crate::Metadata<'static> for Links {
30    const JSON_SCHEMA: &'static str = "EndpointGroup.v1_3_2.json";
31}