Source code for LOGS.Entities.FormatFormat

from typing import List, Optional

from LOGS.Auxiliary.Decorators import Endpoint
from LOGS.Entity.EntityWithStrId import EntityWithStrId
from LOGS.Interfaces.INamedEntity import INamedEntity


[docs] @Endpoint("formats") class FormatFormat(INamedEntity, EntityWithStrId): _description: Optional[str] _formatVersion: Optional[List[str]] @property def description(self) -> Optional[str]: return self._description @description.setter def description(self, value): self._description = self.checkAndConvertNullable(value, str, "description") @property def formatVersion(self) -> Optional[List[str]]: return self._formatVersion @formatVersion.setter def formatVersion(self, value): self._formatVersion = self.checkListAndConvertNullable( value, str, "formatVersion" )