use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateStorageBoxResponse {
#[serde(rename = "action")]
pub action: Box<models::Action>,
#[serde(rename = "storage_box")]
pub storage_box: Box<models::StorageBox>,
}
impl CreateStorageBoxResponse {
pub fn new(
action: models::Action,
storage_box: models::StorageBox,
) -> CreateStorageBoxResponse {
CreateStorageBoxResponse {
action: Box::new(action),
storage_box: Box::new(storage_box),
}
}
}