camunda_client/models/
execution_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 ExecutionDto {
16    /// The id of the Execution.
17    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
18    pub id: Option<String>,
19    /// The id of the root of the execution tree representing the process instance.
20    #[serde(rename = "processInstanceId", skip_serializing_if = "Option::is_none")]
21    pub process_instance_id: Option<String>,
22    /// Indicates if the execution is ended.
23    #[serde(rename = "ended", skip_serializing_if = "Option::is_none")]
24    pub ended: Option<bool>,
25    /// The id of the tenant this execution belongs to. Can be `null` if the execution belongs to no single tenant.
26    #[serde(rename = "tenantId", skip_serializing_if = "Option::is_none")]
27    pub tenant_id: Option<String>,
28}
29
30impl ExecutionDto {
31    pub fn new() -> ExecutionDto {
32        ExecutionDto {
33            id: None,
34            process_instance_id: None,
35            ended: None,
36            tenant_id: None,
37        }
38    }
39}
40
41