/*
 * 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.1
 * 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 GetLinkedInPostReactions200ResponseReactionsInnerFrom {
    /// LinkedIn person or organization URN
    #[serde(rename = "urn", skip_serializing_if = "Option::is_none")]
    pub urn: Option<String>,
    /// Reactor's display name
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Reactor's headline/job title
    #[serde(rename = "headline", skip_serializing_if = "Option::is_none")]
    pub headline: Option<String>,
    /// LinkedIn vanity name
    #[serde(rename = "username", skip_serializing_if = "Option::is_none")]
    pub username: Option<String>,
    /// Profile picture URL
    #[serde(rename = "profilePicture", skip_serializing_if = "Option::is_none")]
    pub profile_picture: Option<String>,
    /// Direct link to LinkedIn profile
    #[serde(rename = "profileUrl", skip_serializing_if = "Option::is_none")]
    pub profile_url: Option<String>,
}

impl GetLinkedInPostReactions200ResponseReactionsInnerFrom {
    pub fn new() -> GetLinkedInPostReactions200ResponseReactionsInnerFrom {
        GetLinkedInPostReactions200ResponseReactionsInnerFrom {
            urn: None,
            name: None,
            headline: None,
            username: None,
            profile_picture: None,
            profile_url: None,
        }
    }
}
