/// Attempting to batch update video files with an invalid request shape.
#[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 InvalidVideoFileBatchUpdateRequest {
    #[serde(rename = "videoRid")]
    video_rid: conjure_object::ResourceIdentifier,
    #[builder(into)]
    #[serde(rename = "reason")]
    reason: String,
}
impl InvalidVideoFileBatchUpdateRequest {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        video_rid: conjure_object::ResourceIdentifier,
        reason: impl Into<String>,
    ) -> Self {
        Self::builder().video_rid(video_rid).reason(reason).build()
    }
    #[inline]
    pub fn video_rid(&self) -> &conjure_object::ResourceIdentifier {
        &self.video_rid
    }
    #[inline]
    pub fn reason(&self) -> &str {
        &*self.reason
    }
}
impl conjure_error::ErrorType for InvalidVideoFileBatchUpdateRequest {
    #[inline]
    fn code() -> conjure_error::ErrorCode {
        conjure_error::ErrorCode::InvalidArgument
    }
    #[inline]
    fn name() -> &'static str {
        "Video:InvalidVideoFileBatchUpdateRequest"
    }
    #[inline]
    fn safe_args() -> &'static [&'static str] {
        &["reason", "videoRid"]
    }
}
