pyke.models.summoner_v4

 1# generated by datamodel-codegen:
 2#   filename:  schema.json
 3#   timestamp: 2025-10-19T17:24:31+00:00
 4
 5from __future__ import annotations
 6
 7from typing import Optional
 8
 9from pydantic import BaseModel, Field
10
11
12class SummonerDTO(BaseModel):
13    """@public"""
14
15    profile_icon_id: int = Field(
16        ...,
17        alias="profileIconId",
18        description="ID of the summoner icon associated with the summoner.",
19    )
20    revision_date: int = Field(
21        ...,
22        alias="revisionDate",
23        description="Date summoner was last modified specified as epoch milliseconds. The following events will update this timestamp: profile icon change, playing the tutorial or advanced tutorial, finishing a game, summoner name change.",
24    )
25    puuid: str = Field(
26        ..., description="Encrypted PUUID. Exact length of 78 characters."
27    )
28    summoner_level: int = Field(
29        ...,
30        alias="summonerLevel",
31        description="Summoner level associated with the summoner.",
32    )
33    id: Optional[str] = Field(
34        None,
35        description="Encrypted summoner ID. This field is deprecated and will be removed. Use `puuid` instead.",
36    )
class SummonerDTO(pydantic.main.BaseModel):
13class SummonerDTO(BaseModel):
14    """@public"""
15
16    profile_icon_id: int = Field(
17        ...,
18        alias="profileIconId",
19        description="ID of the summoner icon associated with the summoner.",
20    )
21    revision_date: int = Field(
22        ...,
23        alias="revisionDate",
24        description="Date summoner was last modified specified as epoch milliseconds. The following events will update this timestamp: profile icon change, playing the tutorial or advanced tutorial, finishing a game, summoner name change.",
25    )
26    puuid: str = Field(
27        ..., description="Encrypted PUUID. Exact length of 78 characters."
28    )
29    summoner_level: int = Field(
30        ...,
31        alias="summonerLevel",
32        description="Summoner level associated with the summoner.",
33    )
34    id: Optional[str] = Field(
35        None,
36        description="Encrypted summoner ID. This field is deprecated and will be removed. Use `puuid` instead.",
37    )

profile_icon_id: int
revision_date: int
puuid: str
summoner_level: int
id: Optional[str]
model_config: ClassVar[pydantic.config.ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].