cloudsmith-api 0.53.17 → 0.53.79
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 +2 -2
- data/README.md +11 -16
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +2 -1
- data/docs/BadgesApi.md +1 -6
- data/docs/ConanPackageUpload.md +2 -1
- data/docs/DistrosApi.md +2 -12
- data/docs/EntitlementUsageMetric.md +8 -0
- data/docs/EntitlementsApi.md +10 -60
- data/docs/EntitlementsCreate.md +2 -1
- data/docs/EntitlementsPartialUpdate.md +2 -1
- data/docs/EntitlementsRefresh.md +2 -1
- data/docs/FilesApi.md +5 -30
- data/docs/FormatsApi.md +2 -12
- data/docs/MavenPackageUpload.md +2 -1
- data/docs/MetricsApi.md +4 -14
- data/docs/NamespacesApi.md +2 -12
- data/docs/OrgsApi.md +2 -12
- data/docs/Package.md +2 -1
- data/docs/PackageCopy.md +2 -1
- data/docs/PackageMove.md +2 -1
- data/docs/PackagesApi.md +50 -300
- data/docs/QuotaApi.md +4 -24
- data/docs/RatesApi.md +1 -6
- data/docs/RawPackageUpload.md +2 -1
- data/docs/ReposApi.md +6 -36
- data/docs/RepositoryToken.md +4 -1
- data/docs/RepositoryTokenRefresh.md +4 -1
- data/docs/RepositoryTokenSyncTokens.md +4 -1
- data/docs/StorageregionsApi.md +2 -12
- data/docs/UserApi.md +2 -12
- data/docs/UsersApi.md +1 -6
- data/docs/VagrantPackageUpload.md +2 -1
- data/docs/VulnerabilitiesApi.md +264 -0
- data/docs/VulnerabilityScanResults.md +15 -0
- data/docs/VulnerabilityScanResultsList.md +14 -0
- data/docs/WebhooksApi.md +5 -30
- data/lib/cloudsmith-api.rb +4 -1
- data/lib/cloudsmith-api/api/badges_api.rb +1 -1
- data/lib/cloudsmith-api/api/distros_api.rb +2 -2
- data/lib/cloudsmith-api/api/entitlements_api.rb +10 -10
- data/lib/cloudsmith-api/api/files_api.rb +5 -5
- data/lib/cloudsmith-api/api/formats_api.rb +2 -2
- data/lib/cloudsmith-api/api/metrics_api.rb +5 -5
- data/lib/cloudsmith-api/api/namespaces_api.rb +2 -2
- data/lib/cloudsmith-api/api/orgs_api.rb +2 -2
- data/lib/cloudsmith-api/api/packages_api.rb +50 -50
- data/lib/cloudsmith-api/api/quota_api.rb +4 -4
- data/lib/cloudsmith-api/api/rates_api.rb +1 -1
- data/lib/cloudsmith-api/api/repos_api.rb +6 -6
- data/lib/cloudsmith-api/api/storageregions_api.rb +2 -2
- data/lib/cloudsmith-api/api/user_api.rb +2 -2
- data/lib/cloudsmith-api/api/users_api.rb +1 -1
- data/lib/cloudsmith-api/api/vulnerabilities_api.rb +281 -0
- data/lib/cloudsmith-api/api/webhooks_api.rb +5 -5
- data/lib/cloudsmith-api/configuration.rb +0 -7
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/conan_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/{entitlement_token_metric.rb → entitlement_usage_metric.rb} +11 -26
- data/lib/cloudsmith-api/models/entitlements_create.rb +12 -2
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +12 -2
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +12 -2
- data/lib/cloudsmith-api/models/maven_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/package.rb +15 -5
- data/lib/cloudsmith-api/models/package_copy.rb +15 -5
- data/lib/cloudsmith-api/models/package_move.rb +15 -5
- data/lib/cloudsmith-api/models/raw_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/repository_token.rb +32 -2
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +32 -2
- data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +32 -2
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +279 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +264 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/spec/api/metrics_api_spec.rb +1 -1
- data/spec/api/vulnerabilities_api_spec.rb +95 -0
- data/spec/models/alpine_package_upload_spec.rb +6 -0
- data/spec/models/conan_package_upload_spec.rb +6 -0
- data/spec/models/{entitlement_token_metric_spec.rb → entitlement_usage_metric_spec.rb} +7 -13
- data/spec/models/entitlements_create_spec.rb +6 -0
- data/spec/models/entitlements_partial_update_spec.rb +6 -0
- data/spec/models/entitlements_refresh_spec.rb +6 -0
- data/spec/models/maven_package_upload_spec.rb +6 -0
- data/spec/models/package_copy_spec.rb +6 -0
- data/spec/models/package_move_spec.rb +6 -0
- data/spec/models/package_spec.rb +6 -0
- data/spec/models/raw_package_upload_spec.rb +6 -0
- data/spec/models/repository_token_refresh_spec.rb +18 -0
- data/spec/models/repository_token_spec.rb +18 -0
- data/spec/models/repository_token_sync_tokens_spec.rb +18 -0
- data/spec/models/vagrant_package_upload_spec.rb +6 -0
- data/spec/models/vulnerability_scan_results_list_spec.rb +78 -0
- data/spec/models/vulnerability_scan_results_spec.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/Changelog.md +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/README.md +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/exe/rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/autorun.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/backtrace_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/coordinator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/fork_runner.rb +6 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/server.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/shell_command.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/shell_runner.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/utilities.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/configuration.rb +10 -7
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/configuration_options.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/did_you_mean.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/drb.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example.rb +10 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example_group.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example_status_persister.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/filter_manager.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/flat_map.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/console_codes.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/exception_presenter.rb +10 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_printer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/json_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/protocol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/hooks.rb +14 -9
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/invocations.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/memoized_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/metadata.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/metadata_filter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/null.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/notifications.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/option_parser.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/ordering.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/output_wrapper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/pending.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer/.rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/rake_task.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/reporter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/ruby_project.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/runner.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/sandbox.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/set.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shared_context.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shared_example_group.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shell_escape.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/world.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-core-3.9.2.gemspec → rspec-core-3.9.3.gemspec} +5 -5
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
- metadata +191 -179
- data/docs/EntitlementTokenMetric.md +0 -9
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.2.gem +0 -0
@@ -210,13 +210,6 @@ module CloudsmithApi
|
|
210
210
|
key: 'Authorization',
|
211
211
|
value: basic_auth_token
|
212
212
|
},
|
213
|
-
'csrf_token' =>
|
214
|
-
{
|
215
|
-
type: 'api_key',
|
216
|
-
in: 'header',
|
217
|
-
key: 'X-CSRFToken',
|
218
|
-
value: api_key_with_prefix('X-CSRFToken')
|
219
|
-
},
|
220
213
|
}
|
221
214
|
end
|
222
215
|
end
|
@@ -120,7 +120,7 @@ module CloudsmithApi
|
|
120
120
|
# The calculated size of the package.
|
121
121
|
attr_accessor :size
|
122
122
|
|
123
|
-
#
|
123
|
+
# The public unique identifier for the package.
|
124
124
|
attr_accessor :slug
|
125
125
|
|
126
126
|
#
|
@@ -183,6 +183,9 @@ module CloudsmithApi
|
|
183
183
|
#
|
184
184
|
attr_accessor :version_orig
|
185
185
|
|
186
|
+
#
|
187
|
+
attr_accessor :vulnerability_scan_results_url
|
188
|
+
|
186
189
|
|
187
190
|
# Attribute mapping from ruby-style variable name to JSON key.
|
188
191
|
def self.attribute_map
|
@@ -242,7 +245,8 @@ module CloudsmithApi
|
|
242
245
|
:'uploader' => :'uploader',
|
243
246
|
:'uploader_url' => :'uploader_url',
|
244
247
|
:'version' => :'version',
|
245
|
-
:'version_orig' => :'version_orig'
|
248
|
+
:'version_orig' => :'version_orig',
|
249
|
+
:'vulnerability_scan_results_url' => :'vulnerability_scan_results_url'
|
246
250
|
}
|
247
251
|
end
|
248
252
|
|
@@ -304,7 +308,8 @@ module CloudsmithApi
|
|
304
308
|
:'uploader' => :'String',
|
305
309
|
:'uploader_url' => :'String',
|
306
310
|
:'version' => :'String',
|
307
|
-
:'version_orig' => :'String'
|
311
|
+
:'version_orig' => :'String',
|
312
|
+
:'vulnerability_scan_results_url' => :'String'
|
308
313
|
}
|
309
314
|
end
|
310
315
|
|
@@ -544,6 +549,10 @@ module CloudsmithApi
|
|
544
549
|
self.version_orig = attributes[:'version_orig']
|
545
550
|
end
|
546
551
|
|
552
|
+
if attributes.has_key?(:'vulnerability_scan_results_url')
|
553
|
+
self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
|
554
|
+
end
|
555
|
+
|
547
556
|
end
|
548
557
|
|
549
558
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -619,7 +628,8 @@ module CloudsmithApi
|
|
619
628
|
uploader == o.uploader &&
|
620
629
|
uploader_url == o.uploader_url &&
|
621
630
|
version == o.version &&
|
622
|
-
version_orig == o.version_orig
|
631
|
+
version_orig == o.version_orig &&
|
632
|
+
vulnerability_scan_results_url == o.vulnerability_scan_results_url
|
623
633
|
end
|
624
634
|
|
625
635
|
# @see the `==` method
|
@@ -631,7 +641,7 @@ module CloudsmithApi
|
|
631
641
|
# Calculates hash code according to all attributes.
|
632
642
|
# @return [Fixnum] Hash code
|
633
643
|
def hash
|
634
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, self_html_url, self_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
|
644
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, self_html_url, self_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
635
645
|
end
|
636
646
|
|
637
647
|
# Builds the object from hash
|
@@ -126,7 +126,7 @@ module CloudsmithApi
|
|
126
126
|
# The calculated size of the package.
|
127
127
|
attr_accessor :size
|
128
128
|
|
129
|
-
#
|
129
|
+
# The public unique identifier for the package.
|
130
130
|
attr_accessor :slug
|
131
131
|
|
132
132
|
#
|
@@ -189,6 +189,9 @@ module CloudsmithApi
|
|
189
189
|
#
|
190
190
|
attr_accessor :version_orig
|
191
191
|
|
192
|
+
#
|
193
|
+
attr_accessor :vulnerability_scan_results_url
|
194
|
+
|
192
195
|
|
193
196
|
# Attribute mapping from ruby-style variable name to JSON key.
|
194
197
|
def self.attribute_map
|
@@ -250,7 +253,8 @@ module CloudsmithApi
|
|
250
253
|
:'uploader' => :'uploader',
|
251
254
|
:'uploader_url' => :'uploader_url',
|
252
255
|
:'version' => :'version',
|
253
|
-
:'version_orig' => :'version_orig'
|
256
|
+
:'version_orig' => :'version_orig',
|
257
|
+
:'vulnerability_scan_results_url' => :'vulnerability_scan_results_url'
|
254
258
|
}
|
255
259
|
end
|
256
260
|
|
@@ -314,7 +318,8 @@ module CloudsmithApi
|
|
314
318
|
:'uploader' => :'String',
|
315
319
|
:'uploader_url' => :'String',
|
316
320
|
:'version' => :'String',
|
317
|
-
:'version_orig' => :'String'
|
321
|
+
:'version_orig' => :'String',
|
322
|
+
:'vulnerability_scan_results_url' => :'String'
|
318
323
|
}
|
319
324
|
end
|
320
325
|
|
@@ -562,6 +567,10 @@ module CloudsmithApi
|
|
562
567
|
self.version_orig = attributes[:'version_orig']
|
563
568
|
end
|
564
569
|
|
570
|
+
if attributes.has_key?(:'vulnerability_scan_results_url')
|
571
|
+
self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
|
572
|
+
end
|
573
|
+
|
565
574
|
end
|
566
575
|
|
567
576
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -639,7 +648,8 @@ module CloudsmithApi
|
|
639
648
|
uploader == o.uploader &&
|
640
649
|
uploader_url == o.uploader_url &&
|
641
650
|
version == o.version &&
|
642
|
-
version_orig == o.version_orig
|
651
|
+
version_orig == o.version_orig &&
|
652
|
+
vulnerability_scan_results_url == o.vulnerability_scan_results_url
|
643
653
|
end
|
644
654
|
|
645
655
|
# @see the `==` method
|
@@ -651,7 +661,7 @@ module CloudsmithApi
|
|
651
661
|
# Calculates hash code according to all attributes.
|
652
662
|
# @return [Fixnum] Hash code
|
653
663
|
def hash
|
654
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, conan_channel, conan_prefix, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, self_html_url, self_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
|
664
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, conan_channel, conan_prefix, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, self_html_url, self_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
655
665
|
end
|
656
666
|
|
657
667
|
# Builds the object from hash
|
@@ -14,27 +14,22 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
16
|
|
17
|
-
class
|
17
|
+
class EntitlementUsageMetric
|
18
18
|
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
#
|
22
|
-
attr_accessor :totals
|
19
|
+
attr_accessor :usage
|
23
20
|
|
24
21
|
|
25
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
23
|
def self.attribute_map
|
27
24
|
{
|
28
|
-
:'
|
29
|
-
:'totals' => :'totals'
|
25
|
+
:'usage' => :'usage'
|
30
26
|
}
|
31
27
|
end
|
32
28
|
|
33
29
|
# Attribute type mapping.
|
34
30
|
def self.swagger_types
|
35
31
|
{
|
36
|
-
:'
|
37
|
-
:'totals' => :'Object'
|
32
|
+
:'usage' => :'Object'
|
38
33
|
}
|
39
34
|
end
|
40
35
|
|
@@ -46,12 +41,8 @@ module CloudsmithApi
|
|
46
41
|
# convert string to symbol for hash key
|
47
42
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
48
43
|
|
49
|
-
if attributes.has_key?(:'
|
50
|
-
self.
|
51
|
-
end
|
52
|
-
|
53
|
-
if attributes.has_key?(:'totals')
|
54
|
-
self.totals = attributes[:'totals']
|
44
|
+
if attributes.has_key?(:'usage')
|
45
|
+
self.usage = attributes[:'usage']
|
55
46
|
end
|
56
47
|
|
57
48
|
end
|
@@ -60,12 +51,8 @@ module CloudsmithApi
|
|
60
51
|
# @return Array for valid properies with the reasons
|
61
52
|
def list_invalid_properties
|
62
53
|
invalid_properties = Array.new
|
63
|
-
if @
|
64
|
-
invalid_properties.push("invalid value for '
|
65
|
-
end
|
66
|
-
|
67
|
-
if @totals.nil?
|
68
|
-
invalid_properties.push("invalid value for 'totals', totals cannot be nil.")
|
54
|
+
if @usage.nil?
|
55
|
+
invalid_properties.push("invalid value for 'usage', usage cannot be nil.")
|
69
56
|
end
|
70
57
|
|
71
58
|
return invalid_properties
|
@@ -74,8 +61,7 @@ module CloudsmithApi
|
|
74
61
|
# Check to see if the all the properties in the model are valid
|
75
62
|
# @return true if the model is valid
|
76
63
|
def valid?
|
77
|
-
return false if @
|
78
|
-
return false if @totals.nil?
|
64
|
+
return false if @usage.nil?
|
79
65
|
return true
|
80
66
|
end
|
81
67
|
|
@@ -84,8 +70,7 @@ module CloudsmithApi
|
|
84
70
|
def ==(o)
|
85
71
|
return true if self.equal?(o)
|
86
72
|
self.class == o.class &&
|
87
|
-
|
88
|
-
totals == o.totals
|
73
|
+
usage == o.usage
|
89
74
|
end
|
90
75
|
|
91
76
|
# @see the `==` method
|
@@ -97,7 +82,7 @@ module CloudsmithApi
|
|
97
82
|
# Calculates hash code according to all attributes.
|
98
83
|
# @return [Fixnum] Hash code
|
99
84
|
def hash
|
100
|
-
[
|
85
|
+
[usage].hash
|
101
86
|
end
|
102
87
|
|
103
88
|
# Builds the object from hash
|
@@ -18,7 +18,7 @@ module CloudsmithApi
|
|
18
18
|
# If enabled, the token will allow downloads based on configured restrictions (if any).
|
19
19
|
attr_accessor :is_active
|
20
20
|
|
21
|
-
# The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.
|
21
|
+
# The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.
|
22
22
|
attr_accessor :limit_bandwidth
|
23
23
|
|
24
24
|
# None
|
@@ -48,6 +48,9 @@ module CloudsmithApi
|
|
48
48
|
# None
|
49
49
|
attr_accessor :name
|
50
50
|
|
51
|
+
# The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero.
|
52
|
+
attr_accessor :scheduled_reset_at
|
53
|
+
|
51
54
|
# None
|
52
55
|
attr_accessor :scheduled_reset_period
|
53
56
|
|
@@ -69,6 +72,7 @@ module CloudsmithApi
|
|
69
72
|
:'limit_path_query' => :'limit_path_query',
|
70
73
|
:'metadata' => :'metadata',
|
71
74
|
:'name' => :'name',
|
75
|
+
:'scheduled_reset_at' => :'scheduled_reset_at',
|
72
76
|
:'scheduled_reset_period' => :'scheduled_reset_period',
|
73
77
|
:'token' => :'token'
|
74
78
|
}
|
@@ -88,6 +92,7 @@ module CloudsmithApi
|
|
88
92
|
:'limit_path_query' => :'String',
|
89
93
|
:'metadata' => :'Object',
|
90
94
|
:'name' => :'String',
|
95
|
+
:'scheduled_reset_at' => :'String',
|
91
96
|
:'scheduled_reset_period' => :'String',
|
92
97
|
:'token' => :'String'
|
93
98
|
}
|
@@ -145,6 +150,10 @@ module CloudsmithApi
|
|
145
150
|
self.name = attributes[:'name']
|
146
151
|
end
|
147
152
|
|
153
|
+
if attributes.has_key?(:'scheduled_reset_at')
|
154
|
+
self.scheduled_reset_at = attributes[:'scheduled_reset_at']
|
155
|
+
end
|
156
|
+
|
148
157
|
if attributes.has_key?(:'scheduled_reset_period')
|
149
158
|
self.scheduled_reset_period = attributes[:'scheduled_reset_period']
|
150
159
|
end
|
@@ -189,6 +198,7 @@ module CloudsmithApi
|
|
189
198
|
limit_path_query == o.limit_path_query &&
|
190
199
|
metadata == o.metadata &&
|
191
200
|
name == o.name &&
|
201
|
+
scheduled_reset_at == o.scheduled_reset_at &&
|
192
202
|
scheduled_reset_period == o.scheduled_reset_period &&
|
193
203
|
token == o.token
|
194
204
|
end
|
@@ -202,7 +212,7 @@ module CloudsmithApi
|
|
202
212
|
# Calculates hash code according to all attributes.
|
203
213
|
# @return [Fixnum] Hash code
|
204
214
|
def hash
|
205
|
-
[is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, scheduled_reset_period, token].hash
|
215
|
+
[is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, scheduled_reset_at, scheduled_reset_period, token].hash
|
206
216
|
end
|
207
217
|
|
208
218
|
# Builds the object from hash
|
@@ -18,7 +18,7 @@ module CloudsmithApi
|
|
18
18
|
# If enabled, the token will allow downloads based on configured restrictions (if any).
|
19
19
|
attr_accessor :is_active
|
20
20
|
|
21
|
-
# The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.
|
21
|
+
# The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.
|
22
22
|
attr_accessor :limit_bandwidth
|
23
23
|
|
24
24
|
# None
|
@@ -48,6 +48,9 @@ module CloudsmithApi
|
|
48
48
|
# None
|
49
49
|
attr_accessor :name
|
50
50
|
|
51
|
+
# The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero.
|
52
|
+
attr_accessor :scheduled_reset_at
|
53
|
+
|
51
54
|
# None
|
52
55
|
attr_accessor :scheduled_reset_period
|
53
56
|
|
@@ -69,6 +72,7 @@ module CloudsmithApi
|
|
69
72
|
:'limit_path_query' => :'limit_path_query',
|
70
73
|
:'metadata' => :'metadata',
|
71
74
|
:'name' => :'name',
|
75
|
+
:'scheduled_reset_at' => :'scheduled_reset_at',
|
72
76
|
:'scheduled_reset_period' => :'scheduled_reset_period',
|
73
77
|
:'token' => :'token'
|
74
78
|
}
|
@@ -88,6 +92,7 @@ module CloudsmithApi
|
|
88
92
|
:'limit_path_query' => :'String',
|
89
93
|
:'metadata' => :'Object',
|
90
94
|
:'name' => :'String',
|
95
|
+
:'scheduled_reset_at' => :'String',
|
91
96
|
:'scheduled_reset_period' => :'String',
|
92
97
|
:'token' => :'String'
|
93
98
|
}
|
@@ -145,6 +150,10 @@ module CloudsmithApi
|
|
145
150
|
self.name = attributes[:'name']
|
146
151
|
end
|
147
152
|
|
153
|
+
if attributes.has_key?(:'scheduled_reset_at')
|
154
|
+
self.scheduled_reset_at = attributes[:'scheduled_reset_at']
|
155
|
+
end
|
156
|
+
|
148
157
|
if attributes.has_key?(:'scheduled_reset_period')
|
149
158
|
self.scheduled_reset_period = attributes[:'scheduled_reset_period']
|
150
159
|
end
|
@@ -184,6 +193,7 @@ module CloudsmithApi
|
|
184
193
|
limit_path_query == o.limit_path_query &&
|
185
194
|
metadata == o.metadata &&
|
186
195
|
name == o.name &&
|
196
|
+
scheduled_reset_at == o.scheduled_reset_at &&
|
187
197
|
scheduled_reset_period == o.scheduled_reset_period &&
|
188
198
|
token == o.token
|
189
199
|
end
|
@@ -197,7 +207,7 @@ module CloudsmithApi
|
|
197
207
|
# Calculates hash code according to all attributes.
|
198
208
|
# @return [Fixnum] Hash code
|
199
209
|
def hash
|
200
|
-
[is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, scheduled_reset_period, token].hash
|
210
|
+
[is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, scheduled_reset_at, scheduled_reset_period, token].hash
|
201
211
|
end
|
202
212
|
|
203
213
|
# Builds the object from hash
|
@@ -18,7 +18,7 @@ module CloudsmithApi
|
|
18
18
|
# If enabled, the token will allow downloads based on configured restrictions (if any).
|
19
19
|
attr_accessor :is_active
|
20
20
|
|
21
|
-
# The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.
|
21
|
+
# The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.
|
22
22
|
attr_accessor :limit_bandwidth
|
23
23
|
|
24
24
|
# None
|
@@ -45,6 +45,9 @@ module CloudsmithApi
|
|
45
45
|
# None
|
46
46
|
attr_accessor :metadata
|
47
47
|
|
48
|
+
# The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero.
|
49
|
+
attr_accessor :scheduled_reset_at
|
50
|
+
|
48
51
|
# None
|
49
52
|
attr_accessor :scheduled_reset_period
|
50
53
|
|
@@ -65,6 +68,7 @@ module CloudsmithApi
|
|
65
68
|
:'limit_package_query' => :'limit_package_query',
|
66
69
|
:'limit_path_query' => :'limit_path_query',
|
67
70
|
:'metadata' => :'metadata',
|
71
|
+
:'scheduled_reset_at' => :'scheduled_reset_at',
|
68
72
|
:'scheduled_reset_period' => :'scheduled_reset_period',
|
69
73
|
:'token' => :'token'
|
70
74
|
}
|
@@ -83,6 +87,7 @@ module CloudsmithApi
|
|
83
87
|
:'limit_package_query' => :'String',
|
84
88
|
:'limit_path_query' => :'String',
|
85
89
|
:'metadata' => :'Object',
|
90
|
+
:'scheduled_reset_at' => :'String',
|
86
91
|
:'scheduled_reset_period' => :'String',
|
87
92
|
:'token' => :'String'
|
88
93
|
}
|
@@ -136,6 +141,10 @@ module CloudsmithApi
|
|
136
141
|
self.metadata = attributes[:'metadata']
|
137
142
|
end
|
138
143
|
|
144
|
+
if attributes.has_key?(:'scheduled_reset_at')
|
145
|
+
self.scheduled_reset_at = attributes[:'scheduled_reset_at']
|
146
|
+
end
|
147
|
+
|
139
148
|
if attributes.has_key?(:'scheduled_reset_period')
|
140
149
|
self.scheduled_reset_period = attributes[:'scheduled_reset_period']
|
141
150
|
end
|
@@ -174,6 +183,7 @@ module CloudsmithApi
|
|
174
183
|
limit_package_query == o.limit_package_query &&
|
175
184
|
limit_path_query == o.limit_path_query &&
|
176
185
|
metadata == o.metadata &&
|
186
|
+
scheduled_reset_at == o.scheduled_reset_at &&
|
177
187
|
scheduled_reset_period == o.scheduled_reset_period &&
|
178
188
|
token == o.token
|
179
189
|
end
|
@@ -187,7 +197,7 @@ module CloudsmithApi
|
|
187
197
|
# Calculates hash code according to all attributes.
|
188
198
|
# @return [Fixnum] Hash code
|
189
199
|
def hash
|
190
|
-
[is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, scheduled_reset_period, token].hash
|
200
|
+
[is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, scheduled_reset_at, scheduled_reset_period, token].hash
|
191
201
|
end
|
192
202
|
|
193
203
|
# Builds the object from hash
|
@@ -129,7 +129,7 @@ module CloudsmithApi
|
|
129
129
|
# The calculated size of the package.
|
130
130
|
attr_accessor :size
|
131
131
|
|
132
|
-
#
|
132
|
+
# The public unique identifier for the package.
|
133
133
|
attr_accessor :slug
|
134
134
|
|
135
135
|
#
|
@@ -192,6 +192,9 @@ module CloudsmithApi
|
|
192
192
|
#
|
193
193
|
attr_accessor :version_orig
|
194
194
|
|
195
|
+
#
|
196
|
+
attr_accessor :vulnerability_scan_results_url
|
197
|
+
|
195
198
|
|
196
199
|
# Attribute mapping from ruby-style variable name to JSON key.
|
197
200
|
def self.attribute_map
|
@@ -254,7 +257,8 @@ module CloudsmithApi
|
|
254
257
|
:'uploader' => :'uploader',
|
255
258
|
:'uploader_url' => :'uploader_url',
|
256
259
|
:'version' => :'version',
|
257
|
-
:'version_orig' => :'version_orig'
|
260
|
+
:'version_orig' => :'version_orig',
|
261
|
+
:'vulnerability_scan_results_url' => :'vulnerability_scan_results_url'
|
258
262
|
}
|
259
263
|
end
|
260
264
|
|
@@ -319,7 +323,8 @@ module CloudsmithApi
|
|
319
323
|
:'uploader' => :'String',
|
320
324
|
:'uploader_url' => :'String',
|
321
325
|
:'version' => :'String',
|
322
|
-
:'version_orig' => :'String'
|
326
|
+
:'version_orig' => :'String',
|
327
|
+
:'vulnerability_scan_results_url' => :'String'
|
323
328
|
}
|
324
329
|
end
|
325
330
|
|
@@ -571,6 +576,10 @@ module CloudsmithApi
|
|
571
576
|
self.version_orig = attributes[:'version_orig']
|
572
577
|
end
|
573
578
|
|
579
|
+
if attributes.has_key?(:'vulnerability_scan_results_url')
|
580
|
+
self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
|
581
|
+
end
|
582
|
+
|
574
583
|
end
|
575
584
|
|
576
585
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -649,7 +658,8 @@ module CloudsmithApi
|
|
649
658
|
uploader == o.uploader &&
|
650
659
|
uploader_url == o.uploader_url &&
|
651
660
|
version == o.version &&
|
652
|
-
version_orig == o.version_orig
|
661
|
+
version_orig == o.version_orig &&
|
662
|
+
vulnerability_scan_results_url == o.vulnerability_scan_results_url
|
653
663
|
end
|
654
664
|
|
655
665
|
# @see the `==` method
|
@@ -661,7 +671,7 @@ module CloudsmithApi
|
|
661
671
|
# Calculates hash code according to all attributes.
|
662
672
|
# @return [Fixnum] Hash code
|
663
673
|
def hash
|
664
|
-
[architectures, artifact_id, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, group_id, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, packaging, release, repository, repository_url, self_html_url, self_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
|
674
|
+
[architectures, artifact_id, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, group_id, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, packaging, release, repository, repository_url, self_html_url, self_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
665
675
|
end
|
666
676
|
|
667
677
|
# Builds the object from hash
|