thehive_client/models/
input_update_case_page.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 InputUpdateCasePage {
16    #[serde(rename = "title", skip_serializing_if = "Option::is_none")]
17    pub title: Option<String>,
18    #[serde(rename = "content", skip_serializing_if = "Option::is_none")]
19    pub content: Option<String>,
20    #[serde(rename = "category", skip_serializing_if = "Option::is_none")]
21    pub category: Option<String>,
22    #[serde(rename = "order", skip_serializing_if = "Option::is_none")]
23    pub order: Option<i32>,
24}
25
26impl InputUpdateCasePage {
27    pub fn new() -> InputUpdateCasePage {
28        InputUpdateCasePage {
29            title: None,
30            content: None,
31            category: None,
32            order: None,
33        }
34    }
35}
36