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