vapi_client/models/
credential_end_user.rs

1/*
2 * Vapi API
3 *
4 * Voice AI for developers.
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CredentialEndUser {
16    #[serde(rename = "endUserId")]
17    pub end_user_id: String,
18    #[serde(rename = "organizationId")]
19    pub organization_id: String,
20}
21
22impl CredentialEndUser {
23    pub fn new(end_user_id: String, organization_id: String) -> CredentialEndUser {
24        CredentialEndUser {
25            end_user_id,
26            organization_id,
27        }
28    }
29}