2026-07-14 01:38:41 +00:00
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PolicySaveRequest(BaseModel):
|
|
|
|
|
app_id: str = ""
|
|
|
|
|
channel: str = ""
|
|
|
|
|
force_update: bool = False
|
|
|
|
|
allow_rollback: bool = False
|
|
|
|
|
offline_allowed: bool = False
|
|
|
|
|
valid_until: str = ""
|
|
|
|
|
min_supported_version: str = ""
|
|
|
|
|
disabled_versions: list[str] = Field(default_factory=list)
|
2026-07-20 06:45:26 +00:00
|
|
|
git_tags_enabled: bool = False
|
2026-07-14 01:38:41 +00:00
|
|
|
message: str = ""
|