mattermost_rust_client/models/
reset_saml_auth_data_to_email_request.rs

1/*
2 * Mattermost API Reference
3 *
4 * There is also a work-in-progress [Postman API reference](https://documenter.getpostman.com/view/4508214/RW8FERUn). 
5 *
6 * The version of the OpenAPI document: 4.0.0
7 * Contact: feedback@mattermost.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct ResetSamlAuthDataToEmailRequest {
16    /// Whether to include deleted users.
17    #[serde(rename = "include_deleted", skip_serializing_if = "Option::is_none")]
18    pub include_deleted: Option<bool>,
19    /// If set to true, the number of users who would be affected is returned.
20    #[serde(rename = "dry_run", skip_serializing_if = "Option::is_none")]
21    pub dry_run: Option<bool>,
22    /// If set to a non-empty array, then users whose IDs are not in the array will be excluded.
23    #[serde(rename = "user_ids", skip_serializing_if = "Option::is_none")]
24    pub user_ids: Option<Vec<String>>,
25}
26
27impl ResetSamlAuthDataToEmailRequest {
28    pub fn new() -> ResetSamlAuthDataToEmailRequest {
29        ResetSamlAuthDataToEmailRequest {
30            include_deleted: None,
31            dry_run: None,
32            user_ids: None,
33        }
34    }
35}
36
37