mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-14 02:58:10 +00:00
Adding timestamp to notification model to query from storage table. (#1043)
This commit is contained in:
@ -541,6 +541,7 @@ NotificationTemplate = Union[ADOTemplate, TeamsTemplate, GithubIssueTemplate]
|
|||||||
|
|
||||||
|
|
||||||
class Notification(BaseModel):
|
class Notification(BaseModel):
|
||||||
|
timestamp: Optional[datetime] = Field(alias="Timestamp")
|
||||||
container: Container
|
container: Container
|
||||||
notification_id: UUID = Field(default_factory=uuid4)
|
notification_id: UUID = Field(default_factory=uuid4)
|
||||||
config: NotificationTemplate
|
config: NotificationTemplate
|
||||||
|
Reference in New Issue
Block a user