redfish_codegen/models/storage_controller/v1_7_0/
actions.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// The available actions for this resource.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct Actions {
10    #[serde(rename = "#StorageController.AttachNamespaces")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub storage_controller_attach_namespaces: Option<models::storage_controller::v1_7_0::AttachNamespaces>,
13    #[serde(rename = "#StorageController.DetachNamespaces")]
14    #[serde(default, skip_serializing_if = "Option::is_none")]
15    pub storage_controller_detach_namespaces: Option<models::storage_controller::v1_7_0::DetachNamespaces>,
16    #[serde(rename = "#StorageController.SecurityReceive")]
17    #[serde(default, skip_serializing_if = "Option::is_none")]
18    pub storage_controller_security_receive: Option<models::storage_controller::v1_7_0::SecurityReceive>,
19    #[serde(rename = "#StorageController.SecuritySend")]
20    #[serde(default, skip_serializing_if = "Option::is_none")]
21    pub storage_controller_security_send: Option<models::storage_controller::v1_7_0::SecuritySend>,
22    #[serde(rename = "Oem")]
23    #[serde(default, skip_serializing_if = "Option::is_none")]
24    pub oem: Option<models::storage_controller::v1_7_0::OemActions>,
25}
26
27impl crate::Metadata<'static> for Actions {
28    const JSON_SCHEMA: &'static str = "StorageController.v1_7_0.json";
29}