bitwarden_api_api/models/
bulk_collection_access_request_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BulkCollectionAccessRequestModel {
#[serde(rename = "collectionIds", skip_serializing_if = "Option::is_none")]
pub collection_ids: Option<Vec<uuid::Uuid>>,
#[serde(rename = "groups", skip_serializing_if = "Option::is_none")]
pub groups: Option<Vec<models::SelectionReadOnlyRequestModel>>,
#[serde(rename = "users", skip_serializing_if = "Option::is_none")]
pub users: Option<Vec<models::SelectionReadOnlyRequestModel>>,
}
impl BulkCollectionAccessRequestModel {
pub fn new() -> BulkCollectionAccessRequestModel {
BulkCollectionAccessRequestModel {
collection_ids: None,
groups: None,
users: None,
}
}
}