proxycurl_linkedin_rs/models/
acquisitor.rs

1/*
2 * Proxycurl API
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#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct Acquisitor {
13    ///          LinkedIn Company Profile URL of company that was involved         
14    #[serde(
15        rename = "linkedin_profile_url",
16        default,
17        with = "::serde_with::rust::double_option",
18        skip_serializing_if = "Option::is_none"
19    )]
20    pub linkedin_profile_url: Option<Option<String>>,
21    /// Crunchbase Profile URL of company that was involved
22    #[serde(
23        rename = "crunchbase_profile_url",
24        default,
25        with = "::serde_with::rust::double_option",
26        skip_serializing_if = "Option::is_none"
27    )]
28    pub crunchbase_profile_url: Option<Option<String>>,
29    #[serde(rename = "announced_date", skip_serializing_if = "Option::is_none")]
30    pub announced_date: Option<Box<crate::models::Date>>,
31    /// Price of acquisition
32    #[serde(
33        rename = "price",
34        default,
35        with = "::serde_with::rust::double_option",
36        skip_serializing_if = "Option::is_none"
37    )]
38    pub price: Option<Option<i32>>,
39}
40
41impl Acquisitor {
42    pub fn new() -> Acquisitor {
43        Acquisitor {
44            linkedin_profile_url: None,
45            crunchbase_profile_url: None,
46            announced_date: None,
47            price: None,
48        }
49    }
50}