use crate::client::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FindCommentsByRangeResponse {
#[serde(rename = "results")]
pub results: Vec<models::FindCommentsByRangeItem>,
#[serde(rename = "createdAt")]
pub created_at: chrono::DateTime<chrono::FixedOffset>,
}
impl FindCommentsByRangeResponse {
pub fn new(results: Vec<models::FindCommentsByRangeItem>, created_at: chrono::DateTime<chrono::FixedOffset>) -> FindCommentsByRangeResponse {
FindCommentsByRangeResponse {
results,
created_at,
}
}
}