vapi_client/models/
test_suite_run_test_result_test.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/// TestSuiteRunTestResultTest : This is the test that was run.
15/// This is the test that was run.
16#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
17#[serde(untagged)]
18pub enum TestSuiteRunTestResultTest {
19    TestSuiteTestVoice(models::TestSuiteTestVoice),
20}
21
22impl Default for TestSuiteRunTestResultTest {
23    fn default() -> Self {
24        Self::TestSuiteTestVoice(Default::default())
25    }
26}
27/// This is the type of the test, which must be voice.
28#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
29pub enum Type {
30    #[serde(rename = "voice")]
31    Voice,
32}
33
34impl Default for Type {
35    fn default() -> Type {
36        Self::Voice
37    }
38}
39