twilio-ruby 7.3.3 → 7.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +15 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +27 -27
- data/lib/twilio-ruby/rest/conversations/v1/conversation_with_participants.rb +259 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +18 -18
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +24 -24
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation_with_participants.rb +265 -0
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +37 -18
- data/lib/twilio-ruby/rest/conversations/v1.rb +6 -0
- data/lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb +5 -63
- data/lib/twilio-ruby/rest/marketplace/v1.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/request_managed_cert.rb +239 -0
- data/lib/twilio-ruby/rest/messaging/v1.rb +15 -0
- data/lib/twilio-ruby/rest/numbers/v1/{webhook.rb → porting_webhook_configuration_fetch.rb} +20 -20
- data/lib/twilio-ruby/rest/numbers/v1.rb +6 -6
- data/lib/twilio-ruby/rest/video/v1/room.rb +14 -14
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +6 -3
@@ -0,0 +1,239 @@
|
|
1
|
+
##
|
2
|
+
# This code was generated by
|
3
|
+
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
4
|
+
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
5
|
+
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
6
|
+
#
|
7
|
+
# Twilio - Messaging
|
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 Messaging < MessagingBase
|
19
|
+
class V1 < Version
|
20
|
+
class RequestManagedCertList < ListResource
|
21
|
+
|
22
|
+
##
|
23
|
+
# Initialize the RequestManagedCertList
|
24
|
+
# @param [Version] version Version that contains the resource
|
25
|
+
# @return [RequestManagedCertList] RequestManagedCertList
|
26
|
+
def initialize(version)
|
27
|
+
super(version)
|
28
|
+
# Path Solution
|
29
|
+
@solution = { }
|
30
|
+
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
# Provide a user friendly representation
|
37
|
+
def to_s
|
38
|
+
'#<Twilio.Messaging.V1.RequestManagedCertList>'
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
|
43
|
+
class RequestManagedCertContext < InstanceContext
|
44
|
+
##
|
45
|
+
# Initialize the RequestManagedCertContext
|
46
|
+
# @param [Version] version Version that contains the resource
|
47
|
+
# @param [String] domain_sid Unique string used to identify the domain that this certificate should be associated with.
|
48
|
+
# @return [RequestManagedCertContext] RequestManagedCertContext
|
49
|
+
def initialize(version, domain_sid)
|
50
|
+
super(version)
|
51
|
+
|
52
|
+
# Path Solution
|
53
|
+
@solution = { domain_sid: domain_sid, }
|
54
|
+
@uri = "/LinkShortening/Domains/#{@solution[:domain_sid]}/RequestManagedCert"
|
55
|
+
|
56
|
+
|
57
|
+
end
|
58
|
+
##
|
59
|
+
# Update the RequestManagedCertInstance
|
60
|
+
# @return [RequestManagedCertInstance] Updated RequestManagedCertInstance
|
61
|
+
def update
|
62
|
+
|
63
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
64
|
+
|
65
|
+
payload = @version.update('POST', @uri, headers: headers)
|
66
|
+
RequestManagedCertInstance.new(
|
67
|
+
@version,
|
68
|
+
payload,
|
69
|
+
domain_sid: @solution[:domain_sid],
|
70
|
+
)
|
71
|
+
end
|
72
|
+
|
73
|
+
|
74
|
+
##
|
75
|
+
# Provide a user friendly representation
|
76
|
+
def to_s
|
77
|
+
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
78
|
+
"#<Twilio.Messaging.V1.RequestManagedCertContext #{context}>"
|
79
|
+
end
|
80
|
+
|
81
|
+
##
|
82
|
+
# Provide a detailed, user friendly representation
|
83
|
+
def inspect
|
84
|
+
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
85
|
+
"#<Twilio.Messaging.V1.RequestManagedCertContext #{context}>"
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
class RequestManagedCertPage < Page
|
90
|
+
##
|
91
|
+
# Initialize the RequestManagedCertPage
|
92
|
+
# @param [Version] version Version that contains the resource
|
93
|
+
# @param [Response] response Response from the API
|
94
|
+
# @param [Hash] solution Path solution for the resource
|
95
|
+
# @return [RequestManagedCertPage] RequestManagedCertPage
|
96
|
+
def initialize(version, response, solution)
|
97
|
+
super(version, response)
|
98
|
+
|
99
|
+
# Path Solution
|
100
|
+
@solution = solution
|
101
|
+
end
|
102
|
+
|
103
|
+
##
|
104
|
+
# Build an instance of RequestManagedCertInstance
|
105
|
+
# @param [Hash] payload Payload response from the API
|
106
|
+
# @return [RequestManagedCertInstance] RequestManagedCertInstance
|
107
|
+
def get_instance(payload)
|
108
|
+
RequestManagedCertInstance.new(@version, payload)
|
109
|
+
end
|
110
|
+
|
111
|
+
##
|
112
|
+
# Provide a user friendly representation
|
113
|
+
def to_s
|
114
|
+
'<Twilio.Messaging.V1.RequestManagedCertPage>'
|
115
|
+
end
|
116
|
+
end
|
117
|
+
class RequestManagedCertInstance < InstanceResource
|
118
|
+
##
|
119
|
+
# Initialize the RequestManagedCertInstance
|
120
|
+
# @param [Version] version Version that contains the resource
|
121
|
+
# @param [Hash] payload payload that contains response from Twilio
|
122
|
+
# @param [String] account_sid The SID of the
|
123
|
+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this RequestManagedCert
|
124
|
+
# resource.
|
125
|
+
# @param [String] sid The SID of the Call resource to fetch.
|
126
|
+
# @return [RequestManagedCertInstance] RequestManagedCertInstance
|
127
|
+
def initialize(version, payload , domain_sid: nil)
|
128
|
+
super(version)
|
129
|
+
|
130
|
+
# Marshaled Properties
|
131
|
+
@properties = {
|
132
|
+
'domain_sid' => payload['domain_sid'],
|
133
|
+
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
|
134
|
+
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
135
|
+
'date_expires' => Twilio.deserialize_iso8601_datetime(payload['date_expires']),
|
136
|
+
'domain_name' => payload['domain_name'],
|
137
|
+
'certificate_sid' => payload['certificate_sid'],
|
138
|
+
'url' => payload['url'],
|
139
|
+
'managed' => payload['managed'],
|
140
|
+
'requesting' => payload['requesting'],
|
141
|
+
}
|
142
|
+
|
143
|
+
# Context
|
144
|
+
@instance_context = nil
|
145
|
+
@params = { 'domain_sid' => domain_sid || @properties['domain_sid'] , }
|
146
|
+
end
|
147
|
+
|
148
|
+
##
|
149
|
+
# Generate an instance context for the instance, the context is capable of
|
150
|
+
# performing various actions. All instance actions are proxied to the context
|
151
|
+
# @return [RequestManagedCertContext] CallContext for this CallInstance
|
152
|
+
def context
|
153
|
+
unless @instance_context
|
154
|
+
@instance_context = RequestManagedCertContext.new(@version , @params['domain_sid'])
|
155
|
+
end
|
156
|
+
@instance_context
|
157
|
+
end
|
158
|
+
|
159
|
+
##
|
160
|
+
# @return [String] The unique string that we created to identify the Domain resource.
|
161
|
+
def domain_sid
|
162
|
+
@properties['domain_sid']
|
163
|
+
end
|
164
|
+
|
165
|
+
##
|
166
|
+
# @return [Time] Date that this Domain was last updated.
|
167
|
+
def date_updated
|
168
|
+
@properties['date_updated']
|
169
|
+
end
|
170
|
+
|
171
|
+
##
|
172
|
+
# @return [Time] Date that this Domain was registered to the Twilio platform to create a new Domain object.
|
173
|
+
def date_created
|
174
|
+
@properties['date_created']
|
175
|
+
end
|
176
|
+
|
177
|
+
##
|
178
|
+
# @return [Time] Date that the private certificate associated with this domain expires. This is the expiration date of your existing cert.
|
179
|
+
def date_expires
|
180
|
+
@properties['date_expires']
|
181
|
+
end
|
182
|
+
|
183
|
+
##
|
184
|
+
# @return [String] Full url path for this domain.
|
185
|
+
def domain_name
|
186
|
+
@properties['domain_name']
|
187
|
+
end
|
188
|
+
|
189
|
+
##
|
190
|
+
# @return [String] The unique string that we created to identify this Certificate resource.
|
191
|
+
def certificate_sid
|
192
|
+
@properties['certificate_sid']
|
193
|
+
end
|
194
|
+
|
195
|
+
##
|
196
|
+
# @return [String]
|
197
|
+
def url
|
198
|
+
@properties['url']
|
199
|
+
end
|
200
|
+
|
201
|
+
##
|
202
|
+
# @return [Boolean] A boolean flag indicating if the certificate is managed by Twilio.
|
203
|
+
def managed
|
204
|
+
@properties['managed']
|
205
|
+
end
|
206
|
+
|
207
|
+
##
|
208
|
+
# @return [Boolean] A boolean flag indicating if a managed certificate needs to be fulfilled by Twilio.
|
209
|
+
def requesting
|
210
|
+
@properties['requesting']
|
211
|
+
end
|
212
|
+
|
213
|
+
##
|
214
|
+
# Update the RequestManagedCertInstance
|
215
|
+
# @return [RequestManagedCertInstance] Updated RequestManagedCertInstance
|
216
|
+
def update
|
217
|
+
|
218
|
+
context.update
|
219
|
+
end
|
220
|
+
|
221
|
+
##
|
222
|
+
# Provide a user friendly representation
|
223
|
+
def to_s
|
224
|
+
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
225
|
+
"<Twilio.Messaging.V1.RequestManagedCertInstance #{values}>"
|
226
|
+
end
|
227
|
+
|
228
|
+
##
|
229
|
+
# Provide a detailed, user friendly representation
|
230
|
+
def inspect
|
231
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
232
|
+
"<Twilio.Messaging.V1.RequestManagedCertInstance #{values}>"
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
end
|
237
|
+
end
|
238
|
+
end
|
239
|
+
end
|
@@ -29,6 +29,7 @@ module Twilio
|
|
29
29
|
@external_campaign = nil
|
30
30
|
@linkshortening_messaging_service = nil
|
31
31
|
@linkshortening_messaging_service_domain_association = nil
|
32
|
+
@request_managed_cert = nil
|
32
33
|
@services = nil
|
33
34
|
@tollfree_verifications = nil
|
34
35
|
@usecases = nil
|
@@ -151,6 +152,20 @@ module Twilio
|
|
151
152
|
end
|
152
153
|
end
|
153
154
|
##
|
155
|
+
# @param [String] domain_sid Unique string used to identify the domain that this certificate should be associated with.
|
156
|
+
# @return [Twilio::REST::Messaging::V1::RequestManagedCertContext] if domainSid was passed.
|
157
|
+
# @return [Twilio::REST::Messaging::V1::RequestManagedCertList]
|
158
|
+
def request_managed_cert(domain_sid=:unset)
|
159
|
+
if domain_sid.nil?
|
160
|
+
raise ArgumentError, 'domain_sid cannot be nil'
|
161
|
+
end
|
162
|
+
if domain_sid == :unset
|
163
|
+
@request_managed_cert ||= RequestManagedCertList.new self
|
164
|
+
else
|
165
|
+
RequestManagedCertContext.new(self, domain_sid)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
##
|
154
169
|
# @param [String] sid The SID of the Service resource to fetch.
|
155
170
|
# @return [Twilio::REST::Messaging::V1::ServiceContext] if sid was passed.
|
156
171
|
# @return [Twilio::REST::Messaging::V1::ServiceList]
|
@@ -17,12 +17,12 @@ module Twilio
|
|
17
17
|
module REST
|
18
18
|
class Numbers < NumbersBase
|
19
19
|
class V1 < Version
|
20
|
-
class
|
20
|
+
class PortingWebhookConfigurationFetchList < ListResource
|
21
21
|
|
22
22
|
##
|
23
|
-
# Initialize the
|
23
|
+
# Initialize the PortingWebhookConfigurationFetchList
|
24
24
|
# @param [Version] version Version that contains the resource
|
25
|
-
# @return [
|
25
|
+
# @return [PortingWebhookConfigurationFetchList] PortingWebhookConfigurationFetchList
|
26
26
|
def initialize(version)
|
27
27
|
super(version)
|
28
28
|
# Path Solution
|
@@ -31,14 +31,14 @@ module Twilio
|
|
31
31
|
|
32
32
|
end
|
33
33
|
##
|
34
|
-
# Fetch the
|
35
|
-
# @return [
|
34
|
+
# Fetch the PortingWebhookConfigurationFetchInstance
|
35
|
+
# @return [PortingWebhookConfigurationFetchInstance] Fetched PortingWebhookConfigurationFetchInstance
|
36
36
|
def fetch
|
37
37
|
|
38
38
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
39
39
|
|
40
40
|
payload = @version.fetch('GET', @uri, headers: headers)
|
41
|
-
|
41
|
+
PortingWebhookConfigurationFetchInstance.new(
|
42
42
|
@version,
|
43
43
|
payload,
|
44
44
|
)
|
@@ -49,17 +49,17 @@ module Twilio
|
|
49
49
|
|
50
50
|
# Provide a user friendly representation
|
51
51
|
def to_s
|
52
|
-
'#<Twilio.Numbers.V1.
|
52
|
+
'#<Twilio.Numbers.V1.PortingWebhookConfigurationFetchList>'
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
-
class
|
56
|
+
class PortingWebhookConfigurationFetchPage < Page
|
57
57
|
##
|
58
|
-
# Initialize the
|
58
|
+
# Initialize the PortingWebhookConfigurationFetchPage
|
59
59
|
# @param [Version] version Version that contains the resource
|
60
60
|
# @param [Response] response Response from the API
|
61
61
|
# @param [Hash] solution Path solution for the resource
|
62
|
-
# @return [
|
62
|
+
# @return [PortingWebhookConfigurationFetchPage] PortingWebhookConfigurationFetchPage
|
63
63
|
def initialize(version, response, solution)
|
64
64
|
super(version, response)
|
65
65
|
|
@@ -68,29 +68,29 @@ module Twilio
|
|
68
68
|
end
|
69
69
|
|
70
70
|
##
|
71
|
-
# Build an instance of
|
71
|
+
# Build an instance of PortingWebhookConfigurationFetchInstance
|
72
72
|
# @param [Hash] payload Payload response from the API
|
73
|
-
# @return [
|
73
|
+
# @return [PortingWebhookConfigurationFetchInstance] PortingWebhookConfigurationFetchInstance
|
74
74
|
def get_instance(payload)
|
75
|
-
|
75
|
+
PortingWebhookConfigurationFetchInstance.new(@version, payload)
|
76
76
|
end
|
77
77
|
|
78
78
|
##
|
79
79
|
# Provide a user friendly representation
|
80
80
|
def to_s
|
81
|
-
'<Twilio.Numbers.V1.
|
81
|
+
'<Twilio.Numbers.V1.PortingWebhookConfigurationFetchPage>'
|
82
82
|
end
|
83
83
|
end
|
84
|
-
class
|
84
|
+
class PortingWebhookConfigurationFetchInstance < InstanceResource
|
85
85
|
##
|
86
|
-
# Initialize the
|
86
|
+
# Initialize the PortingWebhookConfigurationFetchInstance
|
87
87
|
# @param [Version] version Version that contains the resource
|
88
88
|
# @param [Hash] payload payload that contains response from Twilio
|
89
89
|
# @param [String] account_sid The SID of the
|
90
|
-
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this
|
90
|
+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this PortingWebhookConfigurationFetch
|
91
91
|
# resource.
|
92
92
|
# @param [String] sid The SID of the Call resource to fetch.
|
93
|
-
# @return [
|
93
|
+
# @return [PortingWebhookConfigurationFetchInstance] PortingWebhookConfigurationFetchInstance
|
94
94
|
def initialize(version, payload )
|
95
95
|
super(version)
|
96
96
|
|
@@ -145,13 +145,13 @@ module Twilio
|
|
145
145
|
##
|
146
146
|
# Provide a user friendly representation
|
147
147
|
def to_s
|
148
|
-
"<Twilio.Numbers.V1.
|
148
|
+
"<Twilio.Numbers.V1.PortingWebhookConfigurationFetchInstance>"
|
149
149
|
end
|
150
150
|
|
151
151
|
##
|
152
152
|
# Provide a detailed, user friendly representation
|
153
153
|
def inspect
|
154
|
-
"<Twilio.Numbers.V1.
|
154
|
+
"<Twilio.Numbers.V1.PortingWebhookConfigurationFetchInstance>"
|
155
155
|
end
|
156
156
|
end
|
157
157
|
|
@@ -28,8 +28,8 @@ module Twilio
|
|
28
28
|
@porting_portabilities = nil
|
29
29
|
@porting_webhook_configurations = nil
|
30
30
|
@porting_webhook_configurations_delete = nil
|
31
|
+
@porting_webhook_configuration_fetch = nil
|
31
32
|
@signing_request_configurations = nil
|
32
|
-
@webhook = nil
|
33
33
|
end
|
34
34
|
|
35
35
|
##
|
@@ -135,16 +135,16 @@ module Twilio
|
|
135
135
|
end
|
136
136
|
end
|
137
137
|
##
|
138
|
+
# @return [Twilio::REST::Numbers::V1::PortingWebhookConfigurationFetchList]
|
139
|
+
def porting_webhook_configuration_fetch
|
140
|
+
@porting_webhook_configuration_fetch ||= PortingWebhookConfigurationFetchList.new self
|
141
|
+
end
|
142
|
+
##
|
138
143
|
# @return [Twilio::REST::Numbers::V1::SigningRequestConfigurationList]
|
139
144
|
def signing_request_configurations
|
140
145
|
@signing_request_configurations ||= SigningRequestConfigurationList.new self
|
141
146
|
end
|
142
147
|
##
|
143
|
-
# @return [Twilio::REST::Numbers::V1::WebhookList]
|
144
|
-
def webhook
|
145
|
-
@webhook ||= WebhookList.new self
|
146
|
-
end
|
147
|
-
##
|
148
148
|
# Provide a user friendly representation
|
149
149
|
def to_s
|
150
150
|
'<Twilio::REST::Numbers::V1>';
|
@@ -35,14 +35,14 @@ module Twilio
|
|
35
35
|
# @param [Boolean] enable_turn Deprecated, now always considered to be true.
|
36
36
|
# @param [RoomType] type
|
37
37
|
# @param [String] unique_name An application-defined string that uniquely identifies the resource. It can be used as a `room_sid` in place of the resource's `sid` in the URL to address the resource, assuming it does not contain any [reserved characters](https://tools.ietf.org/html/rfc3986#section-2.2) that would need to be URL encoded. This value is unique for `in-progress` rooms. SDK clients can use this name to connect to the room. REST API clients can use this name in place of the Room SID to interact with the room as long as the room is `in-progress`.
|
38
|
-
# @param [String] status_callback The URL
|
39
|
-
# @param [String] status_callback_method The HTTP method
|
40
|
-
# @param [String] max_participants The maximum number of concurrent Participants allowed in the room.
|
41
|
-
# @param [Boolean] record_participants_on_connect Whether to start recording when Participants connect.
|
42
|
-
# @param [Array[VideoCodec]] video_codecs An array of the video codecs that are supported when publishing a track in the room. Can be: `VP8` and `H264`.
|
43
|
-
# @param [String] media_region The region for the media server
|
38
|
+
# @param [String] status_callback The URL Twilio should call using the `status_callback_method` to send status information to your application on every room event. See [Status Callbacks](https://www.twilio.com/docs/video/api/status-callbacks) for more info.
|
39
|
+
# @param [String] status_callback_method The HTTP method Twilio should use to call `status_callback`. Can be `POST` or `GET`.
|
40
|
+
# @param [String] max_participants The maximum number of concurrent Participants allowed in the room. The maximum allowed value is 50.
|
41
|
+
# @param [Boolean] record_participants_on_connect Whether to start recording when Participants connect.
|
42
|
+
# @param [Array[VideoCodec]] video_codecs An array of the video codecs that are supported when publishing a track in the room. Can be: `VP8` and `H264`.
|
43
|
+
# @param [String] media_region The region for the Room's media server. Can be one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#group-rooms-media-servers).
|
44
44
|
# @param [Object] recording_rules A collection of Recording Rules that describe how to include or exclude matching tracks for recording
|
45
|
-
# @param [Boolean] audio_only When set to true, indicates that the participants in the room will only publish audio. No video tracks will be allowed.
|
45
|
+
# @param [Boolean] audio_only When set to true, indicates that the participants in the room will only publish audio. No video tracks will be allowed.
|
46
46
|
# @param [String] max_participant_duration The maximum number of seconds a Participant can be connected to the room. The maximum possible value is 86400 seconds (24 hours). The default is 14400 seconds (4 hours).
|
47
47
|
# @param [String] empty_room_timeout Configures how long (in minutes) a room will remain active after last participant leaves. Valid values range from 1 to 60 minutes (no fractions).
|
48
48
|
# @param [String] unused_room_timeout Configures how long (in minutes) a room will remain active if no one joins. Valid values range from 1 to 60 minutes (no fractions).
|
@@ -417,7 +417,7 @@ module Twilio
|
|
417
417
|
end
|
418
418
|
|
419
419
|
##
|
420
|
-
# @return [String] The unique string that
|
420
|
+
# @return [String] The unique string that Twilio created to identify the Room resource.
|
421
421
|
def sid
|
422
422
|
@properties['sid']
|
423
423
|
end
|
@@ -459,13 +459,13 @@ module Twilio
|
|
459
459
|
end
|
460
460
|
|
461
461
|
##
|
462
|
-
# @return [String] The URL
|
462
|
+
# @return [String] The URL Twilio calls using the `status_callback_method` to send status information to your application on every room event. See [Status Callbacks](https://www.twilio.com/docs/video/api/status-callbacks) for more info.
|
463
463
|
def status_callback
|
464
464
|
@properties['status_callback']
|
465
465
|
end
|
466
466
|
|
467
467
|
##
|
468
|
-
# @return [String] The HTTP method
|
468
|
+
# @return [String] The HTTP method Twilio uses to call `status_callback`. Can be `POST` or `GET` and defaults to `POST`.
|
469
469
|
def status_callback_method
|
470
470
|
@properties['status_callback_method']
|
471
471
|
end
|
@@ -507,25 +507,25 @@ module Twilio
|
|
507
507
|
end
|
508
508
|
|
509
509
|
##
|
510
|
-
# @return [Boolean] Whether to start recording when Participants connect.
|
510
|
+
# @return [Boolean] Whether to start recording when Participants connect.
|
511
511
|
def record_participants_on_connect
|
512
512
|
@properties['record_participants_on_connect']
|
513
513
|
end
|
514
514
|
|
515
515
|
##
|
516
|
-
# @return [Array<VideoCodec>] An array of the video codecs that are supported when publishing a track in the room. Can be: `VP8` and `H264`.
|
516
|
+
# @return [Array<VideoCodec>] An array of the video codecs that are supported when publishing a track in the room. Can be: `VP8` and `H264`.
|
517
517
|
def video_codecs
|
518
518
|
@properties['video_codecs']
|
519
519
|
end
|
520
520
|
|
521
521
|
##
|
522
|
-
# @return [String] The region for the media server
|
522
|
+
# @return [String] The region for the Room's media server. Can be one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#media-servers).
|
523
523
|
def media_region
|
524
524
|
@properties['media_region']
|
525
525
|
end
|
526
526
|
|
527
527
|
##
|
528
|
-
# @return [Boolean] When set to true, indicates that the participants in the room will only publish audio. No video tracks will be allowed.
|
528
|
+
# @return [Boolean] When set to true, indicates that the participants in the room will only publish audio. No video tracks will be allowed.
|
529
529
|
def audio_only
|
530
530
|
@properties['audio_only']
|
531
531
|
end
|
data/lib/twilio-ruby/version.rb
CHANGED
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: 7.3.
|
4
|
+
version: 7.3.5
|
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: 2024-10-
|
11
|
+
date: 2024-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -408,6 +408,7 @@ files:
|
|
408
408
|
- lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb
|
409
409
|
- lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb
|
410
410
|
- lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb
|
411
|
+
- lib/twilio-ruby/rest/conversations/v1/conversation_with_participants.rb
|
411
412
|
- lib/twilio-ruby/rest/conversations/v1/credential.rb
|
412
413
|
- lib/twilio-ruby/rest/conversations/v1/participant_conversation.rb
|
413
414
|
- lib/twilio-ruby/rest/conversations/v1/role.rb
|
@@ -421,6 +422,7 @@ files:
|
|
421
422
|
- lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb
|
422
423
|
- lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb
|
423
424
|
- lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb
|
425
|
+
- lib/twilio-ruby/rest/conversations/v1/service/conversation_with_participants.rb
|
424
426
|
- lib/twilio-ruby/rest/conversations/v1/service/participant_conversation.rb
|
425
427
|
- lib/twilio-ruby/rest/conversations/v1/service/role.rb
|
426
428
|
- lib/twilio-ruby/rest/conversations/v1/service/user.rb
|
@@ -564,6 +566,7 @@ files:
|
|
564
566
|
- lib/twilio-ruby/rest/messaging/v1/external_campaign.rb
|
565
567
|
- lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb
|
566
568
|
- lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb
|
569
|
+
- lib/twilio-ruby/rest/messaging/v1/request_managed_cert.rb
|
567
570
|
- lib/twilio-ruby/rest/messaging/v1/service.rb
|
568
571
|
- lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb
|
569
572
|
- lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb
|
@@ -605,8 +608,8 @@ files:
|
|
605
608
|
- lib/twilio-ruby/rest/numbers/v1/porting_portability.rb
|
606
609
|
- lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb
|
607
610
|
- lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb
|
611
|
+
- lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb
|
608
612
|
- lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb
|
609
|
-
- lib/twilio-ruby/rest/numbers/v1/webhook.rb
|
610
613
|
- lib/twilio-ruby/rest/numbers/v2.rb
|
611
614
|
- lib/twilio-ruby/rest/numbers/v2/authorization_document.rb
|
612
615
|
- lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb
|