mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-27 06:21:28 +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
|