Files
kittycad.py/kittycad/models/create_shortlink_request.py
zoo-github-actions-auth[bot] 79bf86abe7 Update api spec (#302)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-10 16:56:30 -07:00

16 lines
297 B
Python

from typing import Optional
from pydantic import BaseModel, ConfigDict
class CreateShortlinkRequest(BaseModel):
"""Request to create a shortlink."""
password: Optional[str] = None
restrict_to_org: bool = False
url: str
model_config = ConfigDict(protected_namespaces=())