vapi_client/models/
org_plan.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 OrgPlan {
19    #[serde(rename = "includedProviders", skip_serializing_if = "Option::is_none")]
20    pub included_providers: Option<Vec<serde_json::Value>>,
21    #[serde(rename = "includedMinutes", skip_serializing_if = "Option::is_none")]
22    pub included_minutes: Option<f64>,
23    #[serde(
24        rename = "costPerOverageMinute",
25        skip_serializing_if = "Option::is_none"
26    )]
27    pub cost_per_overage_minute: Option<f64>,
28}
29
30impl OrgPlan {
31    pub fn new() -> OrgPlan {
32        OrgPlan {
33            included_providers: None,
34            included_minutes: None,
35            cost_per_overage_minute: None,
36        }
37    }
38}