/*
* Manager API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.0.0-dev
* Contact: support@babelforce.com
* Generated by: https://openapi-generator.tech
*/
use crate::gen::manager::models;
use serde::{Deserialize, Serialize};
/// SetCallSessionVariablesRequest : Wrapper carrying a `variables` map of call-session variables to set. Only keys prefixed with `app.` are applied; any other keys are ignored.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SetCallSessionVariablesRequest {
/// Map of variable name to value. Keys must start with `app.` to take effect.
#[serde(rename = "variables", skip_serializing_if = "Option::is_none")]
pub variables: Option<std::collections::HashMap<String, serde_json::Value>>,
}
impl SetCallSessionVariablesRequest {
/// Wrapper carrying a `variables` map of call-session variables to set. Only keys prefixed with `app.` are applied; any other keys are ignored.
pub fn new() -> SetCallSessionVariablesRequest {
SetCallSessionVariablesRequest { variables: None }
}
}