-
Notifications
You must be signed in to change notification settings - Fork 143
Expand file tree
/
Copy pathcontact_list.py
More file actions
29 lines (21 loc) · 907 Bytes
/
contact_list.py
File metadata and controls
29 lines (21 loc) · 907 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
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from typing_extensions import Literal
from .._models import BaseModel
from .shared.contact import Contact
from .shared.cursor_pages import CursorPages
__all__ = ["ContactList"]
class ContactList(BaseModel):
data: Optional[List[Contact]] = None
"""The list of contact objects"""
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 objects."""
type: Optional[Literal["list"]] = None
"""Always list"""