redfish_codegen/models/memory/v1_17_1/
set_passphrase_request_body.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// Set passphrase for the given regions.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct SetPassphraseRequestBody {
9    /// Passphrase for doing the operation.
10    #[serde(rename = "Passphrase")]
11    pub passphrase: String,
12    /// The memory region ID to which to apply this action.
13    #[serde(rename = "RegionId")]
14    pub region_id: String,
15}
16
17impl crate::Metadata<'static> for SetPassphraseRequestBody {
18    const JSON_SCHEMA: &'static str = "Memory.v1_17_1.json";
19}