2023-11-28 23:50:50 -08:00
|
|
|
from typing import Optional
|
2023-04-06 15:34:57 -07:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
from pydantic import BaseModel
|
2023-04-06 15:34:57 -07:00
|
|
|
|
|
|
|
from ..models.ai_plugin_api_type import AiPluginApiType
|
|
|
|
|
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
class AiPluginApi(BaseModel):
|
|
|
|
"""AI plugin api information."""
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
is_user_authenticated: Optional[bool] = None
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
type: Optional[AiPluginApiType] = None
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
url: str
|