#[derive(
Debug,
Clone,
conjure_object::serde::Serialize,
conjure_object::serde::Deserialize,
PartialEq,
Eq,
PartialOrd,
Ord,
Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct OktaRegistrationEventData {
#[builder(custom(type = super::OktaRegistrationUserProfile, convert = Box::new))]
#[serde(rename = "userProfile")]
user_profile: Box<super::OktaRegistrationUserProfile>,
}
impl OktaRegistrationEventData {
#[inline]
pub fn new(user_profile: super::OktaRegistrationUserProfile) -> Self {
Self::builder().user_profile(user_profile).build()
}
#[inline]
pub fn user_profile(&self) -> &super::OktaRegistrationUserProfile {
&*self.user_profile
}
}