thehive_client/models/
input_update_task_log.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 InputUpdateTaskLog {
16    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
17    pub message: Option<String>,
18    #[serde(rename = "includeInTimeline", skip_serializing_if = "Option::is_none")]
19    pub include_in_timeline: Option<bool>,
20}
21
22impl InputUpdateTaskLog {
23    pub fn new() -> InputUpdateTaskLog {
24        InputUpdateTaskLog {
25            message: None,
26            include_in_timeline: None,
27        }
28    }
29}
30