thehive_client/models/
input_organisation_link.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct InputOrganisationLink {
16 #[serde(rename = "linkType", skip_serializing_if = "Option::is_none")]
17 pub link_type: Option<String>,
18 #[serde(rename = "otherLinkType", skip_serializing_if = "Option::is_none")]
19 pub other_link_type: Option<String>,
20}
21
22impl InputOrganisationLink {
23 pub fn new() -> InputOrganisationLink {
24 InputOrganisationLink {
25 link_type: None,
26 other_link_type: None,
27 }
28 }
29}
30