#[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 VideoFileIngestDetails {
    #[builder(default, into)]
    #[serde(
        rename = "fileDescription",
        skip_serializing_if = "Option::is_none",
        default
    )]
    file_description: Option<String>,
    #[builder(default, into)]
    #[serde(rename = "fileProperties", skip_serializing_if = "Option::is_none", default)]
    file_properties: Option<std::collections::BTreeMap<String, String>>,
    #[builder(default, into)]
    #[serde(rename = "fileLabels", skip_serializing_if = "Option::is_none", default)]
    file_labels: Option<std::collections::BTreeSet<String>>,
}
impl VideoFileIngestDetails {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    /// Description that is applied to the newly created video file.
    /// If not provided, defaults to the description used to create the video.
    #[inline]
    pub fn file_description(&self) -> Option<&str> {
        self.file_description.as_ref().map(|o| &**o)
    }
    /// Key-Value properties that are applied to the newly created video file.
    #[deprecated(
        note = "Field is ignored as video files do not have properties.\nWill be removed after 4/5/2025\n"
    )]
    #[inline]
    pub fn file_properties(
        &self,
    ) -> Option<&std::collections::BTreeMap<String, String>> {
        self.file_properties.as_ref().map(|o| &*o)
    }
    /// Labels that are applied to the newly created video file.
    #[deprecated(
        note = "Field is ignored as video files do not have labels.\nWill be removed after 4/5/2025\n"
    )]
    #[inline]
    pub fn file_labels(&self) -> Option<&std::collections::BTreeSet<String>> {
        self.file_labels.as_ref().map(|o| &*o)
    }
}
