redfish_codegen/models/storage_controller/v1_7_0/
security_send_request_body.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// This action transfers security protocol data to the controller.  The data transferred to the controller contains security protocol-specific commands to be performed by the controller.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct SecuritySendRequestBody {
9    /// The data to transfer.
10    #[serde(rename = "Data")]
11    pub data: String,
12    /// The security protocol number.
13    #[serde(rename = "SecurityProtocol")]
14    pub security_protocol: i64,
15    /// The security protocol-specific parameter.
16    #[serde(rename = "SecurityProtocolSpecific")]
17    pub security_protocol_specific: i64,
18}
19
20impl crate::Metadata<'static> for SecuritySendRequestBody {
21    const JSON_SCHEMA: &'static str = "StorageController.v1_7_0.json";
22}