use crate::client::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CombineQuestionResultsWithCommentsResponse {
#[serde(rename = "status")]
pub status: models::ApiStatus,
#[serde(rename = "data")]
pub data: Box<models::FindCommentsByRangeResponse>,
}
impl CombineQuestionResultsWithCommentsResponse {
pub fn new(status: models::ApiStatus, data: models::FindCommentsByRangeResponse) -> CombineQuestionResultsWithCommentsResponse {
CombineQuestionResultsWithCommentsResponse {
status,
data: Box::new(data),
}
}
}