vapi_client/models/
server_message_response.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 ServerMessageResponse {
16    #[serde(rename = "messageResponse")]
17    pub message_response: Box<models::ServerMessageResponseMessageResponse>,
18}
19
20impl ServerMessageResponse {
21    pub fn new(message_response: models::ServerMessageResponseMessageResponse) -> ServerMessageResponse {
22        ServerMessageResponse {
23            message_response: Box::new(message_response),
24        }
25    }
26}
27