svix 1.71.0 → 1.72.0
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/svix/version.rb +1 -1
- metadata +2 -3
- data/lib/svix/models/expung_all_contents_out.rb +0 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f0ee78adfcaa1b4236623dc6b1fed08bb357dde2a9d0fc5d3cad40d4a22b8bf
|
4
|
+
data.tar.gz: 5ef34dff58a82426ec05b5f8050e77cc71447adb19117281477c141b06d161fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99af42e0eb343f20225008bc58325130087b04538fda89ddcd26ac74877bc8e01b7b9d1098412092d2a28d0e128979540f13df2675b866248b8f82c659aaf811
|
7
|
+
data.tar.gz: 6a7d456d4dec3b6a1a10d4e5763f5d49a06bb43aeee58ac4626d6f2db1d1cdffb04428861a921fa72643b70340c98dd39677d15bf937ef2c8f16f185142694bc
|
data/Gemfile.lock
CHANGED
data/lib/svix/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.72.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Svix
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-08-
|
10
|
+
date: 2025-08-14 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rake
|
@@ -150,7 +150,6 @@ files:
|
|
150
150
|
- lib/svix/models/event_type_out.rb
|
151
151
|
- lib/svix/models/event_type_patch.rb
|
152
152
|
- lib/svix/models/event_type_update.rb
|
153
|
-
- lib/svix/models/expung_all_contents_out.rb
|
154
153
|
- lib/svix/models/expunge_all_contents_out.rb
|
155
154
|
- lib/svix/models/github_config.rb
|
156
155
|
- lib/svix/models/github_config_out.rb
|
@@ -1,52 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# This file is @generated
|
3
|
-
require "json"
|
4
|
-
|
5
|
-
module Svix
|
6
|
-
class ExpungAllContentsOut
|
7
|
-
attr_accessor :id
|
8
|
-
attr_accessor :status
|
9
|
-
attr_accessor :task
|
10
|
-
|
11
|
-
ALL_FIELD ||= ["id", "status", "task"].freeze
|
12
|
-
private_constant :ALL_FIELD
|
13
|
-
|
14
|
-
def initialize(attributes = {})
|
15
|
-
unless attributes.is_a?(Hash)
|
16
|
-
fail(ArgumentError, "The input argument (attributes) must be a hash in `Svix::ExpungAllContentsOut` new method")
|
17
|
-
end
|
18
|
-
|
19
|
-
attributes.each do |k, v|
|
20
|
-
unless ALL_FIELD.include?(k.to_s)
|
21
|
-
fail(ArgumentError, "The field #{k} is not part of Svix::ExpungAllContentsOut")
|
22
|
-
end
|
23
|
-
|
24
|
-
instance_variable_set("@#{k}", v)
|
25
|
-
instance_variable_set("@__#{k}_is_defined", true)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
def self.deserialize(attributes = {})
|
30
|
-
attributes = attributes.transform_keys(&:to_s)
|
31
|
-
attrs = Hash.new
|
32
|
-
attrs["id"] = attributes["id"]
|
33
|
-
attrs["status"] = Svix::BackgroundTaskStatus.deserialize(attributes["status"])
|
34
|
-
attrs["task"] = Svix::BackgroundTaskType.deserialize(attributes["task"])
|
35
|
-
new(attrs)
|
36
|
-
end
|
37
|
-
|
38
|
-
def serialize
|
39
|
-
out = Hash.new
|
40
|
-
out["id"] = Svix::serialize_primitive(@id) if @id
|
41
|
-
out["status"] = @status.serialize if @status
|
42
|
-
out["task"] = @task.serialize if @task
|
43
|
-
out
|
44
|
-
end
|
45
|
-
|
46
|
-
# Serializes the object to a json string
|
47
|
-
# @return String
|
48
|
-
def to_json
|
49
|
-
JSON.dump(serialize)
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|