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
48
49
50
51
52
53
54
55
/*
* 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
*/
/// GetActivitiesResponse200RelatedObjectsDealDealId : The ID of the deal which is associated with the item
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetActivitiesResponse200RelatedObjectsDealDealId {
/// The ID of the deal associated with the item
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<i32>,
/// The title of the deal associated with the item
#[serde(rename = "title", skip_serializing_if = "Option::is_none")]
pub title: Option<String>,
/// The status of the deal associated with the item
#[serde(rename = "status", skip_serializing_if = "Option::is_none")]
pub status: Option<String>,
/// The value of the deal that is associated with the item
#[serde(rename = "value", skip_serializing_if = "Option::is_none")]
pub value: Option<f32>,
/// The currency of the deal value
#[serde(rename = "currency", skip_serializing_if = "Option::is_none")]
pub currency: Option<String>,
/// The ID of the stage the deal is currently at
#[serde(rename = "stage_id", skip_serializing_if = "Option::is_none")]
pub stage_id: Option<i32>,
/// The ID of the pipeline the deal is in
#[serde(rename = "pipeline_id", skip_serializing_if = "Option::is_none")]
pub pipeline_id: Option<i32>,
}
impl GetActivitiesResponse200RelatedObjectsDealDealId {
/// The ID of the deal which is associated with the item
pub fn new() -> GetActivitiesResponse200RelatedObjectsDealDealId {
GetActivitiesResponse200RelatedObjectsDealDealId {
id: None,
title: None,
status: None,
value: None,
currency: None,
stage_id: None,
pipeline_id: None,
}
}
}