vapi_client/models/
compliance_plan.rs

1/*
2 * Vapi API
3 *
4 * Voice AI for developers.
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CompliancePlan {
16    /// 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.
17    #[serde(rename = "hipaaEnabled", skip_serializing_if = "Option::is_none")]
18    pub hipaa_enabled: Option<bool>,
19    /// 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.
20    #[serde(rename = "pciEnabled", skip_serializing_if = "Option::is_none")]
21    pub pci_enabled: Option<bool>,
22}
23
24impl CompliancePlan {
25    pub fn new() -> CompliancePlan {
26        CompliancePlan {
27            hipaa_enabled: None,
28            pci_enabled: None,
29        }
30    }
31}