twilio-ruby 7.10.7 → 7.11.1

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 (105) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test-and-deploy.yml +43 -67
  3. data/.gitignore +0 -1
  4. data/CHANGES.md +46 -0
  5. data/Gemfile +2 -0
  6. data/Gemfile.lock +154 -0
  7. data/README.md +3 -3
  8. data/Rakefile +1 -1
  9. data/lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb +25 -6
  10. data/lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb +48 -12
  11. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +6 -0
  12. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +56 -2
  13. data/lib/twilio-ruby/rest/client.rb +0 -5
  14. data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +11 -1
  15. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +10 -10
  16. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +10 -10
  17. data/lib/twilio-ruby/rest/conversations/v2/action.rb +2 -2
  18. data/lib/twilio-ruby/rest/conversations/v2/communication.rb +43 -21
  19. data/lib/twilio-ruby/rest/conversations/v2/configuration.rb +59 -21
  20. data/lib/twilio-ruby/rest/conversations/v2/conversation.rb +28 -28
  21. data/lib/twilio-ruby/rest/conversations/v2/operation.rb +10 -10
  22. data/lib/twilio-ruby/rest/conversations/v2/participant.rb +58 -58
  23. data/lib/twilio-ruby/rest/conversations/v2.rb +45 -45
  24. data/lib/twilio-ruby/rest/iam/v1/new_api_key.rb +2 -2
  25. data/lib/twilio-ruby/rest/iam/v1/o_auth_app.rb +15 -2
  26. data/lib/twilio-ruby/rest/iam_base.rb +6 -1
  27. data/lib/twilio-ruby/rest/insights/v1/call/call_summary.rb +7 -0
  28. data/lib/twilio-ruby/rest/insights/v1/call/event.rb +7 -0
  29. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +7 -0
  30. data/lib/twilio-ruby/rest/insights/v3/metadata.rb +1 -1
  31. data/lib/twilio-ruby/rest/insights/v3/query.rb +1 -1
  32. data/lib/twilio-ruby/rest/insights/v3.rb +1 -1
  33. data/lib/twilio-ruby/rest/intelligence/v3/conversation.rb +8 -8
  34. data/lib/twilio-ruby/rest/intelligence/v3/rule_execution.rb +502 -0
  35. data/lib/twilio-ruby/rest/intelligence/v3.rb +6 -0
  36. data/lib/twilio-ruby/rest/knowledge/v2/chunk.rb +28 -0
  37. data/lib/twilio-ruby/rest/knowledge/v2/knowledge.rb +38 -0
  38. data/lib/twilio-ruby/rest/knowledge/v2/search.rb +8 -117
  39. data/lib/twilio-ruby/rest/knowledge/v2.rb +1 -2
  40. data/lib/twilio-ruby/rest/memory/v1/bulk.rb +9 -118
  41. data/lib/twilio-ruby/rest/memory/v1/conversation_summary.rb +13 -5
  42. data/lib/twilio-ruby/rest/memory/v1/data_mapping.rb +6 -12
  43. data/lib/twilio-ruby/rest/memory/v1/identifier.rb +1 -1
  44. data/lib/twilio-ruby/rest/memory/v1/identity_resolution_setting.rb +11 -132
  45. data/lib/twilio-ruby/rest/memory/v1/import.rb +28 -5
  46. data/lib/twilio-ruby/rest/memory/v1/lookup.rb +1 -1
  47. data/lib/twilio-ruby/rest/memory/v1/observation.rb +70 -18
  48. data/lib/twilio-ruby/rest/memory/v1/operation.rb +1 -1
  49. data/lib/twilio-ruby/rest/memory/v1/profile.rb +2 -2
  50. data/lib/twilio-ruby/rest/memory/v1/recall.rb +1 -1
  51. data/lib/twilio-ruby/rest/memory/v1/revision.rb +1 -1
  52. data/lib/twilio-ruby/rest/memory/v1/store.rb +1 -1
  53. data/lib/twilio-ruby/rest/memory/v1/trait.rb +1 -1
  54. data/lib/twilio-ruby/rest/memory/v1/trait_group.rb +56 -6
  55. data/lib/twilio-ruby/rest/memory/v1.rb +3 -46
  56. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +0 -18
  57. data/lib/twilio-ruby/rest/messaging/v2/channels_sender.rb +23 -4
  58. data/lib/twilio-ruby/rest/messaging/v3/typing_indicator.rb +4 -4
  59. data/lib/twilio-ruby/rest/numbers/v1/sms_verification.rb +231 -0
  60. data/lib/twilio-ruby/rest/numbers/v1/sms_verification_check.rb +238 -0
  61. data/lib/twilio-ruby/rest/numbers/v1/voice_verification.rb +245 -0
  62. data/lib/twilio-ruby/rest/numbers/v1/voice_verification_check.rb +224 -0
  63. data/lib/twilio-ruby/rest/numbers/v1.rb +24 -0
  64. data/lib/twilio-ruby/rest/{assistants/v1/session.rb → numbers/v2/caller_id.rb} +141 -127
  65. data/lib/twilio-ruby/rest/numbers/v2.rb +16 -0
  66. data/lib/twilio-ruby/rest/oauth/v2/authorize.rb +14 -2
  67. data/lib/twilio-ruby/rest/oauth/v2/oauth_authorization_server.rb +259 -0
  68. data/lib/twilio-ruby/rest/oauth/v2/token.rb +8 -2
  69. data/lib/twilio-ruby/rest/preview_iam/versionless/organization.rb +0 -19
  70. data/lib/twilio-ruby/rest/routes/v3/phone_number.rb +465 -0
  71. data/lib/twilio-ruby/rest/routes/v3.rb +50 -0
  72. data/lib/twilio-ruby/rest/routes_base.rb +6 -1
  73. data/lib/twilio-ruby/rest/trusthub/v1/a2p_brand_registration.rb +330 -0
  74. data/lib/twilio-ruby/rest/trusthub/v1/a2p_brand_registration_embedded_session.rb +233 -0
  75. data/lib/twilio-ruby/rest/trusthub/v1/a2p_campaign_registration.rb +321 -0
  76. data/lib/twilio-ruby/rest/trusthub/v1/a2p_campaign_registration_embedded_session.rb +233 -0
  77. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles_provisional_copy.rb +445 -0
  78. data/lib/twilio-ruby/rest/trusthub/v1/trust_products_provisional_copy.rb +445 -0
  79. data/lib/twilio-ruby/rest/trusthub/v1.rb +74 -0
  80. data/lib/twilio-ruby/rest/voice/v2/account_default_configuration.rb +556 -0
  81. data/lib/twilio-ruby/rest/voice/v2/configuration/default.rb +356 -0
  82. data/lib/twilio-ruby/rest/voice/v2/configuration.rb +412 -0
  83. data/lib/twilio-ruby/rest/voice/v2/recording.rb +616 -0
  84. data/lib/twilio-ruby/rest/voice/v2/transcription.rb +591 -0
  85. data/lib/twilio-ruby/rest/voice/v2/type.rb +518 -0
  86. data/lib/twilio-ruby/rest/voice/v2.rb +141 -0
  87. data/lib/twilio-ruby/rest/voice_base.rb +5 -0
  88. data/lib/twilio-ruby/twiml/voice_response.rb +6 -68
  89. data/lib/twilio-ruby/version.rb +1 -1
  90. data/twilio-ruby.gemspec +1 -1
  91. metadata +33 -21
  92. data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_knowledge.rb +0 -558
  93. data/lib/twilio-ruby/rest/assistants/v1/assistant/assistants_tool.rb +0 -558
  94. data/lib/twilio-ruby/rest/assistants/v1/assistant/feedback.rb +0 -431
  95. data/lib/twilio-ruby/rest/assistants/v1/assistant/message.rb +0 -296
  96. data/lib/twilio-ruby/rest/assistants/v1/assistant.rb +0 -927
  97. data/lib/twilio-ruby/rest/assistants/v1/knowledge/chunk.rb +0 -325
  98. data/lib/twilio-ruby/rest/assistants/v1/knowledge/knowledge_status.rb +0 -349
  99. data/lib/twilio-ruby/rest/assistants/v1/knowledge.rb +0 -871
  100. data/lib/twilio-ruby/rest/assistants/v1/policy.rb +0 -364
  101. data/lib/twilio-ruby/rest/assistants/v1/session/message.rb +0 -360
  102. data/lib/twilio-ruby/rest/assistants/v1/tool.rb +0 -847
  103. data/lib/twilio-ruby/rest/assistants/v1.rb +0 -104
  104. data/lib/twilio-ruby/rest/assistants.rb +0 -6
  105. data/lib/twilio-ruby/rest/assistants_base.rb +0 -38
@@ -0,0 +1,445 @@
1
+ ##
2
+ # This code was generated by
3
+ # ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4
+ # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5
+ # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
+ #
7
+ # Twilio - Trusthub
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 Trusthub < TrusthubBase
19
+ class V1 < Version
20
+ class CustomerProfilesProvisionalCopyList < ListResource
21
+
22
+ ##
23
+ # Initialize the CustomerProfilesProvisionalCopyList
24
+ # @param [Version] version Version that contains the resource
25
+ # @return [CustomerProfilesProvisionalCopyList] CustomerProfilesProvisionalCopyList
26
+ def initialize(version)
27
+ super(version)
28
+
29
+ # Path Solution
30
+ @solution = { }
31
+
32
+
33
+ end
34
+
35
+
36
+
37
+ # Provide a user friendly representation
38
+ def to_s
39
+ '#<Twilio.Trusthub.V1.CustomerProfilesProvisionalCopyList>'
40
+ end
41
+ end
42
+
43
+
44
+ class CustomerProfilesProvisionalCopyContext < InstanceContext
45
+ ##
46
+ # Initialize the CustomerProfilesProvisionalCopyContext
47
+ # @param [Version] version Version that contains the resource
48
+ # @param [String] customer_profile_sid The unique SID identifier of the Customer Profile.
49
+ # @return [CustomerProfilesProvisionalCopyContext] CustomerProfilesProvisionalCopyContext
50
+ def initialize(version, customer_profile_sid)
51
+ super(version)
52
+
53
+
54
+ # Path Solution
55
+ @solution = { customer_profile_sid: customer_profile_sid, }
56
+ @uri = "/CustomerProfiles/#{@solution[:customer_profile_sid]}/ProvisionalCopy"
57
+
58
+
59
+ end
60
+ ##
61
+ # Create the CustomerProfilesProvisionalCopyInstance
62
+ # @return [CustomerProfilesProvisionalCopyInstance] Created CustomerProfilesProvisionalCopyInstance
63
+ def create
64
+
65
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
66
+
67
+
68
+
69
+
70
+
71
+ payload = @version.create('POST', @uri, headers: headers)
72
+ CustomerProfilesProvisionalCopyInstance.new(
73
+ @version,
74
+ payload,
75
+ customer_profile_sid: @solution[:customer_profile_sid],
76
+ )
77
+ end
78
+
79
+ ##
80
+ # Create the CustomerProfilesProvisionalCopyInstanceMetadata
81
+ # @return [CustomerProfilesProvisionalCopyInstance] Created CustomerProfilesProvisionalCopyInstance
82
+ def create_with_metadata
83
+
84
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
85
+
86
+
87
+
88
+
89
+
90
+ response = @version.create_with_metadata('POST', @uri, headers: headers)
91
+ customer_profiles_provisional_copy_instance = CustomerProfilesProvisionalCopyInstance.new(
92
+ @version,
93
+ response.body,
94
+ customer_profile_sid: @solution[:customer_profile_sid],
95
+ )
96
+ CustomerProfilesProvisionalCopyInstanceMetadata.new(
97
+ @version,
98
+ customer_profiles_provisional_copy_instance,
99
+ response.headers,
100
+ response.status_code
101
+ )
102
+ end
103
+
104
+ ##
105
+ # Fetch the CustomerProfilesProvisionalCopyInstance
106
+ # @return [CustomerProfilesProvisionalCopyInstance] Fetched CustomerProfilesProvisionalCopyInstance
107
+ def fetch
108
+
109
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
110
+
111
+
112
+
113
+
114
+
115
+ payload = @version.fetch('GET', @uri, headers: headers)
116
+ CustomerProfilesProvisionalCopyInstance.new(
117
+ @version,
118
+ payload,
119
+ customer_profile_sid: @solution[:customer_profile_sid],
120
+ )
121
+ end
122
+
123
+ ##
124
+ # Fetch the CustomerProfilesProvisionalCopyInstanceMetadata
125
+ # @return [CustomerProfilesProvisionalCopyInstance] Fetched CustomerProfilesProvisionalCopyInstance
126
+ def fetch_with_metadata
127
+
128
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
129
+
130
+
131
+
132
+
133
+
134
+ response = @version.fetch_with_metadata('GET', @uri, headers: headers)
135
+ customer_profiles_provisional_copy_instance = CustomerProfilesProvisionalCopyInstance.new(
136
+ @version,
137
+ response.body,
138
+ customer_profile_sid: @solution[:customer_profile_sid],
139
+ )
140
+ CustomerProfilesProvisionalCopyInstanceMetadata.new(
141
+ @version,
142
+ customer_profiles_provisional_copy_instance,
143
+ response.headers,
144
+ response.status_code
145
+ )
146
+ end
147
+
148
+
149
+ ##
150
+ # Provide a user friendly representation
151
+ def to_s
152
+ context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
153
+ "#<Twilio.Trusthub.V1.CustomerProfilesProvisionalCopyContext #{context}>"
154
+ end
155
+
156
+ ##
157
+ # Provide a detailed, user friendly representation
158
+ def inspect
159
+ context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
160
+ "#<Twilio.Trusthub.V1.CustomerProfilesProvisionalCopyContext #{context}>"
161
+ end
162
+ end
163
+
164
+ class CustomerProfilesProvisionalCopyInstanceMetadata < InstanceResourceMetadata
165
+ ##
166
+ # Initializes a new CustomerProfilesProvisionalCopyInstanceMetadata.
167
+ # @param [Version] version Version that contains the resource
168
+ # @param [}CustomerProfilesProvisionalCopyInstance] customer_profiles_provisional_copy_instance The instance associated with the metadata.
169
+ # @param [Hash] headers Header object with response headers.
170
+ # @param [Integer] status_code The HTTP status code of the response.
171
+ # @return [CustomerProfilesProvisionalCopyInstanceMetadata] The initialized instance with metadata.
172
+ def initialize(version, customer_profiles_provisional_copy_instance, headers, status_code)
173
+ super(version, headers, status_code)
174
+ @customer_profiles_provisional_copy_instance = customer_profiles_provisional_copy_instance
175
+ end
176
+
177
+ def customer_profiles_provisional_copy
178
+ @customer_profiles_provisional_copy_instance
179
+ end
180
+
181
+ def headers
182
+ @headers
183
+ end
184
+
185
+ def status_code
186
+ @status_code
187
+ end
188
+
189
+ def to_s
190
+ "<Twilio.Api.V2010.CustomerProfilesProvisionalCopyInstanceMetadata status=#{@status_code}>"
191
+ end
192
+ end
193
+
194
+ class CustomerProfilesProvisionalCopyListResponse < InstanceListResource
195
+ # @param [Array<CustomerProfilesProvisionalCopyInstance>] instance
196
+ # @param [Hash{String => Object}] headers
197
+ # @param [Integer] status_code
198
+ def initialize(version, payload, key)
199
+ @customer_profiles_provisional_copy_instance = payload.body[key].map do |data|
200
+ CustomerProfilesProvisionalCopyInstance.new(version, data)
201
+ end
202
+ @headers = payload.headers
203
+ @status_code = payload.status_code
204
+ end
205
+
206
+ def customer_profiles_provisional_copy_instance
207
+ @instance
208
+ end
209
+ end
210
+
211
+ class CustomerProfilesProvisionalCopyPage < Page
212
+ ##
213
+ # Initialize the CustomerProfilesProvisionalCopyPage
214
+ # @param [Version] version Version that contains the resource
215
+ # @param [Response] response Response from the API
216
+ # @param [Hash] solution Path solution for the resource
217
+ # @return [CustomerProfilesProvisionalCopyPage] CustomerProfilesProvisionalCopyPage
218
+ def initialize(version, response, solution)
219
+ super(version, response)
220
+
221
+
222
+ # Path Solution
223
+ @solution = solution
224
+ end
225
+
226
+ ##
227
+ # Build an instance of CustomerProfilesProvisionalCopyInstance
228
+ # @param [Hash] payload Payload response from the API
229
+ # @return [CustomerProfilesProvisionalCopyInstance] CustomerProfilesProvisionalCopyInstance
230
+ def get_instance(payload)
231
+ CustomerProfilesProvisionalCopyInstance.new(@version, payload)
232
+ end
233
+
234
+ ##
235
+ # Provide a user friendly representation
236
+ def to_s
237
+ '<Twilio.Trusthub.V1.CustomerProfilesProvisionalCopyPage>'
238
+ end
239
+ end
240
+
241
+ class CustomerProfilesProvisionalCopyPageMetadata < PageMetadata
242
+ attr_reader :customer_profiles_provisional_copy_page
243
+
244
+ def initialize(version, response, solution, limit)
245
+ super(version, response)
246
+ @customer_profiles_provisional_copy_page = []
247
+ @limit = limit
248
+ key = get_key(response.body)
249
+ records = 0
250
+ while( limit != :unset && records < limit )
251
+ @customer_profiles_provisional_copy_page << CustomerProfilesProvisionalCopyListResponse.new(version, @payload, key, limit - records)
252
+ @payload = self.next_page
253
+ break unless @payload
254
+ records += (@payload.body[key] || []).size
255
+ end
256
+ # Path Solution
257
+ @solution = solution
258
+ end
259
+
260
+ def each
261
+ @customer_profiles_provisional_copy_page.each do |record|
262
+ yield record
263
+ end
264
+ end
265
+
266
+ def to_s
267
+ '<Twilio::REST::Trusthub::V1PageMetadata>';
268
+ end
269
+ end
270
+ class CustomerProfilesProvisionalCopyListResponse < InstanceListResource
271
+
272
+ # @param [Array<CustomerProfilesProvisionalCopyInstance>] instance
273
+ # @param [Hash{String => Object}] headers
274
+ # @param [Integer] status_code
275
+ def initialize(version, payload, key, limit = :unset)
276
+ data_list = payload.body[key] || []
277
+ if limit != :unset
278
+ data_list = data_list[0, limit]
279
+ end
280
+ @customer_profiles_provisional_copy = data_list.map do |data|
281
+ CustomerProfilesProvisionalCopyInstance.new(version, data)
282
+ end
283
+ @headers = payload.headers
284
+ @status_code = payload.status_code
285
+ end
286
+
287
+ def customer_profiles_provisional_copy
288
+ @customer_profiles_provisional_copy
289
+ end
290
+
291
+ def headers
292
+ @headers
293
+ end
294
+
295
+ def status_code
296
+ @status_code
297
+ end
298
+ end
299
+
300
+ class CustomerProfilesProvisionalCopyInstance < InstanceResource
301
+ ##
302
+ # Initialize the CustomerProfilesProvisionalCopyInstance
303
+ # @param [Version] version Version that contains the resource
304
+ # @param [Hash] payload payload that contains response from Twilio
305
+ # @param [String] account_sid The SID of the
306
+ # {Account}[https://www.twilio.com/docs/iam/api/account] that created this CustomerProfilesProvisionalCopy
307
+ # resource.
308
+ # @param [String] sid The SID of the Call resource to fetch.
309
+ # @return [CustomerProfilesProvisionalCopyInstance] CustomerProfilesProvisionalCopyInstance
310
+ def initialize(version, payload , customer_profile_sid: nil)
311
+ super(version)
312
+
313
+
314
+ # Marshaled Properties
315
+ @properties = {
316
+ 'customer_profile_sid' => payload['customer_profile_sid'],
317
+ 'account_sid' => payload['account_sid'],
318
+ 'policy_sid' => payload['policy_sid'],
319
+ 'friendly_name' => payload['friendly_name'],
320
+ 'status' => payload['status'],
321
+ 'email' => payload['email'],
322
+ 'status_callback' => payload['status_callback'],
323
+ 'valid_until' => Twilio.deserialize_iso8601_datetime(payload['valid_until']),
324
+ 'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
325
+ 'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
326
+ 'url' => payload['url'],
327
+ }
328
+
329
+ # Context
330
+ @instance_context = nil
331
+ @params = { 'customer_profile_sid' => customer_profile_sid || @properties['customer_profile_sid'] , }
332
+ end
333
+
334
+ ##
335
+ # Generate an instance context for the instance, the context is capable of
336
+ # performing various actions. All instance actions are proxied to the context
337
+ # @return [CustomerProfilesProvisionalCopyContext] CallContext for this CallInstance
338
+ def context
339
+ unless @instance_context
340
+ @instance_context = CustomerProfilesProvisionalCopyContext.new(@version , @params['customer_profile_sid'])
341
+ end
342
+ @instance_context
343
+ end
344
+
345
+ ##
346
+ # @return [String] The unique SID identifier of the Customer Profile.
347
+ def customer_profile_sid
348
+ @properties['customer_profile_sid']
349
+ end
350
+
351
+ ##
352
+ # @return [String] The unique SID identifier of the Account.
353
+ def account_sid
354
+ @properties['account_sid']
355
+ end
356
+
357
+ ##
358
+ # @return [String] The unique string of a policy that is associated to the Customer-Profile resource.
359
+ def policy_sid
360
+ @properties['policy_sid']
361
+ end
362
+
363
+ ##
364
+ # @return [String] A human readable description of this resource, up to 64 characters.
365
+ def friendly_name
366
+ @properties['friendly_name']
367
+ end
368
+
369
+ ##
370
+ # @return [String] The verification status of the Customer-Profile resource.
371
+ def status
372
+ @properties['status']
373
+ end
374
+
375
+ ##
376
+ # @return [String] The email address that will receive updates when the Customer-Profile resource changes status.
377
+ def email
378
+ @properties['email']
379
+ end
380
+
381
+ ##
382
+ # @return [String] The URL we call to inform your application of status changes.
383
+ def status_callback
384
+ @properties['status_callback']
385
+ end
386
+
387
+ ##
388
+ # @return [Time] The date and time in GMT in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format when the resource will be valid until.
389
+ def valid_until
390
+ @properties['valid_until']
391
+ end
392
+
393
+ ##
394
+ # @return [Time] The date that this Customer Profiles Provisional Copy was created, given in ISO 8601 format.
395
+ def date_created
396
+ @properties['date_created']
397
+ end
398
+
399
+ ##
400
+ # @return [Time] The date that this Customer Profiles Provisional Copy was updated, given in ISO 8601 format.
401
+ def date_updated
402
+ @properties['date_updated']
403
+ end
404
+
405
+ ##
406
+ # @return [String] The URL of this resource.
407
+ def url
408
+ @properties['url']
409
+ end
410
+
411
+ ##
412
+ # Create the CustomerProfilesProvisionalCopyInstance
413
+ # @return [CustomerProfilesProvisionalCopyInstance] Created CustomerProfilesProvisionalCopyInstance
414
+ def create
415
+
416
+ context.create
417
+ end
418
+
419
+ ##
420
+ # Fetch the CustomerProfilesProvisionalCopyInstance
421
+ # @return [CustomerProfilesProvisionalCopyInstance] Fetched CustomerProfilesProvisionalCopyInstance
422
+ def fetch
423
+
424
+ context.fetch
425
+ end
426
+
427
+ ##
428
+ # Provide a user friendly representation
429
+ def to_s
430
+ values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
431
+ "<Twilio.Trusthub.V1.CustomerProfilesProvisionalCopyInstance #{values}>"
432
+ end
433
+
434
+ ##
435
+ # Provide a detailed, user friendly representation
436
+ def inspect
437
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
438
+ "<Twilio.Trusthub.V1.CustomerProfilesProvisionalCopyInstance #{values}>"
439
+ end
440
+ end
441
+
442
+ end
443
+ end
444
+ end
445
+ end