thehive_client/models/
input_bulk_organisation_link.rs

1/*
2 * TheHive API
3 *
4 * Comprehensive OpenAPI specification inferred from the TheHive4py client library. This API allows interaction with TheHive platform for managing alerts, cases, observables, tasks, users, and other entities. 
5 *
6 * The version of the OpenAPI document: 2.1.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct InputBulkOrganisationLink {
16    #[serde(rename = "toOrganisation")]
17    pub to_organisation: String,
18    #[serde(rename = "linkType")]
19    pub link_type: String,
20    #[serde(rename = "otherLinkType")]
21    pub other_link_type: String,
22}
23
24impl InputBulkOrganisationLink {
25    pub fn new(to_organisation: String, link_type: String, other_link_type: String) -> InputBulkOrganisationLink {
26        InputBulkOrganisationLink {
27            to_organisation,
28            link_type,
29            other_link_type,
30        }
31    }
32}
33