fastcomments-sdk 3.0.1

Official FastComments Rust SDK (Typed API Client & Utilities)
Documentation
/*
 * fastcomments
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::client::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FCommentMeta {
    #[serde(rename = "wpId", skip_serializing_if = "Option::is_none")]
    pub wp_id: Option<String>,
    #[serde(rename = "wpUserId", skip_serializing_if = "Option::is_none")]
    pub wp_user_id: Option<String>,
    #[serde(rename = "wpPostId", skip_serializing_if = "Option::is_none")]
    pub wp_post_id: Option<String>,
}

impl FCommentMeta {
    pub fn new() -> FCommentMeta {
        FCommentMeta {
            wp_id: None,
            wp_user_id: None,
            wp_post_id: None,
        }
    }
}