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};

/// AutoConfiguration : Result of auto-configuring a provider integration.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AutoConfiguration {
    #[serde(rename = "webhook_url")]
    pub webhook_url: String,
}

impl AutoConfiguration {
    /// Result of auto-configuring a provider integration.
    pub fn new(webhook_url: String) -> AutoConfiguration {
        AutoConfiguration {
            webhook_url,
        }
    }
}