#[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 RunWithDataReviewSummary {
    #[builder(custom(type = super::Run, convert = Box::new))]
    #[serde(rename = "run")]
    run: Box<super::Run>,
    #[builder(custom(type = super::RunDataReviewSummary, convert = Box::new))]
    #[serde(rename = "dataReviewSummary")]
    data_review_summary: Box<super::RunDataReviewSummary>,
}
impl RunWithDataReviewSummary {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        run: super::Run,
        data_review_summary: super::RunDataReviewSummary,
    ) -> Self {
        Self::builder().run(run).data_review_summary(data_review_summary).build()
    }
    #[inline]
    pub fn run(&self) -> &super::Run {
        &*self.run
    }
    #[inline]
    pub fn data_review_summary(&self) -> &super::RunDataReviewSummary {
        &*self.data_review_summary
    }
}
