svix 1.26.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/svix/models/message_attempt_endpoint_out.rb +15 -1
- data/lib/svix/models/message_attempt_out.rb +15 -1
- data/lib/svix/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19646ce466dd4ea958259793c083de007d46cf90d5bd6b177b879d66f960a318
|
4
|
+
data.tar.gz: b3eefc719892e052305e91a714f2c796c14d4ac875d1b798dac9c82065397209
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9db009d71092664ff0bf35a6ca18ad9ac2cc589b43df8739525a76f0fa17e879d4fb55a88872b37264abe554360d16530fd10785f047a198d62b42896ff064b
|
7
|
+
data.tar.gz: de2ea5623dd139be5bc1ff6dce53e101c5bf6580dc5824b15aa35be01a786af6cd720d59aff498897c886680bcda01a16d9b6eea442e1ac66057152c8c3672f0
|
data/Gemfile.lock
CHANGED
@@ -28,6 +28,8 @@ module Svix
|
|
28
28
|
|
29
29
|
attr_accessor :response
|
30
30
|
|
31
|
+
attr_accessor :response_duration_ms
|
32
|
+
|
31
33
|
attr_accessor :response_status_code
|
32
34
|
|
33
35
|
attr_accessor :status
|
@@ -46,6 +48,7 @@ module Svix
|
|
46
48
|
:'msg' => :'msg',
|
47
49
|
:'msg_id' => :'msgId',
|
48
50
|
:'response' => :'response',
|
51
|
+
:'response_duration_ms' => :'responseDurationMs',
|
49
52
|
:'response_status_code' => :'responseStatusCode',
|
50
53
|
:'status' => :'status',
|
51
54
|
:'timestamp' => :'timestamp',
|
@@ -67,6 +70,7 @@ module Svix
|
|
67
70
|
:'msg' => :'MessageOut',
|
68
71
|
:'msg_id' => :'String',
|
69
72
|
:'response' => :'String',
|
73
|
+
:'response_duration_ms' => :'Integer',
|
70
74
|
:'response_status_code' => :'Integer',
|
71
75
|
:'status' => :'MessageStatus',
|
72
76
|
:'timestamp' => :'Time',
|
@@ -116,6 +120,10 @@ module Svix
|
|
116
120
|
self.response = attributes[:'response']
|
117
121
|
end
|
118
122
|
|
123
|
+
if attributes.key?(:'response_duration_ms')
|
124
|
+
self.response_duration_ms = attributes[:'response_duration_ms']
|
125
|
+
end
|
126
|
+
|
119
127
|
if attributes.key?(:'response_status_code')
|
120
128
|
self.response_status_code = attributes[:'response_status_code']
|
121
129
|
end
|
@@ -157,6 +165,10 @@ module Svix
|
|
157
165
|
invalid_properties.push('invalid value for "response", response cannot be nil.')
|
158
166
|
end
|
159
167
|
|
168
|
+
if @response_duration_ms.nil?
|
169
|
+
invalid_properties.push('invalid value for "response_duration_ms", response_duration_ms cannot be nil.')
|
170
|
+
end
|
171
|
+
|
160
172
|
if @response_status_code.nil?
|
161
173
|
invalid_properties.push('invalid value for "response_status_code", response_status_code cannot be nil.')
|
162
174
|
end
|
@@ -195,6 +207,7 @@ module Svix
|
|
195
207
|
return false if @id.nil?
|
196
208
|
return false if @msg_id.nil?
|
197
209
|
return false if @response.nil?
|
210
|
+
return false if @response_duration_ms.nil?
|
198
211
|
return false if @response_status_code.nil?
|
199
212
|
return false if @status.nil?
|
200
213
|
return false if @timestamp.nil?
|
@@ -233,6 +246,7 @@ module Svix
|
|
233
246
|
msg == o.msg &&
|
234
247
|
msg_id == o.msg_id &&
|
235
248
|
response == o.response &&
|
249
|
+
response_duration_ms == o.response_duration_ms &&
|
236
250
|
response_status_code == o.response_status_code &&
|
237
251
|
status == o.status &&
|
238
252
|
timestamp == o.timestamp &&
|
@@ -249,7 +263,7 @@ module Svix
|
|
249
263
|
# Calculates hash code according to all attributes.
|
250
264
|
# @return [Integer] Hash code
|
251
265
|
def hash
|
252
|
-
[endpoint_id, id, msg, msg_id, response, response_status_code, status, timestamp, trigger_type, url].hash
|
266
|
+
[endpoint_id, id, msg, msg_id, response, response_duration_ms, response_status_code, status, timestamp, trigger_type, url].hash
|
253
267
|
end
|
254
268
|
|
255
269
|
# Builds the object from hash
|
@@ -28,6 +28,8 @@ module Svix
|
|
28
28
|
|
29
29
|
attr_accessor :response
|
30
30
|
|
31
|
+
attr_accessor :response_duration_ms
|
32
|
+
|
31
33
|
attr_accessor :response_status_code
|
32
34
|
|
33
35
|
attr_accessor :status
|
@@ -46,6 +48,7 @@ module Svix
|
|
46
48
|
:'msg' => :'msg',
|
47
49
|
:'msg_id' => :'msgId',
|
48
50
|
:'response' => :'response',
|
51
|
+
:'response_duration_ms' => :'responseDurationMs',
|
49
52
|
:'response_status_code' => :'responseStatusCode',
|
50
53
|
:'status' => :'status',
|
51
54
|
:'timestamp' => :'timestamp',
|
@@ -67,6 +70,7 @@ module Svix
|
|
67
70
|
:'msg' => :'MessageOut',
|
68
71
|
:'msg_id' => :'String',
|
69
72
|
:'response' => :'String',
|
73
|
+
:'response_duration_ms' => :'Integer',
|
70
74
|
:'response_status_code' => :'Integer',
|
71
75
|
:'status' => :'MessageStatus',
|
72
76
|
:'timestamp' => :'Time',
|
@@ -116,6 +120,10 @@ module Svix
|
|
116
120
|
self.response = attributes[:'response']
|
117
121
|
end
|
118
122
|
|
123
|
+
if attributes.key?(:'response_duration_ms')
|
124
|
+
self.response_duration_ms = attributes[:'response_duration_ms']
|
125
|
+
end
|
126
|
+
|
119
127
|
if attributes.key?(:'response_status_code')
|
120
128
|
self.response_status_code = attributes[:'response_status_code']
|
121
129
|
end
|
@@ -157,6 +165,10 @@ module Svix
|
|
157
165
|
invalid_properties.push('invalid value for "response", response cannot be nil.')
|
158
166
|
end
|
159
167
|
|
168
|
+
if @response_duration_ms.nil?
|
169
|
+
invalid_properties.push('invalid value for "response_duration_ms", response_duration_ms cannot be nil.')
|
170
|
+
end
|
171
|
+
|
160
172
|
if @response_status_code.nil?
|
161
173
|
invalid_properties.push('invalid value for "response_status_code", response_status_code cannot be nil.')
|
162
174
|
end
|
@@ -195,6 +207,7 @@ module Svix
|
|
195
207
|
return false if @id.nil?
|
196
208
|
return false if @msg_id.nil?
|
197
209
|
return false if @response.nil?
|
210
|
+
return false if @response_duration_ms.nil?
|
198
211
|
return false if @response_status_code.nil?
|
199
212
|
return false if @status.nil?
|
200
213
|
return false if @timestamp.nil?
|
@@ -233,6 +246,7 @@ module Svix
|
|
233
246
|
msg == o.msg &&
|
234
247
|
msg_id == o.msg_id &&
|
235
248
|
response == o.response &&
|
249
|
+
response_duration_ms == o.response_duration_ms &&
|
236
250
|
response_status_code == o.response_status_code &&
|
237
251
|
status == o.status &&
|
238
252
|
timestamp == o.timestamp &&
|
@@ -249,7 +263,7 @@ module Svix
|
|
249
263
|
# Calculates hash code according to all attributes.
|
250
264
|
# @return [Integer] Hash code
|
251
265
|
def hash
|
252
|
-
[endpoint_id, id, msg, msg_id, response, response_status_code, status, timestamp, trigger_type, url].hash
|
266
|
+
[endpoint_id, id, msg, msg_id, response, response_duration_ms, response_status_code, status, timestamp, trigger_type, url].hash
|
253
267
|
end
|
254
268
|
|
255
269
|
# Builds the object from hash
|
data/lib/svix/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Svix
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|