#[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 ListStreamingChecklistForAssetRequest {
    #[serde(rename = "assetRid")]
    asset_rid: super::super::super::rids::api::AssetRid,
    #[builder(default, into)]
    #[serde(rename = "pageSize", skip_serializing_if = "Option::is_none", default)]
    page_size: Option<i32>,
    #[builder(default, into)]
    #[serde(rename = "pageToken", skip_serializing_if = "Option::is_none", default)]
    page_token: Option<conjure_object::Uuid>,
}
impl ListStreamingChecklistForAssetRequest {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(asset_rid: super::super::super::rids::api::AssetRid) -> Self {
        Self::builder().asset_rid(asset_rid).build()
    }
    #[inline]
    pub fn asset_rid(&self) -> &super::super::super::rids::api::AssetRid {
        &self.asset_rid
    }
    /// Page sizes greater than 10_000 will be rejected. Default pageSize is 100.
    #[inline]
    pub fn page_size(&self) -> Option<i32> {
        self.page_size.as_ref().map(|o| *o)
    }
    #[inline]
    pub fn page_token(&self) -> Option<conjure_object::Uuid> {
        self.page_token.as_ref().map(|o| *o)
    }
}
