enbbox 1.0.1

Notification infrastructure API — open-source alternative to Novu/Courier
Documentation
/*
 * enbbox API
 *
 * Notification infrastructure API — open-source alternative to Novu/Courier
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// ChatOauth : OAuth authorization URL for a chat provider.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ChatOauth {
    #[serde(rename = "oauth_url")]
    pub oauth_url: String,
}

impl ChatOauth {
    /// OAuth authorization URL for a chat provider.
    pub fn new(oauth_url: String) -> ChatOauth {
        ChatOauth {
            oauth_url,
        }
    }
}