/// Metadata about a dataset.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct DatasetMetadata {
    #[builder(custom(type = super::StreamingSupport, convert = Box::new))]
    #[serde(rename = "streamingSupport")]
    streaming_support: Box<super::StreamingSupport>,
}
impl DatasetMetadata {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(streaming_support: super::StreamingSupport) -> Self {
        Self::builder().streaming_support(streaming_support).build()
    }
    #[inline]
    pub fn streaming_support(&self) -> &super::StreamingSupport {
        &*self.streaming_support
    }
}
