15 lines
399 B
Python
15 lines
399 B
Python
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)
|
|
git_tags_enabled: bool = False
|
|
message: str = ""
|