redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Generated by redfish-codegen. Do not modify.


/// This action is used to suspend active data synchronization between a source and target volume, without otherwise altering the replication relationship.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct SuspendReplicationRequestBody {
    /// The Uri to the existing target volume.
    #[serde(rename = "TargetVolume")]
    pub target_volume: String,
}

impl crate::Metadata<'static> for SuspendReplicationRequestBody {
    const JSON_SCHEMA: &'static str = "Volume.v1_9_0.json";
}