use crate::client::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCommentTextResponse {
#[serde(rename = "comment", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub comment: Option<Option<String>>,
#[serde(rename = "status")]
pub status: models::ApiStatus,
}
impl GetCommentTextResponse {
pub fn new(status: models::ApiStatus) -> GetCommentTextResponse {
GetCommentTextResponse {
comment: None,
status,
}
}
}