#[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 StopStreamingChecklistForAssetsRequest {
    #[serde(rename = "checklist")]
    checklist: super::super::super::rids::api::ChecklistRid,
    #[builder(default, set(item(type = super::super::super::rids::api::AssetRid)))]
    #[serde(
        rename = "assets",
        skip_serializing_if = "std::collections::BTreeSet::is_empty",
        default
    )]
    assets: std::collections::BTreeSet<super::super::super::rids::api::AssetRid>,
}
impl StopStreamingChecklistForAssetsRequest {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(checklist: super::super::super::rids::api::ChecklistRid) -> Self {
        Self::builder().checklist(checklist).build()
    }
    #[inline]
    pub fn checklist(&self) -> &super::super::super::rids::api::ChecklistRid {
        &self.checklist
    }
    #[inline]
    pub fn assets(
        &self,
    ) -> &std::collections::BTreeSet<super::super::super::rids::api::AssetRid> {
        &self.assets
    }
}
