initial commit
This commit is contained in:
27
src/komgapi/schemas/Thumbnail.py
Normal file
27
src/komgapi/schemas/Thumbnail.py
Normal file
@@ -0,0 +1,27 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import List
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class Thumbnail(BaseModel):
|
||||
id: str
|
||||
seriesId: str
|
||||
type: str
|
||||
selected: bool
|
||||
mediaType: str
|
||||
fileSize: int
|
||||
width: int
|
||||
height: int
|
||||
|
||||
|
||||
class ReadlistThumbnail(BaseModel):
|
||||
id: str
|
||||
readlistId: str
|
||||
type: str
|
||||
selected: bool
|
||||
mediaType: str
|
||||
fileSize: int
|
||||
width: int
|
||||
height: int
|
||||
Reference in New Issue
Block a user