#[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 ChannelBlockListConnectionsScrapingConfig {
    #[builder(default, set(item(type = String, into)))]
    #[serde(
        rename = "channelBlockList",
        skip_serializing_if = "std::collections::BTreeSet::is_empty",
        default
    )]
    channel_block_list: std::collections::BTreeSet<String>,
}
impl ChannelBlockListConnectionsScrapingConfig {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    /// Only channels not in this set will be scraped. Must not be empty.
    #[inline]
    pub fn channel_block_list(&self) -> &std::collections::BTreeSet<String> {
        &self.channel_block_list
    }
}
