vapi_client/models/
credential_session_response.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 CredentialSessionResponse {
16    #[serde(rename = "sessionToken")]
17    pub session_token: String,
18}
19
20impl CredentialSessionResponse {
21    pub fn new(session_token: String) -> CredentialSessionResponse {
22        CredentialSessionResponse { session_token }
23    }
24}