#[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 UpdateIngestStatusRequest {
    #[serde(rename = "video")]
    video: conjure_object::ResourceIdentifier,
    #[builder(custom(type = super::VideoFileIngestStatus, convert = Box::new))]
    #[serde(rename = "ingestStatus")]
    ingest_status: Box<super::VideoFileIngestStatus>,
}
impl UpdateIngestStatusRequest {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        video: conjure_object::ResourceIdentifier,
        ingest_status: super::VideoFileIngestStatus,
    ) -> Self {
        Self::builder().video(video).ingest_status(ingest_status).build()
    }
    #[inline]
    pub fn video(&self) -> &conjure_object::ResourceIdentifier {
        &self.video
    }
    #[inline]
    pub fn ingest_status(&self) -> &super::VideoFileIngestStatus {
        &*self.ingest_status
    }
}
