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