/*
* Orvanta API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 3.1.0
* Contact: contact@orvanta.cloud
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// BpmnMigrationMapping : An operator's assertion about how a source version's elements correspond to a target version's (#925). Elements not named here are implicitly mapped to their own id -- and are then subject to every rule an explicit mapping is. 1:1 only: 1:N is deliberately not representable (it would require the engine to synthesize tokens, and inside an inclusive region the `JoinState` that `inclusive_join` never creates), and N:1 is representable only so that it can be refused with a reason.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BpmnMigrationMapping {
#[serde(rename = "activities", skip_serializing_if = "Option::is_none")]
pub activities: Option<Vec<models::BpmnMigrationMappingActivitiesInner>>,
}
impl BpmnMigrationMapping {
/// An operator's assertion about how a source version's elements correspond to a target version's (#925). Elements not named here are implicitly mapped to their own id -- and are then subject to every rule an explicit mapping is. 1:1 only: 1:N is deliberately not representable (it would require the engine to synthesize tokens, and inside an inclusive region the `JoinState` that `inclusive_join` never creates), and N:1 is representable only so that it can be refused with a reason.
pub fn new() -> BpmnMigrationMapping {
BpmnMigrationMapping {
activities: None,
}
}
}