vapi-client 0.4.2

Unofficial crate for Vapi - Voice AI for developers.
Documentation
/*
 * Vapi API
 *
 * Voice AI for developers.
 *
 * The version of the OpenAPI document: 1.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CompliancePlan {
    /// 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.
    #[serde(rename = "hipaaEnabled", skip_serializing_if = "Option::is_none")]
    pub hipaa_enabled: Option<bool>,
    /// 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.
    #[serde(rename = "pciEnabled", skip_serializing_if = "Option::is_none")]
    pub pci_enabled: Option<bool>,
}

impl CompliancePlan {
    pub fn new() -> CompliancePlan {
        CompliancePlan {
            hipaa_enabled: None,
            pci_enabled: None,
        }
    }
}