use serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OrganizationReportSummaryDataResponse {
#[serde(rename = "organizationId", alias = "OrganizationId")]
pub organization_id: uuid::Uuid,
#[serde(rename = "encryptedData", alias = "EncryptedData")]
pub encrypted_data: Option<String>,
#[serde(rename = "encryptionKey", alias = "EncryptionKey")]
pub encryption_key: Option<String>,
#[serde(rename = "date", alias = "Date")]
pub date: String,
}
impl OrganizationReportSummaryDataResponse {
pub fn new(
organization_id: uuid::Uuid,
encrypted_data: Option<String>,
encryption_key: Option<String>,
date: String,
) -> OrganizationReportSummaryDataResponse {
OrganizationReportSummaryDataResponse {
organization_id,
encrypted_data,
encryption_key,
date,
}
}
}