8000 [Librarian] Regenerated @ 4b299c041980aa815254cd2ba767e17f2bf4465e · SituProbability/twilio-python@e93b8a8 · GitHub
[go: up one dir, main page]

Skip to content

Commit e93b8a8

Browse files
committed
[Librarian] Regenerated @ 4b299c041980aa815254cd2ba767e17f2bf4465e
1 parent df3bbc2 commit e93b8a8

File tree

19 files changed

+288
-107
lines changed

19 files changed

+288
-107
lines changed

CHANGES.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@ twilio-python Changelog
33

44
Here you can see the full list of changes between each twilio-python release.
55

6+
[2017-08-25] Version 6.6.0
7+
---------------------------
8+
**Api**
9+
- Update `status` enum for Recordings to include 'failed'
10+
- Add `error_code` property on Recordings
11+
12+
**Chat**
13+
- Add mutable parameters for channel, members and messages
14+
15+
**Video**
16+
- New `media_region` parameter when creating a room, which controls which region media will be served out of.
17+
- Add `video_codec` enum and `video_codecs` parameter, which can be set to either `VP8` or `H264` during room creation.
18+
19+
**Twiml**
20+
- Add support for `speech_timeout`, `max_speech_time`, and `profanity_filter` attributes on Gather verb.
21+
22+
623
[2017-08-18] Version 6.5.2
724
---------------------------
825
**Library**

tests/integration/api/v2010/account/call/test_recording.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def test_fetch_response(self):
4545
"encryption_public_key_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4646
"encryption_cek": "OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==",
4747
"encryption_iv": "8I2hhNIYNTrwxfHk"
48-
}
48+
},
49+
"error_code": null
4950
}
5051
'''
5152
))
@@ -122,7 +123,8 @@ def test_read_full_response(self):
122123
"encryption_public_key_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
123124
"encryption_cek": "OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==",
124125
"encryption_iv": "8I2hhNIYNTrwxfHk"
125-
}
126+
},
127+
"error_code": null
126128
}
127129
],
128130
"start": 0,

tests/integration/api/v2010/account/test_recording.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ def test_fetch_response(self):
4848
"encryption_public_key_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4949
"encryption_cek": "OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==",
5050
"encryption_iv": "8I2hhNIYNTrwxfHk"
51-
}
51+
},
52+
"error_code": null
5253
}
5354
'''
5455
))
@@ -125,7 +126,8 @@ def test_read_full_response(self):
125126
"encryption_public_key_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
126127
"encryption_cek": "OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==",
127128
"encryption_iv": "8I2hhNIYNTrwxfHk"
128-
}
129+
},
130+
"error_code": null
129131
}
130132
],
131133
"start": 0,

tests/integration/chat/v2/service/channel/test_member.py

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -223,36 +223,10 @@ def test_update_role_sid_response(self):
223223
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
224224
"identity": "jing",
225225
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
226-
"last_consumed_message_index": null,
227-
"last_consumption_timestamp": null,
226+
"last_consumed_message_index": 20,
227+
"last_consumption_timestamp": "2016-03-24T21:05:52Z",
228228
& 10000 quot;date_created": "2016-03-24T21:05:50Z",
229-
"date_updated": "2016-03-24T21:05:50Z",
230-
"url": "https://chat.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Members/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
231-
}
232-
'''
233-
))
234-
235-
actual = self.client.chat.v2.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
236-
.channels(sid="CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
237-
.members(sid="MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update()
238-
239-
self.assertIsNotNone(actual)
240-
241-
def test_update_last_consumed_message_index_response(self):
242-
self.holodeck.mock(Response(
243-
200,
244-
'''
245-
{
246-
"sid": "MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
247-
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
248-
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
249-
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
250-
"identity": "jing",
251-
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
252-
"last_consumed_message_index": 666,
253-
"last_consumption_timestamp": null,
254-
"date_created": "2016-03-24T21:05:50Z",
255-
"date_updated": "2016-03-24T21:05:50Z",
229+
"date_updated": "2016-03-24T21:05:51Z",
256230
"url": "https://chat.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Members/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
257231
}
258232
'''

tests/integration/chat/v2/service/channel/test_message.py

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def test_fetch_response(self):
3939
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4040
"date_created": "2016-03-24T20:37:57Z",
4141
"date_updated": "2016-03-24T20:37:57Z",
42+
"last_updated_by": null,
4243
"was_edited": false,
4344
"from": "system",
4445
"attributes": "{}",
@@ -69,6 +70,7 @@ def test_fetch_media_response(self):
6970
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
7071
"date_created": "2016-03-24T20:37:57Z",
7172
"date_updated": "2016-03-24T20:37:57Z",
73+
"last_updated_by": null,
7274
"was_edited": false,
7375
"from": "system",
7476
"attributes": "{}",
@@ -123,6 +125,7 @@ def test_create_response(self):
123125
"attributes": null,
124126
"date_created": "2016-03-24T20:37:57Z",
125127
"date_updated": "2016-03-24T20:37:57Z",
128+
"last_updated_by": "system",
126129
"was_edited": false,
127130
"from": "system",
128131
"body": "Hello",
@@ -140,7 +143,7 @@ def test_create_response(self):
140143

141144
self.assertIsNotNone(actual)
142145

143-
def test_create_with_attributes_response(self):
146+
def test_create_with_all_response(self):
144147
self.holodeck.mock(Response(
145148
201,
146149
'''
@@ -150,11 +153,12 @@ def test_create_with_attributes_response(self):
150153
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
151154
"to": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
152155
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
153-
"date_created": "2016-03-24T20:37:57Z",
154-
"date_updated": "2016-03-24T20:37:57Z",
155-
"was_edited": false,
156+
"date_created": "2015-12-16T22:18:37Z",
157+
"date_updated": "2015-12-16T22:18:38Z",
158+
"last_updated_by": "username",
159+
"was_edited": true,
156160
"from": "system",
157-
"attributes": "{}",
161+
"attributes": "{\\"test\\": \\"test\\"}",
158162
"body": "Hello",
159163
"index": 0,
160164
"type": "text",
@@ -206,6 +210,7 @@ def test_read_full_response(self):
206210
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
207211
"date_created": "2016-03-24T20:37:57Z",
208212
"date_updated": "2016-03-24T20:37:57Z",
213+
"last_updated_by": null,
209214
"was_edited": false,
210215
"from": "system",
211216
"attributes": "{}",
@@ -223,6 +228,7 @@ def test_read_full_response(self):
223228
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
224229
"date_created": "2016-03-24T20:37:57Z",
225230
"date_updated": "2016-03-24T20:37:57Z",
231+
"last_updated_by": null,
226232
"was_edited": false,
227233
"from": "system",
228234
"attributes": "{}",
@@ -321,10 +327,11 @@ def test_update_response(self):
321327
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
322328
"to": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
323329
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
324-
"attributes": "{\\"test\\": \\"test\\"}",
325-
"date_created": "2016-03-24T20:37:57Z",
326-
"date_updated": "2016-03-24T20:37:57Z",
327-
"was_edited": false,
330+
"attributes": "{ \\"foo\\": \\"bar\\" }",
331+
"date_created": "2015-12-16T22:18:37Z",
332+
"date_updated": "2015-12-16T22:18:38Z",
333+
"last_updated_by": "username",
334+
"was_edited": true,
328335
"from": "system",
329336
"body": "Hello",
330337
"index": 0,

tests/integration/chat/v2/service/test_channel.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ def test_create_response(self):
107107
"attributes": "{ \\"foo\\": \\"bar\\" }",
108108
"type": "public",
109109
"date_created": "2015-12-16T22:18:37Z",
110-
"date_updated": "2015-12-16T22:18:37Z",
111-
"created_by": "system",
110+
"date_updated": "2015-12-16T22:18:38Z",
111+
"created_by": "username",
112112
"members_count": 0,
113113
"messages_count": 0,
114114
"url": "https://chat.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -234,8 +234,8 @@ def test_update_response(self):
234234
"attributes": "{ \\"foo\\": \\"bar\\" }",
235235
"type": "public",
236236
"date_created": "2015-12-16T22:18:37Z",
237-
"date_updated": "2015-12-16T22:18:37Z",
238-
"created_by": "system",
237+
"date_updated": "2015-12-16T22:18:38Z",
238+
"created_by": "username",
239239
"members_count": 0,
240240
"messages_count": 0,
241241
"url": "https://chat.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",

tests/integration/ip_messaging/v2/service/channel/test_member.py

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -223,36 +223,10 @@ def test_update_role_sid_response(self):
223223
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
224224
"identity": "jing",
225225
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
226-
"last_consumed_message_index": null,
227-
"last_consumption_timestamp": null,
226+
"last_consumed_message_index": 20,
227+
"last_consumption_timestamp": "2016-03-24T21:05:52Z",
228228
"date_created": "2016-03-24T21:05:50Z",
229-
"date_updated": "2016-03-24T21:05:50Z",
230-
"url": "https://chat.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Members/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
231-
}
232-
'''
233-
))
234-
235-
actual = self.client.ip_messaging.v2.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
236-
.channels(sid="CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
237-
.members(sid="MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update()
238-
239-
self.assertIsNotNone(actual)
240-
241-
def test_update_last_consumed_message_index_response(self):
242-
self.holodeck.mock(Response(
243-
200,
244-
'''
245-
{
246-
"sid": "MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
247-
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
248-
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
249-
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
250-
"identity": "jing",
251-
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
252-
"last_consumed_message_index": 666,
253-
"last_consumption_timestamp": null,
254-
"date_created": "2016-03-24T21:05:50Z",
255-
"date_updated": "2016-03-24T21:05:50Z",
229+
"date_updated": "2016-03-24T21:05:51Z",
256230
"url": "https://chat.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Members/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
257231
}
258232
'''

tests/integration/ip_messaging/v2/service/channel/test_message.py

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def test_fetch_response(self):
3939
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4040
"date_created": "2016-03-24T20:37:57Z",
4141
"date_updated": "2016-03-24T20:37:57Z",
42+
"last_updated_by": null,
4243
"was_edited": false,
4344
"from": "system",
4445
"attributes": "{}",
@@ -69,6 +70,7 @@ def test_fetch_media_response(self):
6970
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
7071
"date_created": "2016-03-24T20:37:57Z",
7172
"date_updated": "2016-03-24T20:37:57Z",
73+
"last_updated_by": null,
7274
"was_edited": false,
7375
"from": "system",
7476
"attributes": "{}",
@@ -123,6 +125,7 @@ def test_create_response(self):
123125
"attributes": null,
124126
"date_created": "2016-03-24T20:37:57Z",
125127
"date_updated": "2016-03-24T20:37:57Z",
128+
"last_updated_by": "system",
126129
"was_edited": false,
127130
"from": "system",
128131
"body": "Hello",
@@ -140,7 +143,7 @@ def test_create_response(self):
140143

141144
self.assertIsNotNone(actual)
142145

143-
def test_create_with_attributes_response(self):
146+
def test_create_with_all_response(self):
144147
self.holodeck.mock(Response(
145148
201,
146149
'''
@@ -150,11 +153,12 @@ def test_create_with_attributes_response(self):
150153
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
151154
"to": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
152155
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
153-
"date_created": "2016-03-24T20:37:57Z",
154-
"date_updated": "2016-03-24T20:37:57Z",
155-
"was_edited": false,
156+
"date_created": "2015-12-16T22:18:37Z",
157+
"date_updated": "2015-12-16T22:18:38Z",
158+
"last_updated_by": "username",
159+
"was_edited": true,
156160
"from": "system",
157-
"attributes": "{}",
161+
"attributes": "{\\"test\\": \\"test\\"}",
158162
"body": "Hello",
159163
"index": 0,
160164
"type": "text",
@@ -206,6 +210,7 @@ def test_read_full_response(self):
206210
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
207211
"date_created": "2016-03-24T20:37:57Z",
208212
"date_updated": "2016-03-24T20:37:57Z",
213+
"last_updated_by": null,
209214
"was_edited": false,
210215
"from": "system",
211216
"attributes": "{}",
@@ -223,6 +228,7 @@ def test_read_full_response(self):
223228
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
224229
"date_created": "2016-03-24T20:37:57Z",
225230
"date_updated": "2016-03-24T20:37:57Z",
231+
"last_updated_by": null,
226232
"was_edited": false,
227233
"from": "system",
228234
"attributes": "{}",
@@ -321,10 +327,11 @@ def test_update_response(self):
321327
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
322328
"to": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
323329
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
324-
"attributes": "{\\"test\\": \\"test\\"}",
325-
"date_created": "2016-03-24T20:37:57Z",
BD94 326-
"date_updated": "2016-03-24T20:37:57Z",
327-
"was_edited": false,
330+
"attributes": "{ \\"foo\\": \\"bar\\" }",
331+
"date_created": "2015-12-16T22:18:37Z",
332+
"date_updated": "2015-12-16T22:18:38Z",
333+
"last_updated_by": "username",
334+
"was_edited": true,
328335
"from": "system",
329336
"body": "Hello",
330337
"index": 0,

tests/integration/ip_messaging/v2/service/test_channel.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ def test_create_response(self):
107107
"attributes": "{ \\"foo\\": \\"bar\\" }",
108108
"type": "public",
109109
"date_created": "2015-12-16T22:18:37Z",
110-
"date_updated": "2015-12-16T22:18:37Z",
111-
"created_by": "system",
110+
"date_updated": "2015-12-16T22:18:38Z",
111+
"created_by": "username",
112112
"members_count": 0,
113113
"messages_count": 0,
114114
"url": "https://chat.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -234,8 +234,8 @@ def test_update_response(self):
234234
"attributes": "{ \\"foo\\": \\"bar\\" }",
235235
"type": "public",
236236
"date_created": "2015-12-16T22:18:37Z",
237-
"date_updated": "2015-12-16T22:18:37Z",
238-
"created_by": "system",
237+
"date_updated": "2015-12-16T22:18:38Z",
238+
"created_by": "username",
239239
"members_count": 0,
240240
"messages_count": 0,
241241
"url": "https://chat.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",

twilio/rest/api/v2010/account/call/recording.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ def __init__(self, version, payload, account_sid, call_sid, sid=None):
329329
'price': deserialize.decimal(payload['price']),
330330
'uri': payload['uri'],
331331
'encryption_details': payload['encryption_details'],
332+
'error_code': deserialize.integer(payload['error_code']),
332333
}
333334

334335
# Context
@@ -437,6 +438,14 @@ def encryption_details(self):
437438
"""
438439
return self._properties['encryption_details']
439440

441+
@property
442+
def error_code(self):
443+
"""
444+
:returns: The error_code
445+
:rtype: unicode
446+
"""
447+
return self._properties['error_code']
448+
440449
def fetch(self):
441450
"""
442451
Fetch a RecordingInstance

0 commit comments

Comments
 (0)
0