pipedrive_rs/models/
add_deal_participant_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 AddDealParticipantRequest {
16    /// The ID of the person
17    #[serde(rename = "person_id")]
18    pub person_id: i32,
19}
20
21impl AddDealParticipantRequest {
22    pub fn new(person_id: i32) -> AddDealParticipantRequest {
23        AddDealParticipantRequest {
24            person_id,
25        }
26    }
27}
28
29