camunda_client/models/
patch_variables_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 PatchVariablesDto {
16    /// A JSON object containing variable key-value pairs.
17    #[serde(rename = "modifications", skip_serializing_if = "Option::is_none")]
18    pub modifications: Option<::std::collections::HashMap<String, crate::models::VariableValueDto>>,
19    /// An array of String keys of variables to be deleted.
20    #[serde(rename = "deletions", skip_serializing_if = "Option::is_none")]
21    pub deletions: Option<Vec<String>>,
22}
23
24impl PatchVariablesDto {
25    pub fn new() -> PatchVariablesDto {
26        PatchVariablesDto {
27            modifications: None,
28            deletions: None,
29        }
30    }
31}
32
33