nominal-api-conjure 0.1353.0

Conjure HTTP API bindings for the Nominal platform
Documentation
#[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 DocumentPanel {
    #[builder(custom(type = super::NodeDimension, convert = Box::new))]
    #[serde(rename = "dimension")]
    dimension: Box<super::NodeDimension>,
    #[builder(default, into)]
    #[serde(
        rename = "timeRangeInputId",
        skip_serializing_if = "Option::is_none",
        default
    )]
    time_range_input_id: Option<conjure_object::Uuid>,
}
impl DocumentPanel {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(dimension: super::NodeDimension) -> Self {
        Self::builder().dimension(dimension).build()
    }
    #[inline]
    pub fn dimension(&self) -> &super::NodeDimension {
        &*self.dimension
    }
    #[inline]
    pub fn time_range_input_id(&self) -> Option<conjure_object::Uuid> {
        self.time_range_input_id.as_ref().map(|o| *o)
    }
}