/*
* 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 WorkflowOverrides {
/// These are values that will be used to replace the template variables in the workflow messages and other text-based fields. This uses LiquidJS syntax. https://liquidjs.com/tutorials/intro-to-liquid.html So for example, `{{ name }}` will be replaced with the value of `name` in `variableValues`. `{{\"now\" | date: \"%b %d, %Y, %I:%M %p\", \"America/New_York\"}}` will be replaced with the current date and time in New York. Some VAPI reserved defaults: - *customer* - the customer object
#[serde(rename = "variableValues", skip_serializing_if = "Option::is_none")]
pub variable_values: Option<serde_json::Value>,
}
impl WorkflowOverrides {
pub fn new() -> WorkflowOverrides {
WorkflowOverrides {
variable_values: None,
}
}
}