fusionauth_rust_client/models/
application_phone_configuration.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ApplicationPhoneConfiguration {
17 #[serde(rename = "forgotPasswordTemplateId", skip_serializing_if = "Option::is_none")]
18 pub forgot_password_template_id: Option<uuid::Uuid>,
19 #[serde(rename = "identityUpdateTemplateId", skip_serializing_if = "Option::is_none")]
20 pub identity_update_template_id: Option<uuid::Uuid>,
21 #[serde(rename = "loginIdInUseOnCreateTemplateId", skip_serializing_if = "Option::is_none")]
22 pub login_id_in_use_on_create_template_id: Option<uuid::Uuid>,
23 #[serde(rename = "loginIdInUseOnUpdateTemplateId", skip_serializing_if = "Option::is_none")]
24 pub login_id_in_use_on_update_template_id: Option<uuid::Uuid>,
25 #[serde(rename = "loginNewDeviceTemplateId", skip_serializing_if = "Option::is_none")]
26 pub login_new_device_template_id: Option<uuid::Uuid>,
27 #[serde(rename = "loginSuspiciousTemplateId", skip_serializing_if = "Option::is_none")]
28 pub login_suspicious_template_id: Option<uuid::Uuid>,
29 #[serde(rename = "passwordResetSuccessTemplateId", skip_serializing_if = "Option::is_none")]
30 pub password_reset_success_template_id: Option<uuid::Uuid>,
31 #[serde(rename = "passwordUpdateTemplateId", skip_serializing_if = "Option::is_none")]
32 pub password_update_template_id: Option<uuid::Uuid>,
33 #[serde(rename = "passwordlessTemplateId", skip_serializing_if = "Option::is_none")]
34 pub passwordless_template_id: Option<uuid::Uuid>,
35 #[serde(rename = "setPasswordTemplateId", skip_serializing_if = "Option::is_none")]
36 pub set_password_template_id: Option<uuid::Uuid>,
37 #[serde(rename = "twoFactorMethodAddTemplateId", skip_serializing_if = "Option::is_none")]
38 pub two_factor_method_add_template_id: Option<uuid::Uuid>,
39 #[serde(rename = "twoFactorMethodRemoveTemplateId", skip_serializing_if = "Option::is_none")]
40 pub two_factor_method_remove_template_id: Option<uuid::Uuid>,
41 #[serde(rename = "verificationCompleteTemplateId", skip_serializing_if = "Option::is_none")]
42 pub verification_complete_template_id: Option<uuid::Uuid>,
43 #[serde(rename = "verificationTemplateId", skip_serializing_if = "Option::is_none")]
44 pub verification_template_id: Option<uuid::Uuid>,
45}
46
47impl ApplicationPhoneConfiguration {
48 pub fn new() -> ApplicationPhoneConfiguration {
50 ApplicationPhoneConfiguration {
51 forgot_password_template_id: None,
52 identity_update_template_id: None,
53 login_id_in_use_on_create_template_id: None,
54 login_id_in_use_on_update_template_id: None,
55 login_new_device_template_id: None,
56 login_suspicious_template_id: None,
57 password_reset_success_template_id: None,
58 password_update_template_id: None,
59 passwordless_template_id: None,
60 set_password_template_id: None,
61 two_factor_method_add_template_id: None,
62 two_factor_method_remove_template_id: None,
63 verification_complete_template_id: None,
64 verification_template_id: None,
65 }
66 }
67}
68