Update api spec (#293)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
cde3af8385
commit
d5448c9e2f
30
kittycad/models/shortlink.py
Normal file
30
kittycad/models/shortlink.py
Normal file
@ -0,0 +1,30 @@
|
||||
import datetime
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
|
||||
from ..models.uuid import Uuid
|
||||
|
||||
|
||||
class Shortlink(BaseModel):
|
||||
"""A short url."""
|
||||
|
||||
created_at: datetime.datetime
|
||||
|
||||
id: Uuid
|
||||
|
||||
key: str
|
||||
|
||||
org_id: Optional[Uuid] = None
|
||||
|
||||
password_hash: Optional[str] = None
|
||||
|
||||
restrict_to_org: bool = False
|
||||
|
||||
updated_at: datetime.datetime
|
||||
|
||||
user_id: Uuid
|
||||
|
||||
value: str
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
Reference in New Issue
Block a user