new api service and logic implemented
This commit is contained in:
30
Events/AllEvents/validations/validation/models.py
Normal file
30
Events/AllEvents/validations/validation/models.py
Normal file
@@ -0,0 +1,30 @@
|
||||
"""
|
||||
Validation records request and response models.
|
||||
"""
|
||||
|
||||
from typing import TYPE_CHECKING, Dict, Any
|
||||
from pydantic import BaseModel, Field, RootModel
|
||||
from ApiEvents.base_request_model import BaseRequestModel
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from ApiValidations.Request import (
|
||||
ListOptions,
|
||||
)
|
||||
|
||||
|
||||
class ValidationsPydantic(BaseModel):
|
||||
class_model: str
|
||||
reachable_event_code: str
|
||||
lang: str
|
||||
|
||||
|
||||
class InsertValidationRecordRequestModel(BaseRequestModel):
|
||||
pass
|
||||
|
||||
|
||||
class UpdateValidationRecordRequestModel(BaseRequestModel):
|
||||
pass
|
||||
|
||||
|
||||
class ListOptionsValidationRecordRequestModel(BaseRequestModel):
|
||||
pass
|
||||
Reference in New Issue
Block a user