/*
* FusionAuth API
*
* This is a FusionAuth server. Find out more at [https://fusionauth.io](https://fusionauth.io). You need to [set up an API key](https://fusionauth.io/docs/v1/tech/apis/authentication#managing-api-keys) in the FusionAuth instance you are using to test out the API calls.
*
* The version of the OpenAPI document: 1.62.1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// UserRegistrationDeleteCompleteEvent : Models the User Deleted Registration Event. <p> This is different than user.registration.delete in that it is sent after the TX has been committed. This event cannot be transactional.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UserRegistrationDeleteCompleteEvent {
#[serde(rename = "applicationId", skip_serializing_if = "Option::is_none")]
pub application_id: Option<uuid::Uuid>,
#[serde(rename = "registration", skip_serializing_if = "Option::is_none")]
pub registration: Option<Box<models::UserRegistration>>,
#[serde(rename = "user", skip_serializing_if = "Option::is_none")]
pub user: Option<Box<models::User>>,
}
impl UserRegistrationDeleteCompleteEvent {
/// Models the User Deleted Registration Event. <p> This is different than user.registration.delete in that it is sent after the TX has been committed. This event cannot be transactional.
pub fn new() -> UserRegistrationDeleteCompleteEvent {
UserRegistrationDeleteCompleteEvent {
application_id: None,
registration: None,
user: None,
}
}
}