vapi_client/models/
make_tool_metadata.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 MakeToolMetadata {
19    #[serde(rename = "scenarioId", skip_serializing_if = "Option::is_none")]
20    pub scenario_id: Option<f64>,
21    #[serde(rename = "triggerHookId", skip_serializing_if = "Option::is_none")]
22    pub trigger_hook_id: Option<f64>,
23}
24
25impl MakeToolMetadata {
26    pub fn new() -> MakeToolMetadata {
27        MakeToolMetadata {
28            scenario_id: None,
29            trigger_hook_id: None,
30        }
31    }
32}