ultracart-rest-sdk 3.11.51__py3-none-any.whl → 3.11.55__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ultracart/__init__.py +19 -0
- ultracart/api/conversation_api.py +210 -0
- ultracart/api_client.py +1 -1
- ultracart/configuration.py +1 -1
- ultracart/models/__init__.py +19 -0
- ultracart/models/conversation_pbx_agent.py +29 -1
- ultracart/models/conversation_pbx_call.py +697 -0
- ultracart/models/conversation_pbx_call_agent.py +341 -0
- ultracart/models/conversation_pbx_call_ai_cost.py +201 -0
- ultracart/models/conversation_pbx_call_ai_engagement.py +373 -0
- ultracart/models/conversation_pbx_call_ai_tool_call.py +341 -0
- ultracart/models/conversation_pbx_call_ai_whisper.py +201 -0
- ultracart/models/conversation_pbx_call_caller.py +229 -0
- ultracart/models/conversation_pbx_call_financial.py +285 -0
- ultracart/models/conversation_pbx_call_hold.py +201 -0
- ultracart/models/conversation_pbx_call_queue.py +257 -0
- ultracart/models/conversation_pbx_call_recording.py +283 -0
- ultracart/models/conversation_pbx_call_response.py +221 -0
- ultracart/models/conversation_pbx_call_routing.py +171 -0
- ultracart/models/conversation_pbx_call_search_request.py +537 -0
- ultracart/models/conversation_pbx_call_search_response.py +223 -0
- ultracart/models/conversation_pbx_call_timeline.py +257 -0
- ultracart/models/conversation_pbx_call_transcript.py +285 -0
- ultracart/models/conversation_pbx_call_transcript_segment.py +291 -0
- ultracart/models/conversation_pbx_call_transfer.py +229 -0
- ultracart/models/conversation_pbx_phone_number.py +29 -1
- {ultracart_rest_sdk-3.11.51.dist-info → ultracart_rest_sdk-3.11.55.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-3.11.51.dist-info → ultracart_rest_sdk-3.11.55.dist-info}/RECORD +31 -12
- {ultracart_rest_sdk-3.11.51.dist-info → ultracart_rest_sdk-3.11.55.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-3.11.51.dist-info → ultracart_rest_sdk-3.11.55.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-3.11.51.dist-info → ultracart_rest_sdk-3.11.55.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,697 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
UltraCart Rest API V2
|
|
5
|
+
|
|
6
|
+
UltraCart REST API Version 2 # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 2.0.0
|
|
9
|
+
Contact: support@ultracart.com
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class ConversationPbxCall(object):
|
|
21
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
22
|
+
|
|
23
|
+
Do not edit the class manually.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
"""
|
|
27
|
+
Attributes:
|
|
28
|
+
swagger_types (dict): The key is attribute name
|
|
29
|
+
and the value is attribute type.
|
|
30
|
+
attribute_map (dict): The key is attribute name
|
|
31
|
+
and the value is json key in definition.
|
|
32
|
+
"""
|
|
33
|
+
swagger_types = {
|
|
34
|
+
'account_sid': 'str',
|
|
35
|
+
'agents': 'list[ConversationPbxCallAgent]',
|
|
36
|
+
'ai_agent_engagements': 'list[ConversationPbxCallAiEngagement]',
|
|
37
|
+
'call_sid': 'str',
|
|
38
|
+
'call_uuid': 'str',
|
|
39
|
+
'caller': 'ConversationPbxCallCaller',
|
|
40
|
+
'conference_sid': 'str',
|
|
41
|
+
'created_at_dts': 'str',
|
|
42
|
+
'customer_name': 'str',
|
|
43
|
+
'customer_profile_oid': 'str',
|
|
44
|
+
'disposition': 'str',
|
|
45
|
+
'email': 'str',
|
|
46
|
+
'financial': 'ConversationPbxCallFinancial',
|
|
47
|
+
'holds': 'list[ConversationPbxCallHold]',
|
|
48
|
+
'merchant_id': 'str',
|
|
49
|
+
'recording_sids': 'list[str]',
|
|
50
|
+
'recordings': 'list[ConversationPbxCallRecording]',
|
|
51
|
+
'routing': 'ConversationPbxCallRouting',
|
|
52
|
+
'status': 'str',
|
|
53
|
+
'timeline': 'ConversationPbxCallTimeline',
|
|
54
|
+
'transfers': 'list[ConversationPbxCallTransfer]',
|
|
55
|
+
'updated_at_dts': 'str'
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
attribute_map = {
|
|
59
|
+
'account_sid': 'account_sid',
|
|
60
|
+
'agents': 'agents',
|
|
61
|
+
'ai_agent_engagements': 'ai_agent_engagements',
|
|
62
|
+
'call_sid': 'call_sid',
|
|
63
|
+
'call_uuid': 'call_uuid',
|
|
64
|
+
'caller': 'caller',
|
|
65
|
+
'conference_sid': 'conference_sid',
|
|
66
|
+
'created_at_dts': 'created_at_dts',
|
|
67
|
+
'customer_name': 'customer_name',
|
|
68
|
+
'customer_profile_oid': 'customer_profile_oid',
|
|
69
|
+
'disposition': 'disposition',
|
|
70
|
+
'email': 'email',
|
|
71
|
+
'financial': 'financial',
|
|
72
|
+
'holds': 'holds',
|
|
73
|
+
'merchant_id': 'merchant_id',
|
|
74
|
+
'recording_sids': 'recording_sids',
|
|
75
|
+
'recordings': 'recordings',
|
|
76
|
+
'routing': 'routing',
|
|
77
|
+
'status': 'status',
|
|
78
|
+
'timeline': 'timeline',
|
|
79
|
+
'transfers': 'transfers',
|
|
80
|
+
'updated_at_dts': 'updated_at_dts'
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
def __init__(self, account_sid=None, agents=None, ai_agent_engagements=None, call_sid=None, call_uuid=None, caller=None, conference_sid=None, created_at_dts=None, customer_name=None, customer_profile_oid=None, disposition=None, email=None, financial=None, holds=None, merchant_id=None, recording_sids=None, recordings=None, routing=None, status=None, timeline=None, transfers=None, updated_at_dts=None): # noqa: E501
|
|
84
|
+
"""ConversationPbxCall - a model defined in Swagger""" # noqa: E501
|
|
85
|
+
|
|
86
|
+
self._account_sid = None
|
|
87
|
+
self._agents = None
|
|
88
|
+
self._ai_agent_engagements = None
|
|
89
|
+
self._call_sid = None
|
|
90
|
+
self._call_uuid = None
|
|
91
|
+
self._caller = None
|
|
92
|
+
self._conference_sid = None
|
|
93
|
+
self._created_at_dts = None
|
|
94
|
+
self._customer_name = None
|
|
95
|
+
self._customer_profile_oid = None
|
|
96
|
+
self._disposition = None
|
|
97
|
+
self._email = None
|
|
98
|
+
self._financial = None
|
|
99
|
+
self._holds = None
|
|
100
|
+
self._merchant_id = None
|
|
101
|
+
self._recording_sids = None
|
|
102
|
+
self._recordings = None
|
|
103
|
+
self._routing = None
|
|
104
|
+
self._status = None
|
|
105
|
+
self._timeline = None
|
|
106
|
+
self._transfers = None
|
|
107
|
+
self._updated_at_dts = None
|
|
108
|
+
self.discriminator = None
|
|
109
|
+
|
|
110
|
+
if account_sid is not None:
|
|
111
|
+
self.account_sid = account_sid
|
|
112
|
+
if agents is not None:
|
|
113
|
+
self.agents = agents
|
|
114
|
+
if ai_agent_engagements is not None:
|
|
115
|
+
self.ai_agent_engagements = ai_agent_engagements
|
|
116
|
+
if call_sid is not None:
|
|
117
|
+
self.call_sid = call_sid
|
|
118
|
+
if call_uuid is not None:
|
|
119
|
+
self.call_uuid = call_uuid
|
|
120
|
+
if caller is not None:
|
|
121
|
+
self.caller = caller
|
|
122
|
+
if conference_sid is not None:
|
|
123
|
+
self.conference_sid = conference_sid
|
|
124
|
+
if created_at_dts is not None:
|
|
125
|
+
self.created_at_dts = created_at_dts
|
|
126
|
+
if customer_name is not None:
|
|
127
|
+
self.customer_name = customer_name
|
|
128
|
+
if customer_profile_oid is not None:
|
|
129
|
+
self.customer_profile_oid = customer_profile_oid
|
|
130
|
+
if disposition is not None:
|
|
131
|
+
self.disposition = disposition
|
|
132
|
+
if email is not None:
|
|
133
|
+
self.email = email
|
|
134
|
+
if financial is not None:
|
|
135
|
+
self.financial = financial
|
|
136
|
+
if holds is not None:
|
|
137
|
+
self.holds = holds
|
|
138
|
+
if merchant_id is not None:
|
|
139
|
+
self.merchant_id = merchant_id
|
|
140
|
+
if recording_sids is not None:
|
|
141
|
+
self.recording_sids = recording_sids
|
|
142
|
+
if recordings is not None:
|
|
143
|
+
self.recordings = recordings
|
|
144
|
+
if routing is not None:
|
|
145
|
+
self.routing = routing
|
|
146
|
+
if status is not None:
|
|
147
|
+
self.status = status
|
|
148
|
+
if timeline is not None:
|
|
149
|
+
self.timeline = timeline
|
|
150
|
+
if transfers is not None:
|
|
151
|
+
self.transfers = transfers
|
|
152
|
+
if updated_at_dts is not None:
|
|
153
|
+
self.updated_at_dts = updated_at_dts
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
def account_sid(self):
|
|
157
|
+
"""Gets the account_sid of this ConversationPbxCall. # noqa: E501
|
|
158
|
+
|
|
159
|
+
Twilio account SID # noqa: E501
|
|
160
|
+
|
|
161
|
+
:return: The account_sid of this ConversationPbxCall. # noqa: E501
|
|
162
|
+
:rtype: str
|
|
163
|
+
"""
|
|
164
|
+
return self._account_sid
|
|
165
|
+
|
|
166
|
+
@account_sid.setter
|
|
167
|
+
def account_sid(self, account_sid):
|
|
168
|
+
"""Sets the account_sid of this ConversationPbxCall.
|
|
169
|
+
|
|
170
|
+
Twilio account SID # noqa: E501
|
|
171
|
+
|
|
172
|
+
:param account_sid: The account_sid of this ConversationPbxCall. # noqa: E501
|
|
173
|
+
:type: str
|
|
174
|
+
"""
|
|
175
|
+
|
|
176
|
+
self._account_sid = account_sid
|
|
177
|
+
|
|
178
|
+
@property
|
|
179
|
+
def agents(self):
|
|
180
|
+
"""Gets the agents of this ConversationPbxCall. # noqa: E501
|
|
181
|
+
|
|
182
|
+
List of agents who participated in this call # noqa: E501
|
|
183
|
+
|
|
184
|
+
:return: The agents of this ConversationPbxCall. # noqa: E501
|
|
185
|
+
:rtype: list[ConversationPbxCallAgent]
|
|
186
|
+
"""
|
|
187
|
+
return self._agents
|
|
188
|
+
|
|
189
|
+
@agents.setter
|
|
190
|
+
def agents(self, agents):
|
|
191
|
+
"""Sets the agents of this ConversationPbxCall.
|
|
192
|
+
|
|
193
|
+
List of agents who participated in this call # noqa: E501
|
|
194
|
+
|
|
195
|
+
:param agents: The agents of this ConversationPbxCall. # noqa: E501
|
|
196
|
+
:type: list[ConversationPbxCallAgent]
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
self._agents = agents
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
def ai_agent_engagements(self):
|
|
203
|
+
"""Gets the ai_agent_engagements of this ConversationPbxCall. # noqa: E501
|
|
204
|
+
|
|
205
|
+
List of AI agent engagements during the call # noqa: E501
|
|
206
|
+
|
|
207
|
+
:return: The ai_agent_engagements of this ConversationPbxCall. # noqa: E501
|
|
208
|
+
:rtype: list[ConversationPbxCallAiEngagement]
|
|
209
|
+
"""
|
|
210
|
+
return self._ai_agent_engagements
|
|
211
|
+
|
|
212
|
+
@ai_agent_engagements.setter
|
|
213
|
+
def ai_agent_engagements(self, ai_agent_engagements):
|
|
214
|
+
"""Sets the ai_agent_engagements of this ConversationPbxCall.
|
|
215
|
+
|
|
216
|
+
List of AI agent engagements during the call # noqa: E501
|
|
217
|
+
|
|
218
|
+
:param ai_agent_engagements: The ai_agent_engagements of this ConversationPbxCall. # noqa: E501
|
|
219
|
+
:type: list[ConversationPbxCallAiEngagement]
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
self._ai_agent_engagements = ai_agent_engagements
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
def call_sid(self):
|
|
226
|
+
"""Gets the call_sid of this ConversationPbxCall. # noqa: E501
|
|
227
|
+
|
|
228
|
+
Twilio call SID for the primary (customer) call leg # noqa: E501
|
|
229
|
+
|
|
230
|
+
:return: The call_sid of this ConversationPbxCall. # noqa: E501
|
|
231
|
+
:rtype: str
|
|
232
|
+
"""
|
|
233
|
+
return self._call_sid
|
|
234
|
+
|
|
235
|
+
@call_sid.setter
|
|
236
|
+
def call_sid(self, call_sid):
|
|
237
|
+
"""Sets the call_sid of this ConversationPbxCall.
|
|
238
|
+
|
|
239
|
+
Twilio call SID for the primary (customer) call leg # noqa: E501
|
|
240
|
+
|
|
241
|
+
:param call_sid: The call_sid of this ConversationPbxCall. # noqa: E501
|
|
242
|
+
:type: str
|
|
243
|
+
"""
|
|
244
|
+
|
|
245
|
+
self._call_sid = call_sid
|
|
246
|
+
|
|
247
|
+
@property
|
|
248
|
+
def call_uuid(self):
|
|
249
|
+
"""Gets the call_uuid of this ConversationPbxCall. # noqa: E501
|
|
250
|
+
|
|
251
|
+
Unique identifier for this call record # noqa: E501
|
|
252
|
+
|
|
253
|
+
:return: The call_uuid of this ConversationPbxCall. # noqa: E501
|
|
254
|
+
:rtype: str
|
|
255
|
+
"""
|
|
256
|
+
return self._call_uuid
|
|
257
|
+
|
|
258
|
+
@call_uuid.setter
|
|
259
|
+
def call_uuid(self, call_uuid):
|
|
260
|
+
"""Sets the call_uuid of this ConversationPbxCall.
|
|
261
|
+
|
|
262
|
+
Unique identifier for this call record # noqa: E501
|
|
263
|
+
|
|
264
|
+
:param call_uuid: The call_uuid of this ConversationPbxCall. # noqa: E501
|
|
265
|
+
:type: str
|
|
266
|
+
"""
|
|
267
|
+
|
|
268
|
+
self._call_uuid = call_uuid
|
|
269
|
+
|
|
270
|
+
@property
|
|
271
|
+
def caller(self):
|
|
272
|
+
"""Gets the caller of this ConversationPbxCall. # noqa: E501
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
:return: The caller of this ConversationPbxCall. # noqa: E501
|
|
276
|
+
:rtype: ConversationPbxCallCaller
|
|
277
|
+
"""
|
|
278
|
+
return self._caller
|
|
279
|
+
|
|
280
|
+
@caller.setter
|
|
281
|
+
def caller(self, caller):
|
|
282
|
+
"""Sets the caller of this ConversationPbxCall.
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
:param caller: The caller of this ConversationPbxCall. # noqa: E501
|
|
286
|
+
:type: ConversationPbxCallCaller
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
self._caller = caller
|
|
290
|
+
|
|
291
|
+
@property
|
|
292
|
+
def conference_sid(self):
|
|
293
|
+
"""Gets the conference_sid of this ConversationPbxCall. # noqa: E501
|
|
294
|
+
|
|
295
|
+
Twilio conference SID if this call used conferencing # noqa: E501
|
|
296
|
+
|
|
297
|
+
:return: The conference_sid of this ConversationPbxCall. # noqa: E501
|
|
298
|
+
:rtype: str
|
|
299
|
+
"""
|
|
300
|
+
return self._conference_sid
|
|
301
|
+
|
|
302
|
+
@conference_sid.setter
|
|
303
|
+
def conference_sid(self, conference_sid):
|
|
304
|
+
"""Sets the conference_sid of this ConversationPbxCall.
|
|
305
|
+
|
|
306
|
+
Twilio conference SID if this call used conferencing # noqa: E501
|
|
307
|
+
|
|
308
|
+
:param conference_sid: The conference_sid of this ConversationPbxCall. # noqa: E501
|
|
309
|
+
:type: str
|
|
310
|
+
"""
|
|
311
|
+
|
|
312
|
+
self._conference_sid = conference_sid
|
|
313
|
+
|
|
314
|
+
@property
|
|
315
|
+
def created_at_dts(self):
|
|
316
|
+
"""Gets the created_at_dts of this ConversationPbxCall. # noqa: E501
|
|
317
|
+
|
|
318
|
+
Timestamp when the call record was created # noqa: E501
|
|
319
|
+
|
|
320
|
+
:return: The created_at_dts of this ConversationPbxCall. # noqa: E501
|
|
321
|
+
:rtype: str
|
|
322
|
+
"""
|
|
323
|
+
return self._created_at_dts
|
|
324
|
+
|
|
325
|
+
@created_at_dts.setter
|
|
326
|
+
def created_at_dts(self, created_at_dts):
|
|
327
|
+
"""Sets the created_at_dts of this ConversationPbxCall.
|
|
328
|
+
|
|
329
|
+
Timestamp when the call record was created # noqa: E501
|
|
330
|
+
|
|
331
|
+
:param created_at_dts: The created_at_dts of this ConversationPbxCall. # noqa: E501
|
|
332
|
+
:type: str
|
|
333
|
+
"""
|
|
334
|
+
|
|
335
|
+
self._created_at_dts = created_at_dts
|
|
336
|
+
|
|
337
|
+
@property
|
|
338
|
+
def customer_name(self):
|
|
339
|
+
"""Gets the customer_name of this ConversationPbxCall. # noqa: E501
|
|
340
|
+
|
|
341
|
+
Customer name associated with this call # noqa: E501
|
|
342
|
+
|
|
343
|
+
:return: The customer_name of this ConversationPbxCall. # noqa: E501
|
|
344
|
+
:rtype: str
|
|
345
|
+
"""
|
|
346
|
+
return self._customer_name
|
|
347
|
+
|
|
348
|
+
@customer_name.setter
|
|
349
|
+
def customer_name(self, customer_name):
|
|
350
|
+
"""Sets the customer_name of this ConversationPbxCall.
|
|
351
|
+
|
|
352
|
+
Customer name associated with this call # noqa: E501
|
|
353
|
+
|
|
354
|
+
:param customer_name: The customer_name of this ConversationPbxCall. # noqa: E501
|
|
355
|
+
:type: str
|
|
356
|
+
"""
|
|
357
|
+
|
|
358
|
+
self._customer_name = customer_name
|
|
359
|
+
|
|
360
|
+
@property
|
|
361
|
+
def customer_profile_oid(self):
|
|
362
|
+
"""Gets the customer_profile_oid of this ConversationPbxCall. # noqa: E501
|
|
363
|
+
|
|
364
|
+
UltraCart customer profile OID if the caller was matched to a customer # noqa: E501
|
|
365
|
+
|
|
366
|
+
:return: The customer_profile_oid of this ConversationPbxCall. # noqa: E501
|
|
367
|
+
:rtype: str
|
|
368
|
+
"""
|
|
369
|
+
return self._customer_profile_oid
|
|
370
|
+
|
|
371
|
+
@customer_profile_oid.setter
|
|
372
|
+
def customer_profile_oid(self, customer_profile_oid):
|
|
373
|
+
"""Sets the customer_profile_oid of this ConversationPbxCall.
|
|
374
|
+
|
|
375
|
+
UltraCart customer profile OID if the caller was matched to a customer # noqa: E501
|
|
376
|
+
|
|
377
|
+
:param customer_profile_oid: The customer_profile_oid of this ConversationPbxCall. # noqa: E501
|
|
378
|
+
:type: str
|
|
379
|
+
"""
|
|
380
|
+
|
|
381
|
+
self._customer_profile_oid = customer_profile_oid
|
|
382
|
+
|
|
383
|
+
@property
|
|
384
|
+
def disposition(self):
|
|
385
|
+
"""Gets the disposition of this ConversationPbxCall. # noqa: E501
|
|
386
|
+
|
|
387
|
+
Call disposition describing how the call ended # noqa: E501
|
|
388
|
+
|
|
389
|
+
:return: The disposition of this ConversationPbxCall. # noqa: E501
|
|
390
|
+
:rtype: str
|
|
391
|
+
"""
|
|
392
|
+
return self._disposition
|
|
393
|
+
|
|
394
|
+
@disposition.setter
|
|
395
|
+
def disposition(self, disposition):
|
|
396
|
+
"""Sets the disposition of this ConversationPbxCall.
|
|
397
|
+
|
|
398
|
+
Call disposition describing how the call ended # noqa: E501
|
|
399
|
+
|
|
400
|
+
:param disposition: The disposition of this ConversationPbxCall. # noqa: E501
|
|
401
|
+
:type: str
|
|
402
|
+
"""
|
|
403
|
+
|
|
404
|
+
self._disposition = disposition
|
|
405
|
+
|
|
406
|
+
@property
|
|
407
|
+
def email(self):
|
|
408
|
+
"""Gets the email of this ConversationPbxCall. # noqa: E501
|
|
409
|
+
|
|
410
|
+
Email address of the caller if known # noqa: E501
|
|
411
|
+
|
|
412
|
+
:return: The email of this ConversationPbxCall. # noqa: E501
|
|
413
|
+
:rtype: str
|
|
414
|
+
"""
|
|
415
|
+
return self._email
|
|
416
|
+
|
|
417
|
+
@email.setter
|
|
418
|
+
def email(self, email):
|
|
419
|
+
"""Sets the email of this ConversationPbxCall.
|
|
420
|
+
|
|
421
|
+
Email address of the caller if known # noqa: E501
|
|
422
|
+
|
|
423
|
+
:param email: The email of this ConversationPbxCall. # noqa: E501
|
|
424
|
+
:type: str
|
|
425
|
+
"""
|
|
426
|
+
|
|
427
|
+
self._email = email
|
|
428
|
+
|
|
429
|
+
@property
|
|
430
|
+
def financial(self):
|
|
431
|
+
"""Gets the financial of this ConversationPbxCall. # noqa: E501
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
:return: The financial of this ConversationPbxCall. # noqa: E501
|
|
435
|
+
:rtype: ConversationPbxCallFinancial
|
|
436
|
+
"""
|
|
437
|
+
return self._financial
|
|
438
|
+
|
|
439
|
+
@financial.setter
|
|
440
|
+
def financial(self, financial):
|
|
441
|
+
"""Sets the financial of this ConversationPbxCall.
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
:param financial: The financial of this ConversationPbxCall. # noqa: E501
|
|
445
|
+
:type: ConversationPbxCallFinancial
|
|
446
|
+
"""
|
|
447
|
+
|
|
448
|
+
self._financial = financial
|
|
449
|
+
|
|
450
|
+
@property
|
|
451
|
+
def holds(self):
|
|
452
|
+
"""Gets the holds of this ConversationPbxCall. # noqa: E501
|
|
453
|
+
|
|
454
|
+
List of hold events during the call # noqa: E501
|
|
455
|
+
|
|
456
|
+
:return: The holds of this ConversationPbxCall. # noqa: E501
|
|
457
|
+
:rtype: list[ConversationPbxCallHold]
|
|
458
|
+
"""
|
|
459
|
+
return self._holds
|
|
460
|
+
|
|
461
|
+
@holds.setter
|
|
462
|
+
def holds(self, holds):
|
|
463
|
+
"""Sets the holds of this ConversationPbxCall.
|
|
464
|
+
|
|
465
|
+
List of hold events during the call # noqa: E501
|
|
466
|
+
|
|
467
|
+
:param holds: The holds of this ConversationPbxCall. # noqa: E501
|
|
468
|
+
:type: list[ConversationPbxCallHold]
|
|
469
|
+
"""
|
|
470
|
+
|
|
471
|
+
self._holds = holds
|
|
472
|
+
|
|
473
|
+
@property
|
|
474
|
+
def merchant_id(self):
|
|
475
|
+
"""Gets the merchant_id of this ConversationPbxCall. # noqa: E501
|
|
476
|
+
|
|
477
|
+
Merchant identifier # noqa: E501
|
|
478
|
+
|
|
479
|
+
:return: The merchant_id of this ConversationPbxCall. # noqa: E501
|
|
480
|
+
:rtype: str
|
|
481
|
+
"""
|
|
482
|
+
return self._merchant_id
|
|
483
|
+
|
|
484
|
+
@merchant_id.setter
|
|
485
|
+
def merchant_id(self, merchant_id):
|
|
486
|
+
"""Sets the merchant_id of this ConversationPbxCall.
|
|
487
|
+
|
|
488
|
+
Merchant identifier # noqa: E501
|
|
489
|
+
|
|
490
|
+
:param merchant_id: The merchant_id of this ConversationPbxCall. # noqa: E501
|
|
491
|
+
:type: str
|
|
492
|
+
"""
|
|
493
|
+
|
|
494
|
+
self._merchant_id = merchant_id
|
|
495
|
+
|
|
496
|
+
@property
|
|
497
|
+
def recording_sids(self):
|
|
498
|
+
"""Gets the recording_sids of this ConversationPbxCall. # noqa: E501
|
|
499
|
+
|
|
500
|
+
List of all Twilio recording SIDs associated with this call # noqa: E501
|
|
501
|
+
|
|
502
|
+
:return: The recording_sids of this ConversationPbxCall. # noqa: E501
|
|
503
|
+
:rtype: list[str]
|
|
504
|
+
"""
|
|
505
|
+
return self._recording_sids
|
|
506
|
+
|
|
507
|
+
@recording_sids.setter
|
|
508
|
+
def recording_sids(self, recording_sids):
|
|
509
|
+
"""Sets the recording_sids of this ConversationPbxCall.
|
|
510
|
+
|
|
511
|
+
List of all Twilio recording SIDs associated with this call # noqa: E501
|
|
512
|
+
|
|
513
|
+
:param recording_sids: The recording_sids of this ConversationPbxCall. # noqa: E501
|
|
514
|
+
:type: list[str]
|
|
515
|
+
"""
|
|
516
|
+
|
|
517
|
+
self._recording_sids = recording_sids
|
|
518
|
+
|
|
519
|
+
@property
|
|
520
|
+
def recordings(self):
|
|
521
|
+
"""Gets the recordings of this ConversationPbxCall. # noqa: E501
|
|
522
|
+
|
|
523
|
+
List of recordings made during the call # noqa: E501
|
|
524
|
+
|
|
525
|
+
:return: The recordings of this ConversationPbxCall. # noqa: E501
|
|
526
|
+
:rtype: list[ConversationPbxCallRecording]
|
|
527
|
+
"""
|
|
528
|
+
return self._recordings
|
|
529
|
+
|
|
530
|
+
@recordings.setter
|
|
531
|
+
def recordings(self, recordings):
|
|
532
|
+
"""Sets the recordings of this ConversationPbxCall.
|
|
533
|
+
|
|
534
|
+
List of recordings made during the call # noqa: E501
|
|
535
|
+
|
|
536
|
+
:param recordings: The recordings of this ConversationPbxCall. # noqa: E501
|
|
537
|
+
:type: list[ConversationPbxCallRecording]
|
|
538
|
+
"""
|
|
539
|
+
|
|
540
|
+
self._recordings = recordings
|
|
541
|
+
|
|
542
|
+
@property
|
|
543
|
+
def routing(self):
|
|
544
|
+
"""Gets the routing of this ConversationPbxCall. # noqa: E501
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
:return: The routing of this ConversationPbxCall. # noqa: E501
|
|
548
|
+
:rtype: ConversationPbxCallRouting
|
|
549
|
+
"""
|
|
550
|
+
return self._routing
|
|
551
|
+
|
|
552
|
+
@routing.setter
|
|
553
|
+
def routing(self, routing):
|
|
554
|
+
"""Sets the routing of this ConversationPbxCall.
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
:param routing: The routing of this ConversationPbxCall. # noqa: E501
|
|
558
|
+
:type: ConversationPbxCallRouting
|
|
559
|
+
"""
|
|
560
|
+
|
|
561
|
+
self._routing = routing
|
|
562
|
+
|
|
563
|
+
@property
|
|
564
|
+
def status(self):
|
|
565
|
+
"""Gets the status of this ConversationPbxCall. # noqa: E501
|
|
566
|
+
|
|
567
|
+
Final status of the call # noqa: E501
|
|
568
|
+
|
|
569
|
+
:return: The status of this ConversationPbxCall. # noqa: E501
|
|
570
|
+
:rtype: str
|
|
571
|
+
"""
|
|
572
|
+
return self._status
|
|
573
|
+
|
|
574
|
+
@status.setter
|
|
575
|
+
def status(self, status):
|
|
576
|
+
"""Sets the status of this ConversationPbxCall.
|
|
577
|
+
|
|
578
|
+
Final status of the call # noqa: E501
|
|
579
|
+
|
|
580
|
+
:param status: The status of this ConversationPbxCall. # noqa: E501
|
|
581
|
+
:type: str
|
|
582
|
+
"""
|
|
583
|
+
|
|
584
|
+
self._status = status
|
|
585
|
+
|
|
586
|
+
@property
|
|
587
|
+
def timeline(self):
|
|
588
|
+
"""Gets the timeline of this ConversationPbxCall. # noqa: E501
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
:return: The timeline of this ConversationPbxCall. # noqa: E501
|
|
592
|
+
:rtype: ConversationPbxCallTimeline
|
|
593
|
+
"""
|
|
594
|
+
return self._timeline
|
|
595
|
+
|
|
596
|
+
@timeline.setter
|
|
597
|
+
def timeline(self, timeline):
|
|
598
|
+
"""Sets the timeline of this ConversationPbxCall.
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
:param timeline: The timeline of this ConversationPbxCall. # noqa: E501
|
|
602
|
+
:type: ConversationPbxCallTimeline
|
|
603
|
+
"""
|
|
604
|
+
|
|
605
|
+
self._timeline = timeline
|
|
606
|
+
|
|
607
|
+
@property
|
|
608
|
+
def transfers(self):
|
|
609
|
+
"""Gets the transfers of this ConversationPbxCall. # noqa: E501
|
|
610
|
+
|
|
611
|
+
List of transfer events during the call # noqa: E501
|
|
612
|
+
|
|
613
|
+
:return: The transfers of this ConversationPbxCall. # noqa: E501
|
|
614
|
+
:rtype: list[ConversationPbxCallTransfer]
|
|
615
|
+
"""
|
|
616
|
+
return self._transfers
|
|
617
|
+
|
|
618
|
+
@transfers.setter
|
|
619
|
+
def transfers(self, transfers):
|
|
620
|
+
"""Sets the transfers of this ConversationPbxCall.
|
|
621
|
+
|
|
622
|
+
List of transfer events during the call # noqa: E501
|
|
623
|
+
|
|
624
|
+
:param transfers: The transfers of this ConversationPbxCall. # noqa: E501
|
|
625
|
+
:type: list[ConversationPbxCallTransfer]
|
|
626
|
+
"""
|
|
627
|
+
|
|
628
|
+
self._transfers = transfers
|
|
629
|
+
|
|
630
|
+
@property
|
|
631
|
+
def updated_at_dts(self):
|
|
632
|
+
"""Gets the updated_at_dts of this ConversationPbxCall. # noqa: E501
|
|
633
|
+
|
|
634
|
+
Timestamp when the call record was last updated # noqa: E501
|
|
635
|
+
|
|
636
|
+
:return: The updated_at_dts of this ConversationPbxCall. # noqa: E501
|
|
637
|
+
:rtype: str
|
|
638
|
+
"""
|
|
639
|
+
return self._updated_at_dts
|
|
640
|
+
|
|
641
|
+
@updated_at_dts.setter
|
|
642
|
+
def updated_at_dts(self, updated_at_dts):
|
|
643
|
+
"""Sets the updated_at_dts of this ConversationPbxCall.
|
|
644
|
+
|
|
645
|
+
Timestamp when the call record was last updated # noqa: E501
|
|
646
|
+
|
|
647
|
+
:param updated_at_dts: The updated_at_dts of this ConversationPbxCall. # noqa: E501
|
|
648
|
+
:type: str
|
|
649
|
+
"""
|
|
650
|
+
|
|
651
|
+
self._updated_at_dts = updated_at_dts
|
|
652
|
+
|
|
653
|
+
def to_dict(self):
|
|
654
|
+
"""Returns the model properties as a dict"""
|
|
655
|
+
result = {}
|
|
656
|
+
|
|
657
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
658
|
+
value = getattr(self, attr)
|
|
659
|
+
if isinstance(value, list):
|
|
660
|
+
result[attr] = list(map(
|
|
661
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
662
|
+
value
|
|
663
|
+
))
|
|
664
|
+
elif hasattr(value, "to_dict"):
|
|
665
|
+
result[attr] = value.to_dict()
|
|
666
|
+
elif isinstance(value, dict):
|
|
667
|
+
result[attr] = dict(map(
|
|
668
|
+
lambda item: (item[0], item[1].to_dict())
|
|
669
|
+
if hasattr(item[1], "to_dict") else item,
|
|
670
|
+
value.items()
|
|
671
|
+
))
|
|
672
|
+
else:
|
|
673
|
+
result[attr] = value
|
|
674
|
+
if issubclass(ConversationPbxCall, dict):
|
|
675
|
+
for key, value in self.items():
|
|
676
|
+
result[key] = value
|
|
677
|
+
|
|
678
|
+
return result
|
|
679
|
+
|
|
680
|
+
def to_str(self):
|
|
681
|
+
"""Returns the string representation of the model"""
|
|
682
|
+
return pprint.pformat(self.to_dict())
|
|
683
|
+
|
|
684
|
+
def __repr__(self):
|
|
685
|
+
"""For `print` and `pprint`"""
|
|
686
|
+
return self.to_str()
|
|
687
|
+
|
|
688
|
+
def __eq__(self, other):
|
|
689
|
+
"""Returns true if both objects are equal"""
|
|
690
|
+
if not isinstance(other, ConversationPbxCall):
|
|
691
|
+
return False
|
|
692
|
+
|
|
693
|
+
return self.__dict__ == other.__dict__
|
|
694
|
+
|
|
695
|
+
def __ne__(self, other):
|
|
696
|
+
"""Returns true if both objects are not equal"""
|
|
697
|
+
return not self == other
|