-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathobject.py
More file actions
32 lines (20 loc) · 871 Bytes
/
object.py
File metadata and controls
32 lines (20 loc) · 871 Bytes
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
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Dict, Optional
from datetime import datetime
from pydantic import Field as FieldInfo
from .._models import BaseModel
__all__ = ["Object"]
class Object(BaseModel):
"""A custom [Object](/concepts/objects) entity which belongs to a collection."""
id: str
"""Unique identifier for the object."""
api_typename: str = FieldInfo(alias="__typename")
"""The typename of the schema."""
collection: str
"""The collection this object belongs to."""
updated_at: datetime
"""The timestamp when the resource was last updated."""
created_at: Optional[datetime] = None
"""Timestamp when the resource was created."""
properties: Optional[Dict[str, object]] = None
"""The custom properties associated with the object."""