twilio-ruby 5.73.2 → 5.73.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/pr-lint.yml +8 -2
  3. data/.github/workflows/test-and-deploy.yml +3 -3
  4. data/CHANGES.md +32 -0
  5. data/LICENSE +1 -1
  6. data/README.md +2 -2
  7. data/lib/twilio-ruby/rest/client.rb +7 -0
  8. data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +195 -0
  9. data/lib/twilio-ruby/rest/content/v1/content.rb +346 -0
  10. data/lib/twilio-ruby/rest/content/v1.rb +45 -0
  11. data/lib/twilio-ruby/rest/content.rb +47 -0
  12. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +156 -0
  13. data/lib/twilio-ruby/rest/flex_api/v1/good_data.rb +7 -0
  14. data/lib/twilio-ruby/rest/flex_api/v1.rb +7 -0
  15. data/lib/twilio-ruby/rest/flex_api.rb +6 -0
  16. data/lib/twilio-ruby/rest/insights/v1/call/summary.rb +7 -0
  17. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +7 -0
  18. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +81 -6
  19. data/lib/twilio-ruby/rest/messaging/v1/domain_cert.rb +257 -0
  20. data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +267 -0
  21. data/lib/twilio-ruby/rest/messaging/v1.rb +34 -0
  22. data/lib/twilio-ruby/rest/messaging.rb +18 -0
  23. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +7 -0
  24. data/lib/twilio-ruby/rest/preview.rb +0 -33
  25. data/lib/twilio-ruby/version.rb +1 -1
  26. metadata +9 -8
  27. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_channel/channel.rb +0 -165
  28. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_channel.rb +0 -225
  29. data/lib/twilio-ruby/rest/preview/trusted_comms/brands_information.rb +0 -195
  30. data/lib/twilio-ruby/rest/preview/trusted_comms/cps.rb +0 -186
  31. data/lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb +0 -277
  32. data/lib/twilio-ruby/rest/preview/trusted_comms.rb +0 -65
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.73.2
4
+ version: 5.73.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twilio API Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-10 00:00:00.000000000 Z
11
+ date: 2022-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -381,6 +381,10 @@ files:
381
381
  - lib/twilio-ruby/rest/chat/v3.rb
382
382
  - lib/twilio-ruby/rest/chat/v3/channel.rb
383
383
  - lib/twilio-ruby/rest/client.rb
384
+ - lib/twilio-ruby/rest/content.rb
385
+ - lib/twilio-ruby/rest/content/v1.rb
386
+ - lib/twilio-ruby/rest/content/v1/content.rb
387
+ - lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb
384
388
  - lib/twilio-ruby/rest/conversations.rb
385
389
  - lib/twilio-ruby/rest/conversations/v1.rb
386
390
  - lib/twilio-ruby/rest/conversations/v1/address_configuration.rb
@@ -422,6 +426,7 @@ files:
422
426
  - lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb
423
427
  - lib/twilio-ruby/rest/flex_api.rb
424
428
  - lib/twilio-ruby/rest/flex_api/v1.rb
429
+ - lib/twilio-ruby/rest/flex_api/v1/assessments.rb
425
430
  - lib/twilio-ruby/rest/flex_api/v1/channel.rb
426
431
  - lib/twilio-ruby/rest/flex_api/v1/configuration.rb
427
432
  - lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb
@@ -488,6 +493,8 @@ files:
488
493
  - lib/twilio-ruby/rest/messaging/v1/brand_registration.rb
489
494
  - lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb
490
495
  - lib/twilio-ruby/rest/messaging/v1/deactivation.rb
496
+ - lib/twilio-ruby/rest/messaging/v1/domain_cert.rb
497
+ - lib/twilio-ruby/rest/messaging/v1/domain_config.rb
491
498
  - lib/twilio-ruby/rest/messaging/v1/external_campaign.rb
492
499
  - lib/twilio-ruby/rest/messaging/v1/service.rb
493
500
  - lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb
@@ -556,12 +563,6 @@ files:
556
563
  - lib/twilio-ruby/rest/preview/sync/service/sync_map.rb
557
564
  - lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb
558
565
  - lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb
559
- - lib/twilio-ruby/rest/preview/trusted_comms.rb
560
- - lib/twilio-ruby/rest/preview/trusted_comms/branded_channel.rb
561
- - lib/twilio-ruby/rest/preview/trusted_comms/branded_channel/channel.rb
562
- - lib/twilio-ruby/rest/preview/trusted_comms/brands_information.rb
563
- - lib/twilio-ruby/rest/preview/trusted_comms/cps.rb
564
- - lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb
565
566
  - lib/twilio-ruby/rest/preview/understand.rb
566
567
  - lib/twilio-ruby/rest/preview/understand/assistant.rb
567
568
  - lib/twilio-ruby/rest/preview/understand/assistant/assistant_fallback_actions.rb
@@ -1,165 +0,0 @@
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 Preview < Domain
12
- class TrustedComms < Version
13
- class BrandedChannelContext < 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 ChannelList < ListResource
17
- ##
18
- # Initialize the ChannelList
19
- # @param [Version] version Version that contains the resource
20
- # @param [String] branded_channel_sid The unique SID identifier of the Branded
21
- # Channel.
22
- # @return [ChannelList] ChannelList
23
- def initialize(version, branded_channel_sid: nil)
24
- super(version)
25
-
26
- # Path Solution
27
- @solution = {branded_channel_sid: branded_channel_sid}
28
- @uri = "/BrandedChannels/#{@solution[:branded_channel_sid]}/Channels"
29
- end
30
-
31
- ##
32
- # Create the ChannelInstance
33
- # @param [String] phone_number_sid The unique SID identifier of the Phone Number
34
- # of the Phone number to be assigned to the Branded Channel.
35
- # @return [ChannelInstance] Created ChannelInstance
36
- def create(phone_number_sid: nil)
37
- data = Twilio::Values.of({'PhoneNumberSid' => phone_number_sid, })
38
-
39
- payload = @version.create('POST', @uri, data: data)
40
-
41
- ChannelInstance.new(@version, payload, branded_channel_sid: @solution[:branded_channel_sid], )
42
- end
43
-
44
- ##
45
- # Provide a user friendly representation
46
- def to_s
47
- '#<Twilio.Preview.TrustedComms.ChannelList>'
48
- end
49
- end
50
-
51
- ##
52
- # 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.
53
- class ChannelPage < Page
54
- ##
55
- # Initialize the ChannelPage
56
- # @param [Version] version Version that contains the resource
57
- # @param [Response] response Response from the API
58
- # @param [Hash] solution Path solution for the resource
59
- # @return [ChannelPage] ChannelPage
60
- def initialize(version, response, solution)
61
- super(version, response)
62
-
63
- # Path Solution
64
- @solution = solution
65
- end
66
-
67
- ##
68
- # Build an instance of ChannelInstance
69
- # @param [Hash] payload Payload response from the API
70
- # @return [ChannelInstance] ChannelInstance
71
- def get_instance(payload)
72
- ChannelInstance.new(@version, payload, branded_channel_sid: @solution[:branded_channel_sid], )
73
- end
74
-
75
- ##
76
- # Provide a user friendly representation
77
- def to_s
78
- '<Twilio.Preview.TrustedComms.ChannelPage>'
79
- end
80
- end
81
-
82
- ##
83
- # 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.
84
- class ChannelInstance < InstanceResource
85
- ##
86
- # Initialize the ChannelInstance
87
- # @param [Version] version Version that contains the resource
88
- # @param [Hash] payload payload that contains response from Twilio
89
- # @param [String] branded_channel_sid The unique SID identifier of the Branded
90
- # Channel.
91
- # @return [ChannelInstance] ChannelInstance
92
- def initialize(version, payload, branded_channel_sid: nil)
93
- super(version)
94
-
95
- # Marshaled Properties
96
- @properties = {
97
- 'account_sid' => payload['account_sid'],
98
- 'business_sid' => payload['business_sid'],
99
- 'brand_sid' => payload['brand_sid'],
100
- 'branded_channel_sid' => payload['branded_channel_sid'],
101
- 'phone_number_sid' => payload['phone_number_sid'],
102
- 'phone_number' => payload['phone_number'],
103
- 'url' => payload['url'],
104
- }
105
- end
106
-
107
- ##
108
- # @return [String] Account Sid.
109
- def account_sid
110
- @properties['account_sid']
111
- end
112
-
113
- ##
114
- # @return [String] Business Sid.
115
- def business_sid
116
- @properties['business_sid']
117
- end
118
-
119
- ##
120
- # @return [String] Brand Sid.
121
- def brand_sid
122
- @properties['brand_sid']
123
- end
124
-
125
- ##
126
- # @return [String] Branded Channel Sid.
127
- def branded_channel_sid
128
- @properties['branded_channel_sid']
129
- end
130
-
131
- ##
132
- # @return [String] Phone Number Sid to be branded.
133
- def phone_number_sid
134
- @properties['phone_number_sid']
135
- end
136
-
137
- ##
138
- # @return [String] Twilio number to assign to the Branded Channel
139
- def phone_number
140
- @properties['phone_number']
141
- end
142
-
143
- ##
144
- # @return [String] The URL of this resource.
145
- def url
146
- @properties['url']
147
- end
148
-
149
- ##
150
- # Provide a user friendly representation
151
- def to_s
152
- "<Twilio.Preview.TrustedComms.ChannelInstance>"
153
- end
154
-
155
- ##
156
- # Provide a detailed, user friendly representation
157
- def inspect
158
- "<Twilio.Preview.TrustedComms.ChannelInstance>"
159
- end
160
- end
161
- end
162
- end
163
- end
164
- end
165
- end
@@ -1,225 +0,0 @@
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 Preview < Domain
12
- class TrustedComms < Version
13
- ##
14
- # 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.
15
- class BrandedChannelList < ListResource
16
- ##
17
- # Initialize the BrandedChannelList
18
- # @param [Version] version Version that contains the resource
19
- # @return [BrandedChannelList] BrandedChannelList
20
- def initialize(version)
21
- super(version)
22
-
23
- # Path Solution
24
- @solution = {}
25
- end
26
-
27
- ##
28
- # Provide a user friendly representation
29
- def to_s
30
- '#<Twilio.Preview.TrustedComms.BrandedChannelList>'
31
- end
32
- end
33
-
34
- ##
35
- # 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.
36
- class BrandedChannelPage < Page
37
- ##
38
- # Initialize the BrandedChannelPage
39
- # @param [Version] version Version that contains the resource
40
- # @param [Response] response Response from the API
41
- # @param [Hash] solution Path solution for the resource
42
- # @return [BrandedChannelPage] BrandedChannelPage
43
- def initialize(version, response, solution)
44
- super(version, response)
45
-
46
- # Path Solution
47
- @solution = solution
48
- end
49
-
50
- ##
51
- # Build an instance of BrandedChannelInstance
52
- # @param [Hash] payload Payload response from the API
53
- # @return [BrandedChannelInstance] BrandedChannelInstance
54
- def get_instance(payload)
55
- BrandedChannelInstance.new(@version, payload, )
56
- end
57
-
58
- ##
59
- # Provide a user friendly representation
60
- def to_s
61
- '<Twilio.Preview.TrustedComms.BrandedChannelPage>'
62
- end
63
- end
64
-
65
- ##
66
- # 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.
67
- class BrandedChannelContext < InstanceContext
68
- ##
69
- # Initialize the BrandedChannelContext
70
- # @param [Version] version Version that contains the resource
71
- # @param [String] sid The unique SID identifier of the Branded Channel.
72
- # @return [BrandedChannelContext] BrandedChannelContext
73
- def initialize(version, sid)
74
- super(version)
75
-
76
- # Path Solution
77
- @solution = {sid: sid, }
78
- @uri = "/BrandedChannels/#{@solution[:sid]}"
79
-
80
- # Dependents
81
- @channels = nil
82
- end
83
-
84
- ##
85
- # Fetch the BrandedChannelInstance
86
- # @return [BrandedChannelInstance] Fetched BrandedChannelInstance
87
- def fetch
88
- payload = @version.fetch('GET', @uri)
89
-
90
- BrandedChannelInstance.new(@version, payload, sid: @solution[:sid], )
91
- end
92
-
93
- ##
94
- # Access the channels
95
- # @return [ChannelList]
96
- # @return [ChannelContext]
97
- def channels
98
- unless @channels
99
- @channels = ChannelList.new(@version, branded_channel_sid: @solution[:sid], )
100
- end
101
-
102
- @channels
103
- end
104
-
105
- ##
106
- # Provide a user friendly representation
107
- def to_s
108
- context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
109
- "#<Twilio.Preview.TrustedComms.BrandedChannelContext #{context}>"
110
- end
111
-
112
- ##
113
- # Provide a detailed, user friendly representation
114
- def inspect
115
- context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
116
- "#<Twilio.Preview.TrustedComms.BrandedChannelContext #{context}>"
117
- end
118
- end
119
-
120
- ##
121
- # 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.
122
- class BrandedChannelInstance < InstanceResource
123
- ##
124
- # Initialize the BrandedChannelInstance
125
- # @param [Version] version Version that contains the resource
126
- # @param [Hash] payload payload that contains response from Twilio
127
- # @param [String] sid The unique SID identifier of the Branded Channel.
128
- # @return [BrandedChannelInstance] BrandedChannelInstance
129
- def initialize(version, payload, sid: nil)
130
- super(version)
131
-
132
- # Marshaled Properties
133
- @properties = {
134
- 'account_sid' => payload['account_sid'],
135
- 'business_sid' => payload['business_sid'],
136
- 'brand_sid' => payload['brand_sid'],
137
- 'sid' => payload['sid'],
138
- 'links' => payload['links'],
139
- 'url' => payload['url'],
140
- }
141
-
142
- # Context
143
- @instance_context = nil
144
- @params = {'sid' => sid || @properties['sid'], }
145
- end
146
-
147
- ##
148
- # Generate an instance context for the instance, the context is capable of
149
- # performing various actions. All instance actions are proxied to the context
150
- # @return [BrandedChannelContext] BrandedChannelContext for this BrandedChannelInstance
151
- def context
152
- unless @instance_context
153
- @instance_context = BrandedChannelContext.new(@version, @params['sid'], )
154
- end
155
- @instance_context
156
- end
157
-
158
- ##
159
- # @return [String] Account Sid.
160
- def account_sid
161
- @properties['account_sid']
162
- end
163
-
164
- ##
165
- # @return [String] Business Sid.
166
- def business_sid
167
- @properties['business_sid']
168
- end
169
-
170
- ##
171
- # @return [String] Brand Sid.
172
- def brand_sid
173
- @properties['brand_sid']
174
- end
175
-
176
- ##
177
- # @return [String] Branded Channel Sid.
178
- def sid
179
- @properties['sid']
180
- end
181
-
182
- ##
183
- # @return [String] Nested resource URLs.
184
- def links
185
- @properties['links']
186
- end
187
-
188
- ##
189
- # @return [String] The URL of this resource.
190
- def url
191
- @properties['url']
192
- end
193
-
194
- ##
195
- # Fetch the BrandedChannelInstance
196
- # @return [BrandedChannelInstance] Fetched BrandedChannelInstance
197
- def fetch
198
- context.fetch
199
- end
200
-
201
- ##
202
- # Access the channels
203
- # @return [channels] channels
204
- def channels
205
- context.channels
206
- end
207
-
208
- ##
209
- # Provide a user friendly representation
210
- def to_s
211
- values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
212
- "<Twilio.Preview.TrustedComms.BrandedChannelInstance #{values}>"
213
- end
214
-
215
- ##
216
- # Provide a detailed, user friendly representation
217
- def inspect
218
- values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
219
- "<Twilio.Preview.TrustedComms.BrandedChannelInstance #{values}>"
220
- end
221
- end
222
- end
223
- end
224
- end
225
- end
@@ -1,195 +0,0 @@
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 Preview < Domain
12
- class TrustedComms < Version
13
- ##
14
- # 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.
15
- class BrandsInformationList < ListResource
16
- ##
17
- # Initialize the BrandsInformationList
18
- # @param [Version] version Version that contains the resource
19
- # @return [BrandsInformationList] BrandsInformationList
20
- def initialize(version)
21
- super(version)
22
-
23
- # Path Solution
24
- @solution = {}
25
- end
26
-
27
- ##
28
- # Provide a user friendly representation
29
- def to_s
30
- '#<Twilio.Preview.TrustedComms.BrandsInformationList>'
31
- end
32
- end
33
-
34
- ##
35
- # 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.
36
- class BrandsInformationPage < Page
37
- ##
38
- # Initialize the BrandsInformationPage
39
- # @param [Version] version Version that contains the resource
40
- # @param [Response] response Response from the API
41
- # @param [Hash] solution Path solution for the resource
42
- # @return [BrandsInformationPage] BrandsInformationPage
43
- def initialize(version, response, solution)
44
- super(version, response)
45
-
46
- # Path Solution
47
- @solution = solution
48
- end
49
-
50
- ##
51
- # Build an instance of BrandsInformationInstance
52
- # @param [Hash] payload Payload response from the API
53
- # @return [BrandsInformationInstance] BrandsInformationInstance
54
- def get_instance(payload)
55
- BrandsInformationInstance.new(@version, payload, )
56
- end
57
-
58
- ##
59
- # Provide a user friendly representation
60
- def to_s
61
- '<Twilio.Preview.TrustedComms.BrandsInformationPage>'
62
- end
63
- end
64
-
65
- ##
66
- # 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.
67
- class BrandsInformationContext < InstanceContext
68
- ##
69
- # Initialize the BrandsInformationContext
70
- # @param [Version] version Version that contains the resource
71
- # @return [BrandsInformationContext] BrandsInformationContext
72
- def initialize(version)
73
- super(version)
74
-
75
- # Path Solution
76
- @solution = {}
77
- @uri = "/BrandsInformation"
78
- end
79
-
80
- ##
81
- # Fetch the BrandsInformationInstance
82
- # @param [String] if_none_match Standard `If-None-Match` HTTP header. For more
83
- # information visit:
84
- # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match.
85
- # @return [BrandsInformationInstance] Fetched BrandsInformationInstance
86
- def fetch(if_none_match: :unset)
87
- headers = Twilio::Values.of({'If-None-Match' => if_none_match, })
88
-
89
- payload = @version.fetch('GET', @uri, headers: headers)
90
-
91
- BrandsInformationInstance.new(@version, payload, )
92
- end
93
-
94
- ##
95
- # Provide a user friendly representation
96
- def to_s
97
- context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
98
- "#<Twilio.Preview.TrustedComms.BrandsInformationContext #{context}>"
99
- end
100
-
101
- ##
102
- # Provide a detailed, user friendly representation
103
- def inspect
104
- context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
105
- "#<Twilio.Preview.TrustedComms.BrandsInformationContext #{context}>"
106
- end
107
- end
108
-
109
- ##
110
- # 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.
111
- class BrandsInformationInstance < InstanceResource
112
- ##
113
- # Initialize the BrandsInformationInstance
114
- # @param [Version] version Version that contains the resource
115
- # @param [Hash] payload payload that contains response from Twilio
116
- # @return [BrandsInformationInstance] BrandsInformationInstance
117
- def initialize(version, payload)
118
- super(version)
119
-
120
- # Marshaled Properties
121
- @properties = {
122
- 'update_time' => Twilio.deserialize_iso8601_datetime(payload['update_time']),
123
- 'file_link' => payload['file_link'],
124
- 'file_link_ttl_in_seconds' => payload['file_link_ttl_in_seconds'],
125
- 'url' => payload['url'],
126
- }
127
-
128
- # Context
129
- @instance_context = nil
130
- @params = {}
131
- end
132
-
133
- ##
134
- # Generate an instance context for the instance, the context is capable of
135
- # performing various actions. All instance actions are proxied to the context
136
- # @return [BrandsInformationContext] BrandsInformationContext for this BrandsInformationInstance
137
- def context
138
- unless @instance_context
139
- @instance_context = BrandsInformationContext.new(@version, )
140
- end
141
- @instance_context
142
- end
143
-
144
- ##
145
- # @return [Time] Creation time of the information retrieved
146
- def update_time
147
- @properties['update_time']
148
- end
149
-
150
- ##
151
- # @return [String] The URL to the brands information
152
- def file_link
153
- @properties['file_link']
154
- end
155
-
156
- ##
157
- # @return [String] How long will be the `file_link` valid
158
- def file_link_ttl_in_seconds
159
- @properties['file_link_ttl_in_seconds']
160
- end
161
-
162
- ##
163
- # @return [String] The URL of this resource
164
- def url
165
- @properties['url']
166
- end
167
-
168
- ##
169
- # Fetch the BrandsInformationInstance
170
- # @param [String] if_none_match Standard `If-None-Match` HTTP header. For more
171
- # information visit:
172
- # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match.
173
- # @return [BrandsInformationInstance] Fetched BrandsInformationInstance
174
- def fetch(if_none_match: :unset)
175
- context.fetch(if_none_match: if_none_match, )
176
- end
177
-
178
- ##
179
- # Provide a user friendly representation
180
- def to_s
181
- values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
182
- "<Twilio.Preview.TrustedComms.BrandsInformationInstance #{values}>"
183
- end
184
-
185
- ##
186
- # Provide a detailed, user friendly representation
187
- def inspect
188
- values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
189
- "<Twilio.Preview.TrustedComms.BrandsInformationInstance #{values}>"
190
- end
191
- end
192
- end
193
- end
194
- end
195
- end