twilio-ruby 5.11.1 → 5.11.2
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.
- checksums.yaml +4 -4
- data/CHANGES.md +18 -0
- data/README.md +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +24 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +133 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb +161 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +349 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +349 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping.rb +135 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +349 -0
- data/lib/twilio-ruby/rest/preview.rb +8 -8
- data/lib/twilio-ruby/rest/preview/marketplace.rb +13 -13
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +3 -16
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +42 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +33 -0
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +27 -19
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_context.rb +11 -11
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step.rb +18 -18
- data/lib/twilio-ruby/rest/studio/v1/flow/execution/execution_step/execution_step_context.rb +17 -15
- data/lib/twilio-ruby/rest/video.rb +9 -9
- data/lib/twilio-ruby/rest/video/v1.rb +16 -16
- data/lib/twilio-ruby/rest/video/v1/room.rb +2 -1
- data/lib/twilio-ruby/twiml/voice_response.rb +20 -0
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping_spec.rb +220 -0
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping_spec.rb +220 -0
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_calls_mapping_spec.rb +12 -0
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping_spec.rb +220 -0
- data/spec/integration/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping_spec.rb +12 -0
- data/spec/integration/api/v2010/account/sip/domain/auth_types_spec.rb +12 -0
- data/spec/integration/preview/understand/assistant_spec.rb +0 -4
- data/spec/integration/proxy/v1/service/phone_number_spec.rb +51 -3
- data/spec/integration/proxy/v1/service/short_code_spec.rb +50 -3
- metadata +21 -3
@@ -36,9 +36,11 @@ module Twilio
|
|
36
36
|
# @param [String] phone_number A string that represents the Twilio Number you
|
37
37
|
# would like to assign to your Proxy Service. Provide number in
|
38
38
|
# [E.164](https://en.wikipedia.org/wiki/E.164) format (e.g. `+16175551212`).
|
39
|
+
# @param [Boolean] is_reserved Whether or not the number should be excluded from
|
40
|
+
# being assigned to a participant using proxy pool logic
|
39
41
|
# @return [PhoneNumberInstance] Newly created PhoneNumberInstance
|
40
|
-
def create(sid: :unset, phone_number: :unset)
|
41
|
-
data = Twilio::Values.of({'Sid' => sid, 'PhoneNumber' => phone_number, })
|
42
|
+
def create(sid: :unset, phone_number: :unset, is_reserved: :unset)
|
43
|
+
data = Twilio::Values.of({'Sid' => sid, 'PhoneNumber' => phone_number, 'IsReserved' => is_reserved, })
|
42
44
|
|
43
45
|
payload = @version.create(
|
44
46
|
'POST',
|
@@ -215,6 +217,28 @@ module Twilio
|
|
215
217
|
)
|
216
218
|
end
|
217
219
|
|
220
|
+
##
|
221
|
+
# Update the PhoneNumberInstance
|
222
|
+
# @param [Boolean] is_reserved Whether or not the number should be excluded from
|
223
|
+
# being assigned to a participant using proxy pool logic
|
224
|
+
# @return [PhoneNumberInstance] Updated PhoneNumberInstance
|
225
|
+
def update(is_reserved: :unset)
|
226
|
+
data = Twilio::Values.of({'IsReserved' => is_reserved, })
|
227
|
+
|
228
|
+
payload = @version.update(
|
229
|
+
'POST',
|
230
|
+
@uri,
|
231
|
+
data: data,
|
232
|
+
)
|
233
|
+
|
234
|
+
PhoneNumberInstance.new(
|
235
|
+
@version,
|
236
|
+
payload,
|
237
|
+
service_sid: @solution[:service_sid],
|
238
|
+
sid: @solution[:sid],
|
239
|
+
)
|
240
|
+
end
|
241
|
+
|
218
242
|
##
|
219
243
|
# Provide a user friendly representation
|
220
244
|
def to_s
|
@@ -250,6 +274,7 @@ module Twilio
|
|
250
274
|
'iso_country' => payload['iso_country'],
|
251
275
|
'capabilities' => payload['capabilities'],
|
252
276
|
'url' => payload['url'],
|
277
|
+
'is_reserved' => payload['is_reserved'],
|
253
278
|
}
|
254
279
|
|
255
280
|
# Context
|
@@ -328,6 +353,12 @@ module Twilio
|
|
328
353
|
@properties['url']
|
329
354
|
end
|
330
355
|
|
356
|
+
##
|
357
|
+
# @return [Boolean] Reserve for manual assignment to participants only.
|
358
|
+
def is_reserved
|
359
|
+
@properties['is_reserved']
|
360
|
+
end
|
361
|
+
|
331
362
|
##
|
332
363
|
# Deletes the PhoneNumberInstance
|
333
364
|
# @return [Boolean] true if delete succeeds, true otherwise
|
@@ -342,6 +373,15 @@ module Twilio
|
|
342
373
|
context.fetch
|
343
374
|
end
|
344
375
|
|
376
|
+
##
|
377
|
+
# Update the PhoneNumberInstance
|
378
|
+
# @param [Boolean] is_reserved Whether or not the number should be excluded from
|
379
|
+
# being assigned to a participant using proxy pool logic
|
380
|
+
# @return [PhoneNumberInstance] Updated PhoneNumberInstance
|
381
|
+
def update(is_reserved: :unset)
|
382
|
+
context.update(is_reserved: is_reserved, )
|
383
|
+
end
|
384
|
+
|
345
385
|
##
|
346
386
|
# Provide a user friendly representation
|
347
387
|
def to_s
|
@@ -205,6 +205,23 @@ module Twilio
|
|
205
205
|
ShortCodeInstance.new(@version, payload, service_sid: @solution[:service_sid], sid: @solution[:sid], )
|
206
206
|
end
|
207
207
|
|
208
|
+
##
|
209
|
+
# Update the ShortCodeInstance
|
210
|
+
# @param [Boolean] is_reserved Whether or not the short code should be excluded
|
211
|
+
# from being assigned to a participant using proxy pool logic
|
212
|
+
# @return [ShortCodeInstance] Updated ShortCodeInstance
|
213
|
+
def update(is_reserved: :unset)
|
214
|
+
data = Twilio::Values.of({'IsReserved' => is_reserved, })
|
215
|
+
|
216
|
+
payload = @version.update(
|
217
|
+
'POST',
|
218
|
+
@uri,
|
219
|
+
data: data,
|
220
|
+
)
|
221
|
+
|
222
|
+
ShortCodeInstance.new(@version, payload, service_sid: @solution[:service_sid], sid: @solution[:sid], )
|
223
|
+
end
|
224
|
+
|
208
225
|
##
|
209
226
|
# Provide a user friendly representation
|
210
227
|
def to_s
|
@@ -238,6 +255,7 @@ module Twilio
|
|
238
255
|
'iso_country' => payload['iso_country'],
|
239
256
|
'capabilities' => payload['capabilities'],
|
240
257
|
'url' => payload['url'],
|
258
|
+
'is_reserved' => payload['is_reserved'],
|
241
259
|
}
|
242
260
|
|
243
261
|
# Context
|
@@ -310,6 +328,12 @@ module Twilio
|
|
310
328
|
@properties['url']
|
311
329
|
end
|
312
330
|
|
331
|
+
##
|
332
|
+
# @return [Boolean] Reserve for manual assignment to participants only.
|
333
|
+
def is_reserved
|
334
|
+
@properties['is_reserved']
|
335
|
+
end
|
336
|
+
|
313
337
|
##
|
314
338
|
# Deletes the ShortCodeInstance
|
315
339
|
# @return [Boolean] true if delete succeeds, true otherwise
|
@@ -324,6 +348,15 @@ module Twilio
|
|
324
348
|
context.fetch
|
325
349
|
end
|
326
350
|
|
351
|
+
##
|
352
|
+
# Update the ShortCodeInstance
|
353
|
+
# @param [Boolean] is_reserved Whether or not the short code should be excluded
|
354
|
+
# from being assigned to a participant using proxy pool logic
|
355
|
+
# @return [ShortCodeInstance] Updated ShortCodeInstance
|
356
|
+
def update(is_reserved: :unset)
|
357
|
+
context.update(is_reserved: is_reserved, )
|
358
|
+
end
|
359
|
+
|
327
360
|
##
|
328
361
|
# Provide a user friendly representation
|
329
362
|
def to_s
|
@@ -17,7 +17,7 @@ module Twilio
|
|
17
17
|
##
|
18
18
|
# Initialize the ExecutionList
|
19
19
|
# @param [Version] version Version that contains the resource
|
20
|
-
# @param [String] flow_sid The
|
20
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
21
21
|
# @return [ExecutionList] ExecutionList
|
22
22
|
def initialize(version, flow_sid: nil)
|
23
23
|
super(version)
|
@@ -112,9 +112,17 @@ module Twilio
|
|
112
112
|
##
|
113
113
|
# Retrieve a single page of ExecutionInstance records from the API.
|
114
114
|
# Request is executed immediately.
|
115
|
-
# @param [String] to The to
|
116
|
-
#
|
117
|
-
# @param [
|
115
|
+
# @param [String] to The Contact phone number to start a Studio Flow Execution,
|
116
|
+
# available as variable {{contact.channel.address}}.
|
117
|
+
# @param [String] from The Twilio phone number to send messages or initiate calls
|
118
|
+
# from during the Flow Execution, available as variable {{flow.channel.address}}
|
119
|
+
# @param [Hash] parameters JSON data that will be added to your flow's context and
|
120
|
+
# can accessed as variables inside your flow. For example, if you pass in
|
121
|
+
# Parameters={'name':'Zeke'} then inside a widget you can reference the variable
|
122
|
+
# {{flow.data.name}} which will return the string 'Zeke'. Note: the JSON value
|
123
|
+
# must explicitly be passed as a string, not as a hash object. Depending on your
|
124
|
+
# particular HTTP library, you may need to add quotes or URL encode your JSON
|
125
|
+
# string.
|
118
126
|
# @return [ExecutionInstance] Newly created ExecutionInstance
|
119
127
|
def create(to: nil, from: nil, parameters: :unset)
|
120
128
|
data = Twilio::Values.of({
|
@@ -176,8 +184,8 @@ module Twilio
|
|
176
184
|
##
|
177
185
|
# Initialize the ExecutionContext
|
178
186
|
# @param [Version] version Version that contains the resource
|
179
|
-
# @param [String] flow_sid The
|
180
|
-
# @param [String] sid The
|
187
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
188
|
+
# @param [String] sid The unique SID identifier of the Execution.
|
181
189
|
# @return [ExecutionContext] ExecutionContext
|
182
190
|
def initialize(version, flow_sid, sid)
|
183
191
|
super(version)
|
@@ -258,8 +266,8 @@ module Twilio
|
|
258
266
|
# Initialize the ExecutionInstance
|
259
267
|
# @param [Version] version Version that contains the resource
|
260
268
|
# @param [Hash] payload payload that contains response from Twilio
|
261
|
-
# @param [String] flow_sid The
|
262
|
-
# @param [String] sid The
|
269
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
270
|
+
# @param [String] sid The unique SID identifier of the Execution.
|
263
271
|
# @return [ExecutionInstance] ExecutionInstance
|
264
272
|
def initialize(version, payload, flow_sid: nil, sid: nil)
|
265
273
|
super(version)
|
@@ -296,67 +304,67 @@ module Twilio
|
|
296
304
|
end
|
297
305
|
|
298
306
|
##
|
299
|
-
# @return [String]
|
307
|
+
# @return [String] A string that uniquely identifies this Execution.
|
300
308
|
def sid
|
301
309
|
@properties['sid']
|
302
310
|
end
|
303
311
|
|
304
312
|
##
|
305
|
-
# @return [String]
|
313
|
+
# @return [String] Account Sid.
|
306
314
|
def account_sid
|
307
315
|
@properties['account_sid']
|
308
316
|
end
|
309
317
|
|
310
318
|
##
|
311
|
-
# @return [String]
|
319
|
+
# @return [String] Flow Sid.
|
312
320
|
def flow_sid
|
313
321
|
@properties['flow_sid']
|
314
322
|
end
|
315
323
|
|
316
324
|
##
|
317
|
-
# @return [String]
|
325
|
+
# @return [String] Contact Sid.
|
318
326
|
def contact_sid
|
319
327
|
@properties['contact_sid']
|
320
328
|
end
|
321
329
|
|
322
330
|
##
|
323
|
-
# @return [String] The
|
331
|
+
# @return [String] The phone number, SIP address or Client identifier that triggered this Execution.
|
324
332
|
def contact_channel_address
|
325
333
|
@properties['contact_channel_address']
|
326
334
|
end
|
327
335
|
|
328
336
|
##
|
329
|
-
# @return [Hash]
|
337
|
+
# @return [Hash] Flow state.
|
330
338
|
def context
|
331
339
|
@properties['context']
|
332
340
|
end
|
333
341
|
|
334
342
|
##
|
335
|
-
# @return [execution.Status] The
|
343
|
+
# @return [execution.Status] The Status of this Execution
|
336
344
|
def status
|
337
345
|
@properties['status']
|
338
346
|
end
|
339
347
|
|
340
348
|
##
|
341
|
-
# @return [Time] The
|
349
|
+
# @return [Time] The date this Execution was created
|
342
350
|
def date_created
|
343
351
|
@properties['date_created']
|
344
352
|
end
|
345
353
|
|
346
354
|
##
|
347
|
-
# @return [Time] The
|
355
|
+
# @return [Time] The date this Execution was updated
|
348
356
|
def date_updated
|
349
357
|
@properties['date_updated']
|
350
358
|
end
|
351
359
|
|
352
360
|
##
|
353
|
-
# @return [String] The
|
361
|
+
# @return [String] The URL of this resource.
|
354
362
|
def url
|
355
363
|
@properties['url']
|
356
364
|
end
|
357
365
|
|
358
366
|
##
|
359
|
-
# @return [String]
|
367
|
+
# @return [String] Nested resource URLs.
|
360
368
|
def links
|
361
369
|
@properties['links']
|
362
370
|
end
|
@@ -18,8 +18,8 @@ module Twilio
|
|
18
18
|
##
|
19
19
|
# Initialize the ExecutionContextList
|
20
20
|
# @param [Version] version Version that contains the resource
|
21
|
-
# @param [String] flow_sid The
|
22
|
-
# @param [String] execution_sid The
|
21
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
22
|
+
# @param [String] execution_sid The unique SID identifier of the Execution.
|
23
23
|
# @return [ExecutionContextList] ExecutionContextList
|
24
24
|
def initialize(version, flow_sid: nil, execution_sid: nil)
|
25
25
|
super(version)
|
@@ -77,8 +77,8 @@ module Twilio
|
|
77
77
|
##
|
78
78
|
# Initialize the ExecutionContextContext
|
79
79
|
# @param [Version] version Version that contains the resource
|
80
|
-
# @param [String] flow_sid The
|
81
|
-
# @param [String] execution_sid The
|
80
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
81
|
+
# @param [String] execution_sid The unique SID identifier of the Execution.
|
82
82
|
# @return [ExecutionContextContext] ExecutionContextContext
|
83
83
|
def initialize(version, flow_sid, execution_sid)
|
84
84
|
super(version)
|
@@ -123,8 +123,8 @@ module Twilio
|
|
123
123
|
# Initialize the ExecutionContextInstance
|
124
124
|
# @param [Version] version Version that contains the resource
|
125
125
|
# @param [Hash] payload payload that contains response from Twilio
|
126
|
-
# @param [String] flow_sid The
|
127
|
-
# @param [String] execution_sid The
|
126
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
127
|
+
# @param [String] execution_sid The unique SID identifier of the Execution.
|
128
128
|
# @return [ExecutionContextInstance] ExecutionContextInstance
|
129
129
|
def initialize(version, payload, flow_sid: nil, execution_sid: nil)
|
130
130
|
super(version)
|
@@ -159,31 +159,31 @@ module Twilio
|
|
159
159
|
end
|
160
160
|
|
161
161
|
##
|
162
|
-
# @return [String]
|
162
|
+
# @return [String] Account Sid.
|
163
163
|
def account_sid
|
164
164
|
@properties['account_sid']
|
165
165
|
end
|
166
166
|
|
167
167
|
##
|
168
|
-
# @return [Hash]
|
168
|
+
# @return [Hash] Flow state.
|
169
169
|
def context
|
170
170
|
@properties['context']
|
171
171
|
end
|
172
172
|
|
173
173
|
##
|
174
|
-
# @return [String]
|
174
|
+
# @return [String] Flow Sid.
|
175
175
|
def flow_sid
|
176
176
|
@properties['flow_sid']
|
177
177
|
end
|
178
178
|
|
179
179
|
##
|
180
|
-
# @return [String]
|
180
|
+
# @return [String] Execution Sid.
|
181
181
|
def execution_sid
|
182
182
|
@properties['execution_sid']
|
183
183
|
end
|
184
184
|
|
185
185
|
##
|
186
|
-
# @return [String] The
|
186
|
+
# @return [String] The URL of this resource.
|
187
187
|
def url
|
188
188
|
@properties['url']
|
189
189
|
end
|
@@ -18,8 +18,8 @@ module Twilio
|
|
18
18
|
##
|
19
19
|
# Initialize the ExecutionStepList
|
20
20
|
# @param [Version] version Version that contains the resource
|
21
|
-
# @param [String] flow_sid The
|
22
|
-
# @param [String] execution_sid The
|
21
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
22
|
+
# @param [String] execution_sid The unique SID identifier of the Execution.
|
23
23
|
# @return [ExecutionStepList] ExecutionStepList
|
24
24
|
def initialize(version, flow_sid: nil, execution_sid: nil)
|
25
25
|
super(version)
|
@@ -160,9 +160,9 @@ module Twilio
|
|
160
160
|
##
|
161
161
|
# Initialize the ExecutionStepContext
|
162
162
|
# @param [Version] version Version that contains the resource
|
163
|
-
# @param [String] flow_sid The
|
164
|
-
# @param [String] execution_sid The
|
165
|
-
# @param [String] sid The
|
163
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
164
|
+
# @param [String] execution_sid The unique SID identifier of the Execution.
|
165
|
+
# @param [String] sid The unique SID identifier of the Step.
|
166
166
|
# @return [ExecutionStepContext] ExecutionStepContext
|
167
167
|
def initialize(version, flow_sid, execution_sid, sid)
|
168
168
|
super(version)
|
@@ -224,9 +224,9 @@ module Twilio
|
|
224
224
|
# Initialize the ExecutionStepInstance
|
225
225
|
# @param [Version] version Version that contains the resource
|
226
226
|
# @param [Hash] payload payload that contains response from Twilio
|
227
|
-
# @param [String] flow_sid The
|
228
|
-
# @param [String] execution_sid The
|
229
|
-
# @param [String] sid The
|
227
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
228
|
+
# @param [String] execution_sid The unique SID identifier of the Execution.
|
229
|
+
# @param [String] sid The unique SID identifier of the Step.
|
230
230
|
# @return [ExecutionStepInstance] ExecutionStepInstance
|
231
231
|
def initialize(version, payload, flow_sid: nil, execution_sid: nil, sid: nil)
|
232
232
|
super(version)
|
@@ -273,31 +273,31 @@ module Twilio
|
|
273
273
|
end
|
274
274
|
|
275
275
|
##
|
276
|
-
# @return [String]
|
276
|
+
# @return [String] A string that uniquely identifies this Step.
|
277
277
|
def sid
|
278
278
|
@properties['sid']
|
279
279
|
end
|
280
280
|
|
281
281
|
##
|
282
|
-
# @return [String]
|
282
|
+
# @return [String] Account Sid.
|
283
283
|
def account_sid
|
284
284
|
@properties['account_sid']
|
285
285
|
end
|
286
286
|
|
287
287
|
##
|
288
|
-
# @return [String]
|
288
|
+
# @return [String] Flow Sid.
|
289
289
|
def flow_sid
|
290
290
|
@properties['flow_sid']
|
291
291
|
end
|
292
292
|
|
293
293
|
##
|
294
|
-
# @return [String]
|
294
|
+
# @return [String] Execution Sid.
|
295
295
|
def execution_sid
|
296
296
|
@properties['execution_sid']
|
297
297
|
end
|
298
298
|
|
299
299
|
##
|
300
|
-
# @return [String] The
|
300
|
+
# @return [String] The event that caused the flow to transition to this Step.
|
301
301
|
def name
|
302
302
|
@properties['name']
|
303
303
|
end
|
@@ -309,31 +309,31 @@ module Twilio
|
|
309
309
|
end
|
310
310
|
|
311
311
|
##
|
312
|
-
# @return [String] The
|
312
|
+
# @return [String] The Widget that preceded the Widget for this Step.
|
313
313
|
def transitioned_from
|
314
314
|
@properties['transitioned_from']
|
315
315
|
end
|
316
316
|
|
317
317
|
##
|
318
|
-
# @return [String] The
|
318
|
+
# @return [String] The Widget that will follow the Widget for this Step.
|
319
319
|
def transitioned_to
|
320
320
|
@properties['transitioned_to']
|
321
321
|
end
|
322
322
|
|
323
323
|
##
|
324
|
-
# @return [Time] The
|
324
|
+
# @return [Time] The date this Step was created
|
325
325
|
def date_created
|
326
326
|
@properties['date_created']
|
327
327
|
end
|
328
328
|
|
329
329
|
##
|
330
|
-
# @return [Time] The
|
330
|
+
# @return [Time] The date this Step was updated
|
331
331
|
def date_updated
|
332
332
|
@properties['date_updated']
|
333
333
|
end
|
334
334
|
|
335
335
|
##
|
336
|
-
# @return [String] The
|
336
|
+
# @return [String] The URL of this resource.
|
337
337
|
def url
|
338
338
|
@properties['url']
|
339
339
|
end
|
@@ -19,9 +19,10 @@ module Twilio
|
|
19
19
|
##
|
20
20
|
# Initialize the ExecutionStepContextList
|
21
21
|
# @param [Version] version Version that contains the resource
|
22
|
-
# @param [String] flow_sid The
|
23
|
-
# @param [String] execution_sid The
|
24
|
-
# @param [String] step_sid The
|
22
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
23
|
+
# @param [String] execution_sid The unique SID identifier of the Execution.
|
24
|
+
# @param [String] step_sid The unique SID identifier of the Step this context is
|
25
|
+
# associated with.
|
25
26
|
# @return [ExecutionStepContextList] ExecutionStepContextList
|
26
27
|
def initialize(version, flow_sid: nil, execution_sid: nil, step_sid: nil)
|
27
28
|
super(version)
|
@@ -80,9 +81,9 @@ module Twilio
|
|
80
81
|
##
|
81
82
|
# Initialize the ExecutionStepContextContext
|
82
83
|
# @param [Version] version Version that contains the resource
|
83
|
-
# @param [String] flow_sid The
|
84
|
-
# @param [String] execution_sid The
|
85
|
-
# @param [String] step_sid The
|
84
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
85
|
+
# @param [String] execution_sid The unique SID identifier of the Execution.
|
86
|
+
# @param [String] step_sid The unique SID identifier of the Step.
|
86
87
|
# @return [ExecutionStepContextContext] ExecutionStepContextContext
|
87
88
|
def initialize(version, flow_sid, execution_sid, step_sid)
|
88
89
|
super(version)
|
@@ -128,9 +129,10 @@ module Twilio
|
|
128
129
|
# Initialize the ExecutionStepContextInstance
|
129
130
|
# @param [Version] version Version that contains the resource
|
130
131
|
# @param [Hash] payload payload that contains response from Twilio
|
131
|
-
# @param [String] flow_sid The
|
132
|
-
# @param [String] execution_sid The
|
133
|
-
# @param [String] step_sid The
|
132
|
+
# @param [String] flow_sid The unique SID identifier of the Flow.
|
133
|
+
# @param [String] execution_sid The unique SID identifier of the Execution.
|
134
|
+
# @param [String] step_sid The unique SID identifier of the Step this context is
|
135
|
+
# associated with.
|
134
136
|
# @return [ExecutionStepContextInstance] ExecutionStepContextInstance
|
135
137
|
def initialize(version, payload, flow_sid: nil, execution_sid: nil, step_sid: nil)
|
136
138
|
super(version)
|
@@ -167,37 +169,37 @@ module Twilio
|
|
167
169
|
end
|
168
170
|
|
169
171
|
##
|
170
|
-
# @return [String]
|
172
|
+
# @return [String] Account Sid.
|
171
173
|
def account_sid
|
172
174
|
@properties['account_sid']
|
173
175
|
end
|
174
176
|
|
175
177
|
##
|
176
|
-
# @return [Hash]
|
178
|
+
# @return [Hash] Flow state.
|
177
179
|
def context
|
178
180
|
@properties['context']
|
179
181
|
end
|
180
182
|
|
181
183
|
##
|
182
|
-
# @return [String]
|
184
|
+
# @return [String] Execution Sid.
|
183
185
|
def execution_sid
|
184
186
|
@properties['execution_sid']
|
185
187
|
end
|
186
188
|
|
187
189
|
##
|
188
|
-
# @return [String]
|
190
|
+
# @return [String] Flow Sid.
|
189
191
|
def flow_sid
|
190
192
|
@properties['flow_sid']
|
191
193
|
end
|
192
194
|
|
193
195
|
##
|
194
|
-
# @return [String]
|
196
|
+
# @return [String] Step Sid.
|
195
197
|
def step_sid
|
196
198
|
@properties['step_sid']
|
197
199
|
end
|
198
200
|
|
199
201
|
##
|
200
|
-
# @return [String] The
|
202
|
+
# @return [String] The URL of this resource.
|
201
203
|
def url
|
202
204
|
@properties['url']
|
203
205
|
end
|