orvanta-api 3.2.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.2.0
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BpmnMigrationMappingActivitiesInner {
    /// an element id in the source version
    #[serde(rename = "from")]
    pub from: String,
    /// an element id in the target version
    #[serde(rename = "to")]
    pub to: String,
}

impl BpmnMigrationMappingActivitiesInner {
    pub fn new(from: String, to: String) -> BpmnMigrationMappingActivitiesInner {
        BpmnMigrationMappingActivitiesInner {
            from,
            to,
        }
    }
}