/*
 * 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 UpdateDiscordSettings200ResponseAccount {
    #[serde(rename = "_id", skip_serializing_if = "Option::is_none")]
    pub _id: Option<String>,
    #[serde(rename = "platform", skip_serializing_if = "Option::is_none")]
    pub platform: Option<String>,
    #[serde(rename = "username", skip_serializing_if = "Option::is_none")]
    pub username: Option<String>,
    #[serde(rename = "displayName", skip_serializing_if = "Option::is_none")]
    pub display_name: Option<String>,
    #[serde(rename = "profilePicture", skip_serializing_if = "Option::is_none")]
    pub profile_picture: Option<String>,
    #[serde(rename = "channelId", skip_serializing_if = "Option::is_none")]
    pub channel_id: Option<String>,
    #[serde(rename = "channelName", skip_serializing_if = "Option::is_none")]
    pub channel_name: Option<String>,
    #[serde(rename = "channelType", skip_serializing_if = "Option::is_none")]
    pub channel_type: Option<String>,
    #[serde(rename = "guildId", skip_serializing_if = "Option::is_none")]
    pub guild_id: Option<String>,
    #[serde(rename = "webhookUsername", skip_serializing_if = "Option::is_none")]
    pub webhook_username: Option<String>,
    #[serde(rename = "webhookAvatarUrl", skip_serializing_if = "Option::is_none")]
    pub webhook_avatar_url: Option<String>,
}

impl UpdateDiscordSettings200ResponseAccount {
    pub fn new() -> UpdateDiscordSettings200ResponseAccount {
        UpdateDiscordSettings200ResponseAccount {
            _id: None,
            platform: None,
            username: None,
            display_name: None,
            profile_picture: None,
            channel_id: None,
            channel_name: None,
            channel_type: None,
            guild_id: None,
            webhook_username: None,
            webhook_avatar_url: None,
        }
    }
}
