def to_dict(self, include_empty: bool=False) -> dict:
    result: dict = {}
    if hasattr(self, 'max_number'):
        result['maxNumber'] = int(self.max_number)
    elif include_empty:
        result['maxNumber'] = 0
    if hasattr(self, 'min_number'):
        result['minNumber'] = int(self.min_number)
    elif include_empty:
        result['minNumber'] = 0
    if hasattr(self, 'player_max_number'):
        result['playerMaxNumber'] = int(self.player_max_number)
    elif include_empty:
        result['playerMaxNumber'] = 0
    if hasattr(self, 'player_min_number'):
        result['playerMinNumber'] = int(self.player_min_number)
    elif include_empty:
        result['playerMinNumber'] = 0
    return result
def to_dict(self, include_empty: bool=False) -> dict:
    result: dict = {}
    if hasattr(self, 'max_number'):
        result['maxNumber'] = int(self.max_number)
    elif include_empty:
        result['maxNumber'] = 0
    if hasattr(self, 'min_number'):
        result['minNumber'] = int(self.min_number)
    elif include_empty:
        result['minNumber'] = 0
    if hasattr(self, 'player_max_number'):
        result['playerMaxNumber'] = int(self.player_max_number)
    elif include_empty:
        result['playerMaxNumber'] = 0
    if hasattr(self, 'player_min_number'):
        result['playerMinNumber'] = int(self.player_min_number)
    elif include_empty:
        result['playerMinNumber'] = 0
    return result