2019-12-14 21:33:04 +00:00
|
|
|
from jsonmodels.fields import BoolField, DateTimeField, StringField
|
|
|
|
from jsonmodels.models import Base
|
|
|
|
|
|
|
|
|
|
|
|
class ReportStatsOptionRequest(Base):
|
|
|
|
enabled = BoolField(default=None, nullable=True)
|
|
|
|
|
|
|
|
|
2024-02-13 14:15:55 +00:00
|
|
|
class GetConfigRequest(Base):
|
|
|
|
path = StringField()
|
|
|
|
|
|
|
|
|
2019-12-14 21:33:04 +00:00
|
|
|
class ReportStatsOptionResponse(Base):
|
|
|
|
supported = BoolField(default=True)
|
|
|
|
enabled = BoolField()
|
|
|
|
enabled_time = DateTimeField(nullable=True)
|
|
|
|
enabled_version = StringField(nullable=True)
|
|
|
|
enabled_user = StringField(nullable=True)
|
2019-12-14 21:52:39 +00:00
|
|
|
current_version = StringField()
|