#[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 UpdateIngestStatusV2 {
    #[builder(
        custom(type = super::super::super::api::IngestStatusV2, convert = Box::new)
    )]
    #[serde(rename = "status")]
    status: Box<super::super::super::api::IngestStatusV2>,
    #[serde(rename = "datasetUuid")]
    dataset_uuid: conjure_object::Uuid,
}
impl UpdateIngestStatusV2 {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        status: super::super::super::api::IngestStatusV2,
        dataset_uuid: conjure_object::Uuid,
    ) -> Self {
        Self::builder().status(status).dataset_uuid(dataset_uuid).build()
    }
    #[inline]
    pub fn status(&self) -> &super::super::super::api::IngestStatusV2 {
        &*self.status
    }
    #[inline]
    pub fn dataset_uuid(&self) -> conjure_object::Uuid {
        self.dataset_uuid
    }
}
