camunda_client/models/
problem_dto.rs

1/*
2 * Camunda BPM REST API
3 *
4 * OpenApi Spec for Camunda BPM REST API.
5 *
6 * The version of the OpenAPI document: 7.13.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ProblemDto {
16    /// The message of the problem.
17    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
18    pub message: Option<String>,
19    /// The line where the problem occurred.
20    #[serde(rename = "line", skip_serializing_if = "Option::is_none")]
21    pub line: Option<i32>,
22    /// The column where the problem occurred.
23    #[serde(rename = "column", skip_serializing_if = "Option::is_none")]
24    pub column: Option<i32>,
25    /// The main element id where the problem occurred.
26    #[serde(rename = "mainElementId", skip_serializing_if = "Option::is_none")]
27    pub main_element_id: Option<String>,
28    /// A list of element id affected by the problem.
29    #[serde(rename = "elementIds", skip_serializing_if = "Option::is_none")]
30    pub element_ids: Option<Vec<String>>,
31}
32
33impl ProblemDto {
34    pub fn new() -> ProblemDto {
35        ProblemDto {
36            message: None,
37            line: None,
38            column: None,
39            main_element_id: None,
40            element_ids: None,
41        }
42    }
43}
44
45