#[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 ValueTableGridValueTableCell {
    #[serde(rename = "row")]
    row: i32,
    #[serde(rename = "column")]
    column: i32,
    #[builder(custom(type = super::ValueTableCell, convert = Box::new))]
    #[serde(rename = "cell")]
    cell: Box<super::ValueTableCell>,
}
impl ValueTableGridValueTableCell {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(row: i32, column: i32, cell: super::ValueTableCell) -> Self {
        Self::builder().row(row).column(column).cell(cell).build()
    }
    #[inline]
    pub fn row(&self) -> i32 {
        self.row
    }
    #[inline]
    pub fn column(&self) -> i32 {
        self.column
    }
    #[inline]
    pub fn cell(&self) -> &super::ValueTableCell {
        &*self.cell
    }
}
