revanced-releases-api/modules/ResponseFields.py
2022-08-30 01:14:45 -03:00

28 lines
671 B
Python

from enum import Enum
class LatestToolsFields(str, Enum):
"""Implements the fields for the /tools endpoint.
Args:
str (str): String
Enum (Enum): Enum from pydantic
"""
repository = 'repository'
name = 'name'
size = 'size'
browser_download_url = 'browser_download_url'
content_type = 'content_type'
class SimplifiedPatchesFields(str, Enum):
"""Implements the fields for the /patches endpoint.
Args:
str (str): String
Enum (Enum): Enum from pydantic
"""
target_app = "target_app"
patch_name = "patch_name"
description = "description"
target_version = "target_version"