-
Notifications
You must be signed in to change notification settings - Fork 143
Expand file tree
/
Copy pathcompany_list.py
More file actions
29 lines (21 loc) · 924 Bytes
/
company_list.py
File metadata and controls
29 lines (21 loc) · 924 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.company import Company
from .shared.cursor_pages import CursorPages
__all__ = ["CompanyList"]
class CompanyList(BaseModel):
data: Optional[List[Company]] = None
"""An array containing Company 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
"""The total number of companies."""
type: Optional[Literal["list"]] = None
"""The type of object - `list`."""