/*
 * Hotdata API
 *
 * Powerful data platform API for datasets, queries, and analytics.
 *
 * The version of the OpenAPI document: 1.0.0
 * Contact: developers@hotdata.dev
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// InlineDatasetSource : Create dataset from inline data (small payloads)
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InlineDatasetSource {
    #[serde(rename = "inline")]
    pub inline: Box<models::InlineData>,
}

impl InlineDatasetSource {
    /// Create dataset from inline data (small payloads)
    pub fn new(inline: models::InlineData) -> InlineDatasetSource {
        InlineDatasetSource {
            inline: Box::new(inline),
        }
    }
}
