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