/// A field to save additional column names on log panels with support for multiple variables
#[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 LogChannel {
    #[serde(rename = "logChannelVariableName")]
    log_channel_variable_name: super::super::super::channelvariables::api::ChannelVariableName,
    #[builder(default, list(item(type = super::LogColumnName)))]
    #[serde(
        rename = "visibleLogColumnNames",
        skip_serializing_if = "Vec::is_empty",
        default
    )]
    visible_log_column_names: Vec<super::LogColumnName>,
    #[builder(default)]
    #[serde(
        rename = "tagFilters",
        skip_serializing_if = "std::collections::BTreeMap::is_empty",
        default
    )]
    tag_filters: super::LogTagFilter,
}
impl LogChannel {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        log_channel_variable_name: super::super::super::channelvariables::api::ChannelVariableName,
    ) -> Self {
        Self::builder().log_channel_variable_name(log_channel_variable_name).build()
    }
    #[inline]
    pub fn log_channel_variable_name(
        &self,
    ) -> &super::super::super::channelvariables::api::ChannelVariableName {
        &self.log_channel_variable_name
    }
    #[inline]
    pub fn visible_log_column_names(&self) -> &[super::LogColumnName] {
        &*self.visible_log_column_names
    }
    #[inline]
    pub fn tag_filters(&self) -> &super::LogTagFilter {
        &self.tag_filters
    }
}
