8000 [Librarian] Regenerated @ b70baf3ebf629ad08ae9541704bf3ae4203525f7 · githubib/twilio-python@d2f37ac · GitHub
[go: up one dir, main page]

Skip to content

Commit d2f37ac

Browse files
committed
[Librarian] Regenerated @ b70baf3ebf629ad08ae9541704bf3ae4203525f7
1 parent 3ffe963 commit d2f37ac

File tree

18 files changed

+144
-175
lines changed

18 files changed

+144
-175
lines changed

CHANGES.md

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

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

6+
[2021-01-27] Version 6.51.1
7+
---------------------------
8+
**Studio**
9+
- Studio V2 API is now GA
10+
11+
**Supersim**
12+
- Allow updating `CommandsUrl` and `CommandsMethod` on a Fleet
13+
14+
**Twiml**
15+
- Add `status_callback` and `status_callback_method` to `Stream`.
16+
17+
618
[2021-01-13] Version 6.51.0
719
---------------------------
820
**Library - Docs**

twilio/rest/studio/v2/flow/__init__.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919

2020

2121
class FlowList(ListResource):
22-
""" PLEASE NOTE that this class contains beta products that are subject to
23-
change. Use them with caution. """
2422

2523
def __init__(self, version):
2624
"""
@@ -45,7 +43,7 @@ def create(self, friendly_name, status, definition,
4543
:param unicode friendly_name: The string that you assigned to describe the Flow
4644
:param FlowInstance.Status status: The status of the Flow
4745
:param dict definition: JSON representation of flow definition
48-
:param unicode commit_message: Description on change made in the revision
46+
:param unicode commit_message: Description of change made in the revision
4947
5048
:returns: The created FlowInstance
5149
:rtype: twilio.rest.studio.v2.flow.FlowInstance
@@ -171,8 +169,6 @@ def __repr__(self):
171169

172170

173171
class FlowPage(Page):
174-
""" PLEASE NOTE that this class contains beta products that are subject to
175-
change. Use them with caution. """
176172

177173
def __init__(self, version, response, solution):
178174
"""
@@ -211,8 +207,6 @@ def __repr__(self):
211207

212208

213209
class FlowContext(InstanceContext):
214-
""" PLEASE NOTE that this class contains beta products that are subject to
215-
change. Use them with caution. """
216210

217211
def __init__(self, version, sid):
218212
"""
@@ -243,7 +237,7 @@ def update(self, status, friendly_name=values.unset, definition=values.unset,
243237
:param FlowInstance.Status status: The status of the Flow
244238
:param unicode friendly_name: The string that you assigned to describe the Flow
245239
:param dict definition: JSON representation of flow definition
246-
:param unicode commit_message: Description on change made in the revision
240+
:param unicode commit_message: Description of change made in the revision
247241
248242
:returns: The updated FlowInstance
249243
:rtype: twilio.rest.studio.v2.flow.FlowInstance
@@ -327,8 +321,6 @@ def __repr__(self):
327321

328322

329323
class FlowInstance(InstanceResource):
330-
""" PLEASE NOTE that this class contains beta products that are subject to
331-
change. Use them with caution. """
332324

333325
class Status(object):
334326
DRAFT = "draft"
@@ -430,7 +422,7 @@ def revision(self):
430422
@property
431423
def commit_message(self):
432424
"""
433-
:returns: Description on change made in the revision
425+
:returns: Description of change made in the revision
434426
:rtype: unicode
435427
"""
436428
return self._properties['commit_message']
@@ -507,7 +499,7 @@ def update(self, status, friendly_name=values.unset, definition=values.unset,
507499
:param FlowInstance.Status status: The status of the Flow
508500
:param unicode friendly_name: The string that you assigned to describe the Flow
509501
:param dict definition: JSON representation of flow definition
510-
:param unicode commit_message: Description on change made in the revision
502+
:param unicode commit_message: Description of change made in the revision
511503
512504
:returns: The updated FlowInstance
513505
:rtype: twilio.rest.studio.v2.flow.FlowInstance

twilio/rest/studio/v2/flow/execution/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919

2020
class ExecutionList(ListResource):
21-
""" PLEASE NOTE that this class contains beta products that are subject to
22-
change. Use them with caution. """
2321

2422
def __init__(self, version, flow_sid):
2523
"""
@@ -188,8 +186,6 @@ def __repr__(self):
188186

189187

190188
class ExecutionPage(Page):
191-
""" PLEASE NOTE that this class contains beta products that are subject to
192-
change. Use them with caution. """
193189

194190
def __init__(self, version, response, solution):
195191
"""
@@ -229,8 +225,6 @@ def __repr__(self):
229225

230226

231227
class ExecutionContext(InstanceContext):
232-
""" PLEASE NOTE that this class contains beta products that are subject to
233-
change. Use them with caution. """
234228

235229
def __init__(self, version, flow_sid, sid):
236230
"""
@@ -342,8 +336,6 @@ def __repr__(self):
342336

343337

344338
class ExecutionInstance(InstanceResource):
345-
""" PLEASE NOTE that this class contains beta products that are subject to
346-
change. Use them with caution. """
347339

348340
class Status(object):
349341
ACTIVE = "active"

twilio/rest/studio/v2/flow/execution/execution_context.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515

1616
class ExecutionContextList(ListResource):
17-
""" PLEASE NOTE that this class contains beta products that are subject to
18-
change. Use them with caution. """
1917

2018
def __init__(self, version, flow_sid, execution_sid):
2119
"""
@@ -70,8 +68,6 @@ def __repr__(self):
7068

7169

7270
class ExecutionContextPage(Page):
73-
""" PLEASE NOTE that this class contains beta products that are subject to
74-
change. Use them with caution. """
7571

7672
def __init__(self, version, response, solution):
7773
"""
@@ -117,8 +113,6 @@ def __repr__(self):
117113

118114

119115
class ExecutionContextContext(InstanceContext):
120-
""" PLEASE NOTE that this class contains beta products that are subject to
121-
change. Use them with caution. """
122116

123117
def __init__(self, version, flow_sid, execution_sid):
124118
"""
@@ -165,8 +159,6 @@ def __repr__(self):
165159

166160

167161
class ExecutionContextInstance(InstanceResource):
168-
""" PLEASE NOTE that this class contains beta products that are subject to
169-
change. Use them with caution. """
170162

171163
def __init__(self, version, payload, flow_sid, execution_sid):
172164
"""

twilio/rest/studio/v2/flow/execution/execution_step/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717

1818
class ExecutionStepList(ListResource):
19-
""" PLEASE NOTE that this class contains beta products that are subject to
20-
change. Use them with caution. """
2119

2220
def __init__(self, version, flow_sid, execution_sid):
2321
"""
@@ -156,8 +154,6 @@ def __repr__(self):
156154

157155

158156
class ExecutionStepPage(Page):
159-
""" PLEASE NOTE that this class contains beta products that are subject to
160-
change. Use them with caution. """
161157

162158
def __init__(self, version, response, solution):
163159
"""
@@ -203,8 +199,6 @@ def __repr__(self):
203199

204200

205201
class ExecutionStepContext(InstanceContext):
206-
""" PLEASE NOTE that this class contains beta products that are subject to
207-
change. Use them with caution. """
208202

209203
def __init__(self, version, flow_sid, execution_sid, sid):
210204
"""
@@ -273,8 +267,6 @@ def __repr__(self):
273267

274268

275269
class ExecutionStepInstance(InstanceResource):
276-
""" PLEASE NOTE that this class contains beta products that are subject to
277-
change. Use them with caution. """
278270

279271
def __init__(self, version, payload, flow_sid, execution_sid, sid=None):
280272
"""

twilio/rest/studio/v2/flow/execution/execution_step/execution_step_context.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515

1616
class ExecutionStepContextList(ListResource):
17-
""" PLEASE NOTE that this class contains beta products that are subject to
18-
change. Use them with caution. """
1917

2018
def __init__(self, version, flow_sid, execution_sid, step_sid):
2119
"""
@@ -73,8 +71,6 @@ def __repr__(self):
7371

7472

7573
class ExecutionStepContextPage(Page):
76-
""" PLEASE NOTE that this class contains beta products that are subject to
77-
change. Use them with caution. """
7874

7975
def __init__(self, version, response, solution):
8076
"""
@@ -122,8 +118,6 @@ def __repr__(self):
122118

123119

124120
class ExecutionStepContextContext(InstanceContext):
125-
""" PLEASE NOTE that this class contains beta products that are subject to
126-
change. Use them with caution. """
127121

128122
def __init__(self, version, flow_sid, execution_sid, step_sid):
129123
"""
@@ -172,8 +166,6 @@ def __repr__(self):
172166

173167

174168
class ExecutionStepContextInstance(InstanceResource):
175-
""" PLEASE NOTE that this class contains beta products that are subject to
176-
change. Use them with caution. """
177169

178170
def __init__(self, version, payload, flow_sid, execution_sid, step_sid):
179171
"""

twilio/rest/studio/v2/flow/flow_revision.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616

1717
class FlowRevisionList(ListResource):
18-
""" PLEASE NOTE that this class contains beta products that are subject to
19-
change. Use them with caution. """
2018

2119
def __init__(self, version, sid):
2220
"""
@@ -144,8 +142,6 @@ def __repr__(self):
144142

145143

146144
class FlowRevisionPage(Page):
147-
""" PLEASE NOTE that this class contains beta products that are subject to
148-
change. Use them with caution. """
149145

150146
def __init__(self, version, response, solution):
151147
"""
@@ -185,8 +181,6 @@ def __repr__(self):
185181

186182

187183
class FlowRevisionContext(InstanceContext):
188-
""" PLEASE NOTE that this class contains beta products that are subject to
189-
change. Use them with caution. """
190184

191185
def __init__(self, version, sid, revision):
192186
"""
@@ -233,8 +227,6 @@ def __repr__(self):
233227

234228

235229
class FlowRevisionInstance(InstanceResource):
236-
""" PLEASE NOTE that this class contains beta products that are subject to
237-
change. Use them with caution. """
238230

239231
class Status(object):
240232
DRAFT = "draft"
@@ -337,7 +329,7 @@ def revision(self):
337329
@property
338330
def commit_message(self):
339331
"""
340-
:returns: Description on change made in the revision
332+
:returns: Description of change made in the revision
341333
:rtype: unicode
342334
"""
343335
return self._properties['commit_message']

twilio/rest/studio/v2/flow/test_user.py

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515

1616

1717
class FlowTestUserList(ListResource):
18-
""" PLEASE NOTE that this class contains beta products that are subject to
19-
change. Use them with caution. """
2018

2119
def __init__(self, version, sid):
2220
"""
2321
Initialize the FlowTestUserList
2422
2523
:param Version version: Version that contains the resource
26-
:param sid: The sid
24+
:param sid: Unique identifier of the flow.
2725
2826
:returns: twilio.rest.studio.v2.flow.test_user.FlowTestUserList
2927
:rtype: twilio.rest.studio.v2.flow.test_user.FlowTestUserList
@@ -62,16 +60,14 @@ def __repr__(self):
6260

6361

6462
class FlowTestUserPage(Page):
65-
""" PLEASE NOTE that this class contains beta products that are subject to
66-
change. Use them with caution. """
6763

6864
def __init__(self, version, response, solution):
6965
"""
7066
Initialize the FlowTestUserPage
7167
7268
:param Version version: Version that contains the resource
7369
:param Response response: Response from the API
74-
:param sid: The sid
70+
:param sid: Unique identifier of the flow.
7571
7672
:returns: twilio.rest.studio.v2.flow.test_user.FlowTestUserPage
7773
:rtype: twilio.rest.studio.v2.flow.test_user.FlowTestUserPage
@@ -103,15 +99,13 @@ def __repr__(self):
10399

104100

105101
class FlowTestUserContext(InstanceContext):
106-
""" PLEASE NOTE that this class contains beta products that are subject to
107-
change. Use them with caution. """
108102

109103
def __init__(self, version, sid):
110104
"""
111105
Initialize the FlowTestUserContext
112106
113107
:param Version version: Version that contains the resource
114-
:param sid: The sid
108+
:param sid: Unique identifier of the flow.
115109
116110
:returns: twilio.rest.studio.v2.flow.test_user.FlowTestUserContext
117111
:rtype: twilio.rest.studio.v2.flow.test_user.FlowTestUserContext
@@ -137,7 +131,7 @@ def update(self, test_users):
137131
"""
138132
Update the FlowTestUserInstance
139133
140-
:param list[unicode] test_users: The test_users
134+
:param list[unicode] test_users: List of test user identities that can test draft versions of the flow.
141135
142136
:returns: The updated FlowTestUserInstance
143137
:rtype: twilio.rest.studio.v2.flow.test_user.FlowTestUserInstance
@@ -160,8 +154,6 @@ def __repr__(self):
160154

161155

162156
class FlowTestUserInstance(InstanceResource):
163-
""" PLEASE NOTE that this class contains beta products that are subject to
164-
change. Use them with caution. """
165157

166158
def __init__(self, version, payload, sid):
167159
"""
@@ -199,23 +191,23 @@ def _proxy(self):
199191
@property
200192
def sid(self):
201193
"""
202-
:returns: The sid
194+
:returns: Unique identifier of the flow.
203195
:rtype: unicode
204196
"""
205197
return self._properties['sid']
206198

207199
@property
208200
def test_users(self):
209201
"""
210-
:returns: The test_users
202+
:returns: List of test user identities that can test draft versions of the flow.
211203
:rtype: list[unicode]
212204
"""
213205
return self._properties['test_users']
214206

215207
@property
216208
def url(self):
217209
"""
218-
:returns: The url
210+
:returns: The URL of this resource.
219211
:rtype: unicode
220212
"""
221213
return self._properties['url']
@@ -233,7 +225,7 @@ def update(self, test_users):
233225
"""
234226
Update the FlowTestUserInstance
235227
236-
:param list[unicode] test_users: The test_users
228+
:param list[unicode] test_users: List of test user identities that can test draft versions of the flow.
237229
238230
:returns: The updated FlowTestUserInstance
239231
:rtype: twilio.rest.studio.v2.flow.test_user.FlowTestUserInstance

0 commit comments

Comments
 (0)
0