nominal-api-conjure 0.1291.0

Conjure HTTP API bindings for the Nominal platform
Documentation
/// Metadata update for a single video file in a batch update.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    conjure_object::private::DeriveWith
)]
#[serde(crate = "conjure_object::serde")]
#[derive_with(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct VideoFileUpdate {
    #[serde(rename = "videoFileRid")]
    video_file_rid: conjure_object::ResourceIdentifier,
    #[builder(custom(type = super::UpdateVideoFileRequest, convert = Box::new))]
    #[serde(rename = "request")]
    request: Box<super::UpdateVideoFileRequest>,
}
impl VideoFileUpdate {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        video_file_rid: conjure_object::ResourceIdentifier,
        request: super::UpdateVideoFileRequest,
    ) -> Self {
        Self::builder().video_file_rid(video_file_rid).request(request).build()
    }
    #[inline]
    pub fn video_file_rid(&self) -> &conjure_object::ResourceIdentifier {
        &self.video_file_rid
    }
    #[inline]
    pub fn request(&self) -> &super::UpdateVideoFileRequest {
        &*self.request
    }
}