twilio-ruby 7.3.0 → 7.3.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.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +21 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/accounts/v1/bulk_consents.rb +133 -0
  5. data/lib/twilio-ruby/rest/accounts/v1/bulk_contacts.rb +133 -0
  6. data/lib/twilio-ruby/rest/accounts/v1.rb +12 -0
  7. data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_knowledge.rb +355 -0
  8. data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_tool.rb +362 -0
  9. data/lib/twilio-ruby/rest/assistants/v1/assistant/feedback.rb +303 -0
  10. data/lib/twilio-ruby/rest/assistants/v1/assistant/message.rb +201 -0
  11. data/lib/twilio-ruby/rest/assistants/v1/assistant.rb +668 -0
  12. data/lib/twilio-ruby/rest/assistants/v1/knowledge/chunk.rb +229 -0
  13. data/lib/twilio-ruby/rest/assistants/v1/knowledge/knowledge_status.rb +209 -0
  14. data/lib/twilio-ruby/rest/assistants/v1/knowledge.rb +591 -0
  15. data/lib/twilio-ruby/rest/assistants/v1/policy.rb +264 -0
  16. data/lib/twilio-ruby/rest/assistants/v1/session/message.rb +264 -0
  17. data/lib/twilio-ruby/rest/assistants/v1/session.rb +328 -0
  18. data/lib/twilio-ruby/rest/assistants/v1/tool.rb +586 -0
  19. data/lib/twilio-ruby/rest/assistants/v1.rb +100 -0
  20. data/lib/twilio-ruby/rest/assistants.rb +6 -0
  21. data/lib/twilio-ruby/rest/assistants_base.rb +38 -0
  22. data/lib/twilio-ruby/rest/client.rb +5 -0
  23. data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +11 -11
  24. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +11 -24
  25. data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +28 -15
  26. data/lib/twilio-ruby/rest/numbers/v1/{porting_webhook_configuration_fetch.rb → webhook.rb} +20 -20
  27. data/lib/twilio-ruby/rest/numbers/v1.rb +6 -6
  28. data/lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb +2 -2
  29. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +4 -4
  30. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +4 -1
  31. data/lib/twilio-ruby/version.rb +1 -1
  32. metadata +20 -3
@@ -0,0 +1,591 @@
1
+ ##
2
+ # This code was generated by
3
+ # ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4
+ # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5
+ # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
+ #
7
+ # Twilio - Assistants
8
+ # This is the public Twilio REST API.
9
+ #
10
+ # NOTE: This class is auto generated by OpenAPI Generator.
11
+ # https://openapi-generator.tech
12
+ # Do not edit the class manually.
13
+ #
14
+
15
+
16
+ module Twilio
17
+ module REST
18
+ class Assistants < AssistantsBase
19
+ class V1 < Version
20
+ class KnowledgeList < ListResource
21
+
22
+ class AssistantsV1ServiceCreateKnowledgeRequest
23
+ # @param [assistant_id]: [String] The Assistant ID.
24
+ # @param [description]: [String] The description of the knowledge source.
25
+ # @param [knowledge_source_details]: [Hash] The details of the knowledge source based on the type.
26
+ # @param [name]: [String] The name of the tool.
27
+ # @param [policy]: [KnowledgeList.AssistantsV1ServiceCreatePolicyRequest]
28
+ # @param [type]: [String] The type of the knowledge source.
29
+ attr_accessor :assistant_id, :description, :knowledge_source_details, :name, :policy, :type
30
+ def initialize(payload)
31
+ @assistant_id = payload["assistant_id"]
32
+ @description = payload["description"]
33
+ @knowledge_source_details = payload["knowledge_source_details"]
34
+ @name = payload["name"]
35
+ @policy = payload["policy"]
36
+ @type = payload["type"]
37
+ end
38
+ def to_json(options = {})
39
+ {
40
+ assistant_id: @assistant_id,
41
+ description: @description,
42
+ knowledge_source_details: @knowledge_source_details,
43
+ name: @name,
44
+ policy: @policy,
45
+ type: @type,
46
+ }.to_json(options)
47
+ end
48
+ end
49
+
50
+ class AssistantsV1ServiceCreatePolicyRequest
51
+ # @param [description]: [String] The description of the policy.
52
+ # @param [id]: [String] The Policy ID.
53
+ # @param [name]: [String] The name of the policy.
54
+ # @param [policy_details]: [Hash]
55
+ # @param [type]: [String] The description of the policy.
56
+ attr_accessor :description, :id, :name, :policy_details, :type
57
+ def initialize(payload)
58
+ @description = payload["description"]
59
+ @id = payload["id"]
60
+ @name = payload["name"]
61
+ @policy_details = payload["policy_details"]
62
+ @type = payload["type"]
63
+ end
64
+ def to_json(options = {})
65
+ {
66
+ description: @description,
67
+ id: @id,
68
+ name: @name,
69
+ policy_details: @policy_details,
70
+ type: @type,
71
+ }.to_json(options)
72
+ end
73
+ end
74
+
75
+ class AssistantsV1ServiceUpdateKnowledgeRequest
76
+ # @param [description]: [String] The description of the knowledge source.
77
+ # @param [knowledge_source_details]: [Hash] The details of the knowledge source based on the type.
78
+ # @param [name]: [String] The name of the knowledge source.
79
+ # @param [policy]: [KnowledgeList.AssistantsV1ServiceCreatePolicyRequest]
80
+ # @param [type]: [String] The description of the knowledge source.
81
+ attr_accessor :description, :knowledge_source_details, :name, :policy, :type
82
+ def initialize(payload)
83
+ @description = payload["description"]
84
+ @knowledge_source_details = payload["knowledge_source_details"]
85
+ @name = payload["name"]
86
+ @policy = payload["policy"]
87
+ @type = payload["type"]
88
+ end
89
+ def to_json(options = {})
90
+ {
91
+ description: @description,
92
+ knowledge_source_details: @knowledge_source_details,
93
+ name: @name,
94
+ policy: @policy,
95
+ type: @type,
96
+ }.to_json(options)
97
+ end
98
+ end
99
+
100
+ class AssistantsV1ServiceCreateKnowledgeRequest
101
+ # @param [assistant_id]: [String] The Assistant ID.
102
+ # @param [description]: [String] The description of the knowledge source.
103
+ # @param [knowledge_source_details]: [Hash] The details of the knowledge source based on the type.
104
+ # @param [name]: [String] The name of the tool.
105
+ # @param [policy]: [KnowledgeList.AssistantsV1ServiceCreatePolicyRequest]
106
+ # @param [type]: [String] The type of the knowledge source.
107
+ attr_accessor :assistant_id, :description, :knowledge_source_details, :name, :policy, :type
108
+ def initialize(payload)
109
+ @assistant_id = payload["assistant_id"]
110
+ @description = payload["description"]
111
+ @knowledge_source_details = payload["knowledge_source_details"]
112
+ @name = payload["name"]
113
+ @policy = payload["policy"]
114
+ @type = payload["type"]
115
+ end
116
+ def to_json(options = {})
117
+ {
118
+ assistant_id: @assistant_id,
119
+ description: @description,
120
+ knowledge_source_details: @knowledge_source_details,
121
+ name: @name,
122
+ policy: @policy,
123
+ type: @type,
124
+ }.to_json(options)
125
+ end
126
+ end
127
+
128
+ class AssistantsV1ServiceCreatePolicyRequest
129
+ # @param [description]: [String] The description of the policy.
130
+ # @param [id]: [String] The Policy ID.
131
+ # @param [name]: [String] The name of the policy.
132
+ # @param [policy_details]: [Hash]
133
+ # @param [type]: [String] The description of the policy.
134
+ attr_accessor :description, :id, :name, :policy_details, :type
135
+ def initialize(payload)
136
+ @description = payload["description"]
137
+ @id = payload["id"]
138
+ @name = payload["name"]
139
+ @policy_details = payload["policy_details"]
140
+ @type = payload["type"]
141
+ end
142
+ def to_json(options = {})
143
+ {
144
+ description: @description,
145
+ id: @id,
146
+ name: @name,
147
+ policy_details: @policy_details,
148
+ type: @type,
149
+ }.to_json(options)
150
+ end
151
+ end
152
+
153
+ class AssistantsV1ServiceUpdateKnowledgeRequest
154
+ # @param [description]: [String] The description of the knowledge source.
155
+ # @param [knowledge_source_details]: [Hash] The details of the knowledge source based on the type.
156
+ # @param [name]: [String] The name of the knowledge source.
157
+ # @param [policy]: [KnowledgeList.AssistantsV1ServiceCreatePolicyRequest]
158
+ # @param [type]: [String] The description of the knowledge source.
159
+ attr_accessor :description, :knowledge_source_details, :name, :policy, :type
160
+ def initialize(payload)
161
+ @description = payload["description"]
162
+ @knowledge_source_details = payload["knowledge_source_details"]
163
+ @name = payload["name"]
164
+ @policy = payload["policy"]
165
+ @type = payload["type"]
166
+ end
167
+ def to_json(options = {})
168
+ {
169
+ description: @description,
170
+ knowledge_source_details: @knowledge_source_details,
171
+ name: @name,
172
+ policy: @policy,
173
+ type: @type,
174
+ }.to_json(options)
175
+ end
176
+ end
177
+
178
+ ##
179
+ # Initialize the KnowledgeList
180
+ # @param [Version] version Version that contains the resource
181
+ # @return [KnowledgeList] KnowledgeList
182
+ def initialize(version)
183
+ super(version)
184
+ # Path Solution
185
+ @solution = { }
186
+ @uri = "/Knowledge"
187
+
188
+ end
189
+ ##
190
+ # Create the KnowledgeInstance
191
+ # @param [AssistantsV1ServiceCreateKnowledgeRequest] assistants_v1_service_create_knowledge_request
192
+ # @return [KnowledgeInstance] Created KnowledgeInstance
193
+ def create(assistants_v1_service_create_knowledge_request: nil
194
+ )
195
+
196
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
197
+ headers['Content-Type'] = 'application/json'
198
+ payload = @version.create('POST', @uri, headers: headers, data: assistants_v1_service_create_knowledge_request.to_json)
199
+ KnowledgeInstance.new(
200
+ @version,
201
+ payload,
202
+ )
203
+ end
204
+
205
+
206
+ ##
207
+ # Lists KnowledgeInstance records from the API as a list.
208
+ # Unlike stream(), this operation is eager and will load `limit` records into
209
+ # memory before returning.
210
+ # @param [String] assistant_id
211
+ # @param [Integer] limit Upper limit for the number of records to return. stream()
212
+ # guarantees to never return more than limit. Default is no limit
213
+ # @param [Integer] page_size Number of records to fetch per request, when
214
+ # not set will use the default value of 50 records. If no page_size is defined
215
+ # but a limit is defined, stream() will attempt to read the limit with the most
216
+ # efficient page size, i.e. min(limit, 1000)
217
+ # @return [Array] Array of up to limit results
218
+ def list(assistant_id: :unset, limit: nil, page_size: nil)
219
+ self.stream(
220
+ assistant_id: assistant_id,
221
+ limit: limit,
222
+ page_size: page_size
223
+ ).entries
224
+ end
225
+
226
+ ##
227
+ # Streams Instance records from the API as an Enumerable.
228
+ # This operation lazily loads records as efficiently as possible until the limit
229
+ # is reached.
230
+ # @param [String] assistant_id
231
+ # @param [Integer] limit Upper limit for the number of records to return. stream()
232
+ # guarantees to never return more than limit. Default is no limit
233
+ # @param [Integer] page_size Number of records to fetch per request, when
234
+ # not set will use the default value of 50 records. If no page_size is defined
235
+ # but a limit is defined, stream() will attempt to read the limit with the most
236
+ # efficient page size, i.e. min(limit, 1000)
237
+ # @return [Enumerable] Enumerable that will yield up to limit results
238
+ def stream(assistant_id: :unset, limit: nil, page_size: nil)
239
+ limits = @version.read_limits(limit, page_size)
240
+
241
+ page = self.page(
242
+ assistant_id: assistant_id,
243
+ page_size: limits[:page_size], )
244
+
245
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
246
+ end
247
+
248
+ ##
249
+ # When passed a block, yields KnowledgeInstance records from the API.
250
+ # This operation lazily loads records as efficiently as possible until the limit
251
+ # is reached.
252
+ def each
253
+ limits = @version.read_limits
254
+
255
+ page = self.page(page_size: limits[:page_size], )
256
+
257
+ @version.stream(page,
258
+ limit: limits[:limit],
259
+ page_limit: limits[:page_limit]).each {|x| yield x}
260
+ end
261
+
262
+ ##
263
+ # Retrieve a single page of KnowledgeInstance records from the API.
264
+ # Request is executed immediately.
265
+ # @param [String] assistant_id
266
+ # @param [String] page_token PageToken provided by the API
267
+ # @param [Integer] page_number Page Number, this value is simply for client state
268
+ # @param [Integer] page_size Number of records to return, defaults to 50
269
+ # @return [Page] Page of KnowledgeInstance
270
+ def page(assistant_id: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
271
+ params = Twilio::Values.of({
272
+ 'AssistantId' => assistant_id,
273
+ 'PageToken' => page_token,
274
+ 'Page' => page_number,
275
+ 'PageSize' => page_size,
276
+ })
277
+
278
+ response = @version.page('GET', @uri, params: params)
279
+
280
+ KnowledgePage.new(@version, response, @solution)
281
+ end
282
+
283
+ ##
284
+ # Retrieve a single page of KnowledgeInstance records from the API.
285
+ # Request is executed immediately.
286
+ # @param [String] target_url API-generated URL for the requested results page
287
+ # @return [Page] Page of KnowledgeInstance
288
+ def get_page(target_url)
289
+ response = @version.domain.request(
290
+ 'GET',
291
+ target_url
292
+ )
293
+ KnowledgePage.new(@version, response, @solution)
294
+ end
295
+
296
+
297
+
298
+ # Provide a user friendly representation
299
+ def to_s
300
+ '#<Twilio.Assistants.V1.KnowledgeList>'
301
+ end
302
+ end
303
+
304
+
305
+ class KnowledgeContext < InstanceContext
306
+ ##
307
+ # Initialize the KnowledgeContext
308
+ # @param [Version] version Version that contains the resource
309
+ # @param [String] id
310
+ # @return [KnowledgeContext] KnowledgeContext
311
+ def initialize(version, id)
312
+ super(version)
313
+
314
+ # Path Solution
315
+ @solution = { id: id, }
316
+ @uri = "/Knowledge/#{@solution[:id]}"
317
+
318
+ # Dependents
319
+ @chunks = nil
320
+ @knowledge_status = nil
321
+ end
322
+ ##
323
+ # Delete the KnowledgeInstance
324
+ # @return [Boolean] True if delete succeeds, false otherwise
325
+ def delete
326
+
327
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
328
+
329
+ @version.delete('DELETE', @uri, headers: headers)
330
+ end
331
+
332
+ ##
333
+ # Fetch the KnowledgeInstance
334
+ # @return [KnowledgeInstance] Fetched KnowledgeInstance
335
+ def fetch
336
+
337
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
338
+
339
+ payload = @version.fetch('GET', @uri, headers: headers)
340
+ KnowledgeInstance.new(
341
+ @version,
342
+ payload,
343
+ id: @solution[:id],
344
+ )
345
+ end
346
+
347
+ ##
348
+ # Update the KnowledgeInstance
349
+ # @param [AssistantsV1ServiceUpdateKnowledgeRequest] assistants_v1_service_update_knowledge_request
350
+ # @return [KnowledgeInstance] Updated KnowledgeInstance
351
+ def update(assistants_v1_service_update_knowledge_request: :unset
352
+ )
353
+
354
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
355
+ headers['Content-Type'] = 'application/json'
356
+ payload = @version.update('PUT', @uri, headers: headers, data: assistants_v1_service_update_knowledge_request.to_json)
357
+ KnowledgeInstance.new(
358
+ @version,
359
+ payload,
360
+ id: @solution[:id],
361
+ )
362
+ end
363
+
364
+ ##
365
+ # Access the chunks
366
+ # @return [ChunkList]
367
+ # @return [ChunkContext]
368
+ def chunks
369
+ unless @chunks
370
+ @chunks = ChunkList.new(
371
+ @version, )
372
+ end
373
+ @chunks
374
+ end
375
+ ##
376
+ # Access the knowledge_status
377
+ # @return [KnowledgeStatusList]
378
+ # @return [KnowledgeStatusContext]
379
+ def knowledge_status
380
+ KnowledgeStatusContext.new(
381
+ @version,
382
+ @solution[:id]
383
+ )
384
+ end
385
+
386
+ ##
387
+ # Provide a user friendly representation
388
+ def to_s
389
+ context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
390
+ "#<Twilio.Assistants.V1.KnowledgeContext #{context}>"
391
+ end
392
+
393
+ ##
394
+ # Provide a detailed, user friendly representation
395
+ def inspect
396
+ context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
397
+ "#<Twilio.Assistants.V1.KnowledgeContext #{context}>"
398
+ end
399
+ end
400
+
401
+ class KnowledgePage < Page
402
+ ##
403
+ # Initialize the KnowledgePage
404
+ # @param [Version] version Version that contains the resource
405
+ # @param [Response] response Response from the API
406
+ # @param [Hash] solution Path solution for the resource
407
+ # @return [KnowledgePage] KnowledgePage
408
+ def initialize(version, response, solution)
409
+ super(version, response)
410
+
411
+ # Path Solution
412
+ @solution = solution
413
+ end
414
+
415
+ ##
416
+ # Build an instance of KnowledgeInstance
417
+ # @param [Hash] payload Payload response from the API
418
+ # @return [KnowledgeInstance] KnowledgeInstance
419
+ def get_instance(payload)
420
+ KnowledgeInstance.new(@version, payload)
421
+ end
422
+
423
+ ##
424
+ # Provide a user friendly representation
425
+ def to_s
426
+ '<Twilio.Assistants.V1.KnowledgePage>'
427
+ end
428
+ end
429
+ class KnowledgeInstance < InstanceResource
430
+ ##
431
+ # Initialize the KnowledgeInstance
432
+ # @param [Version] version Version that contains the resource
433
+ # @param [Hash] payload payload that contains response from Twilio
434
+ # @param [String] account_sid The SID of the
435
+ # {Account}[https://www.twilio.com/docs/iam/api/account] that created this Knowledge
436
+ # resource.
437
+ # @param [String] sid The SID of the Call resource to fetch.
438
+ # @return [KnowledgeInstance] KnowledgeInstance
439
+ def initialize(version, payload , id: nil)
440
+ super(version)
441
+
442
+ # Marshaled Properties
443
+ @properties = {
444
+ 'description' => payload['description'],
445
+ 'id' => payload['id'],
446
+ 'account_sid' => payload['account_sid'],
447
+ 'knowledge_source_details' => payload['knowledge_source_details'],
448
+ 'name' => payload['name'],
449
+ 'status' => payload['status'],
450
+ 'type' => payload['type'],
451
+ 'url' => payload['url'],
452
+ 'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
453
+ 'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
454
+ }
455
+
456
+ # Context
457
+ @instance_context = nil
458
+ @params = { 'id' => id || @properties['id'] , }
459
+ end
460
+
461
+ ##
462
+ # Generate an instance context for the instance, the context is capable of
463
+ # performing various actions. All instance actions are proxied to the context
464
+ # @return [KnowledgeContext] CallContext for this CallInstance
465
+ def context
466
+ unless @instance_context
467
+ @instance_context = KnowledgeContext.new(@version , @params['id'])
468
+ end
469
+ @instance_context
470
+ end
471
+
472
+ ##
473
+ # @return [String] The type of knowledge source.
474
+ def description
475
+ @properties['description']
476
+ end
477
+
478
+ ##
479
+ # @return [String] The description of knowledge.
480
+ def id
481
+ @properties['id']
482
+ end
483
+
484
+ ##
485
+ # @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource.
486
+ def account_sid
487
+ @properties['account_sid']
488
+ end
489
+
490
+ ##
491
+ # @return [Hash] The details of the knowledge source based on the type.
492
+ def knowledge_source_details
493
+ @properties['knowledge_source_details']
494
+ end
495
+
496
+ ##
497
+ # @return [String] The name of the knowledge source.
498
+ def name
499
+ @properties['name']
500
+ end
501
+
502
+ ##
503
+ # @return [String] The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED')
504
+ def status
505
+ @properties['status']
506
+ end
507
+
508
+ ##
509
+ # @return [String] The type of knowledge source ('Web', 'Database', 'Text', 'File')
510
+ def type
511
+ @properties['type']
512
+ end
513
+
514
+ ##
515
+ # @return [String] The url of the knowledge resource.
516
+ def url
517
+ @properties['url']
518
+ end
519
+
520
+ ##
521
+ # @return [Time] The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
522
+ def date_created
523
+ @properties['date_created']
524
+ end
525
+
526
+ ##
527
+ # @return [Time] The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
528
+ def date_updated
529
+ @properties['date_updated']
530
+ end
531
+
532
+ ##
533
+ # Delete the KnowledgeInstance
534
+ # @return [Boolean] True if delete succeeds, false otherwise
535
+ def delete
536
+
537
+ context.delete
538
+ end
539
+
540
+ ##
541
+ # Fetch the KnowledgeInstance
542
+ # @return [KnowledgeInstance] Fetched KnowledgeInstance
543
+ def fetch
544
+
545
+ context.fetch
546
+ end
547
+
548
+ ##
549
+ # Update the KnowledgeInstance
550
+ # @param [AssistantsV1ServiceUpdateKnowledgeRequest] assistants_v1_service_update_knowledge_request
551
+ # @return [KnowledgeInstance] Updated KnowledgeInstance
552
+ def update(assistants_v1_service_update_knowledge_request: :unset
553
+ )
554
+
555
+ context.update(
556
+ )
557
+ end
558
+
559
+ ##
560
+ # Access the chunks
561
+ # @return [chunks] chunks
562
+ def chunks
563
+ context.chunks
564
+ end
565
+
566
+ ##
567
+ # Access the knowledge_status
568
+ # @return [knowledge_status] knowledge_status
569
+ def knowledge_status
570
+ context.knowledge_status
571
+ end
572
+
573
+ ##
574
+ # Provide a user friendly representation
575
+ def to_s
576
+ values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
577
+ "<Twilio.Assistants.V1.KnowledgeInstance #{values}>"
578
+ end
579
+
580
+ ##
581
+ # Provide a detailed, user friendly representation
582
+ def inspect
583
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
584
+ "<Twilio.Assistants.V1.KnowledgeInstance #{values}>"
585
+ end
586
+ end
587
+
588
+ end
589
+ end
590
+ end
591
+ end