bitwarden_api_api/models/
organization_keys_request_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OrganizationKeysRequestModel {
#[serde(rename = "publicKey")]
pub public_key: String,
#[serde(rename = "encryptedPrivateKey")]
pub encrypted_private_key: String,
}
impl OrganizationKeysRequestModel {
pub fn new(public_key: String, encrypted_private_key: String) -> OrganizationKeysRequestModel {
OrganizationKeysRequestModel {
public_key,
encrypted_private_key,
}
}
}