-
Notifications
You must be signed in to change notification settings - Fork 143
Expand file tree
/
Copy pathsegment.py
More file actions
34 lines (22 loc) · 911 Bytes
/
segment.py
File metadata and controls
34 lines (22 loc) · 911 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
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from typing_extensions import Literal
from .._models import BaseModel
__all__ = ["Segment"]
class Segment(BaseModel):
id: Optional[str] = None
"""The unique identifier representing the segment."""
count: Optional[int] = None
"""The number of items in the user segment.
It's returned when `include_count=true` is included in the request.
"""
created_at: Optional[int] = None
"""The time the segment was created."""
name: Optional[str] = None
"""The name of the segment."""
person_type: Optional[Literal["contact", "user"]] = None
"""Type of the contact: contact (lead) or user."""
type: Optional[Literal["segment"]] = None
"""The type of object."""
updated_at: Optional[int] = None
"""The time the segment was updated."""