mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-06 03:23:25 +00:00
12 lines
263 B
Python
12 lines
263 B
Python
import datetime
|
|
from pydantic import BaseModel
|
|
|
|
from selfprivacy_api.graphql.common_types.backup import BackupReason
|
|
|
|
|
|
class Snapshot(BaseModel):
|
|
id: str
|
|
service_name: str
|
|
created_at: datetime.datetime
|
|
reason: BackupReason = BackupReason.EXPLICIT
|