cloudsmith-api 0.53.17 → 0.53.79

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +11 -16
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +2 -1
  6. data/docs/BadgesApi.md +1 -6
  7. data/docs/ConanPackageUpload.md +2 -1
  8. data/docs/DistrosApi.md +2 -12
  9. data/docs/EntitlementUsageMetric.md +8 -0
  10. data/docs/EntitlementsApi.md +10 -60
  11. data/docs/EntitlementsCreate.md +2 -1
  12. data/docs/EntitlementsPartialUpdate.md +2 -1
  13. data/docs/EntitlementsRefresh.md +2 -1
  14. data/docs/FilesApi.md +5 -30
  15. data/docs/FormatsApi.md +2 -12
  16. data/docs/MavenPackageUpload.md +2 -1
  17. data/docs/MetricsApi.md +4 -14
  18. data/docs/NamespacesApi.md +2 -12
  19. data/docs/OrgsApi.md +2 -12
  20. data/docs/Package.md +2 -1
  21. data/docs/PackageCopy.md +2 -1
  22. data/docs/PackageMove.md +2 -1
  23. data/docs/PackagesApi.md +50 -300
  24. data/docs/QuotaApi.md +4 -24
  25. data/docs/RatesApi.md +1 -6
  26. data/docs/RawPackageUpload.md +2 -1
  27. data/docs/ReposApi.md +6 -36
  28. data/docs/RepositoryToken.md +4 -1
  29. data/docs/RepositoryTokenRefresh.md +4 -1
  30. data/docs/RepositoryTokenSyncTokens.md +4 -1
  31. data/docs/StorageregionsApi.md +2 -12
  32. data/docs/UserApi.md +2 -12
  33. data/docs/UsersApi.md +1 -6
  34. data/docs/VagrantPackageUpload.md +2 -1
  35. data/docs/VulnerabilitiesApi.md +264 -0
  36. data/docs/VulnerabilityScanResults.md +15 -0
  37. data/docs/VulnerabilityScanResultsList.md +14 -0
  38. data/docs/WebhooksApi.md +5 -30
  39. data/lib/cloudsmith-api.rb +4 -1
  40. data/lib/cloudsmith-api/api/badges_api.rb +1 -1
  41. data/lib/cloudsmith-api/api/distros_api.rb +2 -2
  42. data/lib/cloudsmith-api/api/entitlements_api.rb +10 -10
  43. data/lib/cloudsmith-api/api/files_api.rb +5 -5
  44. data/lib/cloudsmith-api/api/formats_api.rb +2 -2
  45. data/lib/cloudsmith-api/api/metrics_api.rb +5 -5
  46. data/lib/cloudsmith-api/api/namespaces_api.rb +2 -2
  47. data/lib/cloudsmith-api/api/orgs_api.rb +2 -2
  48. data/lib/cloudsmith-api/api/packages_api.rb +50 -50
  49. data/lib/cloudsmith-api/api/quota_api.rb +4 -4
  50. data/lib/cloudsmith-api/api/rates_api.rb +1 -1
  51. data/lib/cloudsmith-api/api/repos_api.rb +6 -6
  52. data/lib/cloudsmith-api/api/storageregions_api.rb +2 -2
  53. data/lib/cloudsmith-api/api/user_api.rb +2 -2
  54. data/lib/cloudsmith-api/api/users_api.rb +1 -1
  55. data/lib/cloudsmith-api/api/vulnerabilities_api.rb +281 -0
  56. data/lib/cloudsmith-api/api/webhooks_api.rb +5 -5
  57. data/lib/cloudsmith-api/configuration.rb +0 -7
  58. data/lib/cloudsmith-api/models/alpine_package_upload.rb +15 -5
  59. data/lib/cloudsmith-api/models/conan_package_upload.rb +15 -5
  60. data/lib/cloudsmith-api/models/{entitlement_token_metric.rb → entitlement_usage_metric.rb} +11 -26
  61. data/lib/cloudsmith-api/models/entitlements_create.rb +12 -2
  62. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +12 -2
  63. data/lib/cloudsmith-api/models/entitlements_refresh.rb +12 -2
  64. data/lib/cloudsmith-api/models/maven_package_upload.rb +15 -5
  65. data/lib/cloudsmith-api/models/package.rb +15 -5
  66. data/lib/cloudsmith-api/models/package_copy.rb +15 -5
  67. data/lib/cloudsmith-api/models/package_move.rb +15 -5
  68. data/lib/cloudsmith-api/models/raw_package_upload.rb +15 -5
  69. data/lib/cloudsmith-api/models/repository_token.rb +32 -2
  70. data/lib/cloudsmith-api/models/repository_token_refresh.rb +32 -2
  71. data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +32 -2
  72. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +15 -5
  73. data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +279 -0
  74. data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +264 -0
  75. data/lib/cloudsmith-api/version.rb +1 -1
  76. data/spec/api/metrics_api_spec.rb +1 -1
  77. data/spec/api/vulnerabilities_api_spec.rb +95 -0
  78. data/spec/models/alpine_package_upload_spec.rb +6 -0
  79. data/spec/models/conan_package_upload_spec.rb +6 -0
  80. data/spec/models/{entitlement_token_metric_spec.rb → entitlement_usage_metric_spec.rb} +7 -13
  81. data/spec/models/entitlements_create_spec.rb +6 -0
  82. data/spec/models/entitlements_partial_update_spec.rb +6 -0
  83. data/spec/models/entitlements_refresh_spec.rb +6 -0
  84. data/spec/models/maven_package_upload_spec.rb +6 -0
  85. data/spec/models/package_copy_spec.rb +6 -0
  86. data/spec/models/package_move_spec.rb +6 -0
  87. data/spec/models/package_spec.rb +6 -0
  88. data/spec/models/raw_package_upload_spec.rb +6 -0
  89. data/spec/models/repository_token_refresh_spec.rb +18 -0
  90. data/spec/models/repository_token_spec.rb +18 -0
  91. data/spec/models/repository_token_sync_tokens_spec.rb +18 -0
  92. data/spec/models/vagrant_package_upload_spec.rb +6 -0
  93. data/spec/models/vulnerability_scan_results_list_spec.rb +78 -0
  94. data/spec/models/vulnerability_scan_results_spec.rb +84 -0
  95. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.3.gem +0 -0
  96. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
  97. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
  98. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/gem_make.out +1 -1
  99. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
  100. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/.document +0 -0
  101. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/.yardopts +0 -0
  102. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/Changelog.md +17 -0
  103. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/LICENSE.md +0 -0
  104. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/README.md +3 -3
  105. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/exe/rspec +0 -0
  106. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/autorun.rb +0 -0
  107. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core.rb +0 -0
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. 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
  141. 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
  142. 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
  143. 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
  144. 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
  145. 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
  146. 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
  147. 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
  148. 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
  149. 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
  150. 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
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. 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
  159. 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
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. 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
  179. 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
  180. 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
  181. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-core-3.9.2.gemspec → rspec-core-3.9.3.gemspec} +5 -5
  182. data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
  183. metadata +191 -179
  184. data/docs/EntitlementTokenMetric.md +0 -9
  185. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.2.gem +0 -0
@@ -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
  #
@@ -186,6 +186,9 @@ module CloudsmithApi
186
186
  #
187
187
  attr_accessor :version_orig
188
188
 
189
+ #
190
+ attr_accessor :vulnerability_scan_results_url
191
+
189
192
 
190
193
  # Attribute mapping from ruby-style variable name to JSON key.
191
194
  def self.attribute_map
@@ -246,7 +249,8 @@ module CloudsmithApi
246
249
  :'uploader' => :'uploader',
247
250
  :'uploader_url' => :'uploader_url',
248
251
  :'version' => :'version',
249
- :'version_orig' => :'version_orig'
252
+ :'version_orig' => :'version_orig',
253
+ :'vulnerability_scan_results_url' => :'vulnerability_scan_results_url'
250
254
  }
251
255
  end
252
256
 
@@ -309,7 +313,8 @@ module CloudsmithApi
309
313
  :'uploader' => :'String',
310
314
  :'uploader_url' => :'String',
311
315
  :'version' => :'String',
312
- :'version_orig' => :'String'
316
+ :'version_orig' => :'String',
317
+ :'vulnerability_scan_results_url' => :'String'
313
318
  }
314
319
  end
315
320
 
@@ -553,6 +558,10 @@ module CloudsmithApi
553
558
  self.version_orig = attributes[:'version_orig']
554
559
  end
555
560
 
561
+ if attributes.has_key?(:'vulnerability_scan_results_url')
562
+ self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
563
+ end
564
+
556
565
  end
557
566
 
558
567
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -629,7 +638,8 @@ module CloudsmithApi
629
638
  uploader == o.uploader &&
630
639
  uploader_url == o.uploader_url &&
631
640
  version == o.version &&
632
- version_orig == o.version_orig
641
+ version_orig == o.version_orig &&
642
+ vulnerability_scan_results_url == o.vulnerability_scan_results_url
633
643
  end
634
644
 
635
645
  # @see the `==` method
@@ -641,7 +651,7 @@ module CloudsmithApi
641
651
  # Calculates hash code according to all attributes.
642
652
  # @return [Fixnum] Hash code
643
653
  def 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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
654
+ [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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
645
655
  end
646
656
 
647
657
  # Builds the object from hash
@@ -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
  #
@@ -186,6 +186,9 @@ module CloudsmithApi
186
186
  #
187
187
  attr_accessor :version_orig
188
188
 
189
+ #
190
+ attr_accessor :vulnerability_scan_results_url
191
+
189
192
 
190
193
  # Attribute mapping from ruby-style variable name to JSON key.
191
194
  def self.attribute_map
@@ -246,7 +249,8 @@ module CloudsmithApi
246
249
  :'uploader' => :'uploader',
247
250
  :'uploader_url' => :'uploader_url',
248
251
  :'version' => :'version',
249
- :'version_orig' => :'version_orig'
252
+ :'version_orig' => :'version_orig',
253
+ :'vulnerability_scan_results_url' => :'vulnerability_scan_results_url'
250
254
  }
251
255
  end
252
256
 
@@ -309,7 +313,8 @@ module CloudsmithApi
309
313
  :'uploader' => :'String',
310
314
  :'uploader_url' => :'String',
311
315
  :'version' => :'String',
312
- :'version_orig' => :'String'
316
+ :'version_orig' => :'String',
317
+ :'vulnerability_scan_results_url' => :'String'
313
318
  }
314
319
  end
315
320
 
@@ -553,6 +558,10 @@ module CloudsmithApi
553
558
  self.version_orig = attributes[:'version_orig']
554
559
  end
555
560
 
561
+ if attributes.has_key?(:'vulnerability_scan_results_url')
562
+ self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
563
+ end
564
+
556
565
  end
557
566
 
558
567
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -629,7 +638,8 @@ module CloudsmithApi
629
638
  uploader == o.uploader &&
630
639
  uploader_url == o.uploader_url &&
631
640
  version == o.version &&
632
- version_orig == o.version_orig
641
+ version_orig == o.version_orig &&
642
+ vulnerability_scan_results_url == o.vulnerability_scan_results_url
633
643
  end
634
644
 
635
645
  # @see the `==` method
@@ -641,7 +651,7 @@ module CloudsmithApi
641
651
  # Calculates hash code according to all attributes.
642
652
  # @return [Fixnum] Hash code
643
653
  def 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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
654
+ [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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
645
655
  end
646
656
 
647
657
  # Builds the object from hash
@@ -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
  #
@@ -186,6 +186,9 @@ module CloudsmithApi
186
186
  #
187
187
  attr_accessor :version_orig
188
188
 
189
+ #
190
+ attr_accessor :vulnerability_scan_results_url
191
+
189
192
 
190
193
  # Attribute mapping from ruby-style variable name to JSON key.
191
194
  def self.attribute_map
@@ -246,7 +249,8 @@ module CloudsmithApi
246
249
  :'uploader' => :'uploader',
247
250
  :'uploader_url' => :'uploader_url',
248
251
  :'version' => :'version',
249
- :'version_orig' => :'version_orig'
252
+ :'version_orig' => :'version_orig',
253
+ :'vulnerability_scan_results_url' => :'vulnerability_scan_results_url'
250
254
  }
251
255
  end
252
256
 
@@ -309,7 +313,8 @@ module CloudsmithApi
309
313
  :'uploader' => :'String',
310
314
  :'uploader_url' => :'String',
311
315
  :'version' => :'String',
312
- :'version_orig' => :'String'
316
+ :'version_orig' => :'String',
317
+ :'vulnerability_scan_results_url' => :'String'
313
318
  }
314
319
  end
315
320
 
@@ -553,6 +558,10 @@ module CloudsmithApi
553
558
  self.version_orig = attributes[:'version_orig']
554
559
  end
555
560
 
561
+ if attributes.has_key?(:'vulnerability_scan_results_url')
562
+ self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
563
+ end
564
+
556
565
  end
557
566
 
558
567
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -629,7 +638,8 @@ module CloudsmithApi
629
638
  uploader == o.uploader &&
630
639
  uploader_url == o.uploader_url &&
631
640
  version == o.version &&
632
- version_orig == o.version_orig
641
+ version_orig == o.version_orig &&
642
+ vulnerability_scan_results_url == o.vulnerability_scan_results_url
633
643
  end
634
644
 
635
645
  # @see the `==` method
@@ -641,7 +651,7 @@ module CloudsmithApi
641
651
  # Calculates hash code according to all attributes.
642
652
  # @return [Fixnum] Hash code
643
653
  def 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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
654
+ [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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
645
655
  end
646
656
 
647
657
  # Builds the object from hash
@@ -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
@@ -30,9 +30,15 @@ module CloudsmithApi
30
30
  # If selected this is the default token for this repository.
31
31
  attr_accessor :default
32
32
 
33
+ #
34
+ attr_accessor :disable_url
35
+
33
36
  #
34
37
  attr_accessor :downloads
35
38
 
39
+ #
40
+ attr_accessor :enable_url
41
+
36
42
  #
37
43
  attr_accessor :has_limits
38
44
 
@@ -45,7 +51,7 @@ module CloudsmithApi
45
51
  #
46
52
  attr_accessor :is_limited
47
53
 
48
- # 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.
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.
49
55
  attr_accessor :limit_bandwidth
50
56
 
51
57
  #
@@ -78,6 +84,9 @@ module CloudsmithApi
78
84
  #
79
85
  attr_accessor :refresh_url
80
86
 
87
+ #
88
+ attr_accessor :reset_url
89
+
81
90
  # The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero.
82
91
  attr_accessor :scheduled_reset_at
83
92
 
@@ -120,7 +129,9 @@ module CloudsmithApi
120
129
  :'created_by' => :'created_by',
121
130
  :'created_by_url' => :'created_by_url',
122
131
  :'default' => :'default',
132
+ :'disable_url' => :'disable_url',
123
133
  :'downloads' => :'downloads',
134
+ :'enable_url' => :'enable_url',
124
135
  :'has_limits' => :'has_limits',
125
136
  :'identifier' => :'identifier',
126
137
  :'is_active' => :'is_active',
@@ -136,6 +147,7 @@ module CloudsmithApi
136
147
  :'metadata' => :'metadata',
137
148
  :'name' => :'name',
138
149
  :'refresh_url' => :'refresh_url',
150
+ :'reset_url' => :'reset_url',
139
151
  :'scheduled_reset_at' => :'scheduled_reset_at',
140
152
  :'scheduled_reset_period' => :'scheduled_reset_period',
141
153
  :'self_url' => :'self_url',
@@ -158,7 +170,9 @@ module CloudsmithApi
158
170
  :'created_by' => :'String',
159
171
  :'created_by_url' => :'String',
160
172
  :'default' => :'BOOLEAN',
173
+ :'disable_url' => :'String',
161
174
  :'downloads' => :'Integer',
175
+ :'enable_url' => :'String',
162
176
  :'has_limits' => :'BOOLEAN',
163
177
  :'identifier' => :'Integer',
164
178
  :'is_active' => :'BOOLEAN',
@@ -174,6 +188,7 @@ module CloudsmithApi
174
188
  :'metadata' => :'Object',
175
189
  :'name' => :'String',
176
190
  :'refresh_url' => :'String',
191
+ :'reset_url' => :'String',
177
192
  :'scheduled_reset_at' => :'String',
178
193
  :'scheduled_reset_period' => :'String',
179
194
  :'self_url' => :'String',
@@ -216,10 +231,18 @@ module CloudsmithApi
216
231
  self.default = attributes[:'default']
217
232
  end
218
233
 
234
+ if attributes.has_key?(:'disable_url')
235
+ self.disable_url = attributes[:'disable_url']
236
+ end
237
+
219
238
  if attributes.has_key?(:'downloads')
220
239
  self.downloads = attributes[:'downloads']
221
240
  end
222
241
 
242
+ if attributes.has_key?(:'enable_url')
243
+ self.enable_url = attributes[:'enable_url']
244
+ end
245
+
223
246
  if attributes.has_key?(:'has_limits')
224
247
  self.has_limits = attributes[:'has_limits']
225
248
  end
@@ -280,6 +303,10 @@ module CloudsmithApi
280
303
  self.refresh_url = attributes[:'refresh_url']
281
304
  end
282
305
 
306
+ if attributes.has_key?(:'reset_url')
307
+ self.reset_url = attributes[:'reset_url']
308
+ end
309
+
283
310
  if attributes.has_key?(:'scheduled_reset_at')
284
311
  self.scheduled_reset_at = attributes[:'scheduled_reset_at']
285
312
  end
@@ -354,7 +381,9 @@ module CloudsmithApi
354
381
  created_by == o.created_by &&
355
382
  created_by_url == o.created_by_url &&
356
383
  default == o.default &&
384
+ disable_url == o.disable_url &&
357
385
  downloads == o.downloads &&
386
+ enable_url == o.enable_url &&
358
387
  has_limits == o.has_limits &&
359
388
  identifier == o.identifier &&
360
389
  is_active == o.is_active &&
@@ -370,6 +399,7 @@ module CloudsmithApi
370
399
  metadata == o.metadata &&
371
400
  name == o.name &&
372
401
  refresh_url == o.refresh_url &&
402
+ reset_url == o.reset_url &&
373
403
  scheduled_reset_at == o.scheduled_reset_at &&
374
404
  scheduled_reset_period == o.scheduled_reset_period &&
375
405
  self_url == o.self_url &&
@@ -392,7 +422,7 @@ module CloudsmithApi
392
422
  # Calculates hash code according to all attributes.
393
423
  # @return [Fixnum] Hash code
394
424
  def hash
395
- [clients, created_at, created_by, created_by_url, default, downloads, 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, scheduled_reset_at, scheduled_reset_period, 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
396
426
  end
397
427
 
398
428
  # Builds the object from hash
@@ -30,9 +30,15 @@ module CloudsmithApi
30
30
  # If selected this is the default token for this repository.
31
31
  attr_accessor :default
32
32
 
33
+ #
34
+ attr_accessor :disable_url
35
+
33
36
  #
34
37
  attr_accessor :downloads
35
38
 
39
+ #
40
+ attr_accessor :enable_url
41
+
36
42
  #
37
43
  attr_accessor :has_limits
38
44
 
@@ -45,7 +51,7 @@ module CloudsmithApi
45
51
  #
46
52
  attr_accessor :is_limited
47
53
 
48
- # 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.
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.
49
55
  attr_accessor :limit_bandwidth
50
56
 
51
57
  #
@@ -78,6 +84,9 @@ module CloudsmithApi
78
84
  #
79
85
  attr_accessor :refresh_url
80
86
 
87
+ #
88
+ attr_accessor :reset_url
89
+
81
90
  # The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero.
82
91
  attr_accessor :scheduled_reset_at
83
92
 
@@ -120,7 +129,9 @@ module CloudsmithApi
120
129
  :'created_by' => :'created_by',
121
130
  :'created_by_url' => :'created_by_url',
122
131
  :'default' => :'default',
132
+ :'disable_url' => :'disable_url',
123
133
  :'downloads' => :'downloads',
134
+ :'enable_url' => :'enable_url',
124
135
  :'has_limits' => :'has_limits',
125
136
  :'identifier' => :'identifier',
126
137
  :'is_active' => :'is_active',
@@ -136,6 +147,7 @@ module CloudsmithApi
136
147
  :'metadata' => :'metadata',
137
148
  :'name' => :'name',
138
149
  :'refresh_url' => :'refresh_url',
150
+ :'reset_url' => :'reset_url',
139
151
  :'scheduled_reset_at' => :'scheduled_reset_at',
140
152
  :'scheduled_reset_period' => :'scheduled_reset_period',
141
153
  :'self_url' => :'self_url',
@@ -158,7 +170,9 @@ module CloudsmithApi
158
170
  :'created_by' => :'String',
159
171
  :'created_by_url' => :'String',
160
172
  :'default' => :'BOOLEAN',
173
+ :'disable_url' => :'String',
161
174
  :'downloads' => :'Integer',
175
+ :'enable_url' => :'String',
162
176
  :'has_limits' => :'BOOLEAN',
163
177
  :'identifier' => :'Integer',
164
178
  :'is_active' => :'BOOLEAN',
@@ -174,6 +188,7 @@ module CloudsmithApi
174
188
  :'metadata' => :'Object',
175
189
  :'name' => :'String',
176
190
  :'refresh_url' => :'String',
191
+ :'reset_url' => :'String',
177
192
  :'scheduled_reset_at' => :'String',
178
193
  :'scheduled_reset_period' => :'String',
179
194
  :'self_url' => :'String',
@@ -216,10 +231,18 @@ module CloudsmithApi
216
231
  self.default = attributes[:'default']
217
232
  end
218
233
 
234
+ if attributes.has_key?(:'disable_url')
235
+ self.disable_url = attributes[:'disable_url']
236
+ end
237
+
219
238
  if attributes.has_key?(:'downloads')
220
239
  self.downloads = attributes[:'downloads']
221
240
  end
222
241
 
242
+ if attributes.has_key?(:'enable_url')
243
+ self.enable_url = attributes[:'enable_url']
244
+ end
245
+
223
246
  if attributes.has_key?(:'has_limits')
224
247
  self.has_limits = attributes[:'has_limits']
225
248
  end
@@ -280,6 +303,10 @@ module CloudsmithApi
280
303
  self.refresh_url = attributes[:'refresh_url']
281
304
  end
282
305
 
306
+ if attributes.has_key?(:'reset_url')
307
+ self.reset_url = attributes[:'reset_url']
308
+ end
309
+
283
310
  if attributes.has_key?(:'scheduled_reset_at')
284
311
  self.scheduled_reset_at = attributes[:'scheduled_reset_at']
285
312
  end
@@ -349,7 +376,9 @@ module CloudsmithApi
349
376
  created_by == o.created_by &&
350
377
  created_by_url == o.created_by_url &&
351
378
  default == o.default &&
379
+ disable_url == o.disable_url &&
352
380
  downloads == o.downloads &&
381
+ enable_url == o.enable_url &&
353
382
  has_limits == o.has_limits &&
354
383
  identifier == o.identifier &&
355
384
  is_active == o.is_active &&
@@ -365,6 +394,7 @@ module CloudsmithApi
365
394
  metadata == o.metadata &&
366
395
  name == o.name &&
367
396
  refresh_url == o.refresh_url &&
397
+ reset_url == o.reset_url &&
368
398
  scheduled_reset_at == o.scheduled_reset_at &&
369
399
  scheduled_reset_period == o.scheduled_reset_period &&
370
400
  self_url == o.self_url &&
@@ -387,7 +417,7 @@ module CloudsmithApi
387
417
  # Calculates hash code according to all attributes.
388
418
  # @return [Fixnum] Hash code
389
419
  def hash
390
- [clients, created_at, created_by, created_by_url, default, downloads, 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, scheduled_reset_at, scheduled_reset_period, 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
391
421
  end
392
422
 
393
423
  # Builds the object from hash