vapi_client/models/
call_batch_error.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 CallBatchError {
16    #[serde(rename = "customer")]
17    pub customer: models::CreateCustomerDto,
18    #[serde(rename = "error")]
19    pub error: String,
20}
21
22impl CallBatchError {
23    pub fn new(customer: models::CreateCustomerDto, error: String) -> CallBatchError {
24        CallBatchError { customer, error }
25    }
26}