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