pipedrive_rs/models/
get_user_settings_response200_all_of_data.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 GetUserSettingsResponse200AllOfData {
16    /// If the vendors are allowed to install custom Marketplace apps with functionality and content in the Pipedrive UI or not
17    #[serde(rename = "marketplace_allow_custom_install_url", skip_serializing_if = "Option::is_none")]
18    pub marketplace_allow_custom_install_url: Option<bool>,
19    /// If the vendors are allowed to extend their Marketplace apps with functionality and content in the Pipedrive UI or not
20    #[serde(rename = "marketplace_app_extensions_vendor", skip_serializing_if = "Option::is_none")]
21    pub marketplace_app_extensions_vendor: Option<bool>,
22    /// If the vendors are allowed to be part of the Marketplace team or not
23    #[serde(rename = "marketplace_team", skip_serializing_if = "Option::is_none")]
24    pub marketplace_team: Option<bool>,
25    /// The number of results shown in list by default
26    #[serde(rename = "list_limit", skip_serializing_if = "Option::is_none")]
27    pub list_limit: Option<f32>,
28    /// Whether beta app is enabled
29    #[serde(rename = "beta_app", skip_serializing_if = "Option::is_none")]
30    pub beta_app: Option<bool>,
31    /// Prevent salesphone call to override
32    #[serde(rename = "prevent_salesphone_callto_override", skip_serializing_if = "Option::is_none")]
33    pub prevent_salesphone_callto_override: Option<bool>,
34    /// The destination of file upload
35    #[serde(rename = "file_upload_destination", skip_serializing_if = "Option::is_none")]
36    pub file_upload_destination: Option<String>,
37    /// The call to link syntax
38    #[serde(rename = "callto_link_syntax", skip_serializing_if = "Option::is_none")]
39    pub callto_link_syntax: Option<String>,
40    /// Whether the expected close date of the deal is filled automatically or not
41    #[serde(rename = "autofill_deal_expected_close_date", skip_serializing_if = "Option::is_none")]
42    pub autofill_deal_expected_close_date: Option<bool>,
43    /// Allow the vendors to duplicate a person
44    #[serde(rename = "person_duplicate_condition", skip_serializing_if = "Option::is_none")]
45    pub person_duplicate_condition: Option<String>,
46}
47
48impl GetUserSettingsResponse200AllOfData {
49    pub fn new() -> GetUserSettingsResponse200AllOfData {
50        GetUserSettingsResponse200AllOfData {
51            marketplace_allow_custom_install_url: None,
52            marketplace_app_extensions_vendor: None,
53            marketplace_team: None,
54            list_limit: None,
55            beta_app: None,
56            prevent_salesphone_callto_override: None,
57            file_upload_destination: None,
58            callto_link_syntax: None,
59            autofill_deal_expected_close_date: None,
60            person_duplicate_condition: None,
61        }
62    }
63}
64
65