#[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 UnresolvedParameterizedNumRangesConditionV1 {
    #[builder(
        custom(type = super::super::super::compute::api::RangeSeries, convert = Box::new)
    )]
    #[serde(rename = "ranges")]
    ranges: Box<super::super::super::compute::api::RangeSeries>,
    #[builder(default, list(item(type = super::UnresolvedVariables)))]
    #[serde(rename = "implementations", skip_serializing_if = "Vec::is_empty", default)]
    implementations: Vec<super::UnresolvedVariables>,
}
impl UnresolvedParameterizedNumRangesConditionV1 {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(ranges: super::super::super::compute::api::RangeSeries) -> Self {
        Self::builder().ranges(ranges).build()
    }
    #[inline]
    pub fn ranges(&self) -> &super::super::super::compute::api::RangeSeries {
        &*self.ranges
    }
    /// Each permutation of check context in the list will be executed as a new a stand-alone check. Violations
    /// produced will be associated with the context of the index.
    #[inline]
    pub fn implementations(&self) -> &[super::UnresolvedVariables] {
        &*self.implementations
    }
}
