-
Notifications
You must be signed in to change notification settings - Fork 143
Expand file tree
/
Copy pathdata_event_summary.py
More file actions
42 lines (27 loc) · 1.05 KB
/
data_event_summary.py
File metadata and controls
42 lines (27 loc) · 1.05 KB
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
35
36
37
38
39
40
41
42
# 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
__all__ = ["DataEventSummary", "Event"]
class Event(BaseModel):
count: Optional[int] = None
"""The number of times the event was sent"""
description: Optional[str] = None
"""The description of the event"""
first: Optional[str] = None
"""The first time the event was sent"""
last: Optional[str] = None
"""The last time the event was sent"""
name: Optional[str] = None
"""The name of the event"""
class DataEventSummary(BaseModel):
email: Optional[str] = None
"""The email address of the user"""
events: Optional[List[Optional[Event]]] = None
"""A summary of data events"""
intercom_user_id: Optional[str] = None
"""The Intercom user ID of the user"""
type: Optional[Literal["event.summary"]] = None
"""The type of the object"""
user_id: Optional[str] = None
"""The user ID of the user"""