// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// The exported data as CSV, with its row and column counts.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct WorkflowExportPayloadResponse {
    /// CSV content
    pub csv_data: String,
    /// Data row count
    pub rows: i64,
    /// Column count including fixed columns
    pub columns: i64,
}
impl WorkflowExportPayloadResponse {
    /// Construct a new `WorkflowExportPayloadResponse` with the required fields set.
    #[allow(deprecated)]
    pub fn new(csv_data: impl Into<String>, rows: i64, columns: i64) -> Self {
        Self {
            csv_data: csv_data.into(),
            rows,
            columns,
        }
    }
}
