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
40
41
42
43
44
45
46
47
/*
* 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
*/
/// GetDealsSummaryResponse200DataValuesTotal : The total values of the deals grouped by deal currency
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetDealsSummaryResponse200DataValuesTotal {
/// The total value of 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 value of deals converted into the company default currency
#[serde(rename = "value_converted", skip_serializing_if = "Option::is_none")]
pub value_converted: Option<f32>,
/// The total value of deals formatted with deal currency. E.g. €50
#[serde(rename = "value_formatted", skip_serializing_if = "Option::is_none")]
pub value_formatted: Option<String>,
/// The value_converted formatted with deal currency. E.g. US$50.10
#[serde(rename = "value_converted_formatted", skip_serializing_if = "Option::is_none")]
pub value_converted_formatted: Option<String>,
}
impl GetDealsSummaryResponse200DataValuesTotal {
/// The total values of the deals grouped by deal currency
pub fn new() -> GetDealsSummaryResponse200DataValuesTotal {
GetDealsSummaryResponse200DataValuesTotal {
value: None,
count: None,
value_converted: None,
value_formatted: None,
value_converted_formatted: None,
}
}
}