/*
 * 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 GetRedditFlairs200ResponseFlairsInner {
    /// Flair ID to pass as flairId in platformSpecificData
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    /// Flair display text
    #[serde(rename = "text", skip_serializing_if = "Option::is_none")]
    pub text: Option<String>,
    /// Text color: 'dark' or 'light'
    #[serde(rename = "textColor", skip_serializing_if = "Option::is_none")]
    pub text_color: Option<String>,
    /// Background hex color (e.g. '#ff4500')
    #[serde(rename = "backgroundColor", skip_serializing_if = "Option::is_none")]
    pub background_color: Option<String>,
}

impl GetRedditFlairs200ResponseFlairsInner {
    pub fn new() -> GetRedditFlairs200ResponseFlairsInner {
        GetRedditFlairs200ResponseFlairsInner {
            id: None,
            text: None,
            text_color: None,
            background_color: None,
        }
    }
}
