Skip to main content

orvanta_api/models/
bpmn_flow_version.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: 1.6.0
7 * Contact: contact@orvanta.cloud
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct BpmnFlowVersion {
16    #[serde(rename = "id")]
17    pub id: i32,
18    #[serde(rename = "created_at")]
19    pub created_at: String,
20}
21
22impl BpmnFlowVersion {
23    pub fn new(id: i32, created_at: String) -> BpmnFlowVersion {
24        BpmnFlowVersion {
25            id,
26            created_at,
27        }
28    }
29}
30