vapi_client/models/
ghl_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::OpenApi;
13
14
15use crate::models;
16
17#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize, OpenApi)]
18pub struct GhlToolMetadata {
19    #[serde(rename = "workflowId", skip_serializing_if = "Option::is_none")]
20    pub workflow_id: Option<String>,
21    #[serde(rename = "locationId", skip_serializing_if = "Option::is_none")]
22    pub location_id: Option<String>,
23}
24
25impl GhlToolMetadata {
26    pub fn new() -> GhlToolMetadata {
27        GhlToolMetadata {
28            workflow_id: None,
29            location_id: None,
30        }
31    }
32}