redfish_codegen/models/log_service/v1_4_0/
collect_diagnostic_data.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// The action to collect the diagnostic data for the given type.  When the diagnostic data is collected, a new log entry will be created and the additional data referenced by the new log entry will contain the diagnostic data.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct CollectDiagnosticData {
9    /// Link to invoke action
10    #[serde(default, skip_serializing_if = "Option::is_none")]
11    pub target: Option<String>,
12    /// Friendly action name
13    #[serde(default, skip_serializing_if = "Option::is_none")]
14    pub title: Option<String>,
15}
16
17impl crate::Metadata<'static> for CollectDiagnosticData {
18    const JSON_SCHEMA: &'static str = "LogService.v1_4_0.json";
19}