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