-
Notifications
You must be signed in to change notification settings - Fork 143
Expand file tree
/
Copy pathticket_list.py
More file actions
29 lines (21 loc) · 928 Bytes
/
ticket_list.py
File metadata and controls
29 lines (21 loc) · 928 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.ticket import Ticket
from .shared.cursor_pages import CursorPages
__all__ = ["TicketList"]
class TicketList(BaseModel):
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.
"""
tickets: Optional[List[Optional[Ticket]]] = None
"""The list of ticket objects"""
total_count: Optional[int] = None
"""A count of the total number of objects."""
type: Optional[Literal["ticket.list"]] = None
"""Always ticket.list"""