redfish_codegen/models/storage_controller/v1_7_0/
security_receive_request_body.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// This action transfers security protocol data from the controller.  The data transferred from the controller contains the status and data result of one or more SecuritySend action requests that were previously submitted to the controller.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct SecurityReceiveRequestBody {
9    /// Allocated size for received data.
10    #[serde(rename = "AllocationLength")]
11    pub allocation_length: i64,
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 SecurityReceiveRequestBody {
21    const JSON_SCHEMA: &'static str = "StorageController.v1_7_0.json";
22}