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