from dataclasses import dataclass
from enum import Enum
from typing import List, Optional
from LOGS.Entity.SerializeableContent import SerializeableClass, SerializeableContent
[docs]
class DatasetSourceType(Enum):
ManualUpload = 0
SFTPAutoload = 1
ClientAutoload = 2
APIUpload = 3
[docs]
@dataclass
class DatasetSource(SerializeableClass):
id: Optional[int] = None
type: Optional[DatasetSourceType] = None
name: Optional[str] = None
[docs]
class ViewableEntityTypes(Enum):
ELN = "ELN"
CustomField = "CustomField"