/// Deprecated - use ChartPanel instead
#[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 VizPanelV1 {
    #[serde(rename = "id")]
    id: super::PanelId,
    #[serde(rename = "vizId")]
    viz_id: super::super::super::rids::api::VizId,
    #[serde(rename = "hideLegend")]
    hide_legend: bool,
}
impl VizPanelV1 {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        id: super::PanelId,
        viz_id: super::super::super::rids::api::VizId,
        hide_legend: bool,
    ) -> Self {
        Self::builder().id(id).viz_id(viz_id).hide_legend(hide_legend).build()
    }
    #[inline]
    pub fn id(&self) -> &super::PanelId {
        &self.id
    }
    #[inline]
    pub fn viz_id(&self) -> &super::super::super::rids::api::VizId {
        &self.viz_id
    }
    #[inline]
    pub fn hide_legend(&self) -> bool {
        self.hide_legend
    }
}
