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 P2PackageUpload
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 P2PackageUpload
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 P2PackageUpload
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 P2PackageUpload
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 P2PackageUpload
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 P2PackageUpload
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 Package
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
@@ -220,8 +234,15 @@ class Package
220
234
  :'format_url' => :'format_url',
221
235
  :'identifier_perm' => :'identifier_perm',
222
236
  :'indexed' => :'indexed',
237
+ :'is_cancellable' => :'is_cancellable',
238
+ :'is_copyable' => :'is_copyable',
239
+ :'is_deleteable' => :'is_deleteable',
223
240
  :'is_downloadable' => :'is_downloadable',
241
+ :'is_moveable' => :'is_moveable',
242
+ :'is_quarantinable' => :'is_quarantinable',
224
243
  :'is_quarantined' => :'is_quarantined',
244
+ :'is_resyncable' => :'is_resyncable',
245
+ :'is_security_scannable' => :'is_security_scannable',
225
246
  :'is_sync_awaiting' => :'is_sync_awaiting',
226
247
  :'is_sync_completed' => :'is_sync_completed',
227
248
  :'is_sync_failed' => :'is_sync_failed',
@@ -295,8 +316,15 @@ class Package
295
316
  :'format_url' => :'String',
296
317
  :'identifier_perm' => :'String',
297
318
  :'indexed' => :'BOOLEAN',
319
+ :'is_cancellable' => :'BOOLEAN',
320
+ :'is_copyable' => :'BOOLEAN',
321
+ :'is_deleteable' => :'BOOLEAN',
298
322
  :'is_downloadable' => :'BOOLEAN',
323
+ :'is_moveable' => :'BOOLEAN',
324
+ :'is_quarantinable' => :'BOOLEAN',
299
325
  :'is_quarantined' => :'BOOLEAN',
326
+ :'is_resyncable' => :'BOOLEAN',
327
+ :'is_security_scannable' => :'BOOLEAN',
300
328
  :'is_sync_awaiting' => :'BOOLEAN',
301
329
  :'is_sync_completed' => :'BOOLEAN',
302
330
  :'is_sync_failed' => :'BOOLEAN',
@@ -439,14 +467,42 @@ class Package
439
467
  self.indexed = attributes[:'indexed']
440
468
  end
441
469
 
470
+ if attributes.has_key?(:'is_cancellable')
471
+ self.is_cancellable = attributes[:'is_cancellable']
472
+ end
473
+
474
+ if attributes.has_key?(:'is_copyable')
475
+ self.is_copyable = attributes[:'is_copyable']
476
+ end
477
+
478
+ if attributes.has_key?(:'is_deleteable')
479
+ self.is_deleteable = attributes[:'is_deleteable']
480
+ end
481
+
442
482
  if attributes.has_key?(:'is_downloadable')
443
483
  self.is_downloadable = attributes[:'is_downloadable']
444
484
  end
445
485
 
486
+ if attributes.has_key?(:'is_moveable')
487
+ self.is_moveable = attributes[:'is_moveable']
488
+ end
489
+
490
+ if attributes.has_key?(:'is_quarantinable')
491
+ self.is_quarantinable = attributes[:'is_quarantinable']
492
+ end
493
+
446
494
  if attributes.has_key?(:'is_quarantined')
447
495
  self.is_quarantined = attributes[:'is_quarantined']
448
496
  end
449
497
 
498
+ if attributes.has_key?(:'is_resyncable')
499
+ self.is_resyncable = attributes[:'is_resyncable']
500
+ end
501
+
502
+ if attributes.has_key?(:'is_security_scannable')
503
+ self.is_security_scannable = attributes[:'is_security_scannable']
504
+ end
505
+
450
506
  if attributes.has_key?(:'is_sync_awaiting')
451
507
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
452
508
  end
@@ -688,8 +744,15 @@ class Package
688
744
  format_url == o.format_url &&
689
745
  identifier_perm == o.identifier_perm &&
690
746
  indexed == o.indexed &&
747
+ is_cancellable == o.is_cancellable &&
748
+ is_copyable == o.is_copyable &&
749
+ is_deleteable == o.is_deleteable &&
691
750
  is_downloadable == o.is_downloadable &&
751
+ is_moveable == o.is_moveable &&
752
+ is_quarantinable == o.is_quarantinable &&
692
753
  is_quarantined == o.is_quarantined &&
754
+ is_resyncable == o.is_resyncable &&
755
+ is_security_scannable == o.is_security_scannable &&
693
756
  is_sync_awaiting == o.is_sync_awaiting &&
694
757
  is_sync_completed == o.is_sync_completed &&
695
758
  is_sync_failed == o.is_sync_failed &&
@@ -748,7 +811,7 @@ class Package
748
811
  # Calculates hash code according to all attributes.
749
812
  # @return [Fixnum] Hash code
750
813
  def hash
751
- [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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
814
+ [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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
752
815
  end
753
816
 
754
817
  # Builds the object from hash
@@ -58,10 +58,24 @@ class PackageCopy
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
@@ -221,8 +235,15 @@ class PackageCopy
221
235
  :'format_url' => :'format_url',
222
236
  :'identifier_perm' => :'identifier_perm',
223
237
  :'indexed' => :'indexed',
238
+ :'is_cancellable' => :'is_cancellable',
239
+ :'is_copyable' => :'is_copyable',
240
+ :'is_deleteable' => :'is_deleteable',
224
241
  :'is_downloadable' => :'is_downloadable',
242
+ :'is_moveable' => :'is_moveable',
243
+ :'is_quarantinable' => :'is_quarantinable',
225
244
  :'is_quarantined' => :'is_quarantined',
245
+ :'is_resyncable' => :'is_resyncable',
246
+ :'is_security_scannable' => :'is_security_scannable',
226
247
  :'is_sync_awaiting' => :'is_sync_awaiting',
227
248
  :'is_sync_completed' => :'is_sync_completed',
228
249
  :'is_sync_failed' => :'is_sync_failed',
@@ -296,8 +317,15 @@ class PackageCopy
296
317
  :'format_url' => :'String',
297
318
  :'identifier_perm' => :'String',
298
319
  :'indexed' => :'BOOLEAN',
320
+ :'is_cancellable' => :'BOOLEAN',
321
+ :'is_copyable' => :'BOOLEAN',
322
+ :'is_deleteable' => :'BOOLEAN',
299
323
  :'is_downloadable' => :'BOOLEAN',
324
+ :'is_moveable' => :'BOOLEAN',
325
+ :'is_quarantinable' => :'BOOLEAN',
300
326
  :'is_quarantined' => :'BOOLEAN',
327
+ :'is_resyncable' => :'BOOLEAN',
328
+ :'is_security_scannable' => :'BOOLEAN',
301
329
  :'is_sync_awaiting' => :'BOOLEAN',
302
330
  :'is_sync_completed' => :'BOOLEAN',
303
331
  :'is_sync_failed' => :'BOOLEAN',
@@ -440,14 +468,42 @@ class PackageCopy
440
468
  self.indexed = attributes[:'indexed']
441
469
  end
442
470
 
471
+ if attributes.has_key?(:'is_cancellable')
472
+ self.is_cancellable = attributes[:'is_cancellable']
473
+ end
474
+
475
+ if attributes.has_key?(:'is_copyable')
476
+ self.is_copyable = attributes[:'is_copyable']
477
+ end
478
+
479
+ if attributes.has_key?(:'is_deleteable')
480
+ self.is_deleteable = attributes[:'is_deleteable']
481
+ end
482
+
443
483
  if attributes.has_key?(:'is_downloadable')
444
484
  self.is_downloadable = attributes[:'is_downloadable']
445
485
  end
446
486
 
487
+ if attributes.has_key?(:'is_moveable')
488
+ self.is_moveable = attributes[:'is_moveable']
489
+ end
490
+
491
+ if attributes.has_key?(:'is_quarantinable')
492
+ self.is_quarantinable = attributes[:'is_quarantinable']
493
+ end
494
+
447
495
  if attributes.has_key?(:'is_quarantined')
448
496
  self.is_quarantined = attributes[:'is_quarantined']
449
497
  end
450
498
 
499
+ if attributes.has_key?(:'is_resyncable')
500
+ self.is_resyncable = attributes[:'is_resyncable']
501
+ end
502
+
503
+ if attributes.has_key?(:'is_security_scannable')
504
+ self.is_security_scannable = attributes[:'is_security_scannable']
505
+ end
506
+
451
507
  if attributes.has_key?(:'is_sync_awaiting')
452
508
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
453
509
  end
@@ -689,8 +745,15 @@ class PackageCopy
689
745
  format_url == o.format_url &&
690
746
  identifier_perm == o.identifier_perm &&
691
747
  indexed == o.indexed &&
748
+ is_cancellable == o.is_cancellable &&
749
+ is_copyable == o.is_copyable &&
750
+ is_deleteable == o.is_deleteable &&
692
751
  is_downloadable == o.is_downloadable &&
752
+ is_moveable == o.is_moveable &&
753
+ is_quarantinable == o.is_quarantinable &&
693
754
  is_quarantined == o.is_quarantined &&
755
+ is_resyncable == o.is_resyncable &&
756
+ is_security_scannable == o.is_security_scannable &&
694
757
  is_sync_awaiting == o.is_sync_awaiting &&
695
758
  is_sync_completed == o.is_sync_completed &&
696
759
  is_sync_failed == o.is_sync_failed &&
@@ -749,7 +812,7 @@ class PackageCopy
749
812
  # Calculates hash code according to all attributes.
750
813
  # @return [Fixnum] Hash code
751
814
  def hash
752
- [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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
815
+ [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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
753
816
  end
754
817
 
755
818
  # Builds the object from hash
@@ -58,10 +58,24 @@ class PackageMove
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
@@ -221,8 +235,15 @@ class PackageMove
221
235
  :'format_url' => :'format_url',
222
236
  :'identifier_perm' => :'identifier_perm',
223
237
  :'indexed' => :'indexed',
238
+ :'is_cancellable' => :'is_cancellable',
239
+ :'is_copyable' => :'is_copyable',
240
+ :'is_deleteable' => :'is_deleteable',
224
241
  :'is_downloadable' => :'is_downloadable',
242
+ :'is_moveable' => :'is_moveable',
243
+ :'is_quarantinable' => :'is_quarantinable',
225
244
  :'is_quarantined' => :'is_quarantined',
245
+ :'is_resyncable' => :'is_resyncable',
246
+ :'is_security_scannable' => :'is_security_scannable',
226
247
  :'is_sync_awaiting' => :'is_sync_awaiting',
227
248
  :'is_sync_completed' => :'is_sync_completed',
228
249
  :'is_sync_failed' => :'is_sync_failed',
@@ -296,8 +317,15 @@ class PackageMove
296
317
  :'format_url' => :'String',
297
318
  :'identifier_perm' => :'String',
298
319
  :'indexed' => :'BOOLEAN',
320
+ :'is_cancellable' => :'BOOLEAN',
321
+ :'is_copyable' => :'BOOLEAN',
322
+ :'is_deleteable' => :'BOOLEAN',
299
323
  :'is_downloadable' => :'BOOLEAN',
324
+ :'is_moveable' => :'BOOLEAN',
325
+ :'is_quarantinable' => :'BOOLEAN',
300
326
  :'is_quarantined' => :'BOOLEAN',
327
+ :'is_resyncable' => :'BOOLEAN',
328
+ :'is_security_scannable' => :'BOOLEAN',
301
329
  :'is_sync_awaiting' => :'BOOLEAN',
302
330
  :'is_sync_completed' => :'BOOLEAN',
303
331
  :'is_sync_failed' => :'BOOLEAN',
@@ -440,14 +468,42 @@ class PackageMove
440
468
  self.indexed = attributes[:'indexed']
441
469
  end
442
470
 
471
+ if attributes.has_key?(:'is_cancellable')
472
+ self.is_cancellable = attributes[:'is_cancellable']
473
+ end
474
+
475
+ if attributes.has_key?(:'is_copyable')
476
+ self.is_copyable = attributes[:'is_copyable']
477
+ end
478
+
479
+ if attributes.has_key?(:'is_deleteable')
480
+ self.is_deleteable = attributes[:'is_deleteable']
481
+ end
482
+
443
483
  if attributes.has_key?(:'is_downloadable')
444
484
  self.is_downloadable = attributes[:'is_downloadable']
445
485
  end
446
486
 
487
+ if attributes.has_key?(:'is_moveable')
488
+ self.is_moveable = attributes[:'is_moveable']
489
+ end
490
+
491
+ if attributes.has_key?(:'is_quarantinable')
492
+ self.is_quarantinable = attributes[:'is_quarantinable']
493
+ end
494
+
447
495
  if attributes.has_key?(:'is_quarantined')
448
496
  self.is_quarantined = attributes[:'is_quarantined']
449
497
  end
450
498
 
499
+ if attributes.has_key?(:'is_resyncable')
500
+ self.is_resyncable = attributes[:'is_resyncable']
501
+ end
502
+
503
+ if attributes.has_key?(:'is_security_scannable')
504
+ self.is_security_scannable = attributes[:'is_security_scannable']
505
+ end
506
+
451
507
  if attributes.has_key?(:'is_sync_awaiting')
452
508
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
453
509
  end
@@ -689,8 +745,15 @@ class PackageMove
689
745
  format_url == o.format_url &&
690
746
  identifier_perm == o.identifier_perm &&
691
747
  indexed == o.indexed &&
748
+ is_cancellable == o.is_cancellable &&
749
+ is_copyable == o.is_copyable &&
750
+ is_deleteable == o.is_deleteable &&
692
751
  is_downloadable == o.is_downloadable &&
752
+ is_moveable == o.is_moveable &&
753
+ is_quarantinable == o.is_quarantinable &&
693
754
  is_quarantined == o.is_quarantined &&
755
+ is_resyncable == o.is_resyncable &&
756
+ is_security_scannable == o.is_security_scannable &&
694
757
  is_sync_awaiting == o.is_sync_awaiting &&
695
758
  is_sync_completed == o.is_sync_completed &&
696
759
  is_sync_failed == o.is_sync_failed &&
@@ -749,7 +812,7 @@ class PackageMove
749
812
  # Calculates hash code according to all attributes.
750
813
  # @return [Fixnum] Hash code
751
814
  def hash
752
- [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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
815
+ [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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
753
816
  end
754
817
 
755
818
  # Builds the object from hash
@@ -58,10 +58,24 @@ class PackageQuarantine
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
@@ -220,8 +234,15 @@ class PackageQuarantine
220
234
  :'format_url' => :'format_url',
221
235
  :'identifier_perm' => :'identifier_perm',
222
236
  :'indexed' => :'indexed',
237
+ :'is_cancellable' => :'is_cancellable',
238
+ :'is_copyable' => :'is_copyable',
239
+ :'is_deleteable' => :'is_deleteable',
223
240
  :'is_downloadable' => :'is_downloadable',
241
+ :'is_moveable' => :'is_moveable',
242
+ :'is_quarantinable' => :'is_quarantinable',
224
243
  :'is_quarantined' => :'is_quarantined',
244
+ :'is_resyncable' => :'is_resyncable',
245
+ :'is_security_scannable' => :'is_security_scannable',
225
246
  :'is_sync_awaiting' => :'is_sync_awaiting',
226
247
  :'is_sync_completed' => :'is_sync_completed',
227
248
  :'is_sync_failed' => :'is_sync_failed',
@@ -295,8 +316,15 @@ class PackageQuarantine
295
316
  :'format_url' => :'String',
296
317
  :'identifier_perm' => :'String',
297
318
  :'indexed' => :'BOOLEAN',
319
+ :'is_cancellable' => :'BOOLEAN',
320
+ :'is_copyable' => :'BOOLEAN',
321
+ :'is_deleteable' => :'BOOLEAN',
298
322
  :'is_downloadable' => :'BOOLEAN',
323
+ :'is_moveable' => :'BOOLEAN',
324
+ :'is_quarantinable' => :'BOOLEAN',
299
325
  :'is_quarantined' => :'BOOLEAN',
326
+ :'is_resyncable' => :'BOOLEAN',
327
+ :'is_security_scannable' => :'BOOLEAN',
300
328
  :'is_sync_awaiting' => :'BOOLEAN',
301
329
  :'is_sync_completed' => :'BOOLEAN',
302
330
  :'is_sync_failed' => :'BOOLEAN',
@@ -439,14 +467,42 @@ class PackageQuarantine
439
467
  self.indexed = attributes[:'indexed']
440
468
  end
441
469
 
470
+ if attributes.has_key?(:'is_cancellable')
471
+ self.is_cancellable = attributes[:'is_cancellable']
472
+ end
473
+
474
+ if attributes.has_key?(:'is_copyable')
475
+ self.is_copyable = attributes[:'is_copyable']
476
+ end
477
+
478
+ if attributes.has_key?(:'is_deleteable')
479
+ self.is_deleteable = attributes[:'is_deleteable']
480
+ end
481
+
442
482
  if attributes.has_key?(:'is_downloadable')
443
483
  self.is_downloadable = attributes[:'is_downloadable']
444
484
  end
445
485
 
486
+ if attributes.has_key?(:'is_moveable')
487
+ self.is_moveable = attributes[:'is_moveable']
488
+ end
489
+
490
+ if attributes.has_key?(:'is_quarantinable')
491
+ self.is_quarantinable = attributes[:'is_quarantinable']
492
+ end
493
+
446
494
  if attributes.has_key?(:'is_quarantined')
447
495
  self.is_quarantined = attributes[:'is_quarantined']
448
496
  end
449
497
 
498
+ if attributes.has_key?(:'is_resyncable')
499
+ self.is_resyncable = attributes[:'is_resyncable']
500
+ end
501
+
502
+ if attributes.has_key?(:'is_security_scannable')
503
+ self.is_security_scannable = attributes[:'is_security_scannable']
504
+ end
505
+
450
506
  if attributes.has_key?(:'is_sync_awaiting')
451
507
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
452
508
  end
@@ -688,8 +744,15 @@ class PackageQuarantine
688
744
  format_url == o.format_url &&
689
745
  identifier_perm == o.identifier_perm &&
690
746
  indexed == o.indexed &&
747
+ is_cancellable == o.is_cancellable &&
748
+ is_copyable == o.is_copyable &&
749
+ is_deleteable == o.is_deleteable &&
691
750
  is_downloadable == o.is_downloadable &&
751
+ is_moveable == o.is_moveable &&
752
+ is_quarantinable == o.is_quarantinable &&
692
753
  is_quarantined == o.is_quarantined &&
754
+ is_resyncable == o.is_resyncable &&
755
+ is_security_scannable == o.is_security_scannable &&
693
756
  is_sync_awaiting == o.is_sync_awaiting &&
694
757
  is_sync_completed == o.is_sync_completed &&
695
758
  is_sync_failed == o.is_sync_failed &&
@@ -748,7 +811,7 @@ class PackageQuarantine
748
811
  # Calculates hash code according to all attributes.
749
812
  # @return [Fixnum] Hash code
750
813
  def hash
751
- [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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
814
+ [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, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
752
815
  end
753
816
 
754
817
  # Builds the object from hash