use crate::models;
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct Stanza {
#[serde(rename = "OEMStanzaType")]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub oem_stanza_type: Option<String>,
#[serde(rename = "Request")]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub request: Option<models::manifest::v1_0_0::Request>,
#[serde(rename = "Response")]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub response: Option<models::manifest::v1_0_0::Response>,
#[serde(rename = "StanzaId")]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub stanza_id: Option<String>,
#[serde(rename = "StanzaType")]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub stanza_type: Option<models::manifest::v1_0_0::StanzaType>,
}
impl crate::Metadata<'static> for Stanza {
const JSON_SCHEMA: &'static str = "Manifest.v1_0_0.json";
}