orvanta-api 3.0.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.0.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 MigrateBpmnInstanceRequest {
    #[serde(rename = "target_version")]
    pub target_version: i64,
    /// validate and report, write nothing
    #[serde(rename = "dry_run", skip_serializing_if = "Option::is_none")]
    pub dry_run: Option<bool>,
}

impl MigrateBpmnInstanceRequest {
    pub fn new(target_version: i64) -> MigrateBpmnInstanceRequest {
        MigrateBpmnInstanceRequest {
            target_version,
            dry_run: None,
        }
    }
}