/*
* Vapi API
*
* Voice AI for developers.
*
* The version of the OpenAPI document: 1.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ToolCallFunction {
/// This is the arguments to call the function with
#[serde(rename = "arguments")]
pub arguments: String,
/// This is the name of the function to call
#[serde(rename = "name")]
pub name: String,
}
impl ToolCallFunction {
pub fn new(arguments: String, name: String) -> ToolCallFunction {
ToolCallFunction { arguments, name }
}
}