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