use crate::client::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCommentVoteUserNamesSuccessResponse {
#[serde(rename = "status")]
pub status: models::ApiStatus,
#[serde(rename = "voteUserNames")]
pub vote_user_names: Vec<String>,
#[serde(rename = "hasMore")]
pub has_more: bool,
}
impl GetCommentVoteUserNamesSuccessResponse {
pub fn new(status: models::ApiStatus, vote_user_names: Vec<String>, has_more: bool) -> GetCommentVoteUserNamesSuccessResponse {
GetCommentVoteUserNamesSuccessResponse {
status,
vote_user_names,
has_more,
}
}
}