vapi_client/models/
server_message_response.rs

1/*
2 * Vapi API
3 *
4 * API for building voice assistants
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12use utoipa::ToSchema;
13
14
15use crate::models;
16
17#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize, ToSchema)]
18pub struct ServerMessageResponse {
19    #[serde(rename = "messageResponse")]
20    pub message_response: models::ServerMessageResponseMessageResponse,
21}
22
23impl ServerMessageResponse {
24    pub fn new(
25        message_response: models::ServerMessageResponseMessageResponse,
26    ) -> ServerMessageResponse {
27        ServerMessageResponse { message_response }
28    }
29}