cloudsmith-api 0.52.92 → 0.53.79
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -5
- data/README.md +18 -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 +4 -0
- data/docs/EntitlementsPartialUpdate.md +4 -0
- data/docs/EntitlementsRefresh.md +4 -0
- 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/Quota.md +8 -0
- data/docs/QuotaApi.md +228 -0
- data/docs/QuotaHistory.md +8 -0
- data/docs/QuotaHistoryHistory.md +13 -0
- data/docs/RatesApi.md +1 -6
- data/docs/RawPackageUpload.md +2 -1
- data/docs/ReposApi.md +6 -36
- data/docs/RepositoryToken.md +9 -0
- data/docs/RepositoryTokenRefresh.md +9 -0
- data/docs/RepositoryTokenSyncTokens.md +9 -0
- 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 +8 -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 +227 -0
- 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 +41 -1
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +41 -1
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +41 -1
- 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/quota.rb +194 -0
- data/lib/cloudsmith-api/models/quota_history.rb +196 -0
- data/lib/cloudsmith-api/models/quota_history_history.rb +239 -0
- data/lib/cloudsmith-api/models/raw_package_upload.rb +15 -5
- data/lib/cloudsmith-api/models/repository_token.rb +91 -1
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +91 -1
- data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +91 -1
- 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/quota_api_spec.rb +83 -0
- 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 +24 -0
- data/spec/models/entitlements_partial_update_spec.rb +24 -0
- data/spec/models/entitlements_refresh_spec.rb +24 -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/quota_history_history_spec.rb +72 -0
- data/spec/models/quota_history_spec.rb +42 -0
- data/spec/models/quota_spec.rb +42 -0
- data/spec/models/raw_package_upload_spec.rb +6 -0
- data/spec/models/repository_token_refresh_spec.rb +54 -0
- data/spec/models/repository_token_spec.rb +54 -0
- data/spec/models/repository_token_sync_tokens_spec.rb +54 -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/crack-0.4.4.gem +0 -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/{crack-0.4.3 → crack-0.4.4}/lib/crack.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/json.rb +5 -18
- data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/util.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.4/lib/crack/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/xml.rb +0 -0
- 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/{crack-0.4.3.gemspec → crack-0.4.4.gemspec} +3 -15
- 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 +213 -260
- data/docs/EntitlementTokenMetric.md +0 -9
- data/vendor/bundle/ruby/2.6.0/bin/safe_yaml +0 -27
- data/vendor/bundle/ruby/2.6.0/cache/crack-0.4.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/safe_yaml-1.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/.gitignore +0 -8
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/.travis.yml +0 -14
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/Gemfile +0 -5
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/History +0 -25
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/LICENSE +0 -20
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/README.md +0 -46
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/crack.gemspec +0 -20
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/lib/crack/version.rb +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/bootstrap +0 -21
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/release +0 -42
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test +0 -25
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/large_dataset.json +0 -139988
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/twittersearch-firefox.json +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/twittersearch-ie.json +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/hash_test.rb +0 -26
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/json_test.rb +0 -91
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/parser_test.rb +0 -27
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/string_test.rb +0 -31
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/test_helper.rb +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/xml_test.rb +0 -514
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/.gitignore +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/.travis.yml +0 -48
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/CHANGES.md +0 -154
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Gemfile +0 -11
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/README.md +0 -191
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile +0 -26
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/bin/safe_yaml +0 -75
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/bundle_install_all_ruby_versions.sh +0 -11
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml.rb +0 -94
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/deep.rb +0 -34
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/libyaml_checker.rb +0 -36
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb +0 -181
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/date.rb +0 -37
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/hexadecimal.rb +0 -12
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/sexagesimal.rb +0 -26
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_handler.rb +0 -99
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_resolver.rb +0 -52
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/resolver.rb +0 -94
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/safe_to_ruby_visitor.rb +0 -29
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/store.rb +0 -39
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_hack.rb +0 -36
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_node_monkeypatch.rb +0 -43
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_resolver.rb +0 -38
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform.rb +0 -41
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_boolean.rb +0 -21
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_date.rb +0 -13
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_float.rb +0 -33
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_integer.rb +0 -26
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_nil.rb +0 -18
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_symbol.rb +0 -17
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/transformation_map.rb +0 -47
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/version.rb +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/run_specs_all_ruby_versions.sh +0 -38
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/safe_yaml.gemspec +0 -19
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/exploit.1.9.2.yaml +0 -2
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/exploit.1.9.3.yaml +0 -2
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/issue48.txt +0 -20
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/issue49.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/libyaml_checker_spec.rb +0 -69
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/psych_resolver_spec.rb +0 -10
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/resolver_specs.rb +0 -278
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/safe_yaml_spec.rb +0 -731
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/spec_helper.rb +0 -42
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/store_spec.rb +0 -57
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/support/exploitable_back_door.rb +0 -29
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/syck_resolver_spec.rb +0 -10
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/base64_spec.rb +0 -11
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_date_spec.rb +0 -60
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_float_spec.rb +0 -42
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_integer_spec.rb +0 -64
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_symbol_spec.rb +0 -51
- data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/yaml_spec.rb +0 -15
- data/vendor/bundle/ruby/2.6.0/specifications/safe_yaml-1.0.5.gemspec +0 -23
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module CloudsmithApi
|
16
16
|
|
17
17
|
class RepositoryToken
|
18
|
+
#
|
19
|
+
attr_accessor :clients
|
20
|
+
|
18
21
|
# The datetime the token was updated at.
|
19
22
|
attr_accessor :created_at
|
20
23
|
|
@@ -27,6 +30,15 @@ module CloudsmithApi
|
|
27
30
|
# If selected this is the default token for this repository.
|
28
31
|
attr_accessor :default
|
29
32
|
|
33
|
+
#
|
34
|
+
attr_accessor :disable_url
|
35
|
+
|
36
|
+
#
|
37
|
+
attr_accessor :downloads
|
38
|
+
|
39
|
+
#
|
40
|
+
attr_accessor :enable_url
|
41
|
+
|
30
42
|
#
|
31
43
|
attr_accessor :has_limits
|
32
44
|
|
@@ -39,6 +51,12 @@ module CloudsmithApi
|
|
39
51
|
#
|
40
52
|
attr_accessor :is_limited
|
41
53
|
|
54
|
+
# 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.
|
55
|
+
attr_accessor :limit_bandwidth
|
56
|
+
|
57
|
+
#
|
58
|
+
attr_accessor :limit_bandwidth_unit
|
59
|
+
|
42
60
|
# The starting date/time the token is allowed to be used from.
|
43
61
|
attr_accessor :limit_date_range_from
|
44
62
|
|
@@ -66,6 +84,15 @@ module CloudsmithApi
|
|
66
84
|
#
|
67
85
|
attr_accessor :refresh_url
|
68
86
|
|
87
|
+
#
|
88
|
+
attr_accessor :reset_url
|
89
|
+
|
90
|
+
# The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero.
|
91
|
+
attr_accessor :scheduled_reset_at
|
92
|
+
|
93
|
+
#
|
94
|
+
attr_accessor :scheduled_reset_period
|
95
|
+
|
69
96
|
#
|
70
97
|
attr_accessor :self_url
|
71
98
|
|
@@ -97,14 +124,20 @@ module CloudsmithApi
|
|
97
124
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
125
|
def self.attribute_map
|
99
126
|
{
|
127
|
+
:'clients' => :'clients',
|
100
128
|
:'created_at' => :'created_at',
|
101
129
|
:'created_by' => :'created_by',
|
102
130
|
:'created_by_url' => :'created_by_url',
|
103
131
|
:'default' => :'default',
|
132
|
+
:'disable_url' => :'disable_url',
|
133
|
+
:'downloads' => :'downloads',
|
134
|
+
:'enable_url' => :'enable_url',
|
104
135
|
:'has_limits' => :'has_limits',
|
105
136
|
:'identifier' => :'identifier',
|
106
137
|
:'is_active' => :'is_active',
|
107
138
|
:'is_limited' => :'is_limited',
|
139
|
+
:'limit_bandwidth' => :'limit_bandwidth',
|
140
|
+
:'limit_bandwidth_unit' => :'limit_bandwidth_unit',
|
108
141
|
:'limit_date_range_from' => :'limit_date_range_from',
|
109
142
|
:'limit_date_range_to' => :'limit_date_range_to',
|
110
143
|
:'limit_num_clients' => :'limit_num_clients',
|
@@ -114,6 +147,9 @@ module CloudsmithApi
|
|
114
147
|
:'metadata' => :'metadata',
|
115
148
|
:'name' => :'name',
|
116
149
|
:'refresh_url' => :'refresh_url',
|
150
|
+
:'reset_url' => :'reset_url',
|
151
|
+
:'scheduled_reset_at' => :'scheduled_reset_at',
|
152
|
+
:'scheduled_reset_period' => :'scheduled_reset_period',
|
117
153
|
:'self_url' => :'self_url',
|
118
154
|
:'slug_perm' => :'slug_perm',
|
119
155
|
:'token' => :'token',
|
@@ -129,14 +165,20 @@ module CloudsmithApi
|
|
129
165
|
# Attribute type mapping.
|
130
166
|
def self.swagger_types
|
131
167
|
{
|
168
|
+
:'clients' => :'Integer',
|
132
169
|
:'created_at' => :'String',
|
133
170
|
:'created_by' => :'String',
|
134
171
|
:'created_by_url' => :'String',
|
135
172
|
:'default' => :'BOOLEAN',
|
173
|
+
:'disable_url' => :'String',
|
174
|
+
:'downloads' => :'Integer',
|
175
|
+
:'enable_url' => :'String',
|
136
176
|
:'has_limits' => :'BOOLEAN',
|
137
177
|
:'identifier' => :'Integer',
|
138
178
|
:'is_active' => :'BOOLEAN',
|
139
179
|
:'is_limited' => :'BOOLEAN',
|
180
|
+
:'limit_bandwidth' => :'Integer',
|
181
|
+
:'limit_bandwidth_unit' => :'String',
|
140
182
|
:'limit_date_range_from' => :'String',
|
141
183
|
:'limit_date_range_to' => :'String',
|
142
184
|
:'limit_num_clients' => :'Integer',
|
@@ -146,6 +188,9 @@ module CloudsmithApi
|
|
146
188
|
:'metadata' => :'Object',
|
147
189
|
:'name' => :'String',
|
148
190
|
:'refresh_url' => :'String',
|
191
|
+
:'reset_url' => :'String',
|
192
|
+
:'scheduled_reset_at' => :'String',
|
193
|
+
:'scheduled_reset_period' => :'String',
|
149
194
|
:'self_url' => :'String',
|
150
195
|
:'slug_perm' => :'String',
|
151
196
|
:'token' => :'String',
|
@@ -166,6 +211,10 @@ module CloudsmithApi
|
|
166
211
|
# convert string to symbol for hash key
|
167
212
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
168
213
|
|
214
|
+
if attributes.has_key?(:'clients')
|
215
|
+
self.clients = attributes[:'clients']
|
216
|
+
end
|
217
|
+
|
169
218
|
if attributes.has_key?(:'created_at')
|
170
219
|
self.created_at = attributes[:'created_at']
|
171
220
|
end
|
@@ -182,6 +231,18 @@ module CloudsmithApi
|
|
182
231
|
self.default = attributes[:'default']
|
183
232
|
end
|
184
233
|
|
234
|
+
if attributes.has_key?(:'disable_url')
|
235
|
+
self.disable_url = attributes[:'disable_url']
|
236
|
+
end
|
237
|
+
|
238
|
+
if attributes.has_key?(:'downloads')
|
239
|
+
self.downloads = attributes[:'downloads']
|
240
|
+
end
|
241
|
+
|
242
|
+
if attributes.has_key?(:'enable_url')
|
243
|
+
self.enable_url = attributes[:'enable_url']
|
244
|
+
end
|
245
|
+
|
185
246
|
if attributes.has_key?(:'has_limits')
|
186
247
|
self.has_limits = attributes[:'has_limits']
|
187
248
|
end
|
@@ -198,6 +259,14 @@ module CloudsmithApi
|
|
198
259
|
self.is_limited = attributes[:'is_limited']
|
199
260
|
end
|
200
261
|
|
262
|
+
if attributes.has_key?(:'limit_bandwidth')
|
263
|
+
self.limit_bandwidth = attributes[:'limit_bandwidth']
|
264
|
+
end
|
265
|
+
|
266
|
+
if attributes.has_key?(:'limit_bandwidth_unit')
|
267
|
+
self.limit_bandwidth_unit = attributes[:'limit_bandwidth_unit']
|
268
|
+
end
|
269
|
+
|
201
270
|
if attributes.has_key?(:'limit_date_range_from')
|
202
271
|
self.limit_date_range_from = attributes[:'limit_date_range_from']
|
203
272
|
end
|
@@ -234,6 +303,18 @@ module CloudsmithApi
|
|
234
303
|
self.refresh_url = attributes[:'refresh_url']
|
235
304
|
end
|
236
305
|
|
306
|
+
if attributes.has_key?(:'reset_url')
|
307
|
+
self.reset_url = attributes[:'reset_url']
|
308
|
+
end
|
309
|
+
|
310
|
+
if attributes.has_key?(:'scheduled_reset_at')
|
311
|
+
self.scheduled_reset_at = attributes[:'scheduled_reset_at']
|
312
|
+
end
|
313
|
+
|
314
|
+
if attributes.has_key?(:'scheduled_reset_period')
|
315
|
+
self.scheduled_reset_period = attributes[:'scheduled_reset_period']
|
316
|
+
end
|
317
|
+
|
237
318
|
if attributes.has_key?(:'self_url')
|
238
319
|
self.self_url = attributes[:'self_url']
|
239
320
|
end
|
@@ -295,14 +376,20 @@ module CloudsmithApi
|
|
295
376
|
def ==(o)
|
296
377
|
return true if self.equal?(o)
|
297
378
|
self.class == o.class &&
|
379
|
+
clients == o.clients &&
|
298
380
|
created_at == o.created_at &&
|
299
381
|
created_by == o.created_by &&
|
300
382
|
created_by_url == o.created_by_url &&
|
301
383
|
default == o.default &&
|
384
|
+
disable_url == o.disable_url &&
|
385
|
+
downloads == o.downloads &&
|
386
|
+
enable_url == o.enable_url &&
|
302
387
|
has_limits == o.has_limits &&
|
303
388
|
identifier == o.identifier &&
|
304
389
|
is_active == o.is_active &&
|
305
390
|
is_limited == o.is_limited &&
|
391
|
+
limit_bandwidth == o.limit_bandwidth &&
|
392
|
+
limit_bandwidth_unit == o.limit_bandwidth_unit &&
|
306
393
|
limit_date_range_from == o.limit_date_range_from &&
|
307
394
|
limit_date_range_to == o.limit_date_range_to &&
|
308
395
|
limit_num_clients == o.limit_num_clients &&
|
@@ -312,6 +399,9 @@ module CloudsmithApi
|
|
312
399
|
metadata == o.metadata &&
|
313
400
|
name == o.name &&
|
314
401
|
refresh_url == o.refresh_url &&
|
402
|
+
reset_url == o.reset_url &&
|
403
|
+
scheduled_reset_at == o.scheduled_reset_at &&
|
404
|
+
scheduled_reset_period == o.scheduled_reset_period &&
|
315
405
|
self_url == o.self_url &&
|
316
406
|
slug_perm == o.slug_perm &&
|
317
407
|
token == o.token &&
|
@@ -332,7 +422,7 @@ module CloudsmithApi
|
|
332
422
|
# Calculates hash code according to all attributes.
|
333
423
|
# @return [Fixnum] Hash code
|
334
424
|
def hash
|
335
|
-
[created_at, created_by, created_by_url, default, has_limits, identifier, is_active, is_limited, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, refresh_url, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash
|
425
|
+
[clients, created_at, created_by, created_by_url, default, disable_url, downloads, enable_url, has_limits, identifier, is_active, is_limited, 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, refresh_url, reset_url, scheduled_reset_at, scheduled_reset_period, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash
|
336
426
|
end
|
337
427
|
|
338
428
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module CloudsmithApi
|
16
16
|
|
17
17
|
class RepositoryTokenRefresh
|
18
|
+
#
|
19
|
+
attr_accessor :clients
|
20
|
+
|
18
21
|
# The datetime the token was updated at.
|
19
22
|
attr_accessor :created_at
|
20
23
|
|
@@ -27,6 +30,15 @@ module CloudsmithApi
|
|
27
30
|
# If selected this is the default token for this repository.
|
28
31
|
attr_accessor :default
|
29
32
|
|
33
|
+
#
|
34
|
+
attr_accessor :disable_url
|
35
|
+
|
36
|
+
#
|
37
|
+
attr_accessor :downloads
|
38
|
+
|
39
|
+
#
|
40
|
+
attr_accessor :enable_url
|
41
|
+
|
30
42
|
#
|
31
43
|
attr_accessor :has_limits
|
32
44
|
|
@@ -39,6 +51,12 @@ module CloudsmithApi
|
|
39
51
|
#
|
40
52
|
attr_accessor :is_limited
|
41
53
|
|
54
|
+
# 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.
|
55
|
+
attr_accessor :limit_bandwidth
|
56
|
+
|
57
|
+
#
|
58
|
+
attr_accessor :limit_bandwidth_unit
|
59
|
+
|
42
60
|
# The starting date/time the token is allowed to be used from.
|
43
61
|
attr_accessor :limit_date_range_from
|
44
62
|
|
@@ -66,6 +84,15 @@ module CloudsmithApi
|
|
66
84
|
#
|
67
85
|
attr_accessor :refresh_url
|
68
86
|
|
87
|
+
#
|
88
|
+
attr_accessor :reset_url
|
89
|
+
|
90
|
+
# The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero.
|
91
|
+
attr_accessor :scheduled_reset_at
|
92
|
+
|
93
|
+
#
|
94
|
+
attr_accessor :scheduled_reset_period
|
95
|
+
|
69
96
|
#
|
70
97
|
attr_accessor :self_url
|
71
98
|
|
@@ -97,14 +124,20 @@ module CloudsmithApi
|
|
97
124
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
125
|
def self.attribute_map
|
99
126
|
{
|
127
|
+
:'clients' => :'clients',
|
100
128
|
:'created_at' => :'created_at',
|
101
129
|
:'created_by' => :'created_by',
|
102
130
|
:'created_by_url' => :'created_by_url',
|
103
131
|
:'default' => :'default',
|
132
|
+
:'disable_url' => :'disable_url',
|
133
|
+
:'downloads' => :'downloads',
|
134
|
+
:'enable_url' => :'enable_url',
|
104
135
|
:'has_limits' => :'has_limits',
|
105
136
|
:'identifier' => :'identifier',
|
106
137
|
:'is_active' => :'is_active',
|
107
138
|
:'is_limited' => :'is_limited',
|
139
|
+
:'limit_bandwidth' => :'limit_bandwidth',
|
140
|
+
:'limit_bandwidth_unit' => :'limit_bandwidth_unit',
|
108
141
|
:'limit_date_range_from' => :'limit_date_range_from',
|
109
142
|
:'limit_date_range_to' => :'limit_date_range_to',
|
110
143
|
:'limit_num_clients' => :'limit_num_clients',
|
@@ -114,6 +147,9 @@ module CloudsmithApi
|
|
114
147
|
:'metadata' => :'metadata',
|
115
148
|
:'name' => :'name',
|
116
149
|
:'refresh_url' => :'refresh_url',
|
150
|
+
:'reset_url' => :'reset_url',
|
151
|
+
:'scheduled_reset_at' => :'scheduled_reset_at',
|
152
|
+
:'scheduled_reset_period' => :'scheduled_reset_period',
|
117
153
|
:'self_url' => :'self_url',
|
118
154
|
:'slug_perm' => :'slug_perm',
|
119
155
|
:'token' => :'token',
|
@@ -129,14 +165,20 @@ module CloudsmithApi
|
|
129
165
|
# Attribute type mapping.
|
130
166
|
def self.swagger_types
|
131
167
|
{
|
168
|
+
:'clients' => :'Integer',
|
132
169
|
:'created_at' => :'String',
|
133
170
|
:'created_by' => :'String',
|
134
171
|
:'created_by_url' => :'String',
|
135
172
|
:'default' => :'BOOLEAN',
|
173
|
+
:'disable_url' => :'String',
|
174
|
+
:'downloads' => :'Integer',
|
175
|
+
:'enable_url' => :'String',
|
136
176
|
:'has_limits' => :'BOOLEAN',
|
137
177
|
:'identifier' => :'Integer',
|
138
178
|
:'is_active' => :'BOOLEAN',
|
139
179
|
:'is_limited' => :'BOOLEAN',
|
180
|
+
:'limit_bandwidth' => :'Integer',
|
181
|
+
:'limit_bandwidth_unit' => :'String',
|
140
182
|
:'limit_date_range_from' => :'String',
|
141
183
|
:'limit_date_range_to' => :'String',
|
142
184
|
:'limit_num_clients' => :'Integer',
|
@@ -146,6 +188,9 @@ module CloudsmithApi
|
|
146
188
|
:'metadata' => :'Object',
|
147
189
|
:'name' => :'String',
|
148
190
|
:'refresh_url' => :'String',
|
191
|
+
:'reset_url' => :'String',
|
192
|
+
:'scheduled_reset_at' => :'String',
|
193
|
+
:'scheduled_reset_period' => :'String',
|
149
194
|
:'self_url' => :'String',
|
150
195
|
:'slug_perm' => :'String',
|
151
196
|
:'token' => :'String',
|
@@ -166,6 +211,10 @@ module CloudsmithApi
|
|
166
211
|
# convert string to symbol for hash key
|
167
212
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
168
213
|
|
214
|
+
if attributes.has_key?(:'clients')
|
215
|
+
self.clients = attributes[:'clients']
|
216
|
+
end
|
217
|
+
|
169
218
|
if attributes.has_key?(:'created_at')
|
170
219
|
self.created_at = attributes[:'created_at']
|
171
220
|
end
|
@@ -182,6 +231,18 @@ module CloudsmithApi
|
|
182
231
|
self.default = attributes[:'default']
|
183
232
|
end
|
184
233
|
|
234
|
+
if attributes.has_key?(:'disable_url')
|
235
|
+
self.disable_url = attributes[:'disable_url']
|
236
|
+
end
|
237
|
+
|
238
|
+
if attributes.has_key?(:'downloads')
|
239
|
+
self.downloads = attributes[:'downloads']
|
240
|
+
end
|
241
|
+
|
242
|
+
if attributes.has_key?(:'enable_url')
|
243
|
+
self.enable_url = attributes[:'enable_url']
|
244
|
+
end
|
245
|
+
|
185
246
|
if attributes.has_key?(:'has_limits')
|
186
247
|
self.has_limits = attributes[:'has_limits']
|
187
248
|
end
|
@@ -198,6 +259,14 @@ module CloudsmithApi
|
|
198
259
|
self.is_limited = attributes[:'is_limited']
|
199
260
|
end
|
200
261
|
|
262
|
+
if attributes.has_key?(:'limit_bandwidth')
|
263
|
+
self.limit_bandwidth = attributes[:'limit_bandwidth']
|
264
|
+
end
|
265
|
+
|
266
|
+
if attributes.has_key?(:'limit_bandwidth_unit')
|
267
|
+
self.limit_bandwidth_unit = attributes[:'limit_bandwidth_unit']
|
268
|
+
end
|
269
|
+
|
201
270
|
if attributes.has_key?(:'limit_date_range_from')
|
202
271
|
self.limit_date_range_from = attributes[:'limit_date_range_from']
|
203
272
|
end
|
@@ -234,6 +303,18 @@ module CloudsmithApi
|
|
234
303
|
self.refresh_url = attributes[:'refresh_url']
|
235
304
|
end
|
236
305
|
|
306
|
+
if attributes.has_key?(:'reset_url')
|
307
|
+
self.reset_url = attributes[:'reset_url']
|
308
|
+
end
|
309
|
+
|
310
|
+
if attributes.has_key?(:'scheduled_reset_at')
|
311
|
+
self.scheduled_reset_at = attributes[:'scheduled_reset_at']
|
312
|
+
end
|
313
|
+
|
314
|
+
if attributes.has_key?(:'scheduled_reset_period')
|
315
|
+
self.scheduled_reset_period = attributes[:'scheduled_reset_period']
|
316
|
+
end
|
317
|
+
|
237
318
|
if attributes.has_key?(:'self_url')
|
238
319
|
self.self_url = attributes[:'self_url']
|
239
320
|
end
|
@@ -290,14 +371,20 @@ module CloudsmithApi
|
|
290
371
|
def ==(o)
|
291
372
|
return true if self.equal?(o)
|
292
373
|
self.class == o.class &&
|
374
|
+
clients == o.clients &&
|
293
375
|
created_at == o.created_at &&
|
294
376
|
created_by == o.created_by &&
|
295
377
|
created_by_url == o.created_by_url &&
|
296
378
|
default == o.default &&
|
379
|
+
disable_url == o.disable_url &&
|
380
|
+
downloads == o.downloads &&
|
381
|
+
enable_url == o.enable_url &&
|
297
382
|
has_limits == o.has_limits &&
|
298
383
|
identifier == o.identifier &&
|
299
384
|
is_active == o.is_active &&
|
300
385
|
is_limited == o.is_limited &&
|
386
|
+
limit_bandwidth == o.limit_bandwidth &&
|
387
|
+
limit_bandwidth_unit == o.limit_bandwidth_unit &&
|
301
388
|
limit_date_range_from == o.limit_date_range_from &&
|
302
389
|
limit_date_range_to == o.limit_date_range_to &&
|
303
390
|
limit_num_clients == o.limit_num_clients &&
|
@@ -307,6 +394,9 @@ module CloudsmithApi
|
|
307
394
|
metadata == o.metadata &&
|
308
395
|
name == o.name &&
|
309
396
|
refresh_url == o.refresh_url &&
|
397
|
+
reset_url == o.reset_url &&
|
398
|
+
scheduled_reset_at == o.scheduled_reset_at &&
|
399
|
+
scheduled_reset_period == o.scheduled_reset_period &&
|
310
400
|
self_url == o.self_url &&
|
311
401
|
slug_perm == o.slug_perm &&
|
312
402
|
token == o.token &&
|
@@ -327,7 +417,7 @@ module CloudsmithApi
|
|
327
417
|
# Calculates hash code according to all attributes.
|
328
418
|
# @return [Fixnum] Hash code
|
329
419
|
def hash
|
330
|
-
[created_at, created_by, created_by_url, default, has_limits, identifier, is_active, is_limited, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, refresh_url, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash
|
420
|
+
[clients, created_at, created_by, created_by_url, default, disable_url, downloads, enable_url, has_limits, identifier, is_active, is_limited, 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, refresh_url, reset_url, scheduled_reset_at, scheduled_reset_period, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash
|
331
421
|
end
|
332
422
|
|
333
423
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'date'
|
|
15
15
|
module CloudsmithApi
|
16
16
|
|
17
17
|
class RepositoryTokenSyncTokens
|
18
|
+
#
|
19
|
+
attr_accessor :clients
|
20
|
+
|
18
21
|
# The datetime the token was updated at.
|
19
22
|
attr_accessor :created_at
|
20
23
|
|
@@ -27,6 +30,15 @@ module CloudsmithApi
|
|
27
30
|
# If selected this is the default token for this repository.
|
28
31
|
attr_accessor :default
|
29
32
|
|
33
|
+
#
|
34
|
+
attr_accessor :disable_url
|
35
|
+
|
36
|
+
#
|
37
|
+
attr_accessor :downloads
|
38
|
+
|
39
|
+
#
|
40
|
+
attr_accessor :enable_url
|
41
|
+
|
30
42
|
#
|
31
43
|
attr_accessor :has_limits
|
32
44
|
|
@@ -39,6 +51,12 @@ module CloudsmithApi
|
|
39
51
|
#
|
40
52
|
attr_accessor :is_limited
|
41
53
|
|
54
|
+
# 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.
|
55
|
+
attr_accessor :limit_bandwidth
|
56
|
+
|
57
|
+
#
|
58
|
+
attr_accessor :limit_bandwidth_unit
|
59
|
+
|
42
60
|
# The starting date/time the token is allowed to be used from.
|
43
61
|
attr_accessor :limit_date_range_from
|
44
62
|
|
@@ -66,6 +84,15 @@ module CloudsmithApi
|
|
66
84
|
#
|
67
85
|
attr_accessor :refresh_url
|
68
86
|
|
87
|
+
#
|
88
|
+
attr_accessor :reset_url
|
89
|
+
|
90
|
+
# The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero.
|
91
|
+
attr_accessor :scheduled_reset_at
|
92
|
+
|
93
|
+
#
|
94
|
+
attr_accessor :scheduled_reset_period
|
95
|
+
|
69
96
|
#
|
70
97
|
attr_accessor :self_url
|
71
98
|
|
@@ -97,14 +124,20 @@ module CloudsmithApi
|
|
97
124
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
125
|
def self.attribute_map
|
99
126
|
{
|
127
|
+
:'clients' => :'clients',
|
100
128
|
:'created_at' => :'created_at',
|
101
129
|
:'created_by' => :'created_by',
|
102
130
|
:'created_by_url' => :'created_by_url',
|
103
131
|
:'default' => :'default',
|
132
|
+
:'disable_url' => :'disable_url',
|
133
|
+
:'downloads' => :'downloads',
|
134
|
+
:'enable_url' => :'enable_url',
|
104
135
|
:'has_limits' => :'has_limits',
|
105
136
|
:'identifier' => :'identifier',
|
106
137
|
:'is_active' => :'is_active',
|
107
138
|
:'is_limited' => :'is_limited',
|
139
|
+
:'limit_bandwidth' => :'limit_bandwidth',
|
140
|
+
:'limit_bandwidth_unit' => :'limit_bandwidth_unit',
|
108
141
|
:'limit_date_range_from' => :'limit_date_range_from',
|
109
142
|
:'limit_date_range_to' => :'limit_date_range_to',
|
110
143
|
:'limit_num_clients' => :'limit_num_clients',
|
@@ -114,6 +147,9 @@ module CloudsmithApi
|
|
114
147
|
:'metadata' => :'metadata',
|
115
148
|
:'name' => :'name',
|
116
149
|
:'refresh_url' => :'refresh_url',
|
150
|
+
:'reset_url' => :'reset_url',
|
151
|
+
:'scheduled_reset_at' => :'scheduled_reset_at',
|
152
|
+
:'scheduled_reset_period' => :'scheduled_reset_period',
|
117
153
|
:'self_url' => :'self_url',
|
118
154
|
:'slug_perm' => :'slug_perm',
|
119
155
|
:'token' => :'token',
|
@@ -129,14 +165,20 @@ module CloudsmithApi
|
|
129
165
|
# Attribute type mapping.
|
130
166
|
def self.swagger_types
|
131
167
|
{
|
168
|
+
:'clients' => :'Integer',
|
132
169
|
:'created_at' => :'String',
|
133
170
|
:'created_by' => :'String',
|
134
171
|
:'created_by_url' => :'String',
|
135
172
|
:'default' => :'BOOLEAN',
|
173
|
+
:'disable_url' => :'String',
|
174
|
+
:'downloads' => :'Integer',
|
175
|
+
:'enable_url' => :'String',
|
136
176
|
:'has_limits' => :'BOOLEAN',
|
137
177
|
:'identifier' => :'Integer',
|
138
178
|
:'is_active' => :'BOOLEAN',
|
139
179
|
:'is_limited' => :'BOOLEAN',
|
180
|
+
:'limit_bandwidth' => :'Integer',
|
181
|
+
:'limit_bandwidth_unit' => :'String',
|
140
182
|
:'limit_date_range_from' => :'String',
|
141
183
|
:'limit_date_range_to' => :'String',
|
142
184
|
:'limit_num_clients' => :'Integer',
|
@@ -146,6 +188,9 @@ module CloudsmithApi
|
|
146
188
|
:'metadata' => :'String',
|
147
189
|
:'name' => :'String',
|
148
190
|
:'refresh_url' => :'String',
|
191
|
+
:'reset_url' => :'String',
|
192
|
+
:'scheduled_reset_at' => :'String',
|
193
|
+
:'scheduled_reset_period' => :'String',
|
149
194
|
:'self_url' => :'String',
|
150
195
|
:'slug_perm' => :'String',
|
151
196
|
:'token' => :'String',
|
@@ -166,6 +211,10 @@ module CloudsmithApi
|
|
166
211
|
# convert string to symbol for hash key
|
167
212
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
168
213
|
|
214
|
+
if attributes.has_key?(:'clients')
|
215
|
+
self.clients = attributes[:'clients']
|
216
|
+
end
|
217
|
+
|
169
218
|
if attributes.has_key?(:'created_at')
|
170
219
|
self.created_at = attributes[:'created_at']
|
171
220
|
end
|
@@ -182,6 +231,18 @@ module CloudsmithApi
|
|
182
231
|
self.default = attributes[:'default']
|
183
232
|
end
|
184
233
|
|
234
|
+
if attributes.has_key?(:'disable_url')
|
235
|
+
self.disable_url = attributes[:'disable_url']
|
236
|
+
end
|
237
|
+
|
238
|
+
if attributes.has_key?(:'downloads')
|
239
|
+
self.downloads = attributes[:'downloads']
|
240
|
+
end
|
241
|
+
|
242
|
+
if attributes.has_key?(:'enable_url')
|
243
|
+
self.enable_url = attributes[:'enable_url']
|
244
|
+
end
|
245
|
+
|
185
246
|
if attributes.has_key?(:'has_limits')
|
186
247
|
self.has_limits = attributes[:'has_limits']
|
187
248
|
end
|
@@ -198,6 +259,14 @@ module CloudsmithApi
|
|
198
259
|
self.is_limited = attributes[:'is_limited']
|
199
260
|
end
|
200
261
|
|
262
|
+
if attributes.has_key?(:'limit_bandwidth')
|
263
|
+
self.limit_bandwidth = attributes[:'limit_bandwidth']
|
264
|
+
end
|
265
|
+
|
266
|
+
if attributes.has_key?(:'limit_bandwidth_unit')
|
267
|
+
self.limit_bandwidth_unit = attributes[:'limit_bandwidth_unit']
|
268
|
+
end
|
269
|
+
|
201
270
|
if attributes.has_key?(:'limit_date_range_from')
|
202
271
|
self.limit_date_range_from = attributes[:'limit_date_range_from']
|
203
272
|
end
|
@@ -234,6 +303,18 @@ module CloudsmithApi
|
|
234
303
|
self.refresh_url = attributes[:'refresh_url']
|
235
304
|
end
|
236
305
|
|
306
|
+
if attributes.has_key?(:'reset_url')
|
307
|
+
self.reset_url = attributes[:'reset_url']
|
308
|
+
end
|
309
|
+
|
310
|
+
if attributes.has_key?(:'scheduled_reset_at')
|
311
|
+
self.scheduled_reset_at = attributes[:'scheduled_reset_at']
|
312
|
+
end
|
313
|
+
|
314
|
+
if attributes.has_key?(:'scheduled_reset_period')
|
315
|
+
self.scheduled_reset_period = attributes[:'scheduled_reset_period']
|
316
|
+
end
|
317
|
+
|
237
318
|
if attributes.has_key?(:'self_url')
|
238
319
|
self.self_url = attributes[:'self_url']
|
239
320
|
end
|
@@ -290,14 +371,20 @@ module CloudsmithApi
|
|
290
371
|
def ==(o)
|
291
372
|
return true if self.equal?(o)
|
292
373
|
self.class == o.class &&
|
374
|
+
clients == o.clients &&
|
293
375
|
created_at == o.created_at &&
|
294
376
|
created_by == o.created_by &&
|
295
377
|
created_by_url == o.created_by_url &&
|
296
378
|
default == o.default &&
|
379
|
+
disable_url == o.disable_url &&
|
380
|
+
downloads == o.downloads &&
|
381
|
+
enable_url == o.enable_url &&
|
297
382
|
has_limits == o.has_limits &&
|
298
383
|
identifier == o.identifier &&
|
299
384
|
is_active == o.is_active &&
|
300
385
|
is_limited == o.is_limited &&
|
386
|
+
limit_bandwidth == o.limit_bandwidth &&
|
387
|
+
limit_bandwidth_unit == o.limit_bandwidth_unit &&
|
301
388
|
limit_date_range_from == o.limit_date_range_from &&
|
302
389
|
limit_date_range_to == o.limit_date_range_to &&
|
303
390
|
limit_num_clients == o.limit_num_clients &&
|
@@ -307,6 +394,9 @@ module CloudsmithApi
|
|
307
394
|
metadata == o.metadata &&
|
308
395
|
name == o.name &&
|
309
396
|
refresh_url == o.refresh_url &&
|
397
|
+
reset_url == o.reset_url &&
|
398
|
+
scheduled_reset_at == o.scheduled_reset_at &&
|
399
|
+
scheduled_reset_period == o.scheduled_reset_period &&
|
310
400
|
self_url == o.self_url &&
|
311
401
|
slug_perm == o.slug_perm &&
|
312
402
|
token == o.token &&
|
@@ -327,7 +417,7 @@ module CloudsmithApi
|
|
327
417
|
# Calculates hash code according to all attributes.
|
328
418
|
# @return [Fixnum] Hash code
|
329
419
|
def hash
|
330
|
-
[created_at, created_by, created_by_url, default, has_limits, identifier, is_active, is_limited, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, refresh_url, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash
|
420
|
+
[clients, created_at, created_by, created_by_url, default, disable_url, downloads, enable_url, has_limits, identifier, is_active, is_limited, 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, refresh_url, reset_url, scheduled_reset_at, scheduled_reset_period, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash
|
331
421
|
end
|
332
422
|
|
333
423
|
# Builds the object from hash
|