Skip to main content

agentcat_api/models/
email_channel_verify_response.rs

1/*
2 * AgentCat API
3 *
4 * API for AgentCat application
5 *
6 * The version of the OpenAPI document: v1
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 EmailChannelVerifyResponse {
16    #[serde(rename = "success")]
17    pub success: bool,
18    #[serde(rename = "channel_id")]
19    pub channel_id: String,
20}
21
22impl EmailChannelVerifyResponse {
23    pub fn new(success: bool, channel_id: String) -> EmailChannelVerifyResponse {
24        EmailChannelVerifyResponse {
25            success,
26            channel_id,
27        }
28    }
29}
30