agentcat-api 0.0.3

Generated Rust client for the AgentCat API, consumed by agentcat-sdk.
Documentation
/*
 * AgentCat API
 *
 * API for AgentCat application
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EmailChannelVerifyResponse {
    #[serde(rename = "success")]
    pub success: bool,
    #[serde(rename = "channel_id")]
    pub channel_id: String,
}

impl EmailChannelVerifyResponse {
    pub fn new(success: bool, channel_id: String) -> EmailChannelVerifyResponse {
        EmailChannelVerifyResponse {
            success,
            channel_id,
        }
    }
}