twilio-ruby 5.22.0 → 5.22.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +15 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/client.rb +7 -0
  5. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +14 -0
  6. data/lib/twilio-ruby/rest/messaging/v1/session.rb +1 -7
  7. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +34 -32
  8. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +37 -35
  9. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +45 -38
  10. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +38 -34
  11. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +67 -52
  12. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +32 -23
  13. data/lib/twilio-ruby/rest/proxy/v1/service.rb +123 -79
  14. data/lib/twilio-ruby/rest/proxy/v1.rb +2 -1
  15. data/lib/twilio-ruby/rest/proxy.rb +2 -1
  16. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +366 -0
  17. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +384 -0
  18. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +348 -0
  19. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +358 -0
  20. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +398 -0
  21. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +417 -0
  22. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +366 -0
  23. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +384 -0
  24. data/lib/twilio-ruby/rest/{verify → serverless}/v1/service.rb +139 -175
  25. data/lib/twilio-ruby/rest/{verify → serverless}/v1.rb +6 -6
  26. data/lib/twilio-ruby/rest/serverless.rb +46 -0
  27. data/lib/twilio-ruby/rest/trunking/v1/trunk/terminating_sip_domain.rb +419 -0
  28. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +26 -0
  29. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +46 -38
  30. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +24 -20
  31. data/lib/twilio-ruby/rest/verify/v2/service.rb +59 -57
  32. data/lib/twilio-ruby/rest/verify/v2.rb +2 -1
  33. data/lib/twilio-ruby/rest/verify.rb +2 -8
  34. data/lib/twilio-ruby/version.rb +1 -1
  35. data/spec/integration/flex_api/v1/configuration_spec.rb +15 -0
  36. data/spec/integration/messaging/v1/session/participant_spec.rb +10 -10
  37. data/spec/integration/serverless/v1/service/asset/asset_version_spec.rb +144 -0
  38. data/spec/integration/serverless/v1/service/asset_spec.rb +177 -0
  39. data/spec/integration/serverless/v1/service/build_spec.rb +184 -0
  40. data/spec/integration/serverless/v1/service/environment/deployment_spec.rb +137 -0
  41. data/spec/integration/serverless/v1/service/environment/variable_spec.rb +181 -0
  42. data/spec/integration/serverless/v1/service/environment_spec.rb +143 -0
  43. data/spec/integration/serverless/v1/service/function/function_version_spec.rb +144 -0
  44. data/spec/integration/serverless/v1/service/function_spec.rb +177 -0
  45. data/spec/integration/serverless/v1/service_spec.rb +180 -0
  46. data/spec/integration/trunking/v1/trunk/terminating_sip_domain_spec.rb +231 -0
  47. data/spec/integration/trunking/v1/trunk_spec.rb +12 -6
  48. metadata +34 -12
  49. data/lib/twilio-ruby/rest/verify/v1/service/verification.rb +0 -340
  50. data/lib/twilio-ruby/rest/verify/v1/service/verification_check.rb +0 -209
  51. data/spec/integration/verify/v1/service/verification_check_spec.rb +0 -54
  52. data/spec/integration/verify/v1/service/verification_spec.rb +0 -169
  53. data/spec/integration/verify/v1/service_spec.rb +0 -231
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2caa3e357ecf1b95218e2dd30cac8d6fec3e80bc9344f8cf6d0d33c5d3b3f0ca
4
- data.tar.gz: d63ebd00ecbf0fd5216581baaf6ef70099bb0368a1e54e5303253530ef933925
3
+ metadata.gz: 0b096695ddd4583d0d7bf4ad95ab76eace6192901f7bedf56dc31b4dde2a0de8
4
+ data.tar.gz: 6bb2df3607d10000291bcbff5975a37a35f3dddc918759184d1b1b69eed5e11a
5
5
  SHA512:
6
- metadata.gz: 44a9c25927de36f595007341e16afb056f4b54e324409f156e8116a3639593aee57d515c0374f1381d82867097d6578082021f13212e86b61d6be65693976555
7
- data.tar.gz: 1a9ed249a0acbf614d781f1daaddcad3d1c1457958c829046d4279bf884ac0c228ba8986e461c5105dbb77c972a53a074ade8bc89729eec7126302d7aa2545a0
6
+ metadata.gz: 264cfd07318d76751f33c2ac6381260e86ee7cab59b92eb1148caa1bc5c957aa0fe4b9b424d26f80938d23269f32bbfa19f891ea5564c2eb33b4e4dc43880b23
7
+ data.tar.gz: 17b4e305842552e83726da94c85a5368152356a8abcc525d2218e520f022f98d084dcb78d41db71fd64388a3b95f908135374e3182623dacd28ee7b3a4d4dcf4
data/CHANGES.md CHANGED
@@ -1,6 +1,21 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2019-04-12] Version 5.22.1
5
+ ----------------------------
6
+ **Flex**
7
+ - Adding PluginService to Flex Configuration
8
+
9
+ **Numbers**
10
+ - Add API for Proof of Addresses
11
+
12
+ **Proxy**
13
+ - Clarify documentation for Service and Session fetch
14
+
15
+ **Serverless**
16
+ - Serverless scaffolding
17
+
18
+
4
19
  [2019-03-28] Version 5.22.0
5
20
  ----------------------------
6
21
  **Api**
data/README.md CHANGED
@@ -27,13 +27,13 @@ in-line code documentation here in the library.
27
27
  To install using [Bundler][bundler] grab the latest stable version:
28
28
 
29
29
  ```ruby
30
- gem 'twilio-ruby', '~> 5.22.0'
30
+ gem 'twilio-ruby', '~> 5.22.1'
31
31
  ```
32
32
 
33
33
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
34
34
 
35
35
  ```bash
36
- gem install twilio-ruby -v 5.22.0
36
+ gem install twilio-ruby -v 5.22.1
37
37
  ```
38
38
 
39
39
  To build and install the development branch yourself from the latest source:
@@ -39,6 +39,7 @@ module Twilio
39
39
  @preview = nil
40
40
  @pricing = nil
41
41
  @proxy = nil
42
+ @serverless = nil
42
43
  @taskrouter = nil
43
44
  @trunking = nil
44
45
  @video = nil
@@ -183,6 +184,12 @@ module Twilio
183
184
  @proxy ||= Proxy.new self
184
185
  end
185
186
 
187
+ ##
188
+ # Access the Serverless Twilio Domain
189
+ def serverless
190
+ @serverless ||= Serverless.new self
191
+ end
192
+
186
193
  ##
187
194
  # Access the Taskrouter Twilio Domain
188
195
  def taskrouter
@@ -172,6 +172,8 @@ module Twilio
172
172
  'crm_fallback_url' => payload['crm_fallback_url'],
173
173
  'crm_attributes' => payload['crm_attributes'],
174
174
  'public_attributes' => payload['public_attributes'],
175
+ 'plugin_service_enabled' => payload['plugin_service_enabled'],
176
+ 'plugin_service_attributes' => payload['plugin_service_attributes'],
175
177
  'url' => payload['url'],
176
178
  }
177
179
 
@@ -359,6 +361,18 @@ module Twilio
359
361
  @properties['public_attributes']
360
362
  end
361
363
 
364
+ ##
365
+ # @return [Boolean] Is plugin service Enabled
366
+ def plugin_service_enabled
367
+ @properties['plugin_service_enabled']
368
+ end
369
+
370
+ ##
371
+ # @return [Hash] Plugin service Attributes
372
+ def plugin_service_attributes
373
+ @properties['plugin_service_attributes']
374
+ end
375
+
362
376
  ##
363
377
  # @return [String] The URL for this resource
364
378
  def url
@@ -39,12 +39,8 @@ module Twilio
39
39
  # @param [Time] date_updated The date that this resource was last updated.
40
40
  # @param [String] created_by Identity of the session's creator. If the Session was
41
41
  # created through the API, the value will be `system`
42
- # @param [String] twilio_address Twilio address the participant is contacting to.
43
- # Together with User address defines the participant.
44
- # @param [String] user_address Address the participant is contacting from.
45
- # Together with Twilio address defines the participant.
46
42
  # @return [SessionInstance] Newly created SessionInstance
47
- def create(messaging_service_sid: nil, friendly_name: :unset, attributes: :unset, date_created: :unset, date_updated: :unset, created_by: :unset, twilio_address: :unset, user_address: :unset)
43
+ def create(messaging_service_sid: nil, friendly_name: :unset, attributes: :unset, date_created: :unset, date_updated: :unset, created_by: :unset)
48
44
  data = Twilio::Values.of({
49
45
  'MessagingServiceSid' => messaging_service_sid,
50
46
  'FriendlyName' => friendly_name,
@@ -52,8 +48,6 @@ module Twilio
52
48
  'DateCreated' => Twilio.serialize_iso8601_datetime(date_created),
53
49
  'DateUpdated' => Twilio.serialize_iso8601_datetime(date_updated),
54
50
  'CreatedBy' => created_by,
55
- 'TwilioAddress' => twilio_address,
56
- 'UserAddress' => user_address,
57
51
  })
58
52
 
59
53
  payload = @version.create(
@@ -17,8 +17,8 @@ module Twilio
17
17
  ##
18
18
  # Initialize the PhoneNumberList
19
19
  # @param [Version] version Version that contains the resource
20
- # @param [String] service_sid The unique SID identifier of the parent
21
- # [Service](https://www.twilio.com/docs/proxy/api/service).
20
+ # @param [String] service_sid The SID of the PhoneNumber resource's parent
21
+ # [Service](https://www.twilio.com/docs/proxy/api/service) resource.
22
22
  # @return [PhoneNumberList] PhoneNumberList
23
23
  def initialize(version, service_sid: nil)
24
24
  super(version)
@@ -31,13 +31,14 @@ module Twilio
31
31
  ##
32
32
  # Retrieve a single page of PhoneNumberInstance records from the API.
33
33
  # Request is executed immediately.
34
- # @param [String] sid A Twilio
35
- # [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incoming-phone-numbers) Sid that represents the Twilio Number you would like to assign to your Proxy Service (e.g. `PN1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d`).
36
- # @param [String] phone_number A string that represents the Twilio Number you
37
- # would like to assign to your Proxy Service. Provide number in
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. See [Reserved Phone
34
+ # @param [String] sid The SID of a Twilio
35
+ # [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incoming-phone-numbers) resource that represents the Twilio Number you would like to assign to your Proxy Service.
36
+ # @param [String] phone_number The phone number in
37
+ # [E.164](https://www.twilio.com/docs/glossary/what-e164) format. E.164 phone
38
+ # numbers consist of a + followed by the country code and subscriber number
39
+ # without punctuation characters. For example, +14155551234.
40
+ # @param [Boolean] is_reserved Whether the new phone number should be reserved and
41
+ # not be assigned to a participant using proxy pool logic. See [Reserved Phone
41
42
  # Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more
42
43
  # information.
43
44
  # @return [PhoneNumberInstance] Newly created PhoneNumberInstance
@@ -179,10 +180,11 @@ module Twilio
179
180
  ##
180
181
  # Initialize the PhoneNumberContext
181
182
  # @param [Version] version Version that contains the resource
182
- # @param [String] service_sid The unique SID identifier of the parent
183
- # [Service](https://www.twilio.com/docs/proxy/api/service).
184
- # @param [String] sid A 34 character string that uniquely identifies the Phone
185
- # Number to fetch (e.g. `PN1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d`).
183
+ # @param [String] service_sid The SID of the parent
184
+ # [Service](https://www.twilio.com/docs/proxy/api/service) of the PhoneNumber
185
+ # resource to fetch.
186
+ # @param [String] sid The Twilio-provided string that uniquely identifies the
187
+ # PhoneNumber resource to fetch.
186
188
  # @return [PhoneNumberContext] PhoneNumberContext
187
189
  def initialize(version, service_sid, sid)
188
190
  super(version)
@@ -221,8 +223,8 @@ module Twilio
221
223
 
222
224
  ##
223
225
  # Update the PhoneNumberInstance
224
- # @param [Boolean] is_reserved Whether or not the number should be excluded from
225
- # being assigned to a participant using proxy pool logic. See [Reserved Phone
226
+ # @param [Boolean] is_reserved Whether the phone number should be reserved and not
227
+ # be assigned to a participant using proxy pool logic. See [Reserved Phone
226
228
  # Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more
227
229
  # information.
228
230
  # @return [PhoneNumberInstance] Updated PhoneNumberInstance
@@ -265,10 +267,10 @@ module Twilio
265
267
  # Initialize the PhoneNumberInstance
266
268
  # @param [Version] version Version that contains the resource
267
269
  # @param [Hash] payload payload that contains response from Twilio
268
- # @param [String] service_sid The unique SID identifier of the parent
269
- # [Service](https://www.twilio.com/docs/proxy/api/service).
270
- # @param [String] sid A 34 character string that uniquely identifies the Phone
271
- # Number to fetch (e.g. `PN1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d`).
270
+ # @param [String] service_sid The SID of the PhoneNumber resource's parent
271
+ # [Service](https://www.twilio.com/docs/proxy/api/service) resource.
272
+ # @param [String] sid The Twilio-provided string that uniquely identifies the
273
+ # PhoneNumber resource to fetch.
272
274
  # @return [PhoneNumberInstance] PhoneNumberInstance
273
275
  def initialize(version, payload, service_sid: nil, sid: nil)
274
276
  super(version)
@@ -305,67 +307,67 @@ module Twilio
305
307
  end
306
308
 
307
309
  ##
308
- # @return [String] A string that uniquely identifies this Phone Number.
310
+ # @return [String] The unique string that identifies the resource
309
311
  def sid
310
312
  @properties['sid']
311
313
  end
312
314
 
313
315
  ##
314
- # @return [String] Account Sid.
316
+ # @return [String] The SID of the Account that created the resource
315
317
  def account_sid
316
318
  @properties['account_sid']
317
319
  end
318
320
 
319
321
  ##
320
- # @return [String] Service Sid.
322
+ # @return [String] The SID of the PhoneNumber resource's parent Service resource
321
323
  def service_sid
322
324
  @properties['service_sid']
323
325
  end
324
326
 
325
327
  ##
326
- # @return [Time] The date this Phone Number was added to the service
328
+ # @return [Time] The ISO 8601 date and time in GMT when the resource was created
327
329
  def date_created
328
330
  @properties['date_created']
329
331
  end
330
332
 
331
333
  ##
332
- # @return [Time] The date this Phone Number was updated
334
+ # @return [Time] The ISO 8601 date and time in GMT when the resource was last updated
333
335
  def date_updated
334
336
  @properties['date_updated']
335
337
  end
336
338
 
337
339
  ##
338
- # @return [String] The phone number.
340
+ # @return [String] The phone number in E.164 format
339
341
  def phone_number
340
342
  @properties['phone_number']
341
343
  end
342
344
 
343
345
  ##
344
- # @return [String] A human-readable description of this resource.
346
+ # @return [String] The string that you assigned to describe the resource
345
347
  def friendly_name
346
348
  @properties['friendly_name']
347
349
  end
348
350
 
349
351
  ##
350
- # @return [String] ISO Country Code,
352
+ # @return [String] The ISO Country Code
351
353
  def iso_country
352
354
  @properties['iso_country']
353
355
  end
354
356
 
355
357
  ##
356
- # @return [String] A list of capabilities.
358
+ # @return [String] The capabilities of the phone number
357
359
  def capabilities
358
360
  @properties['capabilities']
359
361
  end
360
362
 
361
363
  ##
362
- # @return [String] The URL of this resource.
364
+ # @return [String] The absolute URL of the PhoneNumber resource
363
365
  def url
364
366
  @properties['url']
365
367
  end
366
368
 
367
369
  ##
368
- # @return [Boolean] Reserve for manual assignment to participants only.
370
+ # @return [Boolean] Reserve the phone number for manual assignment to participants only
369
371
  def is_reserved
370
372
  @properties['is_reserved']
371
373
  end
@@ -386,8 +388,8 @@ module Twilio
386
388
 
387
389
  ##
388
390
  # Update the PhoneNumberInstance
389
- # @param [Boolean] is_reserved Whether or not the number should be excluded from
390
- # being assigned to a participant using proxy pool logic. See [Reserved Phone
391
+ # @param [Boolean] is_reserved Whether the phone number should be reserved and not
392
+ # be assigned to a participant using proxy pool logic. See [Reserved Phone
391
393
  # Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more
392
394
  # information.
393
395
  # @return [PhoneNumberInstance] Updated PhoneNumberInstance
@@ -18,10 +18,10 @@ module Twilio
18
18
  ##
19
19
  # Initialize the InteractionList
20
20
  # @param [Version] version Version that contains the resource
21
- # @param [String] service_sid The unique SID identifier of the parent
22
- # [Service](https://www.twilio.com/docs/proxy/api/service).
23
- # @param [String] session_sid The unique SID identifier of the parent
24
- # [Session](https://www.twilio.com/docs/proxy/api/session).
21
+ # @param [String] service_sid The SID of the parent
22
+ # [Service](https://www.twilio.com/docs/proxy/api/service) resource.
23
+ # @param [String] session_sid The SID of the parent
24
+ # [Session](https://www.twilio.com/docs/proxy/api/session) resource.
25
25
  # @return [InteractionList] InteractionList
26
26
  def initialize(version, service_sid: nil, session_sid: nil)
27
27
  super(version)
@@ -162,12 +162,14 @@ module Twilio
162
162
  ##
163
163
  # Initialize the InteractionContext
164
164
  # @param [Version] version Version that contains the resource
165
- # @param [String] service_sid The unique SID identifier of the parent
166
- # [Service](https://www.twilio.com/docs/proxy/api/service).
167
- # @param [String] session_sid The unique SID identifier of the parent
168
- # [Session](https://www.twilio.com/docs/proxy/api/session).
169
- # @param [String] sid A 34 character string that uniquely identifies this
170
- # Interaction.
165
+ # @param [String] service_sid The SID of the parent
166
+ # [Service](https://www.twilio.com/docs/proxy/api/service) of the resource to
167
+ # fetch.
168
+ # @param [String] session_sid The SID of the parent
169
+ # [Session](https://www.twilio.com/docs/proxy/api/session) of the resource to
170
+ # fetch.
171
+ # @param [String] sid The Twilio-provided string that uniquely identifies the
172
+ # Interaction resource to fetch.
171
173
  # @return [InteractionContext] InteractionContext
172
174
  def initialize(version, service_sid, session_sid, sid)
173
175
  super(version)
@@ -227,12 +229,12 @@ module Twilio
227
229
  # Initialize the InteractionInstance
228
230
  # @param [Version] version Version that contains the resource
229
231
  # @param [Hash] payload payload that contains response from Twilio
230
- # @param [String] service_sid The unique SID identifier of the parent
231
- # [Service](https://www.twilio.com/docs/proxy/api/service).
232
- # @param [String] session_sid The unique SID identifier of the parent
233
- # [Session](https://www.twilio.com/docs/proxy/api/session).
234
- # @param [String] sid A 34 character string that uniquely identifies this
235
- # Interaction.
232
+ # @param [String] service_sid The SID of the parent
233
+ # [Service](https://www.twilio.com/docs/proxy/api/service) resource.
234
+ # @param [String] session_sid The SID of the parent
235
+ # [Session](https://www.twilio.com/docs/proxy/api/session) resource.
236
+ # @param [String] sid The Twilio-provided string that uniquely identifies the
237
+ # Interaction resource to fetch.
236
238
  # @return [InteractionInstance] InteractionInstance
237
239
  def initialize(version, payload, service_sid: nil, session_sid: nil, sid: nil)
238
240
  super(version)
@@ -286,115 +288,115 @@ module Twilio
286
288
  end
287
289
 
288
290
  ##
289
- # @return [String] A string that uniquely identifies this Interaction.
291
+ # @return [String] The unique string that identifies the resource
290
292
  def sid
291
293
  @properties['sid']
292
294
  end
293
295
 
294
296
  ##
295
- # @return [String] Session Sid.
297
+ # @return [String] The SID of the resource's parent Session
296
298
  def session_sid
297
299
  @properties['session_sid']
298
300
  end
299
301
 
300
302
  ##
301
- # @return [String] Service Sid.
303
+ # @return [String] The SID of the resource's parent Service
302
304
  def service_sid
303
305
  @properties['service_sid']
304
306
  end
305
307
 
306
308
  ##
307
- # @return [String] Account Sid.
309
+ # @return [String] The SID of the Account that created the resource
308
310
  def account_sid
309
311
  @properties['account_sid']
310
312
  end
311
313
 
312
314
  ##
313
- # @return [String] Further details about an interaction.
315
+ # @return [String] A JSON string that includes the message body of message interactions
314
316
  def data
315
317
  @properties['data']
316
318
  end
317
319
 
318
320
  ##
319
- # @return [interaction.Type] The Type of this Interaction
321
+ # @return [interaction.Type] The Type of the Interaction
320
322
  def type
321
323
  @properties['type']
322
324
  end
323
325
 
324
326
  ##
325
- # @return [String] Inbound Participant Sid.
327
+ # @return [String] The SID of the inbound Participant resource
326
328
  def inbound_participant_sid
327
329
  @properties['inbound_participant_sid']
328
330
  end
329
331
 
330
332
  ##
331
- # @return [String] Inbound Resource Sid.
333
+ # @return [String] The SID of the inbound resource
332
334
  def inbound_resource_sid
333
335
  @properties['inbound_resource_sid']
334
336
  end
335
337
 
336
338
  ##
337
- # @return [interaction.ResourceStatus] The Inbound Resource Status of this Interaction
339
+ # @return [interaction.ResourceStatus] The inbound resource status of the Interaction
338
340
  def inbound_resource_status
339
341
  @properties['inbound_resource_status']
340
342
  end
341
343
 
342
344
  ##
343
- # @return [String] The type of the Inbound Resource, Call or Message.
345
+ # @return [String] The inbound resource type
344
346
  def inbound_resource_type
345
347
  @properties['inbound_resource_type']
346
348
  end
347
349
 
348
350
  ##
349
- # @return [String] The URL of the Twilio inbound resource.
351
+ # @return [String] The URL of the Twilio inbound resource
350
352
  def inbound_resource_url
351
353
  @properties['inbound_resource_url']
352
354
  end
353
355
 
354
356
  ##
355
- # @return [String] Outbound Participant Sid.
357
+ # @return [String] The SID of the outbound Participant
356
358
  def outbound_participant_sid
357
359
  @properties['outbound_participant_sid']
358
360
  end
359
361
 
360
362
  ##
361
- # @return [String] Outbound Resource Sid.
363
+ # @return [String] The SID of the outbound resource
362
364
  def outbound_resource_sid
363
365
  @properties['outbound_resource_sid']
364
366
  end
365
367
 
366
368
  ##
367
- # @return [interaction.ResourceStatus] The Outbound Resource Status of this Interaction
369
+ # @return [interaction.ResourceStatus] The outbound resource status of the Interaction
368
370
  def outbound_resource_status
369
371
  @properties['outbound_resource_status']
370
372
  end
371
373
 
372
374
  ##
373
- # @return [String] The type of the Outbound Resource, Call or Message.
375
+ # @return [String] The outbound resource type
374
376
  def outbound_resource_type
375
377
  @properties['outbound_resource_type']
376
378
  end
377
379
 
378
380
  ##
379
- # @return [String] The URL of the Twilio outbound resource.
381
+ # @return [String] The URL of the Twilio outbound resource
380
382
  def outbound_resource_url
381
383
  @properties['outbound_resource_url']
382
384
  end
383
385
 
384
386
  ##
385
- # @return [Time] The date this Interaction was created
387
+ # @return [Time] The ISO 8601 date and time in GMT when the Interaction was created
386
388
  def date_created
387
389
  @properties['date_created']
388
390
  end
389
391
 
390
392
  ##
391
- # @return [Time] The date this Interaction was last updated
393
+ # @return [Time] The ISO 8601 date and time in GMT when the resource was last updated
392
394
  def date_updated
393
395
  @properties['date_updated']
394
396
  end
395
397
 
396
398
  ##
397
- # @return [String] The URL of this resource.
399
+ # @return [String] The absolute URL of the Interaction resource
398
400
  def url
399
401
  @properties['url']
400
402
  end