cloudsmith-api 2.0.26 → 2.0.27

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 (188) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +24 -5
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +2 -0
  6. data/docs/CargoPackageUpload.md +2 -0
  7. data/docs/CocoapodsPackageUpload.md +2 -0
  8. data/docs/ComposerPackageUpload.md +2 -0
  9. data/docs/ConanPackageUpload.md +2 -0
  10. data/docs/CondaPackageUpload.md +2 -0
  11. data/docs/ConnectedRepository.md +12 -0
  12. data/docs/ConnectedRepositoryRequest.md +10 -0
  13. data/docs/ConnectedRepositoryRequestPatch.md +10 -0
  14. data/docs/CranPackageUpload.md +2 -0
  15. data/docs/DartPackageUpload.md +2 -0
  16. data/docs/DebPackageUpload.md +2 -0
  17. data/docs/DockerPackageUpload.md +2 -0
  18. data/docs/EntitlementsApi.md +2 -0
  19. data/docs/GenericPackageUpload.md +2 -0
  20. data/docs/GoPackageUpload.md +2 -0
  21. data/docs/HelmPackageUpload.md +2 -0
  22. data/docs/HexPackageUpload.md +2 -0
  23. data/docs/HuggingfacePackageUpload.md +2 -0
  24. data/docs/InlineResponse2001.md +1 -1
  25. data/docs/InlineResponse2002.md +8 -0
  26. data/docs/LuarocksPackageUpload.md +2 -0
  27. data/docs/MavenPackageUpload.md +2 -0
  28. data/docs/McpPackageUpload.md +2 -0
  29. data/docs/MemberTeams.md +10 -0
  30. data/docs/NpmPackageUpload.md +2 -0
  31. data/docs/NugetPackageUpload.md +2 -0
  32. data/docs/OrganizationCustomDomainNestedRepo.md +9 -0
  33. data/docs/OrganizationCustomDomains.md +25 -0
  34. data/docs/OrganizationMembership.md +1 -0
  35. data/docs/OrgsApi.md +65 -0
  36. data/docs/P2PackageUpload.md +2 -0
  37. data/docs/Package.md +2 -0
  38. data/docs/PackageCopy.md +2 -0
  39. data/docs/PackageMove.md +2 -0
  40. data/docs/PackageQuarantine.md +2 -0
  41. data/docs/PackageResync.md +2 -0
  42. data/docs/PackageStatus.md +1 -0
  43. data/docs/PackageTag.md +2 -0
  44. data/docs/PythonPackageUpload.md +2 -0
  45. data/docs/RawPackageUpload.md +2 -0
  46. data/docs/RecycleBinApi.md +24 -24
  47. data/docs/ReposApi.md +592 -1
  48. data/docs/Repository.md +1 -0
  49. data/docs/RepositoryCreate.md +1 -0
  50. data/docs/RepositoryCreateRequest.md +1 -0
  51. data/docs/RepositoryEd25519Key.md +13 -0
  52. data/docs/RepositoryEd25519KeyCreate.md +9 -0
  53. data/docs/RepositoryRequestPatch.md +1 -0
  54. data/docs/RpmPackageUpload.md +2 -0
  55. data/docs/RubyPackageUpload.md +2 -0
  56. data/docs/ServiceTeams.md +1 -0
  57. data/docs/SwiftPackageUpload.md +2 -0
  58. data/docs/TerraformPackageUpload.md +2 -0
  59. data/docs/UserApi.md +2 -2
  60. data/docs/VagrantPackageUpload.md +2 -0
  61. data/docs/VsxPackageUpload.md +2 -0
  62. data/lib/cloudsmith-api/api/entitlements_api.rb +3 -0
  63. data/lib/cloudsmith-api/api/orgs_api.rb +60 -0
  64. data/lib/cloudsmith-api/api/recycle_bin_api.rb +41 -41
  65. data/lib/cloudsmith-api/api/repos_api.rb +579 -2
  66. data/lib/cloudsmith-api/api/user_api.rb +3 -3
  67. data/lib/cloudsmith-api/models/alpine_package_upload.rb +20 -1
  68. data/lib/cloudsmith-api/models/cargo_package_upload.rb +20 -1
  69. data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +20 -1
  70. data/lib/cloudsmith-api/models/composer_package_upload.rb +20 -1
  71. data/lib/cloudsmith-api/models/conan_package_upload.rb +20 -1
  72. data/lib/cloudsmith-api/models/conda_package_upload.rb +20 -1
  73. data/lib/cloudsmith-api/models/connected_repository.rb +230 -0
  74. data/lib/cloudsmith-api/models/connected_repository_request.rb +211 -0
  75. data/lib/cloudsmith-api/models/connected_repository_request_patch.rb +206 -0
  76. data/lib/cloudsmith-api/models/cran_package_upload.rb +20 -1
  77. data/lib/cloudsmith-api/models/dart_package_upload.rb +20 -1
  78. data/lib/cloudsmith-api/models/deb_package_upload.rb +20 -1
  79. data/lib/cloudsmith-api/models/docker_package_upload.rb +20 -1
  80. data/lib/cloudsmith-api/models/generic_package_upload.rb +20 -1
  81. data/lib/cloudsmith-api/models/go_package_upload.rb +20 -1
  82. data/lib/cloudsmith-api/models/helm_package_upload.rb +20 -1
  83. data/lib/cloudsmith-api/models/hex_package_upload.rb +20 -1
  84. data/lib/cloudsmith-api/models/huggingface_package_upload.rb +20 -1
  85. data/lib/cloudsmith-api/models/inline_response_200_1.rb +1 -1
  86. data/lib/cloudsmith-api/models/inline_response_200_2.rb +191 -0
  87. data/lib/cloudsmith-api/models/luarocks_package_upload.rb +20 -1
  88. data/lib/cloudsmith-api/models/maven_package_upload.rb +20 -1
  89. data/lib/cloudsmith-api/models/mcp_package_upload.rb +20 -1
  90. data/lib/cloudsmith-api/models/member_teams.rb +238 -0
  91. data/lib/cloudsmith-api/models/npm_package_upload.rb +20 -1
  92. data/lib/cloudsmith-api/models/nuget_package_upload.rb +20 -1
  93. data/lib/cloudsmith-api/models/organization_custom_domain_nested_repo.rb +195 -0
  94. data/lib/cloudsmith-api/models/organization_custom_domains.rb +355 -0
  95. data/lib/cloudsmith-api/models/organization_membership.rb +12 -1
  96. data/lib/cloudsmith-api/models/p2_package_upload.rb +20 -1
  97. data/lib/cloudsmith-api/models/package.rb +20 -1
  98. data/lib/cloudsmith-api/models/package_copy.rb +20 -1
  99. data/lib/cloudsmith-api/models/package_move.rb +20 -1
  100. data/lib/cloudsmith-api/models/package_quarantine.rb +20 -1
  101. data/lib/cloudsmith-api/models/package_resync.rb +20 -1
  102. data/lib/cloudsmith-api/models/package_status.rb +10 -1
  103. data/lib/cloudsmith-api/models/package_tag.rb +20 -1
  104. data/lib/cloudsmith-api/models/python_package_upload.rb +20 -1
  105. data/lib/cloudsmith-api/models/raw_package_upload.rb +20 -1
  106. data/lib/cloudsmith-api/models/repository.rb +11 -1
  107. data/lib/cloudsmith-api/models/repository_create.rb +11 -1
  108. data/lib/cloudsmith-api/models/repository_create_request.rb +11 -1
  109. data/lib/cloudsmith-api/models/repository_ed25519_key.rb +233 -0
  110. data/lib/cloudsmith-api/models/repository_ed25519_key_create.rb +200 -0
  111. data/lib/cloudsmith-api/models/repository_request_patch.rb +11 -1
  112. data/lib/cloudsmith-api/models/rpm_package_upload.rb +20 -1
  113. data/lib/cloudsmith-api/models/ruby_package_upload.rb +20 -1
  114. data/lib/cloudsmith-api/models/service_teams.rb +11 -1
  115. data/lib/cloudsmith-api/models/swift_package_upload.rb +20 -1
  116. data/lib/cloudsmith-api/models/terraform_package_upload.rb +20 -1
  117. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +20 -1
  118. data/lib/cloudsmith-api/models/vsx_package_upload.rb +20 -1
  119. data/lib/cloudsmith-api/version.rb +1 -1
  120. data/lib/cloudsmith-api.rb +9 -0
  121. data/spec/api/entitlements_api_spec.rb +1 -0
  122. data/spec/api/orgs_api_spec.rb +14 -0
  123. data/spec/api/recycle_bin_api_spec.rb +12 -12
  124. data/spec/api/repos_api_spec.rb +128 -1
  125. data/spec/api/user_api_spec.rb +1 -1
  126. data/spec/models/alpine_package_upload_spec.rb +12 -0
  127. data/spec/models/cargo_package_upload_spec.rb +12 -0
  128. data/spec/models/cocoapods_package_upload_spec.rb +12 -0
  129. data/spec/models/composer_package_upload_spec.rb +12 -0
  130. data/spec/models/conan_package_upload_spec.rb +12 -0
  131. data/spec/models/conda_package_upload_spec.rb +12 -0
  132. data/spec/models/connected_repository_request_patch_spec.rb +53 -0
  133. data/spec/models/connected_repository_request_spec.rb +53 -0
  134. data/spec/models/connected_repository_spec.rb +65 -0
  135. data/spec/models/cran_package_upload_spec.rb +12 -0
  136. data/spec/models/dart_package_upload_spec.rb +12 -0
  137. data/spec/models/deb_package_upload_spec.rb +12 -0
  138. data/spec/models/docker_package_upload_spec.rb +12 -0
  139. data/spec/models/generic_package_upload_spec.rb +12 -0
  140. data/spec/models/go_package_upload_spec.rb +12 -0
  141. data/spec/models/helm_package_upload_spec.rb +12 -0
  142. data/spec/models/hex_package_upload_spec.rb +12 -0
  143. data/spec/models/huggingface_package_upload_spec.rb +12 -0
  144. data/spec/models/inline_response_200_2_spec.rb +41 -0
  145. data/spec/models/luarocks_package_upload_spec.rb +12 -0
  146. data/spec/models/maven_package_upload_spec.rb +12 -0
  147. data/spec/models/mcp_package_upload_spec.rb +12 -0
  148. data/spec/models/member_teams_spec.rb +57 -0
  149. data/spec/models/npm_package_upload_spec.rb +12 -0
  150. data/spec/models/nuget_package_upload_spec.rb +12 -0
  151. data/spec/models/organization_custom_domain_nested_repo_spec.rb +47 -0
  152. data/spec/models/organization_custom_domains_spec.rb +143 -0
  153. data/spec/models/organization_membership_spec.rb +6 -0
  154. data/spec/models/p2_package_upload_spec.rb +12 -0
  155. data/spec/models/package_copy_spec.rb +12 -0
  156. data/spec/models/package_move_spec.rb +12 -0
  157. data/spec/models/package_quarantine_spec.rb +12 -0
  158. data/spec/models/package_resync_spec.rb +12 -0
  159. data/spec/models/package_spec.rb +12 -0
  160. data/spec/models/package_status_spec.rb +6 -0
  161. data/spec/models/package_tag_spec.rb +12 -0
  162. data/spec/models/python_package_upload_spec.rb +12 -0
  163. data/spec/models/raw_package_upload_spec.rb +12 -0
  164. data/spec/models/repository_create_request_spec.rb +6 -0
  165. data/spec/models/repository_create_spec.rb +6 -0
  166. data/spec/models/repository_ed25519_key_create_spec.rb +47 -0
  167. data/spec/models/repository_ed25519_key_spec.rb +71 -0
  168. data/spec/models/repository_request_patch_spec.rb +6 -0
  169. data/spec/models/repository_spec.rb +6 -0
  170. data/spec/models/rpm_package_upload_spec.rb +12 -0
  171. data/spec/models/ruby_package_upload_spec.rb +12 -0
  172. data/spec/models/service_teams_spec.rb +6 -0
  173. data/spec/models/swift_package_upload_spec.rb +12 -0
  174. data/spec/models/terraform_package_upload_spec.rb +12 -0
  175. data/spec/models/vagrant_package_upload_spec.rb +12 -0
  176. data/spec/models/vsx_package_upload_spec.rb +12 -0
  177. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
  178. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/gem_make.out +2 -2
  179. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/mkmf.log +4 -4
  180. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
  181. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/mkmf.log +1 -1
  182. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
  183. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
  184. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.2/ext/bigdecimal/Makefile +2 -2
  185. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/ext/ffi_c/Makefile +2 -2
  186. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
  187. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
  188. metadata +41 -5
@@ -79,6 +79,8 @@ class Package
79
79
 
80
80
  attr_accessor :is_downloadable
81
81
 
82
+ attr_accessor :is_hidden
83
+
82
84
  attr_accessor :is_moveable
83
85
 
84
86
  attr_accessor :is_quarantinable
@@ -115,6 +117,9 @@ class Package
115
117
 
116
118
  attr_accessor :origin_repository_url
117
119
 
120
+ # Whether the package's SPDX license is OSI-approved.
121
+ attr_accessor :osi_approved
122
+
118
123
  # The type of package contents.
119
124
  attr_accessor :package_type
120
125
 
@@ -269,6 +274,7 @@ class Package
269
274
  :'is_copyable' => :'is_copyable',
270
275
  :'is_deleteable' => :'is_deleteable',
271
276
  :'is_downloadable' => :'is_downloadable',
277
+ :'is_hidden' => :'is_hidden',
272
278
  :'is_moveable' => :'is_moveable',
273
279
  :'is_quarantinable' => :'is_quarantinable',
274
280
  :'is_quarantined' => :'is_quarantined',
@@ -286,6 +292,7 @@ class Package
286
292
  :'num_files' => :'num_files',
287
293
  :'origin_repository' => :'origin_repository',
288
294
  :'origin_repository_url' => :'origin_repository_url',
295
+ :'osi_approved' => :'osi_approved',
289
296
  :'package_type' => :'package_type',
290
297
  :'policy_violated' => :'policy_violated',
291
298
  :'raw_license' => :'raw_license',
@@ -361,6 +368,7 @@ class Package
361
368
  :'is_copyable' => :'BOOLEAN',
362
369
  :'is_deleteable' => :'BOOLEAN',
363
370
  :'is_downloadable' => :'BOOLEAN',
371
+ :'is_hidden' => :'BOOLEAN',
364
372
  :'is_moveable' => :'BOOLEAN',
365
373
  :'is_quarantinable' => :'BOOLEAN',
366
374
  :'is_quarantined' => :'BOOLEAN',
@@ -378,6 +386,7 @@ class Package
378
386
  :'num_files' => :'Integer',
379
387
  :'origin_repository' => :'String',
380
388
  :'origin_repository_url' => :'String',
389
+ :'osi_approved' => :'BOOLEAN',
381
390
  :'package_type' => :'Integer',
382
391
  :'policy_violated' => :'BOOLEAN',
383
392
  :'raw_license' => :'String',
@@ -551,6 +560,10 @@ class Package
551
560
  self.is_downloadable = attributes[:'is_downloadable']
552
561
  end
553
562
 
563
+ if attributes.has_key?(:'is_hidden')
564
+ self.is_hidden = attributes[:'is_hidden']
565
+ end
566
+
554
567
  if attributes.has_key?(:'is_moveable')
555
568
  self.is_moveable = attributes[:'is_moveable']
556
569
  end
@@ -619,6 +632,10 @@ class Package
619
632
  self.origin_repository_url = attributes[:'origin_repository_url']
620
633
  end
621
634
 
635
+ if attributes.has_key?(:'osi_approved')
636
+ self.osi_approved = attributes[:'osi_approved']
637
+ end
638
+
622
639
  if attributes.has_key?(:'package_type')
623
640
  self.package_type = attributes[:'package_type']
624
641
  end
@@ -841,6 +858,7 @@ class Package
841
858
  is_copyable == o.is_copyable &&
842
859
  is_deleteable == o.is_deleteable &&
843
860
  is_downloadable == o.is_downloadable &&
861
+ is_hidden == o.is_hidden &&
844
862
  is_moveable == o.is_moveable &&
845
863
  is_quarantinable == o.is_quarantinable &&
846
864
  is_quarantined == o.is_quarantined &&
@@ -858,6 +876,7 @@ class Package
858
876
  num_files == o.num_files &&
859
877
  origin_repository == o.origin_repository &&
860
878
  origin_repository_url == o.origin_repository_url &&
879
+ osi_approved == o.osi_approved &&
861
880
  package_type == o.package_type &&
862
881
  policy_violated == o.policy_violated &&
863
882
  raw_license == o.raw_license &&
@@ -909,7 +928,7 @@ class Package
909
928
  # Calculates hash code according to all attributes.
910
929
  # @return [Fixnum] Hash code
911
930
  def hash
912
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, 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, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, 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_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
931
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, 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, osi_approved, package_type, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, 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_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
913
932
  end
914
933
 
915
934
  # Builds the object from hash
@@ -79,6 +79,8 @@ class PackageCopy
79
79
 
80
80
  attr_accessor :is_downloadable
81
81
 
82
+ attr_accessor :is_hidden
83
+
82
84
  attr_accessor :is_moveable
83
85
 
84
86
  attr_accessor :is_quarantinable
@@ -115,6 +117,9 @@ class PackageCopy
115
117
 
116
118
  attr_accessor :origin_repository_url
117
119
 
120
+ # Whether the package's SPDX license is OSI-approved.
121
+ attr_accessor :osi_approved
122
+
118
123
  # The type of package contents.
119
124
  attr_accessor :package_type
120
125
 
@@ -270,6 +275,7 @@ class PackageCopy
270
275
  :'is_copyable' => :'is_copyable',
271
276
  :'is_deleteable' => :'is_deleteable',
272
277
  :'is_downloadable' => :'is_downloadable',
278
+ :'is_hidden' => :'is_hidden',
273
279
  :'is_moveable' => :'is_moveable',
274
280
  :'is_quarantinable' => :'is_quarantinable',
275
281
  :'is_quarantined' => :'is_quarantined',
@@ -287,6 +293,7 @@ class PackageCopy
287
293
  :'num_files' => :'num_files',
288
294
  :'origin_repository' => :'origin_repository',
289
295
  :'origin_repository_url' => :'origin_repository_url',
296
+ :'osi_approved' => :'osi_approved',
290
297
  :'package_type' => :'package_type',
291
298
  :'policy_violated' => :'policy_violated',
292
299
  :'raw_license' => :'raw_license',
@@ -362,6 +369,7 @@ class PackageCopy
362
369
  :'is_copyable' => :'BOOLEAN',
363
370
  :'is_deleteable' => :'BOOLEAN',
364
371
  :'is_downloadable' => :'BOOLEAN',
372
+ :'is_hidden' => :'BOOLEAN',
365
373
  :'is_moveable' => :'BOOLEAN',
366
374
  :'is_quarantinable' => :'BOOLEAN',
367
375
  :'is_quarantined' => :'BOOLEAN',
@@ -379,6 +387,7 @@ class PackageCopy
379
387
  :'num_files' => :'Integer',
380
388
  :'origin_repository' => :'String',
381
389
  :'origin_repository_url' => :'String',
390
+ :'osi_approved' => :'BOOLEAN',
382
391
  :'package_type' => :'Integer',
383
392
  :'policy_violated' => :'BOOLEAN',
384
393
  :'raw_license' => :'String',
@@ -552,6 +561,10 @@ class PackageCopy
552
561
  self.is_downloadable = attributes[:'is_downloadable']
553
562
  end
554
563
 
564
+ if attributes.has_key?(:'is_hidden')
565
+ self.is_hidden = attributes[:'is_hidden']
566
+ end
567
+
555
568
  if attributes.has_key?(:'is_moveable')
556
569
  self.is_moveable = attributes[:'is_moveable']
557
570
  end
@@ -620,6 +633,10 @@ class PackageCopy
620
633
  self.origin_repository_url = attributes[:'origin_repository_url']
621
634
  end
622
635
 
636
+ if attributes.has_key?(:'osi_approved')
637
+ self.osi_approved = attributes[:'osi_approved']
638
+ end
639
+
623
640
  if attributes.has_key?(:'package_type')
624
641
  self.package_type = attributes[:'package_type']
625
642
  end
@@ -842,6 +859,7 @@ class PackageCopy
842
859
  is_copyable == o.is_copyable &&
843
860
  is_deleteable == o.is_deleteable &&
844
861
  is_downloadable == o.is_downloadable &&
862
+ is_hidden == o.is_hidden &&
845
863
  is_moveable == o.is_moveable &&
846
864
  is_quarantinable == o.is_quarantinable &&
847
865
  is_quarantined == o.is_quarantined &&
@@ -859,6 +877,7 @@ class PackageCopy
859
877
  num_files == o.num_files &&
860
878
  origin_repository == o.origin_repository &&
861
879
  origin_repository_url == o.origin_repository_url &&
880
+ osi_approved == o.osi_approved &&
862
881
  package_type == o.package_type &&
863
882
  policy_violated == o.policy_violated &&
864
883
  raw_license == o.raw_license &&
@@ -910,7 +929,7 @@ class PackageCopy
910
929
  # Calculates hash code according to all attributes.
911
930
  # @return [Fixnum] Hash code
912
931
  def hash
913
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, 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, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, 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_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
932
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, 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, osi_approved, package_type, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, 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_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
914
933
  end
915
934
 
916
935
  # Builds the object from hash
@@ -79,6 +79,8 @@ class PackageMove
79
79
 
80
80
  attr_accessor :is_downloadable
81
81
 
82
+ attr_accessor :is_hidden
83
+
82
84
  attr_accessor :is_moveable
83
85
 
84
86
  attr_accessor :is_quarantinable
@@ -115,6 +117,9 @@ class PackageMove
115
117
 
116
118
  attr_accessor :origin_repository_url
117
119
 
120
+ # Whether the package's SPDX license is OSI-approved.
121
+ attr_accessor :osi_approved
122
+
118
123
  # The type of package contents.
119
124
  attr_accessor :package_type
120
125
 
@@ -270,6 +275,7 @@ class PackageMove
270
275
  :'is_copyable' => :'is_copyable',
271
276
  :'is_deleteable' => :'is_deleteable',
272
277
  :'is_downloadable' => :'is_downloadable',
278
+ :'is_hidden' => :'is_hidden',
273
279
  :'is_moveable' => :'is_moveable',
274
280
  :'is_quarantinable' => :'is_quarantinable',
275
281
  :'is_quarantined' => :'is_quarantined',
@@ -287,6 +293,7 @@ class PackageMove
287
293
  :'num_files' => :'num_files',
288
294
  :'origin_repository' => :'origin_repository',
289
295
  :'origin_repository_url' => :'origin_repository_url',
296
+ :'osi_approved' => :'osi_approved',
290
297
  :'package_type' => :'package_type',
291
298
  :'policy_violated' => :'policy_violated',
292
299
  :'raw_license' => :'raw_license',
@@ -362,6 +369,7 @@ class PackageMove
362
369
  :'is_copyable' => :'BOOLEAN',
363
370
  :'is_deleteable' => :'BOOLEAN',
364
371
  :'is_downloadable' => :'BOOLEAN',
372
+ :'is_hidden' => :'BOOLEAN',
365
373
  :'is_moveable' => :'BOOLEAN',
366
374
  :'is_quarantinable' => :'BOOLEAN',
367
375
  :'is_quarantined' => :'BOOLEAN',
@@ -379,6 +387,7 @@ class PackageMove
379
387
  :'num_files' => :'Integer',
380
388
  :'origin_repository' => :'String',
381
389
  :'origin_repository_url' => :'String',
390
+ :'osi_approved' => :'BOOLEAN',
382
391
  :'package_type' => :'Integer',
383
392
  :'policy_violated' => :'BOOLEAN',
384
393
  :'raw_license' => :'String',
@@ -552,6 +561,10 @@ class PackageMove
552
561
  self.is_downloadable = attributes[:'is_downloadable']
553
562
  end
554
563
 
564
+ if attributes.has_key?(:'is_hidden')
565
+ self.is_hidden = attributes[:'is_hidden']
566
+ end
567
+
555
568
  if attributes.has_key?(:'is_moveable')
556
569
  self.is_moveable = attributes[:'is_moveable']
557
570
  end
@@ -620,6 +633,10 @@ class PackageMove
620
633
  self.origin_repository_url = attributes[:'origin_repository_url']
621
634
  end
622
635
 
636
+ if attributes.has_key?(:'osi_approved')
637
+ self.osi_approved = attributes[:'osi_approved']
638
+ end
639
+
623
640
  if attributes.has_key?(:'package_type')
624
641
  self.package_type = attributes[:'package_type']
625
642
  end
@@ -842,6 +859,7 @@ class PackageMove
842
859
  is_copyable == o.is_copyable &&
843
860
  is_deleteable == o.is_deleteable &&
844
861
  is_downloadable == o.is_downloadable &&
862
+ is_hidden == o.is_hidden &&
845
863
  is_moveable == o.is_moveable &&
846
864
  is_quarantinable == o.is_quarantinable &&
847
865
  is_quarantined == o.is_quarantined &&
@@ -859,6 +877,7 @@ class PackageMove
859
877
  num_files == o.num_files &&
860
878
  origin_repository == o.origin_repository &&
861
879
  origin_repository_url == o.origin_repository_url &&
880
+ osi_approved == o.osi_approved &&
862
881
  package_type == o.package_type &&
863
882
  policy_violated == o.policy_violated &&
864
883
  raw_license == o.raw_license &&
@@ -910,7 +929,7 @@ class PackageMove
910
929
  # Calculates hash code according to all attributes.
911
930
  # @return [Fixnum] Hash code
912
931
  def hash
913
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, 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, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, 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_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
932
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, 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, osi_approved, package_type, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, 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_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
914
933
  end
915
934
 
916
935
  # Builds the object from hash
@@ -79,6 +79,8 @@ class PackageQuarantine
79
79
 
80
80
  attr_accessor :is_downloadable
81
81
 
82
+ attr_accessor :is_hidden
83
+
82
84
  attr_accessor :is_moveable
83
85
 
84
86
  attr_accessor :is_quarantinable
@@ -115,6 +117,9 @@ class PackageQuarantine
115
117
 
116
118
  attr_accessor :origin_repository_url
117
119
 
120
+ # Whether the package's SPDX license is OSI-approved.
121
+ attr_accessor :osi_approved
122
+
118
123
  # The type of package contents.
119
124
  attr_accessor :package_type
120
125
 
@@ -266,6 +271,7 @@ class PackageQuarantine
266
271
  :'is_copyable' => :'is_copyable',
267
272
  :'is_deleteable' => :'is_deleteable',
268
273
  :'is_downloadable' => :'is_downloadable',
274
+ :'is_hidden' => :'is_hidden',
269
275
  :'is_moveable' => :'is_moveable',
270
276
  :'is_quarantinable' => :'is_quarantinable',
271
277
  :'is_quarantined' => :'is_quarantined',
@@ -283,6 +289,7 @@ class PackageQuarantine
283
289
  :'num_files' => :'num_files',
284
290
  :'origin_repository' => :'origin_repository',
285
291
  :'origin_repository_url' => :'origin_repository_url',
292
+ :'osi_approved' => :'osi_approved',
286
293
  :'package_type' => :'package_type',
287
294
  :'policy_violated' => :'policy_violated',
288
295
  :'raw_license' => :'raw_license',
@@ -357,6 +364,7 @@ class PackageQuarantine
357
364
  :'is_copyable' => :'BOOLEAN',
358
365
  :'is_deleteable' => :'BOOLEAN',
359
366
  :'is_downloadable' => :'BOOLEAN',
367
+ :'is_hidden' => :'BOOLEAN',
360
368
  :'is_moveable' => :'BOOLEAN',
361
369
  :'is_quarantinable' => :'BOOLEAN',
362
370
  :'is_quarantined' => :'BOOLEAN',
@@ -374,6 +382,7 @@ class PackageQuarantine
374
382
  :'num_files' => :'Integer',
375
383
  :'origin_repository' => :'String',
376
384
  :'origin_repository_url' => :'String',
385
+ :'osi_approved' => :'BOOLEAN',
377
386
  :'package_type' => :'Integer',
378
387
  :'policy_violated' => :'BOOLEAN',
379
388
  :'raw_license' => :'String',
@@ -546,6 +555,10 @@ class PackageQuarantine
546
555
  self.is_downloadable = attributes[:'is_downloadable']
547
556
  end
548
557
 
558
+ if attributes.has_key?(:'is_hidden')
559
+ self.is_hidden = attributes[:'is_hidden']
560
+ end
561
+
549
562
  if attributes.has_key?(:'is_moveable')
550
563
  self.is_moveable = attributes[:'is_moveable']
551
564
  end
@@ -614,6 +627,10 @@ class PackageQuarantine
614
627
  self.origin_repository_url = attributes[:'origin_repository_url']
615
628
  end
616
629
 
630
+ if attributes.has_key?(:'osi_approved')
631
+ self.osi_approved = attributes[:'osi_approved']
632
+ end
633
+
617
634
  if attributes.has_key?(:'package_type')
618
635
  self.package_type = attributes[:'package_type']
619
636
  end
@@ -832,6 +849,7 @@ class PackageQuarantine
832
849
  is_copyable == o.is_copyable &&
833
850
  is_deleteable == o.is_deleteable &&
834
851
  is_downloadable == o.is_downloadable &&
852
+ is_hidden == o.is_hidden &&
835
853
  is_moveable == o.is_moveable &&
836
854
  is_quarantinable == o.is_quarantinable &&
837
855
  is_quarantined == o.is_quarantined &&
@@ -849,6 +867,7 @@ class PackageQuarantine
849
867
  num_files == o.num_files &&
850
868
  origin_repository == o.origin_repository &&
851
869
  origin_repository_url == o.origin_repository_url &&
870
+ osi_approved == o.osi_approved &&
852
871
  package_type == o.package_type &&
853
872
  policy_violated == o.policy_violated &&
854
873
  raw_license == o.raw_license &&
@@ -899,7 +918,7 @@ class PackageQuarantine
899
918
  # Calculates hash code according to all attributes.
900
919
  # @return [Fixnum] Hash code
901
920
  def hash
902
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, 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, policy_violated, raw_license, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, 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_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
921
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, 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, osi_approved, package_type, policy_violated, raw_license, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, 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_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
903
922
  end
904
923
 
905
924
  # Builds the object from hash
@@ -79,6 +79,8 @@ class PackageResync
79
79
 
80
80
  attr_accessor :is_downloadable
81
81
 
82
+ attr_accessor :is_hidden
83
+
82
84
  attr_accessor :is_moveable
83
85
 
84
86
  attr_accessor :is_quarantinable
@@ -115,6 +117,9 @@ class PackageResync
115
117
 
116
118
  attr_accessor :origin_repository_url
117
119
 
120
+ # Whether the package's SPDX license is OSI-approved.
121
+ attr_accessor :osi_approved
122
+
118
123
  # The type of package contents.
119
124
  attr_accessor :package_type
120
125
 
@@ -269,6 +274,7 @@ class PackageResync
269
274
  :'is_copyable' => :'is_copyable',
270
275
  :'is_deleteable' => :'is_deleteable',
271
276
  :'is_downloadable' => :'is_downloadable',
277
+ :'is_hidden' => :'is_hidden',
272
278
  :'is_moveable' => :'is_moveable',
273
279
  :'is_quarantinable' => :'is_quarantinable',
274
280
  :'is_quarantined' => :'is_quarantined',
@@ -286,6 +292,7 @@ class PackageResync
286
292
  :'num_files' => :'num_files',
287
293
  :'origin_repository' => :'origin_repository',
288
294
  :'origin_repository_url' => :'origin_repository_url',
295
+ :'osi_approved' => :'osi_approved',
289
296
  :'package_type' => :'package_type',
290
297
  :'policy_violated' => :'policy_violated',
291
298
  :'raw_license' => :'raw_license',
@@ -361,6 +368,7 @@ class PackageResync
361
368
  :'is_copyable' => :'BOOLEAN',
362
369
  :'is_deleteable' => :'BOOLEAN',
363
370
  :'is_downloadable' => :'BOOLEAN',
371
+ :'is_hidden' => :'BOOLEAN',
364
372
  :'is_moveable' => :'BOOLEAN',
365
373
  :'is_quarantinable' => :'BOOLEAN',
366
374
  :'is_quarantined' => :'BOOLEAN',
@@ -378,6 +386,7 @@ class PackageResync
378
386
  :'num_files' => :'Integer',
379
387
  :'origin_repository' => :'String',
380
388
  :'origin_repository_url' => :'String',
389
+ :'osi_approved' => :'BOOLEAN',
381
390
  :'package_type' => :'Integer',
382
391
  :'policy_violated' => :'BOOLEAN',
383
392
  :'raw_license' => :'String',
@@ -551,6 +560,10 @@ class PackageResync
551
560
  self.is_downloadable = attributes[:'is_downloadable']
552
561
  end
553
562
 
563
+ if attributes.has_key?(:'is_hidden')
564
+ self.is_hidden = attributes[:'is_hidden']
565
+ end
566
+
554
567
  if attributes.has_key?(:'is_moveable')
555
568
  self.is_moveable = attributes[:'is_moveable']
556
569
  end
@@ -619,6 +632,10 @@ class PackageResync
619
632
  self.origin_repository_url = attributes[:'origin_repository_url']
620
633
  end
621
634
 
635
+ if attributes.has_key?(:'osi_approved')
636
+ self.osi_approved = attributes[:'osi_approved']
637
+ end
638
+
622
639
  if attributes.has_key?(:'package_type')
623
640
  self.package_type = attributes[:'package_type']
624
641
  end
@@ -841,6 +858,7 @@ class PackageResync
841
858
  is_copyable == o.is_copyable &&
842
859
  is_deleteable == o.is_deleteable &&
843
860
  is_downloadable == o.is_downloadable &&
861
+ is_hidden == o.is_hidden &&
844
862
  is_moveable == o.is_moveable &&
845
863
  is_quarantinable == o.is_quarantinable &&
846
864
  is_quarantined == o.is_quarantined &&
@@ -858,6 +876,7 @@ class PackageResync
858
876
  num_files == o.num_files &&
859
877
  origin_repository == o.origin_repository &&
860
878
  origin_repository_url == o.origin_repository_url &&
879
+ osi_approved == o.osi_approved &&
861
880
  package_type == o.package_type &&
862
881
  policy_violated == o.policy_violated &&
863
882
  raw_license == o.raw_license &&
@@ -909,7 +928,7 @@ class PackageResync
909
928
  # Calculates hash code according to all attributes.
910
929
  # @return [Fixnum] Hash code
911
930
  def hash
912
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, 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, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, 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_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
931
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, 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, osi_approved, package_type, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, 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_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
913
932
  end
914
933
 
915
934
  # Builds the object from hash
@@ -22,6 +22,8 @@ class PackageStatus
22
22
 
23
23
  attr_accessor :is_downloadable
24
24
 
25
+ attr_accessor :is_hidden
26
+
25
27
  attr_accessor :is_moveable
26
28
 
27
29
  attr_accessor :is_quarantinable
@@ -76,6 +78,7 @@ class PackageStatus
76
78
  :'is_copyable' => :'is_copyable',
77
79
  :'is_deleteable' => :'is_deleteable',
78
80
  :'is_downloadable' => :'is_downloadable',
81
+ :'is_hidden' => :'is_hidden',
79
82
  :'is_moveable' => :'is_moveable',
80
83
  :'is_quarantinable' => :'is_quarantinable',
81
84
  :'is_quarantined' => :'is_quarantined',
@@ -106,6 +109,7 @@ class PackageStatus
106
109
  :'is_copyable' => :'BOOLEAN',
107
110
  :'is_deleteable' => :'BOOLEAN',
108
111
  :'is_downloadable' => :'BOOLEAN',
112
+ :'is_hidden' => :'BOOLEAN',
109
113
  :'is_moveable' => :'BOOLEAN',
110
114
  :'is_quarantinable' => :'BOOLEAN',
111
115
  :'is_quarantined' => :'BOOLEAN',
@@ -153,6 +157,10 @@ class PackageStatus
153
157
  self.is_downloadable = attributes[:'is_downloadable']
154
158
  end
155
159
 
160
+ if attributes.has_key?(:'is_hidden')
161
+ self.is_hidden = attributes[:'is_hidden']
162
+ end
163
+
156
164
  if attributes.has_key?(:'is_moveable')
157
165
  self.is_moveable = attributes[:'is_moveable']
158
166
  end
@@ -256,6 +264,7 @@ class PackageStatus
256
264
  is_copyable == o.is_copyable &&
257
265
  is_deleteable == o.is_deleteable &&
258
266
  is_downloadable == o.is_downloadable &&
267
+ is_hidden == o.is_hidden &&
259
268
  is_moveable == o.is_moveable &&
260
269
  is_quarantinable == o.is_quarantinable &&
261
270
  is_quarantined == o.is_quarantined &&
@@ -287,7 +296,7 @@ class PackageStatus
287
296
  # Calculates hash code according to all attributes.
288
297
  # @return [Fixnum] Hash code
289
298
  def hash
290
- [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, self_url, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, sync_finished_at, sync_progress].hash
299
+ [is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, 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, self_url, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, sync_finished_at, sync_progress].hash
291
300
  end
292
301
 
293
302
  # Builds the object from hash
@@ -79,6 +79,8 @@ class PackageTag
79
79
 
80
80
  attr_accessor :is_downloadable
81
81
 
82
+ attr_accessor :is_hidden
83
+
82
84
  # If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package.
83
85
  attr_accessor :is_immutable
84
86
 
@@ -118,6 +120,9 @@ class PackageTag
118
120
 
119
121
  attr_accessor :origin_repository_url
120
122
 
123
+ # Whether the package's SPDX license is OSI-approved.
124
+ attr_accessor :osi_approved
125
+
121
126
  # The type of package contents.
122
127
  attr_accessor :package_type
123
128
 
@@ -270,6 +275,7 @@ class PackageTag
270
275
  :'is_copyable' => :'is_copyable',
271
276
  :'is_deleteable' => :'is_deleteable',
272
277
  :'is_downloadable' => :'is_downloadable',
278
+ :'is_hidden' => :'is_hidden',
273
279
  :'is_immutable' => :'is_immutable',
274
280
  :'is_moveable' => :'is_moveable',
275
281
  :'is_quarantinable' => :'is_quarantinable',
@@ -288,6 +294,7 @@ class PackageTag
288
294
  :'num_files' => :'num_files',
289
295
  :'origin_repository' => :'origin_repository',
290
296
  :'origin_repository_url' => :'origin_repository_url',
297
+ :'osi_approved' => :'osi_approved',
291
298
  :'package_type' => :'package_type',
292
299
  :'policy_violated' => :'policy_violated',
293
300
  :'raw_license' => :'raw_license',
@@ -362,6 +369,7 @@ class PackageTag
362
369
  :'is_copyable' => :'BOOLEAN',
363
370
  :'is_deleteable' => :'BOOLEAN',
364
371
  :'is_downloadable' => :'BOOLEAN',
372
+ :'is_hidden' => :'BOOLEAN',
365
373
  :'is_immutable' => :'BOOLEAN',
366
374
  :'is_moveable' => :'BOOLEAN',
367
375
  :'is_quarantinable' => :'BOOLEAN',
@@ -380,6 +388,7 @@ class PackageTag
380
388
  :'num_files' => :'Integer',
381
389
  :'origin_repository' => :'String',
382
390
  :'origin_repository_url' => :'String',
391
+ :'osi_approved' => :'BOOLEAN',
383
392
  :'package_type' => :'Integer',
384
393
  :'policy_violated' => :'BOOLEAN',
385
394
  :'raw_license' => :'String',
@@ -552,6 +561,10 @@ class PackageTag
552
561
  self.is_downloadable = attributes[:'is_downloadable']
553
562
  end
554
563
 
564
+ if attributes.has_key?(:'is_hidden')
565
+ self.is_hidden = attributes[:'is_hidden']
566
+ end
567
+
555
568
  if attributes.has_key?(:'is_immutable')
556
569
  self.is_immutable = attributes[:'is_immutable']
557
570
  else
@@ -626,6 +639,10 @@ class PackageTag
626
639
  self.origin_repository_url = attributes[:'origin_repository_url']
627
640
  end
628
641
 
642
+ if attributes.has_key?(:'osi_approved')
643
+ self.osi_approved = attributes[:'osi_approved']
644
+ end
645
+
629
646
  if attributes.has_key?(:'package_type')
630
647
  self.package_type = attributes[:'package_type']
631
648
  end
@@ -844,6 +861,7 @@ class PackageTag
844
861
  is_copyable == o.is_copyable &&
845
862
  is_deleteable == o.is_deleteable &&
846
863
  is_downloadable == o.is_downloadable &&
864
+ is_hidden == o.is_hidden &&
847
865
  is_immutable == o.is_immutable &&
848
866
  is_moveable == o.is_moveable &&
849
867
  is_quarantinable == o.is_quarantinable &&
@@ -862,6 +880,7 @@ class PackageTag
862
880
  num_files == o.num_files &&
863
881
  origin_repository == o.origin_repository &&
864
882
  origin_repository_url == o.origin_repository_url &&
883
+ osi_approved == o.osi_approved &&
865
884
  package_type == o.package_type &&
866
885
  policy_violated == o.policy_violated &&
867
886
  raw_license == o.raw_license &&
@@ -912,7 +931,7 @@ class PackageTag
912
931
  # Calculates hash code according to all attributes.
913
932
  # @return [Fixnum] Hash code
914
933
  def hash
915
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_immutable, 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, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
934
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, filepath, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, is_immutable, 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, osi_approved, package_type, policy_violated, raw_license, 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, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
916
935
  end
917
936
 
918
937
  # Builds the object from hash