twilio-ruby 5.10.5 → 5.10.6

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +10 -0
  3. data/CHANGES.md +10 -0
  4. data/Dockerfile +9 -0
  5. data/Makefile +11 -0
  6. data/README.md +5 -2
  7. data/lib/twilio-ruby/rest/api.rb +1 -2
  8. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +117 -32
  9. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +30 -0
  10. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +112 -56
  11. data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +460 -0
  12. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +7 -0
  13. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +4 -4
  14. data/lib/twilio-ruby/rest/client.rb +1 -2
  15. data/lib/twilio-ruby/rest/preview.rb +8 -8
  16. data/lib/twilio-ruby/rest/preview/marketplace.rb +13 -13
  17. data/lib/twilio-ruby/rest/preview/understand/assistant/intent/field.rb +5 -2
  18. data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +8 -8
  19. data/lib/twilio-ruby/rest/proxy/v1/service.rb +9 -9
  20. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +10 -8
  21. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +3 -7
  22. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +3 -49
  23. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +1 -1
  24. data/lib/twilio-ruby/rest/video.rb +18 -6
  25. data/lib/twilio-ruby/rest/video/v1.rb +27 -13
  26. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +278 -0
  27. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +278 -0
  28. data/lib/twilio-ruby/version.rb +1 -1
  29. data/spec/integration/api/v2010/account/call/recording_spec.rb +103 -0
  30. data/spec/integration/api/v2010/account/conference/recording_spec.rb +240 -0
  31. data/spec/integration/api/v2010/account/message_spec.rb +0 -5
  32. data/spec/integration/proxy/v1/service/session/participant_spec.rb +0 -48
  33. data/spec/integration/video/v1/composition_settings_spec.rb +86 -0
  34. data/spec/integration/video/v1/recording_settings_spec.rb +86 -0
  35. metadata +13 -3
@@ -297,6 +297,7 @@ module Twilio
297
297
  'conference_sid' => payload['conference_sid'],
298
298
  'date_created' => Twilio.deserialize_rfc2822(payload['date_created']),
299
299
  'date_updated' => Twilio.deserialize_rfc2822(payload['date_updated']),
300
+ 'start_time' => Twilio.deserialize_rfc2822(payload['start_time']),
300
301
  'duration' => payload['duration'],
301
302
  'sid' => payload['sid'],
302
303
  'price' => payload['price'],
@@ -362,6 +363,12 @@ module Twilio
362
363
  @properties['date_updated']
363
364
  end
364
365
 
366
+ ##
367
+ # @return [Time] The start time of the recording, given in RFC 2822 format.
368
+ def start_time
369
+ @properties['start_time']
370
+ end
371
+
365
372
  ##
366
373
  # @return [String] The length of the recording, in seconds.
367
374
  def duration
@@ -16,7 +16,7 @@ module Twilio
16
16
  # Initialize the TranscriptionList
17
17
  # @param [Version] version Version that contains the resource
18
18
  # @param [String] account_sid The unique id of the
19
- # [Account](https://www.twilio.com/docs/api/rest/account) responsible for this
19
+ # [Account](https://www.twilio.com/docs/iam/api/account) responsible for this
20
20
  # transcription.
21
21
  # @return [TranscriptionList] TranscriptionList
22
22
  def initialize(version, account_sid: nil)
@@ -150,7 +150,7 @@ module Twilio
150
150
  # Initialize the TranscriptionContext
151
151
  # @param [Version] version Version that contains the resource
152
152
  # @param [String] account_sid The account_sid
153
- # @param [String] sid The transcription Sid that uniquely identifies this resource
153
+ # @param [String] sid The unique SID that identifies this Transcription
154
154
  # @return [TranscriptionContext] TranscriptionContext
155
155
  def initialize(version, account_sid, sid)
156
156
  super(version)
@@ -201,9 +201,9 @@ module Twilio
201
201
  # @param [Version] version Version that contains the resource
202
202
  # @param [Hash] payload payload that contains response from Twilio
203
203
  # @param [String] account_sid The unique id of the
204
- # [Account](https://www.twilio.com/docs/api/rest/account) responsible for this
204
+ # [Account](https://www.twilio.com/docs/iam/api/account) responsible for this
205
205
  # transcription.
206
- # @param [String] sid The transcription Sid that uniquely identifies this resource
206
+ # @param [String] sid The unique SID that identifies this Transcription
207
207
  # @return [TranscriptionInstance] TranscriptionInstance
208
208
  def initialize(version, payload, account_sid: nil, sid: nil)
209
209
  super(version)
@@ -365,8 +365,7 @@ module Twilio
365
365
  end
366
366
 
367
367
  ##
368
- # @param [String] sid A 34 character string that uniquely identifies this
369
- # resource.
368
+ # @param [String] sid A unique 34-character string that identifies this resource.
370
369
  # @return [Twilio::REST::Api::V2010::AccountContext::TranscriptionInstance] if sid was passed.
371
370
  # @return [Twilio::REST::Api::V2010::AccountContext::TranscriptionList]
372
371
  def transcriptions(sid=:unset)
@@ -134,14 +134,6 @@ module Twilio
134
134
  self.hosted_numbers.hosted_number_orders(sid)
135
135
  end
136
136
 
137
- ##
138
- # @param [String] sid A 34 character string that uniquely identifies this Add-on.
139
- # @return [Twilio::REST::Preview::Marketplace::AvailableAddOnInstance] if sid was passed.
140
- # @return [Twilio::REST::Preview::Marketplace::AvailableAddOnList]
141
- def available_add_ons(sid=:unset)
142
- self.marketplace.available_add_ons(sid)
143
- end
144
-
145
137
  ##
146
138
  # @param [String] sid 34 character string that uniquely identifies the Add-on.
147
139
  # This Sid can also be found in the Console on that specific Add-ons page as the
@@ -152,6 +144,14 @@ module Twilio
152
144
  self.marketplace.installed_add_ons(sid)
153
145
  end
154
146
 
147
+ ##
148
+ # @param [String] sid A 34 character string that uniquely identifies this Add-on.
149
+ # @return [Twilio::REST::Preview::Marketplace::AvailableAddOnInstance] if sid was passed.
150
+ # @return [Twilio::REST::Preview::Marketplace::AvailableAddOnList]
151
+ def available_add_ons(sid=:unset)
152
+ self.marketplace.available_add_ons(sid)
153
+ end
154
+
155
155
  ##
156
156
  # @param [String] sid The sid
157
157
  # @return [Twilio::REST::Preview::Sync::ServiceInstance] if sid was passed.
@@ -15,37 +15,37 @@ module Twilio
15
15
  def initialize(domain)
16
16
  super
17
17
  @version = 'marketplace'
18
- @available_add_ons = nil
19
18
  @installed_add_ons = nil
19
+ @available_add_ons = nil
20
20
  end
21
21
 
22
22
  ##
23
- # @param [String] sid The Available Add-on Sid that uniquely identifies this
23
+ # @param [String] sid The Installed Add-on Sid that uniquely identifies this
24
24
  # resource
25
- # @return [Twilio::REST::Preview::Marketplace::AvailableAddOnContext] if sid was passed.
26
- # @return [Twilio::REST::Preview::Marketplace::AvailableAddOnList]
27
- def available_add_ons(sid=:unset)
25
+ # @return [Twilio::REST::Preview::Marketplace::InstalledAddOnContext] if sid was passed.
26
+ # @return [Twilio::REST::Preview::Marketplace::InstalledAddOnList]
27
+ def installed_add_ons(sid=:unset)
28
28
  if sid.nil?
29
29
  raise ArgumentError, 'sid cannot be nil'
30
30
  elsif sid == :unset
31
- @available_add_ons ||= AvailableAddOnList.new self
31
+ @installed_add_ons ||= InstalledAddOnList.new self
32
32
  else
33
- AvailableAddOnContext.new(self, sid)
33
+ InstalledAddOnContext.new(self, sid)
34
34
  end
35
35
  end
36
36
 
37
37
  ##
38
- # @param [String] sid The Installed Add-on Sid that uniquely identifies this
38
+ # @param [String] sid The Available Add-on Sid that uniquely identifies this
39
39
  # resource
40
- # @return [Twilio::REST::Preview::Marketplace::InstalledAddOnContext] if sid was passed.
41
- # @return [Twilio::REST::Preview::Marketplace::InstalledAddOnList]
42
- def installed_add_ons(sid=:unset)
40
+ # @return [Twilio::REST::Preview::Marketplace::AvailableAddOnContext] if sid was passed.
41
+ # @return [Twilio::REST::Preview::Marketplace::AvailableAddOnList]
42
+ def available_add_ons(sid=:unset)
43
43
  if sid.nil?
44
44
  raise ArgumentError, 'sid cannot be nil'
45
45
  elsif sid == :unset
46
- @installed_add_ons ||= InstalledAddOnList.new self
46
+ @available_add_ons ||= AvailableAddOnList.new self
47
47
  else
48
- InstalledAddOnContext.new(self, sid)
48
+ AvailableAddOnContext.new(self, sid)
49
49
  end
50
50
  end
51
51
 
@@ -115,7 +115,10 @@ module Twilio
115
115
  ##
116
116
  # Retrieve a single page of FieldInstance records from the API.
117
117
  # Request is executed immediately.
118
- # @param [String] field_type The unique name or sid of the FieldType
118
+ # @param [String] field_type The unique name or sid of the FieldType. It can be
119
+ # any [Built-in Field
120
+ # Type](https://www.twilio.com/docs/assistant/api/built-in-field-types) or the
121
+ # unique_name or the Field Type sid of a custom Field Type.
119
122
  # @param [String] unique_name A user-provided string that uniquely identifies this
120
123
  # resource as an alternative to the sid. Unique up to 64 characters long.
121
124
  # @return [FieldInstance] Newly created FieldInstance
@@ -305,7 +308,7 @@ module Twilio
305
308
  end
306
309
 
307
310
  ##
308
- # @return [String] The Field Type of this field. Can be the Field Type unique_name or the Field Type sid.
311
+ # @return [String] The Field Type of this field. It can be any Built-in Field Type or unique_name or the Field Type sid of a custom Field Type.
309
312
  def field_type
310
313
  @properties['field_type']
311
314
  end
@@ -35,7 +35,7 @@ module Twilio
35
35
  # @param [String] model_build The Model Build Sid or unique name of the Model
36
36
  # Build to be queried.
37
37
  # @param [String] status A string that described the query status. The values can
38
- # be: to_review, reviewed, discarded
38
+ # be: pending_review, reviewed, discarded
39
39
  # @param [Integer] limit Upper limit for the number of records to return. stream()
40
40
  # guarantees to never return more than limit. Default is no limit
41
41
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -61,7 +61,7 @@ module Twilio
61
61
  # @param [String] model_build The Model Build Sid or unique name of the Model
62
62
  # Build to be queried.
63
63
  # @param [String] status A string that described the query status. The values can
64
- # be: to_review, reviewed, discarded
64
+ # be: pending_review, reviewed, discarded
65
65
  # @param [Integer] limit Upper limit for the number of records to return. stream()
66
66
  # guarantees to never return more than limit. Default is no limit.
67
67
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -103,7 +103,7 @@ module Twilio
103
103
  # @param [String] model_build The Model Build Sid or unique name of the Model
104
104
  # Build to be queried.
105
105
  # @param [String] status A string that described the query status. The values can
106
- # be: to_review, reviewed, discarded
106
+ # be: pending_review, reviewed, discarded
107
107
  # @param [String] page_token PageToken provided by the API
108
108
  # @param [Integer] page_number Page Number, this value is simply for client state
109
109
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -245,7 +245,7 @@ module Twilio
245
245
  # Update the QueryInstance
246
246
  # @param [String] sample_sid The sample_sid
247
247
  # @param [String] status A string that described the query status. The values can
248
- # be: to_review, reviewed, discarded
248
+ # be: pending_review, reviewed, discarded
249
249
  # @return [QueryInstance] Updated QueryInstance
250
250
  def update(sample_sid: :unset, status: :unset)
251
251
  data = Twilio::Values.of({'SampleSid' => sample_sid, 'Status' => status, })
@@ -357,7 +357,7 @@ module Twilio
357
357
  end
358
358
 
359
359
  ##
360
- # @return [String] The query
360
+ # @return [String] The end-user's natural language input.
361
361
  def query
362
362
  @properties['query']
363
363
  end
@@ -381,7 +381,7 @@ module Twilio
381
381
  end
382
382
 
383
383
  ##
384
- # @return [String] A string that described the query status. The values can be: to_review, reviewed, discarded
384
+ # @return [String] A string that described the query status. The values can be: pending_review, reviewed, discarded
385
385
  def status
386
386
  @properties['status']
387
387
  end
@@ -393,7 +393,7 @@ module Twilio
393
393
  end
394
394
 
395
395
  ##
396
- # @return [String] The source_channel
396
+ # @return [String] The communication channel where this end-user input came from
397
397
  def source_channel
398
398
  @properties['source_channel']
399
399
  end
@@ -409,7 +409,7 @@ module Twilio
409
409
  # Update the QueryInstance
410
410
  # @param [String] sample_sid The sample_sid
411
411
  # @param [String] status A string that described the query status. The values can
412
- # be: to_review, reviewed, discarded
412
+ # be: pending_review, reviewed, discarded
413
413
  # @return [QueryInstance] Updated QueryInstance
414
414
  def update(sample_sid: :unset, status: :unset)
415
415
  context.update(sample_sid: sample_sid, status: status, )
@@ -111,10 +111,10 @@ module Twilio
111
111
  # Retrieve a single page of ServiceInstance records from the API.
112
112
  # Request is executed immediately.
113
113
  # @param [String] unique_name The human-readable string that uniquely identifies
114
- # this Service, up to 64 characters.
114
+ # this Service, up to 64 characters. *Should not contain PII.*
115
115
  # @param [String] default_ttl The default time delay in seconds after the latest
116
116
  # of Session create time or the Session's last Interaction time, after which a
117
- # session will expire. Used for sessions where ttl is not specified.
117
+ # session will expire. Used for sessions where TTL is not specified.
118
118
  # @param [String] callback_url The URL to which Twilio will make callbacks on
119
119
  # interaction status changes.
120
120
  # @param [service.GeoMatchLevel] geo_match_level Whether proxy number selected
@@ -232,11 +232,11 @@ module Twilio
232
232
 
233
233
  ##
234
234
  # Update the ServiceInstance
235
- # @param [String] unique_name A human readable description of this resource, up to
236
- # 64 characters.
235
+ # @param [String] unique_name A human-readable description of this resource, up to
236
+ # 64 characters. *Should not contain PII.*
237
237
  # @param [String] default_ttl The default time delay in seconds after the latest
238
238
  # of Session create time or the Session's last Interaction time, after which a
239
- # session will expire. Used for sessions where ttl is not specified.
239
+ # session will expire. Used for sessions where TTL is not specified.
240
240
  # @param [String] callback_url The URL to which Twilio will make callbacks on
241
241
  # interaction status changes.
242
242
  # @param [service.GeoMatchLevel] geo_match_level Whether proxy number selected
@@ -385,7 +385,7 @@ module Twilio
385
385
  end
386
386
 
387
387
  ##
388
- # @return [String] A human readable description of this resource.
388
+ # @return [String] A human-readable description of this resource.
389
389
  def unique_name
390
390
  @properties['unique_name']
391
391
  end
@@ -472,11 +472,11 @@ module Twilio
472
472
 
473
473
  ##
474
474
  # Update the ServiceInstance
475
- # @param [String] unique_name A human readable description of this resource, up to
476
- # 64 characters.
475
+ # @param [String] unique_name A human-readable description of this resource, up to
476
+ # 64 characters. *Should not contain PII.*
477
477
  # @param [String] default_ttl The default time delay in seconds after the latest
478
478
  # of Session create time or the Session's last Interaction time, after which a
479
- # session will expire. Used for sessions where ttl is not specified.
479
+ # session will expire. Used for sessions where TTL is not specified.
480
480
  # @param [String] callback_url The URL to which Twilio will make callbacks on
481
481
  # interaction status changes.
482
482
  # @param [service.GeoMatchLevel] geo_match_level Whether proxy number selected
@@ -31,9 +31,11 @@ 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 34 character string that uniquely identifies this Phone
35
- # Number.
36
- # @param [String] phone_number The phone_number
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`).
37
39
  # @return [PhoneNumberInstance] Newly created PhoneNumberInstance
38
40
  def create(sid: :unset, phone_number: :unset)
39
41
  data = Twilio::Values.of({'Sid' => sid, 'PhoneNumber' => phone_number, })
@@ -175,8 +177,8 @@ module Twilio
175
177
  # @param [Version] version Version that contains the resource
176
178
  # @param [String] service_sid The unique SID identifier of the parent
177
179
  # [Service](https://www.twilio.com/docs/proxy/api/service).
178
- # @param [String] sid A 34 character string that uniquely identifies this Phone
179
- # Number.
180
+ # @param [String] sid A 34 character string that uniquely identifies the Phone
181
+ # Number to fetch (e.g. `PN1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d`).
180
182
  # @return [PhoneNumberContext] PhoneNumberContext
181
183
  def initialize(version, service_sid, sid)
182
184
  super(version)
@@ -230,8 +232,8 @@ module Twilio
230
232
  # @param [Hash] payload payload that contains response from Twilio
231
233
  # @param [String] service_sid The unique SID identifier of the parent
232
234
  # [Service](https://www.twilio.com/docs/proxy/api/service).
233
- # @param [String] sid A 34 character string that uniquely identifies this Phone
234
- # Number.
235
+ # @param [String] sid A 34 character string that uniquely identifies the Phone
236
+ # Number to fetch (e.g. `PN1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d`).
235
237
  # @return [PhoneNumberInstance] PhoneNumberInstance
236
238
  def initialize(version, payload, service_sid: nil, sid: nil)
237
239
  super(version)
@@ -303,7 +305,7 @@ module Twilio
303
305
  end
304
306
 
305
307
  ##
306
- # @return [String] A human readable description of this resource.
308
+ # @return [String] A human-readable description of this resource.
307
309
  def friendly_name
308
310
  @properties['friendly_name']
309
311
  end
@@ -124,7 +124,7 @@ module Twilio
124
124
  # Retrieve a single page of SessionInstance records from the API.
125
125
  # Request is executed immediately.
126
126
  # @param [String] unique_name Your unique identifier for this Session such as a
127
- # Job ID or conversation ID. Should not contain PII.
127
+ # Job ID or conversation ID. *Should not contain PII.*
128
128
  # @param [Time] date_expiry An absolute time (ISO 8601) at which this Session
129
129
  # should close. If this is populated, it takes precedence over TTL values.
130
130
  # @param [String] ttl The time, in seconds, after the latest of Session create
@@ -240,7 +240,6 @@ module Twilio
240
240
 
241
241
  ##
242
242
  # Update the SessionInstance
243
- # @param [String] unique_name The unique_name
244
243
  # @param [Time] date_expiry The date that this Session should expire, given in ISO
245
244
  # 8601 format.
246
245
  # @param [String] ttl The time, in seconds, after the latest of Session create
@@ -250,9 +249,8 @@ module Twilio
250
249
  # to re-open a session or `closed` to close a session.
251
250
  # @param [Hash] participants The participants
252
251
  # @return [SessionInstance] Updated SessionInstance
253
- def update(unique_name: :unset, date_expiry: :unset, ttl: :unset, mode: :unset, status: :unset, participants: :unset)
252
+ def update(date_expiry: :unset, ttl: :unset, mode: :unset, status: :unset, participants: :unset)
254
253
  data = Twilio::Values.of({
255
- 'UniqueName' => unique_name,
256
254
  'DateExpiry' => Twilio.serialize_iso8601_datetime(date_expiry),
257
255
  'Ttl' => ttl,
258
256
  'Mode' => mode,
@@ -482,7 +480,6 @@ module Twilio
482
480
 
483
481
  ##
484
482
  # Update the SessionInstance
485
- # @param [String] unique_name The unique_name
486
483
  # @param [Time] date_expiry The date that this Session should expire, given in ISO
487
484
  # 8601 format.
488
485
  # @param [String] ttl The time, in seconds, after the latest of Session create
@@ -492,9 +489,8 @@ module Twilio
492
489
  # to re-open a session or `closed` to close a session.
493
490
  # @param [Hash] participants The participants
494
491
  # @return [SessionInstance] Updated SessionInstance
495
- def update(unique_name: :unset, date_expiry: :unset, ttl: :unset, mode: :unset, status: :unset, participants: :unset)
492
+ def update(date_expiry: :unset, ttl: :unset, mode: :unset, status: :unset, participants: :unset)
496
493
  context.update(
497
- unique_name: unique_name,
498
494
  date_expiry: date_expiry,
499
495
  ttl: ttl,
500
496
  mode: mode,
@@ -121,7 +121,7 @@ module Twilio
121
121
  # Retrieve a single page of ParticipantInstance records from the API.
122
122
  # Request is executed immediately.
123
123
  # @param [String] identifier The phone number of this Participant.
124
- # @param [String] friendly_name A human readable description of this resource, up
124
+ # @param [String] friendly_name A human-readable description of this resource, up
125
125
  # to 64 characters. Should not include PII.
126
126
  # @param [String] proxy_identifier The proxy phone number to use for this
127
127
  # Participant. If not specified, Proxy will select a number from the pool.
@@ -244,36 +244,6 @@ module Twilio
244
244
  @version.delete('delete', @uri)
245
245
  end
246
246
 
247
- ##
248
- # Update the ParticipantInstance
249
- # @param [String] identifier The identifier
250
- # @param [String] friendly_name The friendly_name
251
- # @param [String] proxy_identifier The proxy_identifier
252
- # @param [String] proxy_identifier_sid The proxy_identifier_sid
253
- # @return [ParticipantInstance] Updated ParticipantInstance
254
- def update(identifier: :unset, friendly_name: :unset, proxy_identifier: :unset, proxy_identifier_sid: :unset)
255
- data = Twilio::Values.of({
256
- 'Identifier' => identifier,
257
- 'FriendlyName' => friendly_name,
258
- 'ProxyIdentifier' => proxy_identifier,
259
- 'ProxyIdentifierSid' => proxy_identifier_sid,
260
- })
261
-
262
- payload = @version.update(
263
- 'POST',
264
- @uri,
265
- data: data,
266
- )
267
-
268
- ParticipantInstance.new(
269
- @version,
270
- payload,
271
- service_sid: @solution[:service_sid],
272
- session_sid: @solution[:session_sid],
273
- sid: @solution[:sid],
274
- )
275
- end
276
-
277
247
  ##
278
248
  # Access the message_interactions
279
249
  # @return [MessageInteractionList]
@@ -395,7 +365,7 @@ module Twilio
395
365
  end
396
366
 
397
367
  ##
398
- # @return [String] A human readable description of this resource.
368
+ # @return [String] A human-readable description of this resource.
399
369
  def friendly_name
400
370
  @properties['friendly_name']
401
371
  end
@@ -419,7 +389,7 @@ module Twilio
419
389
  end
420
390
 
421
391
  ##
422
- # @return [Time] The date this Participant was deleted
392
+ # @return [Time] The date this Participant was removed
423
393
  def date_deleted
424
394
  @properties['date_deleted']
425
395
  end
@@ -462,22 +432,6 @@ module Twilio
462
432
  context.delete
463
433
  end
464
434
 
465
- ##
466
- # Update the ParticipantInstance
467
- # @param [String] identifier The identifier
468
- # @param [String] friendly_name The friendly_name
469
- # @param [String] proxy_identifier The proxy_identifier
470
- # @param [String] proxy_identifier_sid The proxy_identifier_sid
471
- # @return [ParticipantInstance] Updated ParticipantInstance
472
- def update(identifier: :unset, friendly_name: :unset, proxy_identifier: :unset, proxy_identifier_sid: :unset)
473
- context.update(
474
- identifier: identifier,
475
- friendly_name: friendly_name,
476
- proxy_identifier: proxy_identifier,
477
- proxy_identifier_sid: proxy_identifier_sid,
478
- )
479
- end
480
-
481
435
  ##
482
436
  # Access the message_interactions
483
437
  # @return [message_interactions] message_interactions