1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-15 08:36:13 +01:00
github.com_openSUSE_osc/osc/obs_api/request_action_options.py

28 lines
632 B
Python

from ..util.models import * # pylint: disable=wildcard-import,unused-wildcard-import
class RequestActionOptions(XmlModel):
XML_TAG = "options"
class SourceupdateEnum(str, Enum):
UPDATE = "update"
NOUPDATE = "noupdate"
CLEANUP = "cleanup"
sourceupdate: Optional[SourceupdateEnum] = Field(
)
class UpdatelinkEnum(str, Enum):
TRUE = "true"
FALSE = "false"
updatelink: Optional[UpdatelinkEnum] = Field(
)
class MakeoriginolderEnum(str, Enum):
TRUE = "true"
FALSE = "false"
makeoriginolder: Optional[MakeoriginolderEnum] = Field(
)