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

from __future__ import annotations
from typing import List
from .utils.json_map import JsonMap
from .base import BaseModel
from .division import Division


@JsonMap({})
class Divisions(BaseModel):
    """Divisions

    :param copyright: copyright, defaults to None
    :type copyright: str, optional
    :param teams: teams, defaults to None
    :type teams: List[Division], optional
    """

    def __init__(self, copyright: str = None, teams: List[Division] = None):
        if copyright is not None:
            self.copyright = copyright
        if teams is not None:
            self.teams = self._define_list(teams, Division)
