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