vapi_client/models/
oauth2_authentication_session.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct Oauth2AuthenticationSession {
16 #[serde(rename = "accessToken", skip_serializing_if = "Option::is_none")]
18 pub access_token: Option<String>,
19 #[serde(rename = "expiresAt", skip_serializing_if = "Option::is_none")]
21 pub expires_at: Option<String>,
22}
23
24impl Oauth2AuthenticationSession {
25 pub fn new() -> Oauth2AuthenticationSession {
26 Oauth2AuthenticationSession {
27 access_token: None,
28 expires_at: None,
29 }
30 }
31}
32