/*
* Antimatter Public API
*
* Interact with the Antimatter Cloud API
*
* The version of the OpenAPI document: 2.0.13
* Contact: support@antimatter.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// VerifyContactResponse : Returned by successful contact email verification
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct VerifyContactResponse {
/// A globally unique identifier for a domain
#[serde(rename = "domain")]
pub domain: String,
#[serde(rename = "email")]
pub email: String,
#[serde(rename = "message")]
pub message: String,
}
impl VerifyContactResponse {
/// Returned by successful contact email verification
pub fn new(domain: String, email: String, message: String) -> VerifyContactResponse {
VerifyContactResponse {
domain,
email,
message,
}
}
}