pipedrive_rs/models/
update_user_request.rs

1/*
2 * Pipedrive API v1
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.0.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct UpdateUserRequest {
16    /// Whether the user is active or not. `false` = Not activated, `true` = Activated
17    #[serde(rename = "active_flag")]
18    pub active_flag: bool,
19}
20
21impl UpdateUserRequest {
22    pub fn new(active_flag: bool) -> UpdateUserRequest {
23        UpdateUserRequest {
24            active_flag,
25        }
26    }
27}
28
29