Skip to content

Gold pass season

GoldPassSeason

Bases: BaseModel

gold pass season model

Source code in pyclasher/api/models/gold_pass_season.py
 5
 6
 7
 8
 9
10
11
12
13
14
class GoldPassSeason(BaseModel):
    @property
    def start_time(self):
        return Time.from_str(self._get_data('startTime'))

    pass

    @property
    def end_time(self):
        return Time.from_str(self._get_data('endTime'))

end_time: Time property

gold pass end time

:return: the gold pass end time :rtype: Time

start_time: Time property

gold pass start time

:return: the gold pass start time :rtype: Time