#[allow(unused_imports)]
use crate::models;
#[allow(unused_imports)]
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ProfileResponse {
#[serde(rename = "email")]
pub email: String,
#[serde(rename = "subject")]
pub subject: String,
#[serde(rename = "body")]
pub body: String,
#[serde(rename = "contextId")]
pub context_id: String,
#[serde(rename = "identityId")]
pub identity_id: String,
}
impl ProfileResponse {
pub fn new(email: String, subject: String, body: String, context_id: String, identity_id: String) -> ProfileResponse {
ProfileResponse {
email,
subject,
body,
context_id,
identity_id,
}
}
}