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