# This file was generated by liblab | https://liblab.com/

from __future__ import annotations
from .utils.json_map import JsonMap
from .base import BaseModel
from .game_highlights_game_center_2 import GameHighlightsGameCenter2


@JsonMap({"game_center": "gameCenter"})
class GameHighlights(BaseModel):
    """GameHighlights

    :param scoreboard: scoreboard, defaults to None
    :type scoreboard: GameHighlightsGameCenter2, optional
    :param game_center: game_center, defaults to None
    :type game_center: GameHighlightsGameCenter2, optional
    """

    def __init__(
        self,
        scoreboard: GameHighlightsGameCenter2 = None,
        game_center: GameHighlightsGameCenter2 = None,
    ):
        if scoreboard is not None:
            self.scoreboard = self._define_object(scoreboard, GameHighlightsGameCenter2)
        if game_center is not None:
            self.game_center = self._define_object(
                game_center, GameHighlightsGameCenter2
            )
