#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    conjure_object::private::DeriveWith
)]
#[serde(crate = "conjure_object::serde")]
#[derive_with(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct TimeDomainChannel {
    #[builder(into)]
    #[serde(rename = "columnName")]
    column_name: String,
    #[builder(
        custom(type = super::super::super::compute::api::Series, convert = Box::new)
    )]
    #[serde(rename = "computeNode")]
    compute_node: Box<super::super::super::compute::api::Series>,
}
impl TimeDomainChannel {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        column_name: impl Into<String>,
        compute_node: super::super::super::compute::api::Series,
    ) -> Self {
        Self::builder().column_name(column_name).compute_node(compute_node).build()
    }
    #[inline]
    pub fn column_name(&self) -> &str {
        &*self.column_name
    }
    #[inline]
    pub fn compute_node(&self) -> &super::super::super::compute::api::Series {
        &*self.compute_node
    }
}
