/*
 * 
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct LolClashRosterMatchAggregatedStats {
    #[serde(rename = "durationMs", skip_serializing_if = "Option::is_none")]
    pub duration_ms: Option<i64>,
    #[serde(rename = "gameId", skip_serializing_if = "Option::is_none")]
    pub game_id: Option<i64>,
    #[serde(rename = "kills", skip_serializing_if = "Option::is_none")]
    pub kills: Option<i32>,
    #[serde(rename = "loserBracket", skip_serializing_if = "Option::is_none")]
    pub loser_bracket: Option<bool>,
    #[serde(rename = "opponentIconColorId", skip_serializing_if = "Option::is_none")]
    pub opponent_icon_color_id: Option<i32>,
    #[serde(rename = "opponentIconId", skip_serializing_if = "Option::is_none")]
    pub opponent_icon_id: Option<i32>,
    #[serde(rename = "opponentKills", skip_serializing_if = "Option::is_none")]
    pub opponent_kills: Option<i32>,
    #[serde(rename = "opponentShortName", skip_serializing_if = "Option::is_none")]
    pub opponent_short_name: Option<String>,
    #[serde(rename = "playerChampionIds", skip_serializing_if = "Option::is_none")]
    pub player_champion_ids: Option<::std::collections::HashMap<String, i32>>,
    #[serde(rename = "round", skip_serializing_if = "Option::is_none")]
    pub round: Option<i32>,
    #[serde(rename = "win", skip_serializing_if = "Option::is_none")]
    pub win: Option<bool>,
}

impl LolClashRosterMatchAggregatedStats {
    pub fn new() -> LolClashRosterMatchAggregatedStats {
        LolClashRosterMatchAggregatedStats {
            duration_ms: None,
            game_id: None,
            kills: None,
            loser_bracket: None,
            opponent_icon_color_id: None,
            opponent_icon_id: None,
            opponent_kills: None,
            opponent_short_name: None,
            player_champion_ids: None,
            round: None,
            win: None,
        }
    }
}


