camunda_client/models/
start_process_instance_form_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 StartProcessInstanceFormDto {
16    #[serde(rename = "variables", skip_serializing_if = "Option::is_none")]
17    pub variables: Option<::std::collections::HashMap<String, crate::models::VariableValueDto>>,
18    /// The business key the process instance is to be initialized with. The business key uniquely identifies the process instance in the context of the given process definition.
19    #[serde(rename = "businessKey", skip_serializing_if = "Option::is_none")]
20    pub business_key: Option<String>,
21}
22
23impl StartProcessInstanceFormDto {
24    pub fn new() -> StartProcessInstanceFormDto {
25        StartProcessInstanceFormDto {
26            variables: None,
27            business_key: None,
28        }
29    }
30}
31
32