#[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 VideoFileNotFound {
    #[serde(rename = "videoFileRid")]
    video_file_rid: conjure_object::ResourceIdentifier,
    #[serde(rename = "fileId")]
    file_id: super::super::super::super::objects::datasource::VideoFileId,
}
impl VideoFileNotFound {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        video_file_rid: conjure_object::ResourceIdentifier,
        file_id: super::super::super::super::objects::datasource::VideoFileId,
    ) -> Self {
        Self::builder().video_file_rid(video_file_rid).file_id(file_id).build()
    }
    #[inline]
    pub fn video_file_rid(&self) -> &conjure_object::ResourceIdentifier {
        &self.video_file_rid
    }
    #[inline]
    pub fn file_id(
        &self,
    ) -> super::super::super::super::objects::datasource::VideoFileId {
        self.file_id
    }
}
impl conjure_error::ErrorType for VideoFileNotFound {
    #[inline]
    fn code() -> conjure_error::ErrorCode {
        conjure_error::ErrorCode::NotFound
    }
    #[inline]
    fn name() -> &'static str {
        "Catalog:VideoFileNotFound"
    }
    #[inline]
    fn safe_args() -> &'static [&'static str] {
        &["fileId", "videoFileRid"]
    }
}
