redfish_codegen/models/storage_controller/v1_7_0/attach_namespaces_request_body.rs
1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// This action attaches referenced namespaces to the storage controller. Attached namespaces are added to the AttachedVolumes property in Links.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct AttachNamespacesRequestBody {
10 /// The namespaces to attach to the storage controller.
11 #[serde(rename = "Namespaces")]
12 pub namespaces: Vec<models::odata_v4::IdRef>,
13}
14
15impl crate::Metadata<'static> for AttachNamespacesRequestBody {
16 const JSON_SCHEMA: &'static str = "StorageController.v1_7_0.json";
17}