#[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 ComputeNodeFromReferenceRequest {
    #[builder(custom(type = super::ComputableNode, convert = Box::new))]
    #[serde(rename = "node")]
    node: Box<super::ComputableNode>,
    #[builder(
        custom(type = super::super::super::super::api::Timestamp, convert = Box::new)
    )]
    #[serde(rename = "referenceTs")]
    reference_ts: Box<super::super::super::super::api::Timestamp>,
    #[serde(rename = "pageSize")]
    page_size: i32,
    #[builder(custom(type = super::Context, convert = Box::new))]
    #[serde(rename = "context")]
    context: Box<super::Context>,
}
impl ComputeNodeFromReferenceRequest {
    #[inline]
    pub fn node(&self) -> &super::ComputableNode {
        &*self.node
    }
    #[inline]
    pub fn reference_ts(&self) -> &super::super::super::super::api::Timestamp {
        &*self.reference_ts
    }
    #[inline]
    pub fn page_size(&self) -> i32 {
        self.page_size
    }
    #[inline]
    pub fn context(&self) -> &super::Context {
        &*self.context
    }
}
