vapi_client/models/
compliance_plan.rs

1/*
2 * Vapi API
3 *
4 * API for building voice assistants
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12use utoipa::OpenApi;
13
14
15use crate::models;
16
17#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize, OpenApi)]
18pub struct CompliancePlan {
19    /// When this is enabled, no logs, recordings, or transcriptions will be stored. At the end of the call, you will still receive an end-of-call-report message to store on your server. Defaults to false.
20    #[serde(rename = "hipaaEnabled", skip_serializing_if = "Option::is_none")]
21    pub hipaa_enabled: Option<bool>,
22    /// When this is enabled, the user will be restricted to use PCI-compliant providers, and no logs or transcripts are stored. At the end of the call, you will receive an end-of-call-report message to store on your server. Defaults to false.
23    #[serde(rename = "pciEnabled", skip_serializing_if = "Option::is_none")]
24    pub pci_enabled: Option<bool>,
25}
26
27impl CompliancePlan {
28    pub fn new() -> CompliancePlan {
29        CompliancePlan {
30            hipaa_enabled: None,
31            pci_enabled: None,
32        }
33    }
34}