forked from digitalocean/gradient-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi_model.py
More file actions
45 lines (30 loc) · 1.13 KB
/
api_model.py
File metadata and controls
45 lines (30 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from datetime import datetime
from .._models import BaseModel
from .api_agreement import APIAgreement
from .api_model_version import APIModelVersion
__all__ = ["APIModel"]
class APIModel(BaseModel):
id: Optional[str] = None
"""Human-readable model identifier"""
agreement: Optional[APIAgreement] = None
"""Agreement Description"""
created_at: Optional[datetime] = None
"""Creation date / time"""
is_foundational: Optional[bool] = None
"""True if it is a foundational model provided by do"""
name: Optional[str] = None
"""Display name of the model"""
parent_uuid: Optional[str] = None
"""Unique id of the model, this model is based on"""
updated_at: Optional[datetime] = None
"""Last modified"""
upload_complete: Optional[bool] = None
"""Model has been fully uploaded"""
url: Optional[str] = None
"""Download url"""
uuid: Optional[str] = None
"""Unique id"""
version: Optional[APIModelVersion] = None
"""Version Information about a Model"""