Files
kittycad.py/kittycad/models/api_token.py
zoo-github-actions-auth[bot] 8bebb40c9f Update api spec (#186)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-16 15:04:35 -08:00

29 lines
472 B
Python

import datetime
from typing import Optional
from pydantic import BaseModel, ConfigDict
from ..models.uuid import Uuid
class ApiToken(BaseModel):
"""An API token.
These are used to authenticate users with Bearer authentication."""
created_at: datetime.datetime
id: Uuid
is_valid: bool
label: Optional[str] = None
token: Uuid
updated_at: datetime.datetime
user_id: Uuid
model_config = ConfigDict(protected_namespaces=())