use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SendPrivateReplyToComment200Response {
#[serde(rename = "status", skip_serializing_if = "Option::is_none")]
pub status: Option<String>,
#[serde(rename = "messageId", skip_serializing_if = "Option::is_none")]
pub message_id: Option<String>,
#[serde(rename = "commentId", skip_serializing_if = "Option::is_none")]
pub comment_id: Option<String>,
#[serde(rename = "platform", skip_serializing_if = "Option::is_none")]
pub platform: Option<Platform>,
}
impl SendPrivateReplyToComment200Response {
pub fn new() -> SendPrivateReplyToComment200Response {
SendPrivateReplyToComment200Response {
status: None,
message_id: None,
comment_id: None,
platform: None,
}
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Platform {
#[serde(rename = "instagram")]
Instagram,
#[serde(rename = "facebook")]
Facebook,
}
impl Default for Platform {
fn default() -> Platform {
Self::Instagram
}
}