#[derive(
Debug,
Clone,
conjure_object::serde::Serialize,
conjure_object::serde::Deserialize,
PartialEq,
Eq,
PartialOrd,
Ord,
Hash,
Copy
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct Ping {
#[serde(rename = "sentAt")]
sent_at: conjure_object::DateTime<conjure_object::Utc>,
}
impl Ping {
#[inline]
pub fn new(sent_at: conjure_object::DateTime<conjure_object::Utc>) -> Self {
Self::builder().sent_at(sent_at).build()
}
#[inline]
pub fn sent_at(&self) -> conjure_object::DateTime<conjure_object::Utc> {
self.sent_at
}
}