// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct WorkflowTableRow {
    pub id: String,
    /// Defaults to `{}`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub data: Option<std::collections::HashMap<String, serde_json::Value>>,
    pub position: i64,
}
impl WorkflowTableRow {
    /// Construct a new `WorkflowTableRow` with the required fields set.
    #[allow(deprecated)]
    pub fn new(id: impl Into<String>, position: i64) -> Self {
        Self {
            id: id.into(),
            data: Default::default(),
            position,
        }
    }
}
