#[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 HeartbeatStreamingSessionRequest {
#[builder(custom(type = super::super::super::api::Range, convert = Box::new))]
#[serde(rename = "bounds")]
bounds: Box<super::super::super::api::Range>,
#[serde(rename = "pointsCount")]
points_count: i32,
}
impl HeartbeatStreamingSessionRequest {
#[inline]
pub fn new(bounds: super::super::super::api::Range, points_count: i32) -> Self {
Self::builder().bounds(bounds).points_count(points_count).build()
}
#[inline]
pub fn bounds(&self) -> &super::super::super::api::Range {
&*self.bounds
}
#[inline]
pub fn points_count(&self) -> i32 {
self.points_count
}
}