comet_backup_ruby_sdk 0.3.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/Gemfile.lock +1 -1
- data/RELEASING.md +1 -1
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/comet_server.rb +609 -263
- data/lib/comet/definitions.rb +19 -4
- data/lib/comet/models/add_bucket_response_message.rb +6 -6
- data/lib/comet/models/admin_account_properties_response.rb +11 -2
- data/lib/comet/models/admin_email_options.rb +84 -0
- data/lib/comet/models/admin_resource_response.rb +5 -5
- data/lib/comet/models/admin_security_options.rb +7 -7
- data/lib/comet/models/admin_u2fregistration.rb +4 -4
- data/lib/comet/models/admin_user_permissions.rb +2 -2
- data/lib/comet/models/available_download.rb +4 -4
- data/lib/comet/models/azure_destination_location.rb +7 -7
- data/lib/comet/models/b2destination_location.rb +7 -7
- data/lib/comet/models/b2storage_extra_info.rb +2 -2
- data/lib/comet/models/b2transaction_totals.rb +5 -5
- data/lib/comet/models/b2virtual_storage_role_settings.rb +93 -0
- data/lib/comet/models/backup_job_advanced_options.rb +4 -4
- data/lib/comet/models/backup_job_detail.rb +20 -20
- data/lib/comet/models/backup_job_progress.rb +7 -7
- data/lib/comet/models/backup_rule_config.rb +27 -11
- data/lib/comet/models/backup_rule_event_triggers.rb +2 -2
- data/lib/comet/models/branding_options.rb +27 -27
- data/lib/comet/models/branding_properties.rb +23 -23
- data/lib/comet/models/browse_disk_drives_response.rb +4 -4
- data/lib/comet/models/browse_edbresponse.rb +4 -4
- data/lib/comet/models/browse_hvresponse.rb +4 -4
- data/lib/comet/models/browse_vssresponse.rb +4 -4
- data/lib/comet/models/bucket_properties.rb +14 -5
- data/lib/comet/models/bucket_usage_info.rb +3 -3
- data/lib/comet/models/comet_apiresponse_message.rb +4 -4
- data/lib/comet/models/comet_destination_location.rb +5 -5
- data/lib/comet/models/constellation_check_report.rb +4 -4
- data/lib/comet/models/constellation_stats.rb +6 -6
- data/lib/comet/models/constellation_status_apiresponse.rb +4 -4
- data/lib/comet/models/content_measurement.rb +4 -4
- data/lib/comet/models/content_measurement_component.rb +4 -4
- data/lib/comet/models/create_group_policy_response.rb +5 -5
- data/lib/comet/models/default_email_report_policy.rb +2 -2
- data/lib/comet/models/destination_config.rb +65 -43
- data/lib/comet/models/destination_location.rb +34 -34
- data/lib/comet/models/destination_statistics.rb +5 -5
- data/lib/comet/models/device_config.rb +3 -3
- data/lib/comet/models/disk_drive.rb +13 -13
- data/lib/comet/models/dispatcher_admin_sources_response.rb +5 -5
- data/lib/comet/models/dispatcher_stored_objects_response.rb +4 -4
- data/lib/comet/models/dispatcher_vault_snapshots_response.rb +4 -4
- data/lib/comet/models/edbfile_info.rb +5 -5
- data/lib/comet/models/email_options.rb +9 -9
- data/lib/comet/models/email_report_config.rb +3 -3
- data/lib/comet/models/email_report_generated_preview.rb +7 -7
- data/lib/comet/models/external_ldapauthentication_source_settings.rb +102 -0
- data/lib/comet/models/extra_file_exclusion.rb +4 -4
- data/lib/comet/models/ftpdestination_location.rb +9 -9
- data/lib/comet/models/get_group_policy_response.rb +5 -5
- data/lib/comet/models/get_profile_and_hash_response_message.rb +5 -5
- data/lib/comet/models/get_profile_hash_response_message.rb +5 -5
- data/lib/comet/models/group_policy.rb +12 -3
- data/lib/comet/models/hyper_vmachine_info.rb +4 -4
- data/lib/comet/models/install_creds.rb +99 -0
- data/lib/comet/models/install_token.rb +117 -0
- data/lib/comet/models/install_token_response.rb +92 -0
- data/lib/comet/models/job_entry.rb +5 -5
- data/lib/comet/models/live_user_connection.rb +8 -8
- data/lib/comet/models/local_destination_location.rb +6 -6
- data/lib/comet/models/mac_oscode_sign_properties.rb +8 -8
- data/lib/comet/models/mongo_dbconnection.rb +15 -15
- data/lib/comet/models/new_bucket_detail.rb +4 -4
- data/lib/comet/models/news_entry.rb +13 -4
- data/lib/comet/models/organization.rb +145 -0
- data/lib/comet/models/organization_response.rb +101 -0
- data/lib/comet/models/osinfo.rb +5 -5
- data/lib/comet/models/partition.rb +13 -13
- data/lib/comet/models/private_branding_properties.rb +17 -17
- data/lib/comet/models/protected_item_engine_type_policy.rb +3 -3
- data/lib/comet/models/public_branding_properties.rb +8 -8
- data/lib/comet/models/remote_server_address.rb +7 -7
- data/lib/comet/models/remote_storage_option.rb +14 -8
- data/lib/comet/models/replicator_state_apiresponse.rb +14 -14
- data/lib/comet/models/request_storage_vault_response_message.rb +5 -5
- data/lib/comet/models/restore_job_advanced_options.rb +6 -6
- data/lib/comet/models/retention_policy.rb +3 -3
- data/lib/comet/models/retention_range.rb +10 -10
- data/lib/comet/models/s3destination_location.rb +7 -7
- data/lib/comet/models/schedule_config.rb +5 -5
- data/lib/comet/models/search_clause.rb +6 -6
- data/lib/comet/models/server_config_options_branding_fragment.rb +2 -2
- data/lib/comet/models/server_config_options_software_build_role_fragment.rb +2 -2
- data/lib/comet/models/server_meta_version_info.rb +17 -17
- data/lib/comet/models/session_key_regenerated_response.rb +6 -6
- data/lib/comet/models/sftpdestination_location.rb +9 -9
- data/lib/comet/models/size_measurement.rb +5 -5
- data/lib/comet/models/software_build_role_options.rb +2 -2
- data/lib/comet/models/software_update_news_response.rb +6 -6
- data/lib/comet/models/source_basic_info.rb +4 -4
- data/lib/comet/models/source_config.rb +26 -10
- data/lib/comet/models/source_statistics.rb +2 -2
- data/lib/comet/models/spanned_destination_location.rb +2 -2
- data/lib/comet/models/spanned_storage_extra_info.rb +2 -2
- data/lib/comet/models/sshconnection.rb +8 -8
- data/lib/comet/models/stat_result.rb +6 -6
- data/lib/comet/models/storage_free_space_info.rb +5 -5
- data/lib/comet/models/storage_vault_provider_policy.rb +3 -3
- data/lib/comet/models/stored_object.rb +10 -10
- data/lib/comet/models/streamable_event.rb +12 -3
- data/lib/comet/models/swift_destination_location.rb +15 -15
- data/lib/comet/models/test_response.rb +4 -4
- data/lib/comet/models/totp_regenerated_response.rb +7 -7
- data/lib/comet/models/u2fregister_request.rb +4 -4
- data/lib/comet/models/u2fregistered_key.rb +5 -5
- data/lib/comet/models/u2fregistration_challenge_response.rb +6 -6
- data/lib/comet/models/u2fsign_request.rb +5 -5
- data/lib/comet/models/u2fsign_response.rb +6 -6
- data/lib/comet/models/uninstall_config.rb +2 -2
- data/lib/comet/models/update_campaign_device_status.rb +3 -3
- data/lib/comet/models/update_campaign_options.rb +2 -2
- data/lib/comet/models/update_campaign_properties.rb +4 -4
- data/lib/comet/models/update_campaign_status.rb +4 -4
- data/lib/comet/models/update_campaign_status_device_entry.rb +5 -5
- data/lib/comet/models/user_custom_email_settings.rb +2 -2
- data/lib/comet/models/user_on_server.rb +4 -4
- data/lib/comet/models/user_policy.rb +6 -6
- data/lib/comet/models/user_profile_config.rb +28 -17
- data/lib/comet/models/user_profile_fragment.rb +3 -3
- data/lib/comet/models/vault_snapshot.rb +5 -5
- data/lib/comet/models/vsscomponent.rb +5 -5
- data/lib/comet/models/vsswriter_info.rb +3 -3
- data/lib/comet/models/wasabi_virtual_storage_role_settings.rb +93 -0
- data/lib/comet/models/web_interface_branding_properties.rb +6 -6
- data/lib/comet/models/webhook_option.rb +4 -4
- data/lib/comet/models/win_smbauth.rb +6 -6
- data/lib/comet/models/windows_code_sign_properties.rb +11 -11
- data/lib/comet_backup_ruby_sdk.rb +9 -0
- metadata +11 -2
@@ -35,19 +35,19 @@ module Comet
|
|
35
35
|
|
36
36
|
# @param [String] json_string The complete object in JSON format
|
37
37
|
def from_json(json_string)
|
38
|
-
raise TypeError "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
38
|
+
raise TypeError, "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
39
39
|
|
40
40
|
from_hash(JSON.parse(json_string))
|
41
41
|
end
|
42
42
|
|
43
43
|
# @param [Hash] obj The complete object as a Ruby hash
|
44
44
|
def from_hash(obj)
|
45
|
-
raise TypeError "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
45
|
+
raise TypeError, "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
46
46
|
|
47
47
|
obj.each do |k, v|
|
48
48
|
case k
|
49
49
|
when 'DisplayName'
|
50
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
50
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
51
51
|
|
52
52
|
@display_name = v
|
53
53
|
when 'Components'
|
@@ -0,0 +1,93 @@
|
|
1
|
+
#!/usr/bin/env ruby --enable-frozen-string-literal
|
2
|
+
#
|
3
|
+
# Copyright (c) 2020-2020 Comet Licensing Ltd.
|
4
|
+
# Please see the LICENSE file for usage information.
|
5
|
+
#
|
6
|
+
# SPDX-License-Identifier: MIT
|
7
|
+
#
|
8
|
+
# frozen_string_literal: true
|
9
|
+
|
10
|
+
require 'json'
|
11
|
+
|
12
|
+
module Comet
|
13
|
+
|
14
|
+
# WasabiVirtualStorageRoleSettings is a typed class wrapper around the underlying Comet Server API data structure.
|
15
|
+
class WasabiVirtualStorageRoleSettings
|
16
|
+
|
17
|
+
# @type [String] master_bucket
|
18
|
+
attr_accessor :master_bucket
|
19
|
+
|
20
|
+
# @type [String] access_key
|
21
|
+
attr_accessor :access_key
|
22
|
+
|
23
|
+
# @type [String] secret_key
|
24
|
+
attr_accessor :secret_key
|
25
|
+
|
26
|
+
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
27
|
+
attr_accessor :unknown_json_fields
|
28
|
+
|
29
|
+
def initialize
|
30
|
+
clear
|
31
|
+
end
|
32
|
+
|
33
|
+
def clear
|
34
|
+
@master_bucket = ''
|
35
|
+
@access_key = ''
|
36
|
+
@secret_key = ''
|
37
|
+
@unknown_json_fields = {}
|
38
|
+
end
|
39
|
+
|
40
|
+
# @param [String] json_string The complete object in JSON format
|
41
|
+
def from_json(json_string)
|
42
|
+
raise TypeError, "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
43
|
+
|
44
|
+
from_hash(JSON.parse(json_string))
|
45
|
+
end
|
46
|
+
|
47
|
+
# @param [Hash] obj The complete object as a Ruby hash
|
48
|
+
def from_hash(obj)
|
49
|
+
raise TypeError, "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
50
|
+
|
51
|
+
obj.each do |k, v|
|
52
|
+
case k
|
53
|
+
when 'MasterBucket'
|
54
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
55
|
+
|
56
|
+
@master_bucket = v
|
57
|
+
when 'AccessKey'
|
58
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
59
|
+
|
60
|
+
@access_key = v
|
61
|
+
when 'SecretKey'
|
62
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
63
|
+
|
64
|
+
@secret_key = v
|
65
|
+
else
|
66
|
+
@unknown_json_fields[k] = v
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# @return [Hash] The complete object as a Ruby hash
|
72
|
+
def to_hash
|
73
|
+
ret = {}
|
74
|
+
ret['MasterBucket'] = @master_bucket
|
75
|
+
ret['AccessKey'] = @access_key
|
76
|
+
ret['SecretKey'] = @secret_key
|
77
|
+
@unknown_json_fields.each do |k, v|
|
78
|
+
ret[k] = v
|
79
|
+
end
|
80
|
+
ret
|
81
|
+
end
|
82
|
+
|
83
|
+
# @return [Hash] The complete object as a Ruby hash
|
84
|
+
def to_h
|
85
|
+
to_hash
|
86
|
+
end
|
87
|
+
|
88
|
+
# @return [String] The complete object as a JSON string
|
89
|
+
def to_json(options = {})
|
90
|
+
to_hash.to_json(options)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
@@ -46,31 +46,31 @@ module Comet
|
|
46
46
|
|
47
47
|
# @param [String] json_string The complete object in JSON format
|
48
48
|
def from_json(json_string)
|
49
|
-
raise TypeError "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
49
|
+
raise TypeError, "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
50
50
|
|
51
51
|
from_hash(JSON.parse(json_string))
|
52
52
|
end
|
53
53
|
|
54
54
|
# @param [Hash] obj The complete object as a Ruby hash
|
55
55
|
def from_hash(obj)
|
56
|
-
raise TypeError "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
56
|
+
raise TypeError, "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
57
57
|
|
58
58
|
obj.each do |k, v|
|
59
59
|
case k
|
60
60
|
when 'BrandName'
|
61
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
61
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
62
62
|
|
63
63
|
@brand_name = v
|
64
64
|
when 'LogoImage'
|
65
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
65
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
66
66
|
|
67
67
|
@logo_image = v
|
68
68
|
when 'TopColor'
|
69
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
69
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
70
70
|
|
71
71
|
@top_color = v
|
72
72
|
when 'Favicon'
|
73
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
73
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
74
74
|
|
75
75
|
@favicon = v
|
76
76
|
when 'HideNewsArea'
|
@@ -35,19 +35,19 @@ module Comet
|
|
35
35
|
|
36
36
|
# @param [String] json_string The complete object in JSON format
|
37
37
|
def from_json(json_string)
|
38
|
-
raise TypeError "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
38
|
+
raise TypeError, "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
39
39
|
|
40
40
|
from_hash(JSON.parse(json_string))
|
41
41
|
end
|
42
42
|
|
43
43
|
# @param [Hash] obj The complete object as a Ruby hash
|
44
44
|
def from_hash(obj)
|
45
|
-
raise TypeError "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
45
|
+
raise TypeError, "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
46
46
|
|
47
47
|
obj.each do |k, v|
|
48
48
|
case k
|
49
49
|
when 'URL'
|
50
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
50
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
51
51
|
|
52
52
|
@url = v
|
53
53
|
when 'WhiteListedEventTypes'
|
@@ -56,7 +56,7 @@ module Comet
|
|
56
56
|
else
|
57
57
|
@white_listed_event_types = Array.new(v.length)
|
58
58
|
v.each_with_index do |v1, i1|
|
59
|
-
raise TypeError "'v1' expected Numeric, got #{v1.class}" unless v1.is_a? Numeric
|
59
|
+
raise TypeError, "'v1' expected Numeric, got #{v1.class}" unless v1.is_a? Numeric
|
60
60
|
|
61
61
|
@white_listed_event_types[i1] = v1
|
62
62
|
end
|
@@ -43,31 +43,31 @@ module Comet
|
|
43
43
|
|
44
44
|
# @param [String] json_string The complete object in JSON format
|
45
45
|
def from_json(json_string)
|
46
|
-
raise TypeError "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
46
|
+
raise TypeError, "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
47
47
|
|
48
48
|
from_hash(JSON.parse(json_string))
|
49
49
|
end
|
50
50
|
|
51
51
|
# @param [Hash] obj The complete object as a Ruby hash
|
52
52
|
def from_hash(obj)
|
53
|
-
raise TypeError "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
53
|
+
raise TypeError, "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
54
54
|
|
55
55
|
obj.each do |k, v|
|
56
56
|
case k
|
57
57
|
when 'SharePath'
|
58
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
58
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
59
59
|
|
60
60
|
@share_path = v
|
61
61
|
when 'Username'
|
62
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
62
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
63
63
|
|
64
64
|
@username = v
|
65
65
|
when 'Password'
|
66
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
66
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
67
67
|
|
68
68
|
@password = v
|
69
69
|
when 'PasswordFormat'
|
70
|
-
raise TypeError "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
70
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
71
71
|
|
72
72
|
@password_format = v
|
73
73
|
else
|
@@ -63,51 +63,51 @@ module Comet
|
|
63
63
|
|
64
64
|
# @param [String] json_string The complete object in JSON format
|
65
65
|
def from_json(json_string)
|
66
|
-
raise TypeError "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
66
|
+
raise TypeError, "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
67
67
|
|
68
68
|
from_hash(JSON.parse(json_string))
|
69
69
|
end
|
70
70
|
|
71
71
|
# @param [Hash] obj The complete object as a Ruby hash
|
72
72
|
def from_hash(obj)
|
73
|
-
raise TypeError "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
73
|
+
raise TypeError, "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
74
74
|
|
75
75
|
obj.each do |k, v|
|
76
76
|
case k
|
77
77
|
when 'WindowsCodeSignPKCS12FilePath'
|
78
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
78
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
79
79
|
|
80
80
|
@windows_code_sign_pkcs12file_path = v
|
81
81
|
when 'WindowsCodeSignPKCS12PasswordFormat'
|
82
|
-
raise TypeError "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
82
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
83
83
|
|
84
84
|
@windows_code_sign_pkcs12password_format = v
|
85
85
|
when 'WindowsCodeSignPKCS12Password'
|
86
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
86
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
87
87
|
|
88
88
|
@windows_code_sign_pkcs12password = v
|
89
89
|
when 'WindowsCodeSignPKCS11Engine'
|
90
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
90
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
91
91
|
|
92
92
|
@windows_code_sign_pkcs11engine = v
|
93
93
|
when 'WindowsCodeSignPKCS11Module'
|
94
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
94
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
95
95
|
|
96
96
|
@windows_code_sign_pkcs11module = v
|
97
97
|
when 'WindowsCodeSignPKCS11Certfile'
|
98
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
98
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
99
99
|
|
100
100
|
@windows_code_sign_pkcs11certfile = v
|
101
101
|
when 'WindowsCodeSignPKCS11KeyID'
|
102
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
102
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
103
103
|
|
104
104
|
@windows_code_sign_pkcs11key_id = v
|
105
105
|
when 'WindowsCodeSignPKCS11PasswordFormat'
|
106
|
-
raise TypeError "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
106
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
107
107
|
|
108
108
|
@windows_code_sign_pkcs11password_format = v
|
109
109
|
when 'WindowsCodeSignPKCS11Password'
|
110
|
-
raise TypeError "'v' expected String, got #{v.class}" unless v.is_a? String
|
110
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
111
111
|
|
112
112
|
@windows_code_sign_pkcs11password = v
|
113
113
|
else
|
@@ -12,6 +12,7 @@ require_relative 'comet/comet_server'
|
|
12
12
|
require_relative 'comet/definitions'
|
13
13
|
require_relative 'comet/models/add_bucket_response_message'
|
14
14
|
require_relative 'comet/models/admin_account_properties_response'
|
15
|
+
require_relative 'comet/models/admin_email_options'
|
15
16
|
require_relative 'comet/models/admin_resource_response'
|
16
17
|
require_relative 'comet/models/admin_security_options'
|
17
18
|
require_relative 'comet/models/admin_u2fregistration'
|
@@ -21,6 +22,7 @@ require_relative 'comet/models/azure_destination_location'
|
|
21
22
|
require_relative 'comet/models/b2destination_location'
|
22
23
|
require_relative 'comet/models/b2storage_extra_info'
|
23
24
|
require_relative 'comet/models/b2transaction_totals'
|
25
|
+
require_relative 'comet/models/b2virtual_storage_role_settings'
|
24
26
|
require_relative 'comet/models/backup_job_advanced_options'
|
25
27
|
require_relative 'comet/models/backup_job_detail'
|
26
28
|
require_relative 'comet/models/backup_job_progress'
|
@@ -55,6 +57,7 @@ require_relative 'comet/models/edbfile_info'
|
|
55
57
|
require_relative 'comet/models/email_options'
|
56
58
|
require_relative 'comet/models/email_report_config'
|
57
59
|
require_relative 'comet/models/email_report_generated_preview'
|
60
|
+
require_relative 'comet/models/external_ldapauthentication_source_settings'
|
58
61
|
require_relative 'comet/models/extra_file_exclusion'
|
59
62
|
require_relative 'comet/models/ftpdestination_location'
|
60
63
|
require_relative 'comet/models/get_group_policy_response'
|
@@ -62,6 +65,9 @@ require_relative 'comet/models/get_profile_and_hash_response_message'
|
|
62
65
|
require_relative 'comet/models/get_profile_hash_response_message'
|
63
66
|
require_relative 'comet/models/group_policy'
|
64
67
|
require_relative 'comet/models/hyper_vmachine_info'
|
68
|
+
require_relative 'comet/models/install_creds'
|
69
|
+
require_relative 'comet/models/install_token'
|
70
|
+
require_relative 'comet/models/install_token_response'
|
65
71
|
require_relative 'comet/models/job_entry'
|
66
72
|
require_relative 'comet/models/live_user_connection'
|
67
73
|
require_relative 'comet/models/local_destination_location'
|
@@ -69,6 +75,8 @@ require_relative 'comet/models/mac_oscode_sign_properties'
|
|
69
75
|
require_relative 'comet/models/mongo_dbconnection'
|
70
76
|
require_relative 'comet/models/new_bucket_detail'
|
71
77
|
require_relative 'comet/models/news_entry'
|
78
|
+
require_relative 'comet/models/organization'
|
79
|
+
require_relative 'comet/models/organization_response'
|
72
80
|
require_relative 'comet/models/osinfo'
|
73
81
|
require_relative 'comet/models/partition'
|
74
82
|
require_relative 'comet/models/private_branding_properties'
|
@@ -125,6 +133,7 @@ require_relative 'comet/models/user_profile_fragment'
|
|
125
133
|
require_relative 'comet/models/vault_snapshot'
|
126
134
|
require_relative 'comet/models/vsscomponent'
|
127
135
|
require_relative 'comet/models/vsswriter_info'
|
136
|
+
require_relative 'comet/models/wasabi_virtual_storage_role_settings'
|
128
137
|
require_relative 'comet/models/web_interface_branding_properties'
|
129
138
|
require_relative 'comet/models/webhook_option'
|
130
139
|
require_relative 'comet/models/win_smbauth'
|
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:
|
4
|
+
version: 1.3.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: 2020-
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- lib/comet/definitions.rb
|
88
88
|
- lib/comet/models/add_bucket_response_message.rb
|
89
89
|
- lib/comet/models/admin_account_properties_response.rb
|
90
|
+
- lib/comet/models/admin_email_options.rb
|
90
91
|
- lib/comet/models/admin_resource_response.rb
|
91
92
|
- lib/comet/models/admin_security_options.rb
|
92
93
|
- lib/comet/models/admin_u2fregistration.rb
|
@@ -96,6 +97,7 @@ files:
|
|
96
97
|
- lib/comet/models/b2destination_location.rb
|
97
98
|
- lib/comet/models/b2storage_extra_info.rb
|
98
99
|
- lib/comet/models/b2transaction_totals.rb
|
100
|
+
- lib/comet/models/b2virtual_storage_role_settings.rb
|
99
101
|
- lib/comet/models/backup_job_advanced_options.rb
|
100
102
|
- lib/comet/models/backup_job_detail.rb
|
101
103
|
- lib/comet/models/backup_job_progress.rb
|
@@ -130,6 +132,7 @@ files:
|
|
130
132
|
- lib/comet/models/email_options.rb
|
131
133
|
- lib/comet/models/email_report_config.rb
|
132
134
|
- lib/comet/models/email_report_generated_preview.rb
|
135
|
+
- lib/comet/models/external_ldapauthentication_source_settings.rb
|
133
136
|
- lib/comet/models/extra_file_exclusion.rb
|
134
137
|
- lib/comet/models/ftpdestination_location.rb
|
135
138
|
- lib/comet/models/get_group_policy_response.rb
|
@@ -137,6 +140,9 @@ files:
|
|
137
140
|
- lib/comet/models/get_profile_hash_response_message.rb
|
138
141
|
- lib/comet/models/group_policy.rb
|
139
142
|
- lib/comet/models/hyper_vmachine_info.rb
|
143
|
+
- lib/comet/models/install_creds.rb
|
144
|
+
- lib/comet/models/install_token.rb
|
145
|
+
- lib/comet/models/install_token_response.rb
|
140
146
|
- lib/comet/models/job_entry.rb
|
141
147
|
- lib/comet/models/live_user_connection.rb
|
142
148
|
- lib/comet/models/local_destination_location.rb
|
@@ -144,6 +150,8 @@ files:
|
|
144
150
|
- lib/comet/models/mongo_dbconnection.rb
|
145
151
|
- lib/comet/models/new_bucket_detail.rb
|
146
152
|
- lib/comet/models/news_entry.rb
|
153
|
+
- lib/comet/models/organization.rb
|
154
|
+
- lib/comet/models/organization_response.rb
|
147
155
|
- lib/comet/models/osinfo.rb
|
148
156
|
- lib/comet/models/partition.rb
|
149
157
|
- lib/comet/models/private_branding_properties.rb
|
@@ -200,6 +208,7 @@ files:
|
|
200
208
|
- lib/comet/models/vault_snapshot.rb
|
201
209
|
- lib/comet/models/vsscomponent.rb
|
202
210
|
- lib/comet/models/vsswriter_info.rb
|
211
|
+
- lib/comet/models/wasabi_virtual_storage_role_settings.rb
|
203
212
|
- lib/comet/models/web_interface_branding_properties.rb
|
204
213
|
- lib/comet/models/webhook_option.rb
|
205
214
|
- lib/comet/models/win_smbauth.rb
|