twilio-ruby 5.39.3 → 5.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +24 -1
  3. data/CONTRIBUTING.md +2 -2
  4. data/README.md +2 -3
  5. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +6 -4
  6. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +3 -3
  7. data/lib/twilio-ruby/rest/client.rb +7 -0
  8. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +12 -2
  9. data/lib/twilio-ruby/rest/events.rb +54 -0
  10. data/lib/twilio-ruby/rest/events/v1.rb +58 -0
  11. data/lib/twilio-ruby/rest/events/v1/sink.rb +379 -0
  12. data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +115 -0
  13. data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +118 -0
  14. data/lib/twilio-ruby/rest/events/v1/subscription.rb +358 -0
  15. data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +322 -0
  16. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +33 -17
  17. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +13 -1
  18. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +12 -11
  19. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +75 -9
  20. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +0 -6
  21. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +5 -19
  22. data/lib/twilio-ruby/version.rb +1 -1
  23. data/spec/integration/events/v1/sink/sink_test_spec.rb +42 -0
  24. data/spec/integration/events/v1/sink/sink_validate_spec.rb +44 -0
  25. data/spec/integration/events/v1/sink_spec.rb +217 -0
  26. data/spec/integration/events/v1/subscription/subscribed_event_spec.rb +212 -0
  27. data/spec/integration/events/v1/subscription_spec.rb +205 -0
  28. data/spec/integration/supersim/v1/usage_record_spec.rb +463 -18
  29. data/spec/integration/wireless/v1/sim/data_session_spec.rb +2 -2
  30. metadata +19 -2
@@ -0,0 +1,322 @@
1
+ ##
2
+ # This code was generated by
3
+ # \ / _ _ _| _ _
4
+ # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ # / /
6
+ #
7
+ # frozen_string_literal: true
8
+
9
+ module Twilio
10
+ module REST
11
+ class Events < Domain
12
+ class V1 < Version
13
+ class SubscriptionContext < InstanceContext
14
+ ##
15
+ # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
16
+ class SubscribedEventList < ListResource
17
+ ##
18
+ # Initialize the SubscribedEventList
19
+ # @param [Version] version Version that contains the resource
20
+ # @param [String] subscription_sid The subscription_sid
21
+ # @return [SubscribedEventList] SubscribedEventList
22
+ def initialize(version, subscription_sid: nil)
23
+ super(version)
24
+
25
+ # Path Solution
26
+ @solution = {subscription_sid: subscription_sid}
27
+ @uri = "/Subscriptions/#{@solution[:subscription_sid]}/SubscribedEvents"
28
+ end
29
+
30
+ ##
31
+ # Lists SubscribedEventInstance records from the API as a list.
32
+ # Unlike stream(), this operation is eager and will load `limit` records into
33
+ # memory before returning.
34
+ # @param [Integer] limit Upper limit for the number of records to return. stream()
35
+ # guarantees to never return more than limit. Default is no limit
36
+ # @param [Integer] page_size Number of records to fetch per request, when
37
+ # not set will use the default value of 50 records. If no page_size is defined
38
+ # but a limit is defined, stream() will attempt to read the limit with the most
39
+ # efficient page size, i.e. min(limit, 1000)
40
+ # @return [Array] Array of up to limit results
41
+ def list(limit: nil, page_size: nil)
42
+ self.stream(limit: limit, page_size: page_size).entries
43
+ end
44
+
45
+ ##
46
+ # Streams SubscribedEventInstance records from the API as an Enumerable.
47
+ # This operation lazily loads records as efficiently as possible until the limit
48
+ # is reached.
49
+ # @param [Integer] limit Upper limit for the number of records to return. stream()
50
+ # guarantees to never return more than limit. Default is no limit.
51
+ # @param [Integer] page_size Number of records to fetch per request, when
52
+ # not set will use the default value of 50 records. If no page_size is defined
53
+ # but a limit is defined, stream() will attempt to read the limit with the most
54
+ # efficient page size, i.e. min(limit, 1000)
55
+ # @return [Enumerable] Enumerable that will yield up to limit results
56
+ def stream(limit: nil, page_size: nil)
57
+ limits = @version.read_limits(limit, page_size)
58
+
59
+ page = self.page(page_size: limits[:page_size], )
60
+
61
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
62
+ end
63
+
64
+ ##
65
+ # When passed a block, yields SubscribedEventInstance records from the API.
66
+ # This operation lazily loads records as efficiently as possible until the limit
67
+ # is reached.
68
+ def each
69
+ limits = @version.read_limits
70
+
71
+ page = self.page(page_size: limits[:page_size], )
72
+
73
+ @version.stream(page,
74
+ limit: limits[:limit],
75
+ page_limit: limits[:page_limit]).each {|x| yield x}
76
+ end
77
+
78
+ ##
79
+ # Retrieve a single page of SubscribedEventInstance records from the API.
80
+ # Request is executed immediately.
81
+ # @param [String] page_token PageToken provided by the API
82
+ # @param [Integer] page_number Page Number, this value is simply for client state
83
+ # @param [Integer] page_size Number of records to return, defaults to 50
84
+ # @return [Page] Page of SubscribedEventInstance
85
+ def page(page_token: :unset, page_number: :unset, page_size: :unset)
86
+ params = Twilio::Values.of({
87
+ 'PageToken' => page_token,
88
+ 'Page' => page_number,
89
+ 'PageSize' => page_size,
90
+ })
91
+
92
+ response = @version.page('GET', @uri, params: params)
93
+
94
+ SubscribedEventPage.new(@version, response, @solution)
95
+ end
96
+
97
+ ##
98
+ # Retrieve a single page of SubscribedEventInstance records from the API.
99
+ # Request is executed immediately.
100
+ # @param [String] target_url API-generated URL for the requested results page
101
+ # @return [Page] Page of SubscribedEventInstance
102
+ def get_page(target_url)
103
+ response = @version.domain.request(
104
+ 'GET',
105
+ target_url
106
+ )
107
+ SubscribedEventPage.new(@version, response, @solution)
108
+ end
109
+
110
+ ##
111
+ # Create the SubscribedEventInstance
112
+ # @param [String] type The type
113
+ # @param [String] version The version
114
+ # @return [SubscribedEventInstance] Created SubscribedEventInstance
115
+ def create(type: nil, version: :unset)
116
+ data = Twilio::Values.of({'Type' => type, 'Version' => version, })
117
+
118
+ payload = @version.create('POST', @uri, data: data)
119
+
120
+ SubscribedEventInstance.new(@version, payload, subscription_sid: @solution[:subscription_sid], )
121
+ end
122
+
123
+ ##
124
+ # Provide a user friendly representation
125
+ def to_s
126
+ '#<Twilio.Events.V1.SubscribedEventList>'
127
+ end
128
+ end
129
+
130
+ ##
131
+ # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
132
+ class SubscribedEventPage < Page
133
+ ##
134
+ # Initialize the SubscribedEventPage
135
+ # @param [Version] version Version that contains the resource
136
+ # @param [Response] response Response from the API
137
+ # @param [Hash] solution Path solution for the resource
138
+ # @return [SubscribedEventPage] SubscribedEventPage
139
+ def initialize(version, response, solution)
140
+ super(version, response)
141
+
142
+ # Path Solution
143
+ @solution = solution
144
+ end
145
+
146
+ ##
147
+ # Build an instance of SubscribedEventInstance
148
+ # @param [Hash] payload Payload response from the API
149
+ # @return [SubscribedEventInstance] SubscribedEventInstance
150
+ def get_instance(payload)
151
+ SubscribedEventInstance.new(@version, payload, subscription_sid: @solution[:subscription_sid], )
152
+ end
153
+
154
+ ##
155
+ # Provide a user friendly representation
156
+ def to_s
157
+ '<Twilio.Events.V1.SubscribedEventPage>'
158
+ end
159
+ end
160
+
161
+ ##
162
+ # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
163
+ class SubscribedEventContext < InstanceContext
164
+ ##
165
+ # Initialize the SubscribedEventContext
166
+ # @param [Version] version Version that contains the resource
167
+ # @param [String] subscription_sid The subscription_sid
168
+ # @param [String] type The type
169
+ # @return [SubscribedEventContext] SubscribedEventContext
170
+ def initialize(version, subscription_sid, type)
171
+ super(version)
172
+
173
+ # Path Solution
174
+ @solution = {subscription_sid: subscription_sid, type: type, }
175
+ @uri = "/Subscriptions/#{@solution[:subscription_sid]}/SubscribedEvents/#{@solution[:type]}"
176
+ end
177
+
178
+ ##
179
+ # Update the SubscribedEventInstance
180
+ # @param [String] version The version
181
+ # @return [SubscribedEventInstance] Updated SubscribedEventInstance
182
+ def update(version: nil)
183
+ data = Twilio::Values.of({'Version' => version, })
184
+
185
+ payload = @version.update('POST', @uri, data: data)
186
+
187
+ SubscribedEventInstance.new(
188
+ @version,
189
+ payload,
190
+ subscription_sid: @solution[:subscription_sid],
191
+ type: @solution[:type],
192
+ )
193
+ end
194
+
195
+ ##
196
+ # Delete the SubscribedEventInstance
197
+ # @return [Boolean] true if delete succeeds, false otherwise
198
+ def delete
199
+ @version.delete('DELETE', @uri)
200
+ end
201
+
202
+ ##
203
+ # Provide a user friendly representation
204
+ def to_s
205
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
206
+ "#<Twilio.Events.V1.SubscribedEventContext #{context}>"
207
+ end
208
+
209
+ ##
210
+ # Provide a detailed, user friendly representation
211
+ def inspect
212
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
213
+ "#<Twilio.Events.V1.SubscribedEventContext #{context}>"
214
+ end
215
+ end
216
+
217
+ ##
218
+ # PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
219
+ class SubscribedEventInstance < InstanceResource
220
+ ##
221
+ # Initialize the SubscribedEventInstance
222
+ # @param [Version] version Version that contains the resource
223
+ # @param [Hash] payload payload that contains response from Twilio
224
+ # @param [String] subscription_sid The subscription_sid
225
+ # @param [String] type The type
226
+ # @return [SubscribedEventInstance] SubscribedEventInstance
227
+ def initialize(version, payload, subscription_sid: nil, type: nil)
228
+ super(version)
229
+
230
+ # Marshaled Properties
231
+ @properties = {
232
+ 'account_sid' => payload['account_sid'],
233
+ 'type' => payload['type'],
234
+ 'version' => payload['version'].to_i,
235
+ 'subscription_sid' => payload['subscription_sid'],
236
+ 'url' => payload['url'],
237
+ }
238
+
239
+ # Context
240
+ @instance_context = nil
241
+ @params = {'subscription_sid' => subscription_sid, 'type' => type || @properties['type'], }
242
+ end
243
+
244
+ ##
245
+ # Generate an instance context for the instance, the context is capable of
246
+ # performing various actions. All instance actions are proxied to the context
247
+ # @return [SubscribedEventContext] SubscribedEventContext for this SubscribedEventInstance
248
+ def context
249
+ unless @instance_context
250
+ @instance_context = SubscribedEventContext.new(
251
+ @version,
252
+ @params['subscription_sid'],
253
+ @params['type'],
254
+ )
255
+ end
256
+ @instance_context
257
+ end
258
+
259
+ ##
260
+ # @return [String] The account_sid
261
+ def account_sid
262
+ @properties['account_sid']
263
+ end
264
+
265
+ ##
266
+ # @return [String] The type
267
+ def type
268
+ @properties['type']
269
+ end
270
+
271
+ ##
272
+ # @return [String] The version
273
+ def version
274
+ @properties['version']
275
+ end
276
+
277
+ ##
278
+ # @return [String] The subscription_sid
279
+ def subscription_sid
280
+ @properties['subscription_sid']
281
+ end
282
+
283
+ ##
284
+ # @return [String] The url
285
+ def url
286
+ @properties['url']
287
+ end
288
+
289
+ ##
290
+ # Update the SubscribedEventInstance
291
+ # @param [String] version The version
292
+ # @return [SubscribedEventInstance] Updated SubscribedEventInstance
293
+ def update(version: nil)
294
+ context.update(version: version, )
295
+ end
296
+
297
+ ##
298
+ # Delete the SubscribedEventInstance
299
+ # @return [Boolean] true if delete succeeds, false otherwise
300
+ def delete
301
+ context.delete
302
+ end
303
+
304
+ ##
305
+ # Provide a user friendly representation
306
+ def to_s
307
+ values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
308
+ "<Twilio.Events.V1.SubscribedEventInstance #{values}>"
309
+ end
310
+
311
+ ##
312
+ # Provide a detailed, user friendly representation
313
+ def inspect
314
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
315
+ "<Twilio.Events.V1.SubscribedEventInstance #{values}>"
316
+ end
317
+ end
318
+ end
319
+ end
320
+ end
321
+ end
322
+ end
@@ -127,8 +127,19 @@ module Twilio
127
127
  # on create.
128
128
  # @param [Hash] participants The Participant objects to include in the new
129
129
  # session.
130
+ # @param [Boolean] fail_on_participant_conflict [Experimental] Setting to true
131
+ # enables early opt-in to allowing Proxy to reject a Session create (with
132
+ # Participants) request that could cause the same Identifier/ProxyIdentifier pair
133
+ # to be active in multiple Sessions. Depending on the context, this could be a 409
134
+ # error (Twilio error code 80623) or a 400 error (Twilio error code 80604). If not
135
+ # provided, or if set to false, requests will be allowed to succeed and a Debugger
136
+ # notification (80802) will be emitted. Having multiple, active Participants with
137
+ # the same Identifier/ProxyIdentifier pair causes calls and messages from affected
138
+ # Participants to be routed incorrectly. Please note, in a future release, the
139
+ # default behavior will be to reject the request as described unless an exception
140
+ # has been requested.
130
141
  # @return [SessionInstance] Created SessionInstance
131
- def create(unique_name: :unset, date_expiry: :unset, ttl: :unset, mode: :unset, status: :unset, participants: :unset)
142
+ def create(unique_name: :unset, date_expiry: :unset, ttl: :unset, mode: :unset, status: :unset, participants: :unset, fail_on_participant_conflict: :unset)
132
143
  data = Twilio::Values.of({
133
144
  'UniqueName' => unique_name,
134
145
  'DateExpiry' => Twilio.serialize_iso8601_datetime(date_expiry),
@@ -136,6 +147,7 @@ module Twilio
136
147
  'Mode' => mode,
137
148
  'Status' => status,
138
149
  'Participants' => Twilio.serialize_list(participants) { |e| Twilio.serialize_object(e) },
150
+ 'FailOnParticipantConflict' => fail_on_participant_conflict,
139
151
  })
140
152
 
141
153
  payload = @version.create('POST', @uri, data: data)
@@ -230,14 +242,16 @@ module Twilio
230
242
  # is measured from the last Session create or the Session's last Interaction.
231
243
  # @param [session.Status] status The new status of the resource. Can be:
232
244
  # `in-progress` to re-open a session or `closed` to close a session.
233
- # @param [Boolean] fail_on_participant_conflict Setting to true (recommended),
234
- # enables Proxy to return a 400 error (Twilio error code 80604) when a request to
235
- # set a Session to in-progress would cause Participants with the same
236
- # identifier/proxy_identifier pair to be active in multiple Sessions. If not
237
- # provided, or if set to false, requests will be allowed to succeed and a Debugger
238
- # event (80801) will be emitted. This causes calls and messages from affected
239
- # Participants to be routed incorrectly. Please note, in a future release, the
240
- # default behavior will be to reject the request with a 400 error.
245
+ # @param [Boolean] fail_on_participant_conflict [Experimental] Setting to true
246
+ # enables early opt-in to allowing Proxy to return a 400 error (Twilio error code
247
+ # 80604) when a request to set a Session to in-progress would cause Participants
248
+ # with the same Identifier/ProxyIdentifier pair to be active in multiple Sessions.
249
+ # If not provided, or if set to false, requests will be allowed to succeed, and a
250
+ # Debugger notification (80801) will be emitted. Having multiple, active
251
+ # Participants with the same Identifier/ProxyIdentifier pair causes calls and
252
+ # messages from affected Participants to be routed incorrectly. Please note, in a
253
+ # future release, the default behavior will be to reject the request with a 400
254
+ # error unless an exception has been requested.
241
255
  # @return [SessionInstance] Updated SessionInstance
242
256
  def update(date_expiry: :unset, ttl: :unset, status: :unset, fail_on_participant_conflict: :unset)
243
257
  data = Twilio::Values.of({
@@ -482,14 +496,16 @@ module Twilio
482
496
  # is measured from the last Session create or the Session's last Interaction.
483
497
  # @param [session.Status] status The new status of the resource. Can be:
484
498
  # `in-progress` to re-open a session or `closed` to close a session.
485
- # @param [Boolean] fail_on_participant_conflict Setting to true (recommended),
486
- # enables Proxy to return a 400 error (Twilio error code 80604) when a request to
487
- # set a Session to in-progress would cause Participants with the same
488
- # identifier/proxy_identifier pair to be active in multiple Sessions. If not
489
- # provided, or if set to false, requests will be allowed to succeed and a Debugger
490
- # event (80801) will be emitted. This causes calls and messages from affected
491
- # Participants to be routed incorrectly. Please note, in a future release, the
492
- # default behavior will be to reject the request with a 400 error.
499
+ # @param [Boolean] fail_on_participant_conflict [Experimental] Setting to true
500
+ # enables early opt-in to allowing Proxy to return a 400 error (Twilio error code
501
+ # 80604) when a request to set a Session to in-progress would cause Participants
502
+ # with the same Identifier/ProxyIdentifier pair to be active in multiple Sessions.
503
+ # If not provided, or if set to false, requests will be allowed to succeed, and a
504
+ # Debugger notification (80801) will be emitted. Having multiple, active
505
+ # Participants with the same Identifier/ProxyIdentifier pair causes calls and
506
+ # messages from affected Participants to be routed incorrectly. Please note, in a
507
+ # future release, the default behavior will be to reject the request with a 400
508
+ # error unless an exception has been requested.
493
509
  # @return [SessionInstance] Updated SessionInstance
494
510
  def update(date_expiry: :unset, ttl: :unset, status: :unset, fail_on_participant_conflict: :unset)
495
511
  context.update(
@@ -121,13 +121,25 @@ module Twilio
121
121
  # Participant. If not specified, Proxy will select a number from the pool.
122
122
  # @param [String] proxy_identifier_sid The SID of the Proxy Identifier to assign
123
123
  # to the Participant.
124
+ # @param [Boolean] fail_on_participant_conflict [Experimental] Setting to true
125
+ # enables early opt-in to allowing Proxy to reject a Participant create request
126
+ # that could cause the same Identifier/ProxyIdentifier pair to be active in
127
+ # multiple Sessions. Depending on the context, this could be a 409 error (Twilio
128
+ # error code 80623) or a 400 error (Twilio error code 80604). If not provided, or
129
+ # if set to false, requests will be allowed to succeed and a Debugger notification
130
+ # (80802) will be emitted. Having multiple, active Participants with the same
131
+ # Identifier/ProxyIdentifier pair causes calls and messages from affected
132
+ # Participants to be routed incorrectly. Please note, in a future release, the
133
+ # default behavior will be to reject the request as described unless an exception
134
+ # has been requested.
124
135
  # @return [ParticipantInstance] Created ParticipantInstance
125
- def create(identifier: nil, friendly_name: :unset, proxy_identifier: :unset, proxy_identifier_sid: :unset)
136
+ def create(identifier: nil, friendly_name: :unset, proxy_identifier: :unset, proxy_identifier_sid: :unset, fail_on_participant_conflict: :unset)
126
137
  data = Twilio::Values.of({
127
138
  'Identifier' => identifier,
128
139
  'FriendlyName' => friendly_name,
129
140
  'ProxyIdentifier' => proxy_identifier,
130
141
  'ProxyIdentifierSid' => proxy_identifier_sid,
142
+ 'FailOnParticipantConflict' => fail_on_participant_conflict,
131
143
  })
132
144
 
133
145
  payload = @version.create('POST', @uri, data: data)
@@ -29,25 +29,26 @@ module Twilio
29
29
  # Create the FleetInstance
30
30
  # @param [String] network_access_profile The SID or unique name of the Network
31
31
  # Access Profile that will control which cellular networks the Fleet's SIMs can
32
- # connect to
32
+ # connect to.
33
33
  # @param [String] unique_name An application-defined string that uniquely
34
34
  # identifies the resource. It can be used in place of the resource's `sid` in the
35
35
  # URL to address the resource.
36
36
  # @param [Boolean] data_enabled Defines whether SIMs in the Fleet are capable of
37
- # using 2G/3G/4G/LTE/CAT-M data connectivity
37
+ # using 2G/3G/4G/LTE/CAT-M data connectivity. Defaults to `true`.
38
38
  # @param [String] data_limit The total data usage (download and upload combined)
39
39
  # in Megabytes that each Sim resource assigned to the Fleet resource can consume
40
40
  # during a billing period (normally one month). Value must be between 1MB (1) and
41
- # 2TB (2,000,000).
41
+ # 2TB (2,000,000). Defaults to 1GB (1,000).
42
42
  # @param [Boolean] commands_enabled Defines whether SIMs in the Fleet are capable
43
- # of sending and receiving machine-to-machine SMS via Commands.
43
+ # of sending and receiving machine-to-machine SMS via Commands. Defaults to
44
+ # `true`.
44
45
  # @param [String] commands_url The URL that will receive a webhook when a SIM in
45
46
  # the Fleet originates a machine-to-machine SMS via Commands. Your server should
46
47
  # respond with an HTTP status code in the 200 range; any response body will be
47
48
  # ignored.
48
49
  # @param [String] commands_method A string representing the HTTP method to use
49
- # when making a request to `commands_url`. Can be one of POST or GET. Defaults to
50
- # POST.
50
+ # when making a request to `commands_url`. Can be one of `POST` or `GET`. Defaults
51
+ # to `POST`.
51
52
  # @return [FleetInstance] Created FleetInstance
52
53
  def create(network_access_profile: nil, unique_name: :unset, data_enabled: :unset, data_limit: :unset, commands_enabled: :unset, commands_url: :unset, commands_method: :unset)
53
54
  data = Twilio::Values.of({
@@ -71,7 +72,7 @@ module Twilio
71
72
  # memory before returning.
72
73
  # @param [String] network_access_profile The SID or unique name of the Network
73
74
  # Access Profile that controls which cellular networks the Fleet's SIMs can
74
- # connect to
75
+ # connect to.
75
76
  # @param [Integer] limit Upper limit for the number of records to return. stream()
76
77
  # guarantees to never return more than limit. Default is no limit
77
78
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -93,7 +94,7 @@ module Twilio
93
94
  # is reached.
94
95
  # @param [String] network_access_profile The SID or unique name of the Network
95
96
  # Access Profile that controls which cellular networks the Fleet's SIMs can
96
- # connect to
97
+ # connect to.
97
98
  # @param [Integer] limit Upper limit for the number of records to return. stream()
98
99
  # guarantees to never return more than limit. Default is no limit.
99
100
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -128,7 +129,7 @@ module Twilio
128
129
  # Request is executed immediately.
129
130
  # @param [String] network_access_profile The SID or unique name of the Network
130
131
  # Access Profile that controls which cellular networks the Fleet's SIMs can
131
- # connect to
132
+ # connect to.
132
133
  # @param [String] page_token PageToken provided by the API
133
134
  # @param [Integer] page_number Page Number, this value is simply for client state
134
135
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -229,7 +230,7 @@ module Twilio
229
230
  # URL to address the resource.
230
231
  # @param [String] network_access_profile The SID or unique name of the Network
231
232
  # Access Profile that will control which cellular networks the Fleet's SIMs can
232
- # connect to
233
+ # connect to.
233
234
  # @return [FleetInstance] Updated FleetInstance
234
235
  def update(unique_name: :unset, network_access_profile: :unset)
235
236
  data = Twilio::Values.of({
@@ -394,7 +395,7 @@ module Twilio
394
395
  # URL to address the resource.
395
396
  # @param [String] network_access_profile The SID or unique name of the Network
396
397
  # Access Profile that will control which cellular networks the Fleet's SIMs can
397
- # connect to
398
+ # connect to.
398
399
  # @return [FleetInstance] Updated FleetInstance
399
400
  def update(unique_name: :unset, network_access_profile: :unset)
400
401
  context.update(unique_name: unique_name, network_access_profile: network_access_profile, )