comet_backup_ruby_sdk 2.42.0 → 2.43.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.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comet_backup_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.42.0
4
+ version: 2.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Comet Licensing Ltd.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-15 00:00:00.000000000 Z
11
+ date: 2025-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -109,7 +109,6 @@ files:
109
109
  - lib/comet/models/backup_job_progress.rb
110
110
  - lib/comet/models/backup_rule_config.rb
111
111
  - lib/comet/models/backup_rule_event_triggers.rb
112
- - lib/comet/models/block_info.rb
113
112
  - lib/comet/models/branding_options.rb
114
113
  - lib/comet/models/branding_properties.rb
115
114
  - lib/comet/models/browse_disk_drives_response.rb
@@ -149,6 +148,7 @@ files:
149
148
  - lib/comet/models/destination_statistics.rb
150
149
  - lib/comet/models/device_config.rb
151
150
  - lib/comet/models/disk_drive.rb
151
+ - lib/comet/models/dispatch_with_job_idresponse.rb
152
152
  - lib/comet/models/dispatcher_admin_sources_response.rb
153
153
  - lib/comet/models/dispatcher_list_snapshot_virtual_machines_response.rb
154
154
  - lib/comet/models/dispatcher_stored_objects_response.rb
@@ -215,6 +215,7 @@ files:
215
215
  - lib/comet/models/policy_options.rb
216
216
  - lib/comet/models/private_branding_properties.rb
217
217
  - lib/comet/models/protected_item_engine_type_policy.rb
218
+ - lib/comet/models/protected_item_with_backup_rules_response.rb
218
219
  - lib/comet/models/proxmox_connection.rb
219
220
  - lib/comet/models/proxmox_restore_target_options.rb
220
221
  - lib/comet/models/psaconfig.rb
@@ -225,7 +226,6 @@ files:
225
226
  - lib/comet/models/pvebackup_vm.rb
226
227
  - lib/comet/models/pvedisk.rb
227
228
  - lib/comet/models/pveparams.rb
228
- - lib/comet/models/pverestore_selection.rb
229
229
  - lib/comet/models/pvestorage_name.rb
230
230
  - lib/comet/models/pvevm.rb
231
231
  - lib/comet/models/ratelimit_options.rb
@@ -1,82 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright (c) 2020-2025 Comet Licensing Ltd.
4
- # Please see the LICENSE file for usage information.
5
- #
6
- # SPDX-License-Identifier: MIT
7
-
8
- require 'json'
9
-
10
- module Comet
11
-
12
- # BlockInfo is a typed class wrapper around the underlying Comet Server API data structure.
13
- class BlockInfo
14
-
15
- # @type [String] device_id
16
- attr_accessor :device_id
17
-
18
- # @type [String] disk_node_name
19
- attr_accessor :disk_node_name
20
-
21
- # @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
22
- attr_accessor :unknown_json_fields
23
-
24
- def initialize
25
- clear
26
- end
27
-
28
- def clear
29
- @device_id = ''
30
- @disk_node_name = ''
31
- @unknown_json_fields = {}
32
- end
33
-
34
- # @param [String] json_string The complete object in JSON format
35
- def from_json(json_string)
36
- raise TypeError, "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
37
-
38
- from_hash(JSON.parse(json_string))
39
- end
40
-
41
- # @param [Hash] obj The complete object as a Ruby hash
42
- def from_hash(obj)
43
- raise TypeError, "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
44
-
45
- obj.each do |k, v|
46
- case k
47
- when 'DeviceID'
48
- raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
49
-
50
- @device_id = v
51
- when 'DiskNodeName'
52
- raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
53
-
54
- @disk_node_name = v
55
- else
56
- @unknown_json_fields[k] = v
57
- end
58
- end
59
- end
60
-
61
- # @return [Hash] The complete object as a Ruby hash
62
- def to_hash
63
- ret = {}
64
- ret['DeviceID'] = @device_id
65
- ret['DiskNodeName'] = @disk_node_name
66
- @unknown_json_fields.each do |k, v|
67
- ret[k] = v
68
- end
69
- ret
70
- end
71
-
72
- # @return [Hash] The complete object as a Ruby hash
73
- def to_h
74
- to_hash
75
- end
76
-
77
- # @return [String] The complete object as a JSON string
78
- def to_json(options = {})
79
- to_hash.to_json(options)
80
- end
81
- end
82
- end