#[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 SplitPanelV1 {
    #[serde(rename = "id")]
    id: super::PanelId,
    #[serde(rename = "orientation")]
    orientation: super::SplitPanelOrientation,
    #[builder(custom(type = super::Panel, convert = Box::new))]
    #[serde(rename = "sideOne")]
    side_one: Box<super::Panel>,
    #[builder(custom(type = super::Panel, convert = Box::new))]
    #[serde(rename = "sideTwo")]
    side_two: Box<super::Panel>,
}
impl SplitPanelV1 {
    #[inline]
    pub fn id(&self) -> &super::PanelId {
        &self.id
    }
    #[inline]
    pub fn orientation(&self) -> &super::SplitPanelOrientation {
        &self.orientation
    }
    #[inline]
    pub fn side_one(&self) -> &super::Panel {
        &*self.side_one
    }
    #[inline]
    pub fn side_two(&self) -> &super::Panel {
        &*self.side_two
    }
}
