nominal-api 0.1239.0

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