thehive_client/models/
bulk_delete_alerts_request.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 BulkDeleteAlertsRequest {
16    #[serde(rename = "ids")]
17    pub ids: Vec<String>,
18}
19
20impl BulkDeleteAlertsRequest {
21    pub fn new(ids: Vec<String>) -> BulkDeleteAlertsRequest {
22        BulkDeleteAlertsRequest {
23            ids,
24        }
25    }
26}
27