-
Notifications
You must be signed in to change notification settings - Fork 143
Expand file tree
/
Copy pathnote.py
More file actions
36 lines (23 loc) · 955 Bytes
/
note.py
File metadata and controls
36 lines (23 loc) · 955 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
33
34
35
36
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from .admin import Admin
from ..._models import BaseModel
__all__ = ["Note", "Contact"]
class Contact(BaseModel):
id: Optional[str] = None
"""The id of the contact."""
type: Optional[str] = None
"""String representing the object's type. Always has the value `contact`."""
class Note(BaseModel):
id: Optional[str] = None
"""The id of the note."""
author: Optional[Admin] = None
"""Optional. Represents the Admin that created the note."""
body: Optional[str] = None
"""The body text of the note."""
contact: Optional[Contact] = None
"""Represents the contact that the note was created about."""
created_at: Optional[int] = None
"""The time the note was created."""
type: Optional[str] = None
"""String representing the object's type. Always has the value `note`."""