/*
* 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 CallBatchError {
#[serde(rename = "customer")]
pub customer: models::CreateCustomerDto,
#[serde(rename = "error")]
pub error: String,
}
impl CallBatchError {
pub fn new(customer: models::CreateCustomerDto, error: String) -> CallBatchError {
CallBatchError { customer, error }
}
}