cloudsmith-api 2.0.32 → 2.0.33

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 (264) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +15 -4
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +1 -2
  6. data/docs/AlpinePackageUploadRequest.md +0 -2
  7. data/docs/CargoPackageUpload.md +1 -2
  8. data/docs/CargoPackageUploadRequest.md +0 -2
  9. data/docs/CocoapodsPackageUpload.md +1 -2
  10. data/docs/CocoapodsPackageUploadRequest.md +0 -2
  11. data/docs/ComposerPackageUpload.md +1 -2
  12. data/docs/ComposerPackageUploadRequest.md +0 -2
  13. data/docs/ConanPackageUpload.md +1 -2
  14. data/docs/ConanPackageUploadRequest.md +0 -2
  15. data/docs/CondaPackageUpload.md +1 -2
  16. data/docs/CondaPackageUploadRequest.md +0 -2
  17. data/docs/ConnectedRepository.md +3 -0
  18. data/docs/ConnectedRepositoryTargetSummary.md +11 -0
  19. data/docs/ConnectedRepositoryUpstream.md +9 -0
  20. data/docs/CranPackageUpload.md +1 -2
  21. data/docs/CranPackageUploadRequest.md +0 -2
  22. data/docs/DartPackageUpload.md +1 -2
  23. data/docs/DartPackageUploadRequest.md +0 -2
  24. data/docs/DebPackageUpload.md +1 -2
  25. data/docs/DebPackageUploadRequest.md +0 -2
  26. data/docs/DockerPackageUpload.md +1 -2
  27. data/docs/DockerPackageUploadRequest.md +0 -2
  28. data/docs/GenericPackageUpload.md +1 -2
  29. data/docs/GenericPackageUploadRequest.md +0 -2
  30. data/docs/GoPackageUpload.md +1 -2
  31. data/docs/GoPackageUploadRequest.md +0 -2
  32. data/docs/HelmPackageUpload.md +1 -2
  33. data/docs/HelmPackageUploadRequest.md +0 -2
  34. data/docs/HexPackageUpload.md +1 -2
  35. data/docs/HexPackageUploadRequest.md +0 -2
  36. data/docs/HuggingfacePackageUpload.md +1 -2
  37. data/docs/HuggingfacePackageUploadRequest.md +0 -2
  38. data/docs/LuarocksPackageUpload.md +1 -2
  39. data/docs/LuarocksPackageUploadRequest.md +0 -2
  40. data/docs/MavenPackageUpload.md +1 -2
  41. data/docs/MavenPackageUploadRequest.md +0 -2
  42. data/docs/McpPackageUpload.md +1 -2
  43. data/docs/McpPackageUploadRequest.md +0 -2
  44. data/docs/NixPackageUpload.md +1 -2
  45. data/docs/NixPackageUploadRequest.md +0 -2
  46. data/docs/NpmPackageUpload.md +1 -2
  47. data/docs/NpmPackageUploadRequest.md +0 -2
  48. data/docs/NugetPackageUpload.md +1 -2
  49. data/docs/NugetPackageUploadRequest.md +0 -2
  50. data/docs/OrganizationApiKeyRule.md +16 -0
  51. data/docs/OrganizationApiKeyRuleRequest.md +12 -0
  52. data/docs/OrganizationApiKeyRuleRequestPatch.md +12 -0
  53. data/docs/OrgsApi.md +377 -0
  54. data/docs/P2PackageUpload.md +1 -2
  55. data/docs/P2PackageUploadRequest.md +0 -2
  56. data/docs/Package.md +1 -0
  57. data/docs/PackageCopy.md +1 -2
  58. data/docs/PackageCopyRequest.md +0 -2
  59. data/docs/PackageDetail.md +1 -0
  60. data/docs/PackageLicense.md +0 -2
  61. data/docs/PackageLicenseRequestPatch.md +0 -2
  62. data/docs/PackageMove.md +1 -2
  63. data/docs/PackageMoveRequest.md +0 -2
  64. data/docs/PackageQuarantine.md +1 -2
  65. data/docs/PackageQuarantineRequest.md +0 -2
  66. data/docs/PackageResync.md +1 -2
  67. data/docs/PackageTag.md +1 -2
  68. data/docs/PackageTagRequest.md +0 -2
  69. data/docs/PackageVulnerability.md +0 -2
  70. data/docs/PackagesApi.md +2 -2
  71. data/docs/PythonPackageUpload.md +1 -2
  72. data/docs/PythonPackageUploadRequest.md +0 -2
  73. data/docs/RawPackageUpload.md +1 -2
  74. data/docs/RawPackageUploadRequest.md +0 -2
  75. data/docs/RpmPackageUpload.md +1 -2
  76. data/docs/RpmPackageUploadRequest.md +0 -2
  77. data/docs/RubyPackageUpload.md +1 -2
  78. data/docs/RubyPackageUploadRequest.md +0 -2
  79. data/docs/SwiftPackageUpload.md +1 -2
  80. data/docs/SwiftPackageUploadRequest.md +0 -2
  81. data/docs/TerraformPackageUpload.md +1 -2
  82. data/docs/TerraformPackageUploadRequest.md +0 -2
  83. data/docs/VagrantPackageUpload.md +1 -2
  84. data/docs/VagrantPackageUploadRequest.md +0 -2
  85. data/docs/VsxPackageUpload.md +1 -2
  86. data/docs/VsxPackageUploadRequest.md +0 -2
  87. data/lib/cloudsmith-api/api/orgs_api.rb +353 -0
  88. data/lib/cloudsmith-api/api/packages_api.rb +2 -2
  89. data/lib/cloudsmith-api/models/alpine_package_upload.rb +11 -20
  90. data/lib/cloudsmith-api/models/alpine_package_upload_request.rb +4 -23
  91. data/lib/cloudsmith-api/models/cargo_package_upload.rb +11 -20
  92. data/lib/cloudsmith-api/models/cargo_package_upload_request.rb +4 -23
  93. data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +11 -20
  94. data/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb +4 -23
  95. data/lib/cloudsmith-api/models/composer_package_upload.rb +11 -20
  96. data/lib/cloudsmith-api/models/composer_package_upload_request.rb +4 -23
  97. data/lib/cloudsmith-api/models/conan_package_upload.rb +11 -20
  98. data/lib/cloudsmith-api/models/conan_package_upload_request.rb +4 -23
  99. data/lib/cloudsmith-api/models/conda_package_upload.rb +11 -20
  100. data/lib/cloudsmith-api/models/conda_package_upload_request.rb +4 -23
  101. data/lib/cloudsmith-api/models/connected_repository.rb +35 -4
  102. data/lib/cloudsmith-api/models/connected_repository_target_summary.rb +211 -0
  103. data/lib/cloudsmith-api/models/connected_repository_upstream.rb +194 -0
  104. data/lib/cloudsmith-api/models/cran_package_upload.rb +11 -20
  105. data/lib/cloudsmith-api/models/cran_package_upload_request.rb +4 -23
  106. data/lib/cloudsmith-api/models/dart_package_upload.rb +11 -20
  107. data/lib/cloudsmith-api/models/dart_package_upload_request.rb +4 -23
  108. data/lib/cloudsmith-api/models/deb_package_upload.rb +11 -20
  109. data/lib/cloudsmith-api/models/deb_package_upload_request.rb +4 -23
  110. data/lib/cloudsmith-api/models/docker_package_upload.rb +11 -20
  111. data/lib/cloudsmith-api/models/docker_package_upload_request.rb +4 -23
  112. data/lib/cloudsmith-api/models/generic_package_upload.rb +11 -20
  113. data/lib/cloudsmith-api/models/generic_package_upload_request.rb +4 -23
  114. data/lib/cloudsmith-api/models/go_package_upload.rb +11 -20
  115. data/lib/cloudsmith-api/models/go_package_upload_request.rb +4 -23
  116. data/lib/cloudsmith-api/models/helm_package_upload.rb +11 -20
  117. data/lib/cloudsmith-api/models/helm_package_upload_request.rb +4 -23
  118. data/lib/cloudsmith-api/models/hex_package_upload.rb +11 -20
  119. data/lib/cloudsmith-api/models/hex_package_upload_request.rb +4 -23
  120. data/lib/cloudsmith-api/models/huggingface_package_upload.rb +11 -20
  121. data/lib/cloudsmith-api/models/huggingface_package_upload_request.rb +4 -23
  122. data/lib/cloudsmith-api/models/luarocks_package_upload.rb +11 -20
  123. data/lib/cloudsmith-api/models/luarocks_package_upload_request.rb +4 -23
  124. data/lib/cloudsmith-api/models/maven_package_upload.rb +11 -20
  125. data/lib/cloudsmith-api/models/maven_package_upload_request.rb +4 -23
  126. data/lib/cloudsmith-api/models/mcp_package_upload.rb +11 -20
  127. data/lib/cloudsmith-api/models/mcp_package_upload_request.rb +4 -23
  128. data/lib/cloudsmith-api/models/nix_package_upload.rb +11 -20
  129. data/lib/cloudsmith-api/models/nix_package_upload_request.rb +4 -23
  130. data/lib/cloudsmith-api/models/npm_package_upload.rb +11 -20
  131. data/lib/cloudsmith-api/models/npm_package_upload_request.rb +4 -23
  132. data/lib/cloudsmith-api/models/nuget_package_upload.rb +11 -20
  133. data/lib/cloudsmith-api/models/nuget_package_upload_request.rb +4 -23
  134. data/lib/cloudsmith-api/models/organization_api_key_rule.rb +302 -0
  135. data/lib/cloudsmith-api/models/organization_api_key_rule_request.rb +264 -0
  136. data/lib/cloudsmith-api/models/organization_api_key_rule_request_patch.rb +259 -0
  137. data/lib/cloudsmith-api/models/p2_package_upload.rb +11 -20
  138. data/lib/cloudsmith-api/models/p2_package_upload_request.rb +4 -23
  139. data/lib/cloudsmith-api/models/package.rb +11 -1
  140. data/lib/cloudsmith-api/models/package_copy.rb +11 -20
  141. data/lib/cloudsmith-api/models/package_copy_request.rb +4 -23
  142. data/lib/cloudsmith-api/models/package_detail.rb +11 -1
  143. data/lib/cloudsmith-api/models/package_license.rb +4 -23
  144. data/lib/cloudsmith-api/models/package_license_request_patch.rb +4 -23
  145. data/lib/cloudsmith-api/models/package_move.rb +11 -20
  146. data/lib/cloudsmith-api/models/package_move_request.rb +4 -23
  147. data/lib/cloudsmith-api/models/package_quarantine.rb +11 -20
  148. data/lib/cloudsmith-api/models/package_quarantine_request.rb +4 -23
  149. data/lib/cloudsmith-api/models/package_resync.rb +11 -20
  150. data/lib/cloudsmith-api/models/package_tag.rb +11 -20
  151. data/lib/cloudsmith-api/models/package_tag_request.rb +4 -23
  152. data/lib/cloudsmith-api/models/package_vulnerability.rb +4 -23
  153. data/lib/cloudsmith-api/models/python_package_upload.rb +11 -20
  154. data/lib/cloudsmith-api/models/python_package_upload_request.rb +4 -23
  155. data/lib/cloudsmith-api/models/raw_package_upload.rb +11 -20
  156. data/lib/cloudsmith-api/models/raw_package_upload_request.rb +4 -23
  157. data/lib/cloudsmith-api/models/rpm_package_upload.rb +11 -20
  158. data/lib/cloudsmith-api/models/rpm_package_upload_request.rb +4 -23
  159. data/lib/cloudsmith-api/models/ruby_package_upload.rb +11 -20
  160. data/lib/cloudsmith-api/models/ruby_package_upload_request.rb +4 -23
  161. data/lib/cloudsmith-api/models/swift_package_upload.rb +11 -20
  162. data/lib/cloudsmith-api/models/swift_package_upload_request.rb +4 -23
  163. data/lib/cloudsmith-api/models/terraform_package_upload.rb +11 -20
  164. data/lib/cloudsmith-api/models/terraform_package_upload_request.rb +4 -23
  165. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +11 -20
  166. data/lib/cloudsmith-api/models/vagrant_package_upload_request.rb +4 -23
  167. data/lib/cloudsmith-api/models/vsx_package_upload.rb +11 -20
  168. data/lib/cloudsmith-api/models/vsx_package_upload_request.rb +4 -23
  169. data/lib/cloudsmith-api/version.rb +1 -1
  170. data/lib/cloudsmith-api.rb +5 -0
  171. data/spec/api/orgs_api_spec.rb +79 -0
  172. data/spec/api/packages_api_spec.rb +1 -1
  173. data/spec/models/alpine_package_upload_request_spec.rb +0 -12
  174. data/spec/models/alpine_package_upload_spec.rb +6 -12
  175. data/spec/models/cargo_package_upload_request_spec.rb +0 -12
  176. data/spec/models/cargo_package_upload_spec.rb +6 -12
  177. data/spec/models/cocoapods_package_upload_request_spec.rb +0 -12
  178. data/spec/models/cocoapods_package_upload_spec.rb +6 -12
  179. data/spec/models/composer_package_upload_request_spec.rb +0 -12
  180. data/spec/models/composer_package_upload_spec.rb +6 -12
  181. data/spec/models/conan_package_upload_request_spec.rb +0 -12
  182. data/spec/models/conan_package_upload_spec.rb +6 -12
  183. data/spec/models/conda_package_upload_request_spec.rb +0 -12
  184. data/spec/models/conda_package_upload_spec.rb +6 -12
  185. data/spec/models/connected_repository_spec.rb +18 -0
  186. data/spec/models/connected_repository_target_summary_spec.rb +59 -0
  187. data/spec/models/connected_repository_upstream_spec.rb +47 -0
  188. data/spec/models/cran_package_upload_request_spec.rb +0 -12
  189. data/spec/models/cran_package_upload_spec.rb +6 -12
  190. data/spec/models/dart_package_upload_request_spec.rb +0 -12
  191. data/spec/models/dart_package_upload_spec.rb +6 -12
  192. data/spec/models/deb_package_upload_request_spec.rb +0 -12
  193. data/spec/models/deb_package_upload_spec.rb +6 -12
  194. data/spec/models/docker_package_upload_request_spec.rb +0 -12
  195. data/spec/models/docker_package_upload_spec.rb +6 -12
  196. data/spec/models/generic_package_upload_request_spec.rb +0 -12
  197. data/spec/models/generic_package_upload_spec.rb +6 -12
  198. data/spec/models/go_package_upload_request_spec.rb +0 -12
  199. data/spec/models/go_package_upload_spec.rb +6 -12
  200. data/spec/models/helm_package_upload_request_spec.rb +0 -12
  201. data/spec/models/helm_package_upload_spec.rb +6 -12
  202. data/spec/models/hex_package_upload_request_spec.rb +0 -12
  203. data/spec/models/hex_package_upload_spec.rb +6 -12
  204. data/spec/models/huggingface_package_upload_request_spec.rb +0 -12
  205. data/spec/models/huggingface_package_upload_spec.rb +6 -12
  206. data/spec/models/luarocks_package_upload_request_spec.rb +0 -12
  207. data/spec/models/luarocks_package_upload_spec.rb +6 -12
  208. data/spec/models/maven_package_upload_request_spec.rb +0 -12
  209. data/spec/models/maven_package_upload_spec.rb +6 -12
  210. data/spec/models/mcp_package_upload_request_spec.rb +0 -12
  211. data/spec/models/mcp_package_upload_spec.rb +6 -12
  212. data/spec/models/nix_package_upload_request_spec.rb +0 -12
  213. data/spec/models/nix_package_upload_spec.rb +6 -12
  214. data/spec/models/npm_package_upload_request_spec.rb +0 -12
  215. data/spec/models/npm_package_upload_spec.rb +6 -12
  216. data/spec/models/nuget_package_upload_request_spec.rb +0 -12
  217. data/spec/models/nuget_package_upload_spec.rb +6 -12
  218. data/spec/models/organization_api_key_rule_request_patch_spec.rb +69 -0
  219. data/spec/models/organization_api_key_rule_request_spec.rb +69 -0
  220. data/spec/models/organization_api_key_rule_spec.rb +93 -0
  221. data/spec/models/p2_package_upload_request_spec.rb +0 -12
  222. data/spec/models/p2_package_upload_spec.rb +6 -12
  223. data/spec/models/package_copy_request_spec.rb +0 -12
  224. data/spec/models/package_copy_spec.rb +6 -12
  225. data/spec/models/package_detail_spec.rb +6 -0
  226. data/spec/models/package_license_request_patch_spec.rb +0 -12
  227. data/spec/models/package_license_spec.rb +0 -12
  228. data/spec/models/package_move_request_spec.rb +0 -12
  229. data/spec/models/package_move_spec.rb +6 -12
  230. data/spec/models/package_quarantine_request_spec.rb +0 -12
  231. data/spec/models/package_quarantine_spec.rb +6 -12
  232. data/spec/models/package_resync_spec.rb +6 -12
  233. data/spec/models/package_spec.rb +6 -0
  234. data/spec/models/package_tag_request_spec.rb +0 -12
  235. data/spec/models/package_tag_spec.rb +6 -12
  236. data/spec/models/package_vulnerability_spec.rb +0 -12
  237. data/spec/models/python_package_upload_request_spec.rb +0 -12
  238. data/spec/models/python_package_upload_spec.rb +6 -12
  239. data/spec/models/raw_package_upload_request_spec.rb +0 -12
  240. data/spec/models/raw_package_upload_spec.rb +6 -12
  241. data/spec/models/rpm_package_upload_request_spec.rb +0 -12
  242. data/spec/models/rpm_package_upload_spec.rb +6 -12
  243. data/spec/models/ruby_package_upload_request_spec.rb +0 -12
  244. data/spec/models/ruby_package_upload_spec.rb +6 -12
  245. data/spec/models/swift_package_upload_request_spec.rb +0 -12
  246. data/spec/models/swift_package_upload_spec.rb +6 -12
  247. data/spec/models/terraform_package_upload_request_spec.rb +0 -12
  248. data/spec/models/terraform_package_upload_spec.rb +6 -12
  249. data/spec/models/vagrant_package_upload_request_spec.rb +0 -12
  250. data/spec/models/vagrant_package_upload_spec.rb +6 -12
  251. data/spec/models/vsx_package_upload_request_spec.rb +0 -12
  252. data/spec/models/vsx_package_upload_spec.rb +6 -12
  253. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
  254. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/gem_make.out +2 -2
  255. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/mkmf.log +4 -4
  256. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
  257. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/mkmf.log +1 -1
  258. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
  259. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
  260. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.2/ext/bigdecimal/Makefile +2 -2
  261. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/ext/ffi_c/Makefile +2 -2
  262. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
  263. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
  264. metadata +26 -6
@@ -32,12 +32,6 @@ describe 'NpmPackageUploadRequest' do
32
32
  expect(@instance).to be_instance_of(CloudsmithApi::NpmPackageUploadRequest)
33
33
  end
34
34
  end
35
- describe 'test attribute "is_malware_detected"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
35
  describe 'test attribute "npm_dist_tag"' do
42
36
  it 'should work' do
43
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,10 +56,4 @@ describe 'NpmPackageUploadRequest' do
62
56
  end
63
57
  end
64
58
 
65
- describe 'test attribute "vulnerability_counts"' do
66
- it 'should work' do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
- end
69
- end
70
-
71
59
  end
@@ -92,6 +92,12 @@ describe 'NpmPackageUpload' do
92
92
  end
93
93
  end
94
94
 
95
+ describe 'test attribute "display_source"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
95
101
  describe 'test attribute "distro"' do
96
102
  it 'should work' do
97
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -206,12 +212,6 @@ describe 'NpmPackageUpload' do
206
212
  end
207
213
  end
208
214
 
209
- describe 'test attribute "is_malware_detected"' do
210
- it 'should work' do
211
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
- end
213
- end
214
-
215
215
  describe 'test attribute "is_moveable"' do
216
216
  it 'should work' do
217
217
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -564,12 +564,6 @@ describe 'NpmPackageUpload' do
564
564
  end
565
565
  end
566
566
 
567
- describe 'test attribute "vulnerability_counts"' do
568
- it 'should work' do
569
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
570
- end
571
- end
572
-
573
567
  describe 'test attribute "vulnerability_scan_results_url"' do
574
568
  it 'should work' do
575
569
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,12 +32,6 @@ describe 'NugetPackageUploadRequest' do
32
32
  expect(@instance).to be_instance_of(CloudsmithApi::NugetPackageUploadRequest)
33
33
  end
34
34
  end
35
- describe 'test attribute "is_malware_detected"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
35
  describe 'test attribute "package_file"' do
42
36
  it 'should work' do
43
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,10 +56,4 @@ describe 'NugetPackageUploadRequest' do
62
56
  end
63
57
  end
64
58
 
65
- describe 'test attribute "vulnerability_counts"' do
66
- it 'should work' do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
- end
69
- end
70
-
71
59
  end
@@ -92,6 +92,12 @@ describe 'NugetPackageUpload' do
92
92
  end
93
93
  end
94
94
 
95
+ describe 'test attribute "display_source"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
95
101
  describe 'test attribute "distro"' do
96
102
  it 'should work' do
97
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -206,12 +212,6 @@ describe 'NugetPackageUpload' do
206
212
  end
207
213
  end
208
214
 
209
- describe 'test attribute "is_malware_detected"' do
210
- it 'should work' do
211
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
- end
213
- end
214
-
215
215
  describe 'test attribute "is_moveable"' do
216
216
  it 'should work' do
217
217
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -564,12 +564,6 @@ describe 'NugetPackageUpload' do
564
564
  end
565
565
  end
566
566
 
567
- describe 'test attribute "vulnerability_counts"' do
568
- it 'should work' do
569
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
570
- end
571
- end
572
-
573
567
  describe 'test attribute "vulnerability_scan_results_url"' do
574
568
  it 'should work' do
575
569
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,69 @@
1
+ =begin
2
+ #Cloudsmith API (v1)
3
+
4
+ #The API to the Cloudsmith Service
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudsmith.io
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.50
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudsmithApi::OrganizationApiKeyRuleRequestPatch
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'OrganizationApiKeyRuleRequestPatch' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudsmithApi::OrganizationApiKeyRuleRequestPatch.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of OrganizationApiKeyRuleRequestPatch' do
31
+ it 'should create an instance of OrganizationApiKeyRuleRequestPatch' do
32
+ expect(@instance).to be_instance_of(CloudsmithApi::OrganizationApiKeyRuleRequestPatch)
33
+ end
34
+ end
35
+ describe 'test attribute "enforce_refresh"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "is_enabled"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "max_age_hours"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "refresh_immediately"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "rule_type"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["All Accounts", "Service Accounts", "User Accounts"])
63
+ # validator.allowable_values.each do |value|
64
+ # expect { @instance.rule_type = value }.not_to raise_error
65
+ # end
66
+ end
67
+ end
68
+
69
+ end
@@ -0,0 +1,69 @@
1
+ =begin
2
+ #Cloudsmith API (v1)
3
+
4
+ #The API to the Cloudsmith Service
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudsmith.io
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.50
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudsmithApi::OrganizationApiKeyRuleRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'OrganizationApiKeyRuleRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudsmithApi::OrganizationApiKeyRuleRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of OrganizationApiKeyRuleRequest' do
31
+ it 'should create an instance of OrganizationApiKeyRuleRequest' do
32
+ expect(@instance).to be_instance_of(CloudsmithApi::OrganizationApiKeyRuleRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "enforce_refresh"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "is_enabled"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "max_age_hours"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "refresh_immediately"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "rule_type"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["All Accounts", "Service Accounts", "User Accounts"])
63
+ # validator.allowable_values.each do |value|
64
+ # expect { @instance.rule_type = value }.not_to raise_error
65
+ # end
66
+ end
67
+ end
68
+
69
+ end
@@ -0,0 +1,93 @@
1
+ =begin
2
+ #Cloudsmith API (v1)
3
+
4
+ #The API to the Cloudsmith Service
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudsmith.io
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.50
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudsmithApi::OrganizationApiKeyRule
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'OrganizationApiKeyRule' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudsmithApi::OrganizationApiKeyRule.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of OrganizationApiKeyRule' do
31
+ it 'should create an instance of OrganizationApiKeyRule' do
32
+ expect(@instance).to be_instance_of(CloudsmithApi::OrganizationApiKeyRule)
33
+ end
34
+ end
35
+ describe 'test attribute "created_at"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "enforce_refresh"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "is_enabled"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "last_applied_at"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "max_age_hours"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "rule_type"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["All Accounts", "Service Accounts", "User Accounts"])
69
+ # validator.allowable_values.each do |value|
70
+ # expect { @instance.rule_type = value }.not_to raise_error
71
+ # end
72
+ end
73
+ end
74
+
75
+ describe 'test attribute "slug"' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ describe 'test attribute "slug_perm"' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
+ end
85
+ end
86
+
87
+ describe 'test attribute "updated_at"' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ end
@@ -32,12 +32,6 @@ describe 'P2PackageUploadRequest' do
32
32
  expect(@instance).to be_instance_of(CloudsmithApi::P2PackageUploadRequest)
33
33
  end
34
34
  end
35
- describe 'test attribute "is_malware_detected"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
35
  describe 'test attribute "package_file"' do
42
36
  it 'should work' do
43
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -56,10 +50,4 @@ describe 'P2PackageUploadRequest' do
56
50
  end
57
51
  end
58
52
 
59
- describe 'test attribute "vulnerability_counts"' do
60
- it 'should work' do
61
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
- end
63
- end
64
-
65
53
  end
@@ -92,6 +92,12 @@ describe 'P2PackageUpload' do
92
92
  end
93
93
  end
94
94
 
95
+ describe 'test attribute "display_source"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
95
101
  describe 'test attribute "distro"' do
96
102
  it 'should work' do
97
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -206,12 +212,6 @@ describe 'P2PackageUpload' do
206
212
  end
207
213
  end
208
214
 
209
- describe 'test attribute "is_malware_detected"' do
210
- it 'should work' do
211
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
- end
213
- end
214
-
215
215
  describe 'test attribute "is_moveable"' do
216
216
  it 'should work' do
217
217
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -564,12 +564,6 @@ describe 'P2PackageUpload' do
564
564
  end
565
565
  end
566
566
 
567
- describe 'test attribute "vulnerability_counts"' do
568
- it 'should work' do
569
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
570
- end
571
- end
572
-
573
567
  describe 'test attribute "vulnerability_scan_results_url"' do
574
568
  it 'should work' do
575
569
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,22 +38,10 @@ describe 'PackageCopyRequest' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "is_malware_detected"' do
42
- it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
41
  describe 'test attribute "republish"' do
48
42
  it 'should work' do
49
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
44
  end
51
45
  end
52
46
 
53
- describe 'test attribute "vulnerability_counts"' do
54
- it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
- end
57
- end
58
-
59
47
  end
@@ -92,6 +92,12 @@ describe 'PackageCopy' do
92
92
  end
93
93
  end
94
94
 
95
+ describe 'test attribute "display_source"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
95
101
  describe 'test attribute "distro"' do
96
102
  it 'should work' do
97
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -212,12 +218,6 @@ describe 'PackageCopy' do
212
218
  end
213
219
  end
214
220
 
215
- describe 'test attribute "is_malware_detected"' do
216
- it 'should work' do
217
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
218
- end
219
- end
220
-
221
221
  describe 'test attribute "is_moveable"' do
222
222
  it 'should work' do
223
223
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -576,12 +576,6 @@ describe 'PackageCopy' do
576
576
  end
577
577
  end
578
578
 
579
- describe 'test attribute "vulnerability_counts"' do
580
- it 'should work' do
581
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
582
- end
583
- end
584
-
585
579
  describe 'test attribute "vulnerability_scan_results_url"' do
586
580
  it 'should work' do
587
581
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -92,6 +92,12 @@ describe 'PackageDetail' do
92
92
  end
93
93
  end
94
94
 
95
+ describe 'test attribute "display_source"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
95
101
  describe 'test attribute "distro"' do
96
102
  it 'should work' do
97
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -42,12 +42,6 @@ describe 'PackageLicenseRequestPatch' do
42
42
  end
43
43
  end
44
44
 
45
- describe 'test attribute "is_malware_detected"' do
46
- it 'should work' do
47
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
- end
49
- end
50
-
51
45
  describe 'test attribute "license_notes"' do
52
46
  it 'should work' do
53
47
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -76,10 +70,4 @@ describe 'PackageLicenseRequestPatch' do
76
70
  end
77
71
  end
78
72
 
79
- describe 'test attribute "vulnerability_counts"' do
80
- it 'should work' do
81
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
- end
83
- end
84
-
85
73
  end
@@ -32,12 +32,6 @@ describe 'PackageLicense' do
32
32
  expect(@instance).to be_instance_of(CloudsmithApi::PackageLicense)
33
33
  end
34
34
  end
35
- describe 'test attribute "is_malware_detected"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
35
  describe 'test attribute "license_notes"' do
42
36
  it 'should work' do
43
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -66,10 +60,4 @@ describe 'PackageLicense' do
66
60
  end
67
61
  end
68
62
 
69
- describe 'test attribute "vulnerability_counts"' do
70
- it 'should work' do
71
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
- end
73
- end
74
-
75
63
  end
@@ -38,16 +38,4 @@ describe 'PackageMoveRequest' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "is_malware_detected"' do
42
- it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
- describe 'test attribute "vulnerability_counts"' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
41
  end
@@ -92,6 +92,12 @@ describe 'PackageMove' do
92
92
  end
93
93
  end
94
94
 
95
+ describe 'test attribute "display_source"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
95
101
  describe 'test attribute "distro"' do
96
102
  it 'should work' do
97
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -212,12 +218,6 @@ describe 'PackageMove' do
212
218
  end
213
219
  end
214
220
 
215
- describe 'test attribute "is_malware_detected"' do
216
- it 'should work' do
217
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
218
- end
219
- end
220
-
221
221
  describe 'test attribute "is_moveable"' do
222
222
  it 'should work' do
223
223
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -576,12 +576,6 @@ describe 'PackageMove' do
576
576
  end
577
577
  end
578
578
 
579
- describe 'test attribute "vulnerability_counts"' do
580
- it 'should work' do
581
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
582
- end
583
- end
584
-
585
579
  describe 'test attribute "vulnerability_scan_results_url"' do
586
580
  it 'should work' do
587
581
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,12 +32,6 @@ describe 'PackageQuarantineRequest' do
32
32
  expect(@instance).to be_instance_of(CloudsmithApi::PackageQuarantineRequest)
33
33
  end
34
34
  end
35
- describe 'test attribute "is_malware_detected"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
35
  describe 'test attribute "release"' do
42
36
  it 'should work' do
43
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,10 +44,4 @@ describe 'PackageQuarantineRequest' do
50
44
  end
51
45
  end
52
46
 
53
- describe 'test attribute "vulnerability_counts"' do
54
- it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
- end
57
- end
58
-
59
47
  end
@@ -92,6 +92,12 @@ describe 'PackageQuarantine' do
92
92
  end
93
93
  end
94
94
 
95
+ describe 'test attribute "display_source"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
95
101
  describe 'test attribute "distro"' do
96
102
  it 'should work' do
97
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -212,12 +218,6 @@ describe 'PackageQuarantine' do
212
218
  end
213
219
  end
214
220
 
215
- describe 'test attribute "is_malware_detected"' do
216
- it 'should work' do
217
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
218
- end
219
- end
220
-
221
221
  describe 'test attribute "is_moveable"' do
222
222
  it 'should work' do
223
223
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -570,12 +570,6 @@ describe 'PackageQuarantine' do
570
570
  end
571
571
  end
572
572
 
573
- describe 'test attribute "vulnerability_counts"' do
574
- it 'should work' do
575
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
576
- end
577
- end
578
-
579
573
  describe 'test attribute "vulnerability_scan_results_url"' do
580
574
  it 'should work' do
581
575
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers