// 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 WorkflowTableFilterRule {
    pub column: String,
    pub operator: WorkflowTableFilterOperator,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub value: Option<serde_json::Value>,
}
impl WorkflowTableFilterRule {
    /// Construct a new `WorkflowTableFilterRule` with the required fields set.
    #[allow(deprecated)]
    pub fn new(column: impl Into<String>, operator: WorkflowTableFilterOperator) -> Self {
        Self {
            column: column.into(),
            operator,
            value: Default::default(),
        }
    }
}
