bitwarden_api_api/models/
provider_user_invite_request_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ProviderUserInviteRequestModel {
#[serde(rename = "emails")]
pub emails: Vec<String>,
#[serde(rename = "type")]
pub r#type: models::ProviderUserType,
}
impl ProviderUserInviteRequestModel {
pub fn new(
emails: Vec<String>,
r#type: models::ProviderUserType,
) -> ProviderUserInviteRequestModel {
ProviderUserInviteRequestModel { emails, r#type }
}
}