1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Pipedrive API v1
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/
/// GetDealsSummaryResponse200DataWeightedValuesTotal : The total weighted values of the deals grouped by deal currency. The weighted value is calculated as probability times deal value.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetDealsSummaryResponse200DataWeightedValuesTotal {
/// The total weighted value of the deals in the deal currency group
#[serde(rename = "value", skip_serializing_if = "Option::is_none")]
pub value: Option<f32>,
/// The number of deals in the deal currency group
#[serde(rename = "count", skip_serializing_if = "Option::is_none")]
pub count: Option<i32>,
/// The total weighted value of the deals formatted with deal currency. E.g. €50
#[serde(rename = "value_formatted", skip_serializing_if = "Option::is_none")]
pub value_formatted: Option<String>,
}
impl GetDealsSummaryResponse200DataWeightedValuesTotal {
/// The total weighted values of the deals grouped by deal currency. The weighted value is calculated as probability times deal value.
pub fn new() -> GetDealsSummaryResponse200DataWeightedValuesTotal {
GetDealsSummaryResponse200DataWeightedValuesTotal {
value: None,
count: None,
value_formatted: None,
}
}
}