-
Notifications
You must be signed in to change notification settings - Fork 143
Expand file tree
/
Copy pathnote_list.py
More file actions
28 lines (20 loc) · 890 Bytes
/
note_list.py
File metadata and controls
28 lines (20 loc) · 890 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
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from ..._models import BaseModel
from ..shared.note import Note
from ..shared.cursor_pages import CursorPages
__all__ = ["NoteList"]
class NoteList(BaseModel):
data: Optional[List[Note]] = None
"""An array of notes."""
pages: Optional[CursorPages] = None
"""
Cursor-based pagination is a technique used in the Intercom API to navigate
through large amounts of data. A "cursor" or pointer is used to keep track of
the current position in the result set, allowing the API to return the data in
small chunks or "pages" as needed.
"""
total_count: Optional[int] = None
"""A count of the total number of notes."""
type: Optional[str] = None
"""String representing the object's type. Always has the value `list`."""