forked from intercom/python-intercom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin_with_app.py
More file actions
84 lines (56 loc) · 2.24 KB
/
admin_with_app.py
File metadata and controls
84 lines (56 loc) · 2.24 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from .._models import BaseModel
__all__ = ["AdminWithApp", "App", "Avatar"]
class App(BaseModel):
created_at: Optional[int] = None
"""When the app was created."""
id_code: Optional[str] = None
"""The id of the app."""
identity_verification: Optional[bool] = None
"""Whether or not the app uses identity verification."""
name: Optional[str] = None
"""The name of the app."""
region: Optional[str] = None
"""The Intercom region the app is located in."""
timezone: Optional[str] = None
"""The timezone of the region where the app is located."""
type: Optional[str] = None
class Avatar(BaseModel):
image_url: Optional[str] = None
"""This object represents the avatar associated with the admin."""
type: Optional[str] = None
"""This is a string that identifies the type of the object.
It will always have the value `avatar`.
"""
class AdminWithApp(BaseModel):
id: Optional[str] = None
"""The id representing the admin."""
app: Optional[App] = None
"""App that the admin belongs to."""
avatar: Optional[Avatar] = None
"""This object represents the avatar associated with the admin."""
away_mode_enabled: Optional[bool] = None
"""Identifies if this admin is currently set in away mode."""
away_mode_reassign: Optional[bool] = None
"""
Identifies if this admin is set to automatically reassign new conversations to
the apps default inbox.
"""
email: Optional[str] = None
"""The email of the admin."""
email_verified: Optional[bool] = None
"""Identifies if this admin's email is verified."""
has_inbox_seat: Optional[bool] = None
"""
Identifies if this admin has a paid inbox seat to restrict/allow features that
require them.
"""
job_title: Optional[str] = None
"""The job title of the admin."""
name: Optional[str] = None
"""The name of the admin."""
team_ids: Optional[List[int]] = None
"""This is a list of ids of the teams that this admin is part of."""
type: Optional[str] = None
"""String representing the object's type. Always has the value `admin`."""