# Match

Module: `pyot.models.lor.match`

### *class* `Match`

Type: `PyotCore`

Definitions:

* `__init__` -> `None`
  * `id`: `str = empty`
  * `region`: `str = models.lor.DEFAULT_REGION`

Endpoints:

* `match_v1_match`: `['id']`

Attributes:

* `id` -> `str`
* `metadata` -> `pyot.models.lor.match.MatchMetaData`
* `info` -> `pyot.models.lor.match.MatchInfoData`

### *class* `MatchHistory`

Type: `PyotCore`

Definitions:

* `__init__` -> `None`
  * `puuid`: `str = empty`
  * `region`: `str = models.lor.DEFAULT_REGION`
* `__iter__` -> `Iterator[pyot.models.lor.match.Match]`
* `__len__` -> `int`

Endpoints:

* `match_v1_matchlist`: `['puuid']`

Attributes:

* `ids` -> `List[str]`
* `puuid` -> `str`

Properties:

* *property* `account` -> `Account`
* *property* `matches` -> `List[pyot.models.lor.match.Match]`

### *class* `MatchInfoData`

Type: `PyotStatic`

Attributes:

* `mode` -> `str`
* `type` -> `str`
* `start_time_strftime` -> `str`
* `version` -> `str`
* `players` -> `List[pyot.models.lor.match.MatchPlayerData]`
* `total_turn_count` -> `int`

Properties:

* *property* `start_time` -> `datetime.datetime`

### *class* `MatchMetaData`

Type: `PyotStatic`

Attributes:

* `data_version` -> `str`
* `match_id` -> `str`
* `participant_puuids` -> `List[str]`

Properties:

* *property* `participants` -> `List[ForwardRef(Account)]`

### *class* `MatchPlayerData`

Type: `PyotStatic`

Attributes:

* `puuid` -> `str`
* `deck_id` -> `str`
* `deck_code` -> `str`
* `factions` -> `List[str]`
* `game_outcome` -> `str`
* `order_of_play` -> `int`
* `win` -> `bool`

Properties:

* *property* `account` -> `Account`
* *property* `deck` -> `Deck`
