bitwarden_api_api/models/
cipher_bulk_restore_request_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CipherBulkRestoreRequestModel {
#[serde(rename = "ids")]
pub ids: Vec<String>,
#[serde(rename = "organizationId", skip_serializing_if = "Option::is_none")]
pub organization_id: Option<uuid::Uuid>,
}
impl CipherBulkRestoreRequestModel {
pub fn new(ids: Vec<String>) -> CipherBulkRestoreRequestModel {
CipherBulkRestoreRequestModel {
ids,
organization_id: None,
}
}
}