cloudsmith-api 2.0.12 → 2.0.13

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.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +14 -5
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +7 -0
  6. data/docs/CargoPackageUpload.md +7 -0
  7. data/docs/CocoapodsPackageUpload.md +7 -0
  8. data/docs/ComposerPackageUpload.md +7 -0
  9. data/docs/ConanPackageUpload.md +7 -0
  10. data/docs/CondaPackageUpload.md +7 -0
  11. data/docs/CranPackageUpload.md +7 -0
  12. data/docs/DartPackageUpload.md +7 -0
  13. data/docs/DebPackageUpload.md +7 -0
  14. data/docs/DockerPackageUpload.md +7 -0
  15. data/docs/GoPackageUpload.md +7 -0
  16. data/docs/HelmPackageUpload.md +7 -0
  17. data/docs/HexPackageUpload.md +7 -0
  18. data/docs/LuarocksPackageUpload.md +7 -0
  19. data/docs/MavenPackageUpload.md +7 -0
  20. data/docs/NpmPackageUpload.md +7 -0
  21. data/docs/NugetPackageUpload.md +7 -0
  22. data/docs/OrganizationMembership.md +1 -1
  23. data/docs/OrgsApi.md +358 -0
  24. data/docs/P2PackageUpload.md +7 -0
  25. data/docs/Package.md +7 -0
  26. data/docs/PackageCopy.md +7 -0
  27. data/docs/PackageMove.md +7 -0
  28. data/docs/PackageQuarantine.md +7 -0
  29. data/docs/PackageResync.md +7 -0
  30. data/docs/PackageStatus.md +7 -0
  31. data/docs/PackageTag.md +7 -0
  32. data/docs/PackagesApi.md +4 -4
  33. data/docs/ProviderSettings.md +14 -0
  34. data/docs/ProviderSettingsRequest.md +12 -0
  35. data/docs/ProviderSettingsRequestPatch.md +12 -0
  36. data/docs/PythonPackageUpload.md +7 -0
  37. data/docs/RawPackageUpload.md +7 -0
  38. data/docs/RpmPackageUpload.md +7 -0
  39. data/docs/RubyPackageUpload.md +7 -0
  40. data/docs/StatusBasic.md +1 -1
  41. data/docs/SwiftPackageUpload.md +7 -0
  42. data/docs/TerraformPackageUpload.md +7 -0
  43. data/docs/VagrantPackageUpload.md +7 -0
  44. data/lib/cloudsmith-api/api/orgs_api.rb +358 -0
  45. data/lib/cloudsmith-api/api/packages_api.rb +4 -4
  46. data/lib/cloudsmith-api/models/alpine_package_upload.rb +64 -1
  47. data/lib/cloudsmith-api/models/cargo_package_upload.rb +64 -1
  48. data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +64 -1
  49. data/lib/cloudsmith-api/models/composer_package_upload.rb +64 -1
  50. data/lib/cloudsmith-api/models/conan_package_upload.rb +64 -1
  51. data/lib/cloudsmith-api/models/conda_package_upload.rb +64 -1
  52. data/lib/cloudsmith-api/models/cran_package_upload.rb +64 -1
  53. data/lib/cloudsmith-api/models/dart_package_upload.rb +64 -1
  54. data/lib/cloudsmith-api/models/deb_package_upload.rb +64 -1
  55. data/lib/cloudsmith-api/models/docker_package_upload.rb +64 -1
  56. data/lib/cloudsmith-api/models/go_package_upload.rb +64 -1
  57. data/lib/cloudsmith-api/models/helm_package_upload.rb +64 -1
  58. data/lib/cloudsmith-api/models/hex_package_upload.rb +64 -1
  59. data/lib/cloudsmith-api/models/luarocks_package_upload.rb +64 -1
  60. data/lib/cloudsmith-api/models/maven_package_upload.rb +64 -1
  61. data/lib/cloudsmith-api/models/npm_package_upload.rb +64 -1
  62. data/lib/cloudsmith-api/models/nuget_package_upload.rb +64 -1
  63. data/lib/cloudsmith-api/models/organization_membership.rb +1 -1
  64. data/lib/cloudsmith-api/models/p2_package_upload.rb +64 -1
  65. data/lib/cloudsmith-api/models/package.rb +64 -1
  66. data/lib/cloudsmith-api/models/package_copy.rb +64 -1
  67. data/lib/cloudsmith-api/models/package_move.rb +64 -1
  68. data/lib/cloudsmith-api/models/package_quarantine.rb +64 -1
  69. data/lib/cloudsmith-api/models/package_resync.rb +64 -1
  70. data/lib/cloudsmith-api/models/package_status.rb +64 -1
  71. data/lib/cloudsmith-api/models/package_tag.rb +64 -1
  72. data/lib/cloudsmith-api/models/provider_settings.rb +272 -0
  73. data/lib/cloudsmith-api/models/provider_settings_request.rb +252 -0
  74. data/lib/cloudsmith-api/models/provider_settings_request_patch.rb +227 -0
  75. data/lib/cloudsmith-api/models/python_package_upload.rb +64 -1
  76. data/lib/cloudsmith-api/models/raw_package_upload.rb +64 -1
  77. data/lib/cloudsmith-api/models/rpm_package_upload.rb +64 -1
  78. data/lib/cloudsmith-api/models/ruby_package_upload.rb +64 -1
  79. data/lib/cloudsmith-api/models/status_basic.rb +1 -1
  80. data/lib/cloudsmith-api/models/swift_package_upload.rb +64 -1
  81. data/lib/cloudsmith-api/models/terraform_package_upload.rb +64 -1
  82. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +64 -1
  83. data/lib/cloudsmith-api/version.rb +1 -1
  84. data/lib/cloudsmith-api.rb +3 -0
  85. data/spec/api/orgs_api_spec.rb +81 -0
  86. data/spec/api/packages_api_spec.rb +2 -2
  87. data/spec/models/alpine_package_upload_spec.rb +42 -0
  88. data/spec/models/cargo_package_upload_spec.rb +42 -0
  89. data/spec/models/cocoapods_package_upload_spec.rb +42 -0
  90. data/spec/models/composer_package_upload_spec.rb +42 -0
  91. data/spec/models/conan_package_upload_spec.rb +42 -0
  92. data/spec/models/conda_package_upload_spec.rb +42 -0
  93. data/spec/models/cran_package_upload_spec.rb +42 -0
  94. data/spec/models/dart_package_upload_spec.rb +42 -0
  95. data/spec/models/deb_package_upload_spec.rb +42 -0
  96. data/spec/models/docker_package_upload_spec.rb +42 -0
  97. data/spec/models/go_package_upload_spec.rb +42 -0
  98. data/spec/models/helm_package_upload_spec.rb +42 -0
  99. data/spec/models/hex_package_upload_spec.rb +42 -0
  100. data/spec/models/luarocks_package_upload_spec.rb +42 -0
  101. data/spec/models/maven_package_upload_spec.rb +42 -0
  102. data/spec/models/npm_package_upload_spec.rb +42 -0
  103. data/spec/models/nuget_package_upload_spec.rb +42 -0
  104. data/spec/models/p2_package_upload_spec.rb +42 -0
  105. data/spec/models/package_copy_spec.rb +42 -0
  106. data/spec/models/package_move_spec.rb +42 -0
  107. data/spec/models/package_quarantine_spec.rb +42 -0
  108. data/spec/models/package_resync_spec.rb +42 -0
  109. data/spec/models/package_spec.rb +42 -0
  110. data/spec/models/package_status_spec.rb +42 -0
  111. data/spec/models/package_tag_spec.rb +42 -0
  112. data/spec/models/provider_settings_request_patch_spec.rb +65 -0
  113. data/spec/models/provider_settings_request_spec.rb +65 -0
  114. data/spec/models/provider_settings_spec.rb +77 -0
  115. data/spec/models/python_package_upload_spec.rb +42 -0
  116. data/spec/models/raw_package_upload_spec.rb +42 -0
  117. data/spec/models/rpm_package_upload_spec.rb +42 -0
  118. data/spec/models/ruby_package_upload_spec.rb +42 -0
  119. data/spec/models/swift_package_upload_spec.rb +42 -0
  120. data/spec/models/terraform_package_upload_spec.rb +42 -0
  121. data/spec/models/vagrant_package_upload_spec.rb +42 -0
  122. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.21/gem_make.out +1 -1
  123. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7/gem_make.out +2 -2
  124. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7/mkmf.log +5 -5
  125. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/gem_make.out +2 -2
  126. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/mkmf.log +1 -1
  127. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/gem_make.out +1 -1
  128. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/mkmf.log +1 -1
  129. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal/Makefile +2 -2
  130. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +2 -2
  131. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/Makefile +2 -2
  132. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/Makefile +2 -2
  133. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/parser/Makefile +2 -2
  134. metadata +15 -3
@@ -58,10 +58,24 @@ class HexPackageUpload
58
58
 
59
59
  attr_accessor :indexed
60
60
 
61
+ attr_accessor :is_cancellable
62
+
63
+ attr_accessor :is_copyable
64
+
65
+ attr_accessor :is_deleteable
66
+
61
67
  attr_accessor :is_downloadable
62
68
 
69
+ attr_accessor :is_moveable
70
+
71
+ attr_accessor :is_quarantinable
72
+
63
73
  attr_accessor :is_quarantined
64
74
 
75
+ attr_accessor :is_resyncable
76
+
77
+ attr_accessor :is_security_scannable
78
+
65
79
  attr_accessor :is_sync_awaiting
66
80
 
67
81
  attr_accessor :is_sync_completed
@@ -218,8 +232,15 @@ class HexPackageUpload
218
232
  :'format_url' => :'format_url',
219
233
  :'identifier_perm' => :'identifier_perm',
220
234
  :'indexed' => :'indexed',
235
+ :'is_cancellable' => :'is_cancellable',
236
+ :'is_copyable' => :'is_copyable',
237
+ :'is_deleteable' => :'is_deleteable',
221
238
  :'is_downloadable' => :'is_downloadable',
239
+ :'is_moveable' => :'is_moveable',
240
+ :'is_quarantinable' => :'is_quarantinable',
222
241
  :'is_quarantined' => :'is_quarantined',
242
+ :'is_resyncable' => :'is_resyncable',
243
+ :'is_security_scannable' => :'is_security_scannable',
223
244
  :'is_sync_awaiting' => :'is_sync_awaiting',
224
245
  :'is_sync_completed' => :'is_sync_completed',
225
246
  :'is_sync_failed' => :'is_sync_failed',
@@ -292,8 +313,15 @@ class HexPackageUpload
292
313
  :'format_url' => :'String',
293
314
  :'identifier_perm' => :'String',
294
315
  :'indexed' => :'BOOLEAN',
316
+ :'is_cancellable' => :'BOOLEAN',
317
+ :'is_copyable' => :'BOOLEAN',
318
+ :'is_deleteable' => :'BOOLEAN',
295
319
  :'is_downloadable' => :'BOOLEAN',
320
+ :'is_moveable' => :'BOOLEAN',
321
+ :'is_quarantinable' => :'BOOLEAN',
296
322
  :'is_quarantined' => :'BOOLEAN',
323
+ :'is_resyncable' => :'BOOLEAN',
324
+ :'is_security_scannable' => :'BOOLEAN',
297
325
  :'is_sync_awaiting' => :'BOOLEAN',
298
326
  :'is_sync_completed' => :'BOOLEAN',
299
327
  :'is_sync_failed' => :'BOOLEAN',
@@ -435,14 +463,42 @@ class HexPackageUpload
435
463
  self.indexed = attributes[:'indexed']
436
464
  end
437
465
 
466
+ if attributes.has_key?(:'is_cancellable')
467
+ self.is_cancellable = attributes[:'is_cancellable']
468
+ end
469
+
470
+ if attributes.has_key?(:'is_copyable')
471
+ self.is_copyable = attributes[:'is_copyable']
472
+ end
473
+
474
+ if attributes.has_key?(:'is_deleteable')
475
+ self.is_deleteable = attributes[:'is_deleteable']
476
+ end
477
+
438
478
  if attributes.has_key?(:'is_downloadable')
439
479
  self.is_downloadable = attributes[:'is_downloadable']
440
480
  end
441
481
 
482
+ if attributes.has_key?(:'is_moveable')
483
+ self.is_moveable = attributes[:'is_moveable']
484
+ end
485
+
486
+ if attributes.has_key?(:'is_quarantinable')
487
+ self.is_quarantinable = attributes[:'is_quarantinable']
488
+ end
489
+
442
490
  if attributes.has_key?(:'is_quarantined')
443
491
  self.is_quarantined = attributes[:'is_quarantined']
444
492
  end
445
493
 
494
+ if attributes.has_key?(:'is_resyncable')
495
+ self.is_resyncable = attributes[:'is_resyncable']
496
+ end
497
+
498
+ if attributes.has_key?(:'is_security_scannable')
499
+ self.is_security_scannable = attributes[:'is_security_scannable']
500
+ end
501
+
446
502
  if attributes.has_key?(:'is_sync_awaiting')
447
503
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
448
504
  end
@@ -680,8 +736,15 @@ class HexPackageUpload
680
736
  format_url == o.format_url &&
681
737
  identifier_perm == o.identifier_perm &&
682
738
  indexed == o.indexed &&
739
+ is_cancellable == o.is_cancellable &&
740
+ is_copyable == o.is_copyable &&
741
+ is_deleteable == o.is_deleteable &&
683
742
  is_downloadable == o.is_downloadable &&
743
+ is_moveable == o.is_moveable &&
744
+ is_quarantinable == o.is_quarantinable &&
684
745
  is_quarantined == o.is_quarantined &&
746
+ is_resyncable == o.is_resyncable &&
747
+ is_security_scannable == o.is_security_scannable &&
685
748
  is_sync_awaiting == o.is_sync_awaiting &&
686
749
  is_sync_completed == o.is_sync_completed &&
687
750
  is_sync_failed == o.is_sync_failed &&
@@ -739,7 +802,7 @@ class HexPackageUpload
739
802
  # Calculates hash code according to all attributes.
740
803
  # @return [Fixnum] Hash code
741
804
  def hash
742
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_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
805
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_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
743
806
  end
744
807
 
745
808
  # Builds the object from hash
@@ -58,10 +58,24 @@ class LuarocksPackageUpload
58
58
 
59
59
  attr_accessor :indexed
60
60
 
61
+ attr_accessor :is_cancellable
62
+
63
+ attr_accessor :is_copyable
64
+
65
+ attr_accessor :is_deleteable
66
+
61
67
  attr_accessor :is_downloadable
62
68
 
69
+ attr_accessor :is_moveable
70
+
71
+ attr_accessor :is_quarantinable
72
+
63
73
  attr_accessor :is_quarantined
64
74
 
75
+ attr_accessor :is_resyncable
76
+
77
+ attr_accessor :is_security_scannable
78
+
65
79
  attr_accessor :is_sync_awaiting
66
80
 
67
81
  attr_accessor :is_sync_completed
@@ -218,8 +232,15 @@ class LuarocksPackageUpload
218
232
  :'format_url' => :'format_url',
219
233
  :'identifier_perm' => :'identifier_perm',
220
234
  :'indexed' => :'indexed',
235
+ :'is_cancellable' => :'is_cancellable',
236
+ :'is_copyable' => :'is_copyable',
237
+ :'is_deleteable' => :'is_deleteable',
221
238
  :'is_downloadable' => :'is_downloadable',
239
+ :'is_moveable' => :'is_moveable',
240
+ :'is_quarantinable' => :'is_quarantinable',
222
241
  :'is_quarantined' => :'is_quarantined',
242
+ :'is_resyncable' => :'is_resyncable',
243
+ :'is_security_scannable' => :'is_security_scannable',
223
244
  :'is_sync_awaiting' => :'is_sync_awaiting',
224
245
  :'is_sync_completed' => :'is_sync_completed',
225
246
  :'is_sync_failed' => :'is_sync_failed',
@@ -292,8 +313,15 @@ class LuarocksPackageUpload
292
313
  :'format_url' => :'String',
293
314
  :'identifier_perm' => :'String',
294
315
  :'indexed' => :'BOOLEAN',
316
+ :'is_cancellable' => :'BOOLEAN',
317
+ :'is_copyable' => :'BOOLEAN',
318
+ :'is_deleteable' => :'BOOLEAN',
295
319
  :'is_downloadable' => :'BOOLEAN',
320
+ :'is_moveable' => :'BOOLEAN',
321
+ :'is_quarantinable' => :'BOOLEAN',
296
322
  :'is_quarantined' => :'BOOLEAN',
323
+ :'is_resyncable' => :'BOOLEAN',
324
+ :'is_security_scannable' => :'BOOLEAN',
297
325
  :'is_sync_awaiting' => :'BOOLEAN',
298
326
  :'is_sync_completed' => :'BOOLEAN',
299
327
  :'is_sync_failed' => :'BOOLEAN',
@@ -435,14 +463,42 @@ class LuarocksPackageUpload
435
463
  self.indexed = attributes[:'indexed']
436
464
  end
437
465
 
466
+ if attributes.has_key?(:'is_cancellable')
467
+ self.is_cancellable = attributes[:'is_cancellable']
468
+ end
469
+
470
+ if attributes.has_key?(:'is_copyable')
471
+ self.is_copyable = attributes[:'is_copyable']
472
+ end
473
+
474
+ if attributes.has_key?(:'is_deleteable')
475
+ self.is_deleteable = attributes[:'is_deleteable']
476
+ end
477
+
438
478
  if attributes.has_key?(:'is_downloadable')
439
479
  self.is_downloadable = attributes[:'is_downloadable']
440
480
  end
441
481
 
482
+ if attributes.has_key?(:'is_moveable')
483
+ self.is_moveable = attributes[:'is_moveable']
484
+ end
485
+
486
+ if attributes.has_key?(:'is_quarantinable')
487
+ self.is_quarantinable = attributes[:'is_quarantinable']
488
+ end
489
+
442
490
  if attributes.has_key?(:'is_quarantined')
443
491
  self.is_quarantined = attributes[:'is_quarantined']
444
492
  end
445
493
 
494
+ if attributes.has_key?(:'is_resyncable')
495
+ self.is_resyncable = attributes[:'is_resyncable']
496
+ end
497
+
498
+ if attributes.has_key?(:'is_security_scannable')
499
+ self.is_security_scannable = attributes[:'is_security_scannable']
500
+ end
501
+
446
502
  if attributes.has_key?(:'is_sync_awaiting')
447
503
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
448
504
  end
@@ -680,8 +736,15 @@ class LuarocksPackageUpload
680
736
  format_url == o.format_url &&
681
737
  identifier_perm == o.identifier_perm &&
682
738
  indexed == o.indexed &&
739
+ is_cancellable == o.is_cancellable &&
740
+ is_copyable == o.is_copyable &&
741
+ is_deleteable == o.is_deleteable &&
683
742
  is_downloadable == o.is_downloadable &&
743
+ is_moveable == o.is_moveable &&
744
+ is_quarantinable == o.is_quarantinable &&
684
745
  is_quarantined == o.is_quarantined &&
746
+ is_resyncable == o.is_resyncable &&
747
+ is_security_scannable == o.is_security_scannable &&
685
748
  is_sync_awaiting == o.is_sync_awaiting &&
686
749
  is_sync_completed == o.is_sync_completed &&
687
750
  is_sync_failed == o.is_sync_failed &&
@@ -739,7 +802,7 @@ class LuarocksPackageUpload
739
802
  # Calculates hash code according to all attributes.
740
803
  # @return [Fixnum] Hash code
741
804
  def hash
742
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_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
805
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_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
743
806
  end
744
807
 
745
808
  # Builds the object from hash
@@ -64,10 +64,24 @@ class MavenPackageUpload
64
64
 
65
65
  attr_accessor :indexed
66
66
 
67
+ attr_accessor :is_cancellable
68
+
69
+ attr_accessor :is_copyable
70
+
71
+ attr_accessor :is_deleteable
72
+
67
73
  attr_accessor :is_downloadable
68
74
 
75
+ attr_accessor :is_moveable
76
+
77
+ attr_accessor :is_quarantinable
78
+
69
79
  attr_accessor :is_quarantined
70
80
 
81
+ attr_accessor :is_resyncable
82
+
83
+ attr_accessor :is_security_scannable
84
+
71
85
  attr_accessor :is_sync_awaiting
72
86
 
73
87
  attr_accessor :is_sync_completed
@@ -233,8 +247,15 @@ class MavenPackageUpload
233
247
  :'group_id' => :'group_id',
234
248
  :'identifier_perm' => :'identifier_perm',
235
249
  :'indexed' => :'indexed',
250
+ :'is_cancellable' => :'is_cancellable',
251
+ :'is_copyable' => :'is_copyable',
252
+ :'is_deleteable' => :'is_deleteable',
236
253
  :'is_downloadable' => :'is_downloadable',
254
+ :'is_moveable' => :'is_moveable',
255
+ :'is_quarantinable' => :'is_quarantinable',
237
256
  :'is_quarantined' => :'is_quarantined',
257
+ :'is_resyncable' => :'is_resyncable',
258
+ :'is_security_scannable' => :'is_security_scannable',
238
259
  :'is_sync_awaiting' => :'is_sync_awaiting',
239
260
  :'is_sync_completed' => :'is_sync_completed',
240
261
  :'is_sync_failed' => :'is_sync_failed',
@@ -312,8 +333,15 @@ class MavenPackageUpload
312
333
  :'group_id' => :'String',
313
334
  :'identifier_perm' => :'String',
314
335
  :'indexed' => :'BOOLEAN',
336
+ :'is_cancellable' => :'BOOLEAN',
337
+ :'is_copyable' => :'BOOLEAN',
338
+ :'is_deleteable' => :'BOOLEAN',
315
339
  :'is_downloadable' => :'BOOLEAN',
340
+ :'is_moveable' => :'BOOLEAN',
341
+ :'is_quarantinable' => :'BOOLEAN',
316
342
  :'is_quarantined' => :'BOOLEAN',
343
+ :'is_resyncable' => :'BOOLEAN',
344
+ :'is_security_scannable' => :'BOOLEAN',
317
345
  :'is_sync_awaiting' => :'BOOLEAN',
318
346
  :'is_sync_completed' => :'BOOLEAN',
319
347
  :'is_sync_failed' => :'BOOLEAN',
@@ -466,14 +494,42 @@ class MavenPackageUpload
466
494
  self.indexed = attributes[:'indexed']
467
495
  end
468
496
 
497
+ if attributes.has_key?(:'is_cancellable')
498
+ self.is_cancellable = attributes[:'is_cancellable']
499
+ end
500
+
501
+ if attributes.has_key?(:'is_copyable')
502
+ self.is_copyable = attributes[:'is_copyable']
503
+ end
504
+
505
+ if attributes.has_key?(:'is_deleteable')
506
+ self.is_deleteable = attributes[:'is_deleteable']
507
+ end
508
+
469
509
  if attributes.has_key?(:'is_downloadable')
470
510
  self.is_downloadable = attributes[:'is_downloadable']
471
511
  end
472
512
 
513
+ if attributes.has_key?(:'is_moveable')
514
+ self.is_moveable = attributes[:'is_moveable']
515
+ end
516
+
517
+ if attributes.has_key?(:'is_quarantinable')
518
+ self.is_quarantinable = attributes[:'is_quarantinable']
519
+ end
520
+
473
521
  if attributes.has_key?(:'is_quarantined')
474
522
  self.is_quarantined = attributes[:'is_quarantined']
475
523
  end
476
524
 
525
+ if attributes.has_key?(:'is_resyncable')
526
+ self.is_resyncable = attributes[:'is_resyncable']
527
+ end
528
+
529
+ if attributes.has_key?(:'is_security_scannable')
530
+ self.is_security_scannable = attributes[:'is_security_scannable']
531
+ end
532
+
477
533
  if attributes.has_key?(:'is_sync_awaiting')
478
534
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
479
535
  end
@@ -725,8 +781,15 @@ class MavenPackageUpload
725
781
  group_id == o.group_id &&
726
782
  identifier_perm == o.identifier_perm &&
727
783
  indexed == o.indexed &&
784
+ is_cancellable == o.is_cancellable &&
785
+ is_copyable == o.is_copyable &&
786
+ is_deleteable == o.is_deleteable &&
728
787
  is_downloadable == o.is_downloadable &&
788
+ is_moveable == o.is_moveable &&
789
+ is_quarantinable == o.is_quarantinable &&
729
790
  is_quarantined == o.is_quarantined &&
791
+ is_resyncable == o.is_resyncable &&
792
+ is_security_scannable == o.is_security_scannable &&
730
793
  is_sync_awaiting == o.is_sync_awaiting &&
731
794
  is_sync_completed == o.is_sync_completed &&
732
795
  is_sync_failed == o.is_sync_failed &&
@@ -787,7 +850,7 @@ class MavenPackageUpload
787
850
  # Calculates hash code according to all attributes.
788
851
  # @return [Fixnum] Hash code
789
852
  def hash
790
- [architectures, artifact_id, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, group_id, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, packaging, release, repository, repository_url, sbt_version, scala_version, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_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
853
+ [architectures, artifact_id, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, group_id, identifier_perm, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, packaging, release, repository, repository_url, sbt_version, scala_version, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_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
791
854
  end
792
855
 
793
856
  # Builds the object from hash
@@ -58,10 +58,24 @@ class NpmPackageUpload
58
58
 
59
59
  attr_accessor :indexed
60
60
 
61
+ attr_accessor :is_cancellable
62
+
63
+ attr_accessor :is_copyable
64
+
65
+ attr_accessor :is_deleteable
66
+
61
67
  attr_accessor :is_downloadable
62
68
 
69
+ attr_accessor :is_moveable
70
+
71
+ attr_accessor :is_quarantinable
72
+
63
73
  attr_accessor :is_quarantined
64
74
 
75
+ attr_accessor :is_resyncable
76
+
77
+ attr_accessor :is_security_scannable
78
+
65
79
  attr_accessor :is_sync_awaiting
66
80
 
67
81
  attr_accessor :is_sync_completed
@@ -218,8 +232,15 @@ class NpmPackageUpload
218
232
  :'format_url' => :'format_url',
219
233
  :'identifier_perm' => :'identifier_perm',
220
234
  :'indexed' => :'indexed',
235
+ :'is_cancellable' => :'is_cancellable',
236
+ :'is_copyable' => :'is_copyable',
237
+ :'is_deleteable' => :'is_deleteable',
221
238
  :'is_downloadable' => :'is_downloadable',
239
+ :'is_moveable' => :'is_moveable',
240
+ :'is_quarantinable' => :'is_quarantinable',
222
241
  :'is_quarantined' => :'is_quarantined',
242
+ :'is_resyncable' => :'is_resyncable',
243
+ :'is_security_scannable' => :'is_security_scannable',
223
244
  :'is_sync_awaiting' => :'is_sync_awaiting',
224
245
  :'is_sync_completed' => :'is_sync_completed',
225
246
  :'is_sync_failed' => :'is_sync_failed',
@@ -292,8 +313,15 @@ class NpmPackageUpload
292
313
  :'format_url' => :'String',
293
314
  :'identifier_perm' => :'String',
294
315
  :'indexed' => :'BOOLEAN',
316
+ :'is_cancellable' => :'BOOLEAN',
317
+ :'is_copyable' => :'BOOLEAN',
318
+ :'is_deleteable' => :'BOOLEAN',
295
319
  :'is_downloadable' => :'BOOLEAN',
320
+ :'is_moveable' => :'BOOLEAN',
321
+ :'is_quarantinable' => :'BOOLEAN',
296
322
  :'is_quarantined' => :'BOOLEAN',
323
+ :'is_resyncable' => :'BOOLEAN',
324
+ :'is_security_scannable' => :'BOOLEAN',
297
325
  :'is_sync_awaiting' => :'BOOLEAN',
298
326
  :'is_sync_completed' => :'BOOLEAN',
299
327
  :'is_sync_failed' => :'BOOLEAN',
@@ -435,14 +463,42 @@ class NpmPackageUpload
435
463
  self.indexed = attributes[:'indexed']
436
464
  end
437
465
 
466
+ if attributes.has_key?(:'is_cancellable')
467
+ self.is_cancellable = attributes[:'is_cancellable']
468
+ end
469
+
470
+ if attributes.has_key?(:'is_copyable')
471
+ self.is_copyable = attributes[:'is_copyable']
472
+ end
473
+
474
+ if attributes.has_key?(:'is_deleteable')
475
+ self.is_deleteable = attributes[:'is_deleteable']
476
+ end
477
+
438
478
  if attributes.has_key?(:'is_downloadable')
439
479
  self.is_downloadable = attributes[:'is_downloadable']
440
480
  end
441
481
 
482
+ if attributes.has_key?(:'is_moveable')
483
+ self.is_moveable = attributes[:'is_moveable']
484
+ end
485
+
486
+ if attributes.has_key?(:'is_quarantinable')
487
+ self.is_quarantinable = attributes[:'is_quarantinable']
488
+ end
489
+
442
490
  if attributes.has_key?(:'is_quarantined')
443
491
  self.is_quarantined = attributes[:'is_quarantined']
444
492
  end
445
493
 
494
+ if attributes.has_key?(:'is_resyncable')
495
+ self.is_resyncable = attributes[:'is_resyncable']
496
+ end
497
+
498
+ if attributes.has_key?(:'is_security_scannable')
499
+ self.is_security_scannable = attributes[:'is_security_scannable']
500
+ end
501
+
446
502
  if attributes.has_key?(:'is_sync_awaiting')
447
503
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
448
504
  end
@@ -680,8 +736,15 @@ class NpmPackageUpload
680
736
  format_url == o.format_url &&
681
737
  identifier_perm == o.identifier_perm &&
682
738
  indexed == o.indexed &&
739
+ is_cancellable == o.is_cancellable &&
740
+ is_copyable == o.is_copyable &&
741
+ is_deleteable == o.is_deleteable &&
683
742
  is_downloadable == o.is_downloadable &&
743
+ is_moveable == o.is_moveable &&
744
+ is_quarantinable == o.is_quarantinable &&
684
745
  is_quarantined == o.is_quarantined &&
746
+ is_resyncable == o.is_resyncable &&
747
+ is_security_scannable == o.is_security_scannable &&
685
748
  is_sync_awaiting == o.is_sync_awaiting &&
686
749
  is_sync_completed == o.is_sync_completed &&
687
750
  is_sync_failed == o.is_sync_failed &&
@@ -739,7 +802,7 @@ class NpmPackageUpload
739
802
  # Calculates hash code according to all attributes.
740
803
  # @return [Fixnum] Hash code
741
804
  def hash
742
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_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
805
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_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
743
806
  end
744
807
 
745
808
  # Builds the object from hash
@@ -58,10 +58,24 @@ class NugetPackageUpload
58
58
 
59
59
  attr_accessor :indexed
60
60
 
61
+ attr_accessor :is_cancellable
62
+
63
+ attr_accessor :is_copyable
64
+
65
+ attr_accessor :is_deleteable
66
+
61
67
  attr_accessor :is_downloadable
62
68
 
69
+ attr_accessor :is_moveable
70
+
71
+ attr_accessor :is_quarantinable
72
+
63
73
  attr_accessor :is_quarantined
64
74
 
75
+ attr_accessor :is_resyncable
76
+
77
+ attr_accessor :is_security_scannable
78
+
65
79
  attr_accessor :is_sync_awaiting
66
80
 
67
81
  attr_accessor :is_sync_completed
@@ -218,8 +232,15 @@ class NugetPackageUpload
218
232
  :'format_url' => :'format_url',
219
233
  :'identifier_perm' => :'identifier_perm',
220
234
  :'indexed' => :'indexed',
235
+ :'is_cancellable' => :'is_cancellable',
236
+ :'is_copyable' => :'is_copyable',
237
+ :'is_deleteable' => :'is_deleteable',
221
238
  :'is_downloadable' => :'is_downloadable',
239
+ :'is_moveable' => :'is_moveable',
240
+ :'is_quarantinable' => :'is_quarantinable',
222
241
  :'is_quarantined' => :'is_quarantined',
242
+ :'is_resyncable' => :'is_resyncable',
243
+ :'is_security_scannable' => :'is_security_scannable',
223
244
  :'is_sync_awaiting' => :'is_sync_awaiting',
224
245
  :'is_sync_completed' => :'is_sync_completed',
225
246
  :'is_sync_failed' => :'is_sync_failed',
@@ -292,8 +313,15 @@ class NugetPackageUpload
292
313
  :'format_url' => :'String',
293
314
  :'identifier_perm' => :'String',
294
315
  :'indexed' => :'BOOLEAN',
316
+ :'is_cancellable' => :'BOOLEAN',
317
+ :'is_copyable' => :'BOOLEAN',
318
+ :'is_deleteable' => :'BOOLEAN',
295
319
  :'is_downloadable' => :'BOOLEAN',
320
+ :'is_moveable' => :'BOOLEAN',
321
+ :'is_quarantinable' => :'BOOLEAN',
296
322
  :'is_quarantined' => :'BOOLEAN',
323
+ :'is_resyncable' => :'BOOLEAN',
324
+ :'is_security_scannable' => :'BOOLEAN',
297
325
  :'is_sync_awaiting' => :'BOOLEAN',
298
326
  :'is_sync_completed' => :'BOOLEAN',
299
327
  :'is_sync_failed' => :'BOOLEAN',
@@ -435,14 +463,42 @@ class NugetPackageUpload
435
463
  self.indexed = attributes[:'indexed']
436
464
  end
437
465
 
466
+ if attributes.has_key?(:'is_cancellable')
467
+ self.is_cancellable = attributes[:'is_cancellable']
468
+ end
469
+
470
+ if attributes.has_key?(:'is_copyable')
471
+ self.is_copyable = attributes[:'is_copyable']
472
+ end
473
+
474
+ if attributes.has_key?(:'is_deleteable')
475
+ self.is_deleteable = attributes[:'is_deleteable']
476
+ end
477
+
438
478
  if attributes.has_key?(:'is_downloadable')
439
479
  self.is_downloadable = attributes[:'is_downloadable']
440
480
  end
441
481
 
482
+ if attributes.has_key?(:'is_moveable')
483
+ self.is_moveable = attributes[:'is_moveable']
484
+ end
485
+
486
+ if attributes.has_key?(:'is_quarantinable')
487
+ self.is_quarantinable = attributes[:'is_quarantinable']
488
+ end
489
+
442
490
  if attributes.has_key?(:'is_quarantined')
443
491
  self.is_quarantined = attributes[:'is_quarantined']
444
492
  end
445
493
 
494
+ if attributes.has_key?(:'is_resyncable')
495
+ self.is_resyncable = attributes[:'is_resyncable']
496
+ end
497
+
498
+ if attributes.has_key?(:'is_security_scannable')
499
+ self.is_security_scannable = attributes[:'is_security_scannable']
500
+ end
501
+
446
502
  if attributes.has_key?(:'is_sync_awaiting')
447
503
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
448
504
  end
@@ -680,8 +736,15 @@ class NugetPackageUpload
680
736
  format_url == o.format_url &&
681
737
  identifier_perm == o.identifier_perm &&
682
738
  indexed == o.indexed &&
739
+ is_cancellable == o.is_cancellable &&
740
+ is_copyable == o.is_copyable &&
741
+ is_deleteable == o.is_deleteable &&
683
742
  is_downloadable == o.is_downloadable &&
743
+ is_moveable == o.is_moveable &&
744
+ is_quarantinable == o.is_quarantinable &&
684
745
  is_quarantined == o.is_quarantined &&
746
+ is_resyncable == o.is_resyncable &&
747
+ is_security_scannable == o.is_security_scannable &&
685
748
  is_sync_awaiting == o.is_sync_awaiting &&
686
749
  is_sync_completed == o.is_sync_completed &&
687
750
  is_sync_failed == o.is_sync_failed &&
@@ -739,7 +802,7 @@ class NugetPackageUpload
739
802
  # Calculates hash code according to all attributes.
740
803
  # @return [Fixnum] Hash code
741
804
  def hash
742
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_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
805
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_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
743
806
  end
744
807
 
745
808
  # Builds the object from hash
@@ -83,7 +83,7 @@ class OrganizationMembership
83
83
  {
84
84
  :'email' => :'String',
85
85
  :'has_two_factor' => :'BOOLEAN',
86
- :'is_active' => :'String',
86
+ :'is_active' => :'BOOLEAN',
87
87
  :'joined_at' => :'DateTime',
88
88
  :'last_login_at' => :'DateTime',
89
89
  :'last_login_method' => :'String',