Skip to main content

orvanta_api/models/
start_bpmn_instance.rs

1/*
2 * Orvanta API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 3.0.0
7 * Contact: contact@orvanta.cloud
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// StartBpmnInstance : initial process variables, seeded into the root scope
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct StartBpmnInstance {
17    /// Start variables for this instance, addressed by the process as `flow_input.<name>`. Shape them after the flow's `schema`.
18    #[serde(rename = "flow_input", skip_serializing_if = "Option::is_none")]
19    pub flow_input: Option<std::collections::HashMap<String, serde_json::Value>>,
20}
21
22impl StartBpmnInstance {
23    /// initial process variables, seeded into the root scope
24    pub fn new() -> StartBpmnInstance {
25        StartBpmnInstance {
26            flow_input: None,
27        }
28    }
29}
30