/*
 * Zernio API
 *
 * API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
 *
 * The version of the OpenAPI document: 1.0.4
 * Contact: support@zernio.com
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetLinkedInPostReactions200ResponseReactionsInner {
    /// LinkedIn reaction enum (LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION, ENTERTAINMENT)
    #[serde(rename = "reactionType", skip_serializing_if = "Option::is_none")]
    pub reaction_type: Option<String>,
    /// User-friendly label (Like, Celebrate, Love, Insightful, Support, Funny)
    #[serde(rename = "reactionLabel", skip_serializing_if = "Option::is_none")]
    pub reaction_label: Option<String>,
    #[serde(rename = "reactedAt", skip_serializing_if = "Option::is_none")]
    pub reacted_at: Option<String>,
    #[serde(rename = "from", skip_serializing_if = "Option::is_none")]
    pub from: Option<Box<models::GetLinkedInPostReactions200ResponseReactionsInnerFrom>>,
}

impl GetLinkedInPostReactions200ResponseReactionsInner {
    pub fn new() -> GetLinkedInPostReactions200ResponseReactionsInner {
        GetLinkedInPostReactions200ResponseReactionsInner {
            reaction_type: None,
            reaction_label: None,
            reacted_at: None,
            from: None,
        }
    }
}
