cloudsmith-api 2.0.29 → 2.0.31

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 (302) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +30 -4
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +4 -0
  6. data/docs/AlpinePackageUploadRequest.md +2 -0
  7. data/docs/CargoPackageUpload.md +4 -0
  8. data/docs/CargoPackageUploadRequest.md +2 -0
  9. data/docs/CocoapodsPackageUpload.md +4 -0
  10. data/docs/CocoapodsPackageUploadRequest.md +2 -0
  11. data/docs/ComposerPackageUpload.md +4 -0
  12. data/docs/ComposerPackageUploadRequest.md +2 -0
  13. data/docs/ConanPackageUpload.md +4 -0
  14. data/docs/ConanPackageUploadRequest.md +2 -0
  15. data/docs/CondaPackageUpload.md +4 -0
  16. data/docs/CondaPackageUploadRequest.md +2 -0
  17. data/docs/CranPackageUpload.md +4 -0
  18. data/docs/CranPackageUploadRequest.md +2 -0
  19. data/docs/DartPackageUpload.md +4 -0
  20. data/docs/DartPackageUploadRequest.md +2 -0
  21. data/docs/DebPackageUpload.md +4 -0
  22. data/docs/DebPackageUploadRequest.md +2 -0
  23. data/docs/DockerPackageUpload.md +4 -0
  24. data/docs/DockerPackageUploadRequest.md +2 -0
  25. data/docs/GenericPackageUpload.md +4 -0
  26. data/docs/GenericPackageUploadRequest.md +2 -0
  27. data/docs/GoPackageUpload.md +4 -0
  28. data/docs/GoPackageUploadRequest.md +2 -0
  29. data/docs/HelmPackageUpload.md +4 -0
  30. data/docs/HelmPackageUploadRequest.md +2 -0
  31. data/docs/HexPackageUpload.md +4 -0
  32. data/docs/HexPackageUploadRequest.md +2 -0
  33. data/docs/HuggingfacePackageUpload.md +4 -0
  34. data/docs/HuggingfacePackageUploadRequest.md +2 -0
  35. data/docs/InlineResponse200.md +5 -1
  36. data/docs/InlineResponse2001.md +3 -1
  37. data/docs/InlineResponse2002.md +1 -1
  38. data/docs/InlineResponse2003.md +8 -0
  39. data/docs/InlineResponse2004.md +8 -0
  40. data/docs/LuarocksPackageUpload.md +4 -0
  41. data/docs/LuarocksPackageUploadRequest.md +2 -0
  42. data/docs/MavenPackageUpload.md +4 -0
  43. data/docs/MavenPackageUploadRequest.md +2 -0
  44. data/docs/McpPackageUpload.md +4 -0
  45. data/docs/McpPackageUploadRequest.md +2 -0
  46. data/docs/NixPackageUpload.md +97 -0
  47. data/docs/NixPackageUploadRequest.md +14 -0
  48. data/docs/NixUpstream.md +32 -0
  49. data/docs/NixUpstreamRequest.md +20 -0
  50. data/docs/NixUpstreamRequestPatch.md +20 -0
  51. data/docs/NpmPackageUpload.md +4 -0
  52. data/docs/NpmPackageUploadRequest.md +2 -0
  53. data/docs/NugetPackageUpload.md +4 -0
  54. data/docs/NugetPackageUploadRequest.md +2 -0
  55. data/docs/Oidc.md +7 -0
  56. data/docs/Oidc1.md +8 -0
  57. data/docs/OidcRequest.md +9 -0
  58. data/docs/OpenidApi.md +71 -0
  59. data/docs/OrganizationUsage.md +11 -0
  60. data/docs/OrganizationUsageUpdate.md +10 -0
  61. data/docs/OrganizationUsageUpdateRequestPatch.md +10 -0
  62. data/docs/OrgsApi.md +120 -0
  63. data/docs/P2PackageUpload.md +4 -0
  64. data/docs/P2PackageUploadRequest.md +2 -0
  65. data/docs/Package.md +4 -0
  66. data/docs/PackageCopy.md +4 -0
  67. data/docs/PackageCopyRequest.md +2 -0
  68. data/docs/PackageDetail.md +100 -0
  69. data/docs/PackageLicense.md +2 -0
  70. data/docs/PackageLicenseRequestPatch.md +3 -1
  71. data/docs/PackageMove.md +4 -0
  72. data/docs/PackageMoveRequest.md +2 -0
  73. data/docs/PackageQuarantine.md +4 -0
  74. data/docs/PackageQuarantineRequest.md +2 -0
  75. data/docs/PackageResync.md +4 -0
  76. data/docs/PackageTag.md +4 -0
  77. data/docs/PackageTagRequest.md +2 -0
  78. data/docs/PackageVulnerability.md +2 -0
  79. data/docs/PackagesApi.md +135 -4
  80. data/docs/PythonPackageUpload.md +4 -0
  81. data/docs/PythonPackageUploadRequest.md +2 -0
  82. data/docs/RawPackageUpload.md +4 -0
  83. data/docs/RawPackageUploadRequest.md +2 -0
  84. data/docs/RecycleBinPackage.md +2 -0
  85. data/docs/ReposApi.md +403 -2
  86. data/docs/RpmPackageUpload.md +4 -0
  87. data/docs/RpmPackageUploadRequest.md +2 -0
  88. data/docs/RubyPackageUpload.md +4 -0
  89. data/docs/RubyPackageUploadRequest.md +2 -0
  90. data/docs/SwiftPackageUpload.md +4 -0
  91. data/docs/SwiftPackageUploadRequest.md +2 -0
  92. data/docs/TerraformPackageUpload.md +4 -0
  93. data/docs/TerraformPackageUploadRequest.md +2 -0
  94. data/docs/UserApi.md +2 -2
  95. data/docs/VagrantPackageUpload.md +4 -0
  96. data/docs/VagrantPackageUploadRequest.md +2 -0
  97. data/docs/VsxPackageUpload.md +4 -0
  98. data/docs/VsxPackageUploadRequest.md +2 -0
  99. data/docs/WebOSVSeverityCounts.md +14 -0
  100. data/lib/cloudsmith-api/api/openid_api.rb +79 -0
  101. data/lib/cloudsmith-api/api/orgs_api.rb +106 -0
  102. data/lib/cloudsmith-api/api/packages_api.rb +129 -6
  103. data/lib/cloudsmith-api/api/repos_api.rb +398 -3
  104. data/lib/cloudsmith-api/api/user_api.rb +3 -3
  105. data/lib/cloudsmith-api/models/alpine_package_upload.rb +42 -1
  106. data/lib/cloudsmith-api/models/alpine_package_upload_request.rb +23 -4
  107. data/lib/cloudsmith-api/models/cargo_package_upload.rb +42 -1
  108. data/lib/cloudsmith-api/models/cargo_package_upload_request.rb +23 -4
  109. data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +42 -1
  110. data/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb +23 -4
  111. data/lib/cloudsmith-api/models/composer_package_upload.rb +42 -1
  112. data/lib/cloudsmith-api/models/composer_package_upload_request.rb +23 -4
  113. data/lib/cloudsmith-api/models/conan_package_upload.rb +42 -1
  114. data/lib/cloudsmith-api/models/conan_package_upload_request.rb +23 -4
  115. data/lib/cloudsmith-api/models/conda_package_upload.rb +42 -1
  116. data/lib/cloudsmith-api/models/conda_package_upload_request.rb +23 -4
  117. data/lib/cloudsmith-api/models/cran_package_upload.rb +42 -1
  118. data/lib/cloudsmith-api/models/cran_package_upload_request.rb +23 -4
  119. data/lib/cloudsmith-api/models/dart_package_upload.rb +42 -1
  120. data/lib/cloudsmith-api/models/dart_package_upload_request.rb +23 -4
  121. data/lib/cloudsmith-api/models/deb_package_upload.rb +42 -1
  122. data/lib/cloudsmith-api/models/deb_package_upload_request.rb +23 -4
  123. data/lib/cloudsmith-api/models/docker_package_upload.rb +42 -1
  124. data/lib/cloudsmith-api/models/docker_package_upload_request.rb +23 -4
  125. data/lib/cloudsmith-api/models/generic_package_upload.rb +42 -1
  126. data/lib/cloudsmith-api/models/generic_package_upload_request.rb +23 -4
  127. data/lib/cloudsmith-api/models/go_package_upload.rb +42 -1
  128. data/lib/cloudsmith-api/models/go_package_upload_request.rb +23 -4
  129. data/lib/cloudsmith-api/models/helm_package_upload.rb +42 -1
  130. data/lib/cloudsmith-api/models/helm_package_upload_request.rb +23 -4
  131. data/lib/cloudsmith-api/models/hex_package_upload.rb +42 -1
  132. data/lib/cloudsmith-api/models/hex_package_upload_request.rb +23 -4
  133. data/lib/cloudsmith-api/models/huggingface_package_upload.rb +42 -1
  134. data/lib/cloudsmith-api/models/huggingface_package_upload_request.rb +23 -4
  135. data/lib/cloudsmith-api/models/inline_response_200.rb +48 -14
  136. data/lib/cloudsmith-api/models/inline_response_200_1.rb +28 -14
  137. data/lib/cloudsmith-api/models/inline_response_200_2.rb +1 -1
  138. data/lib/cloudsmith-api/models/inline_response_200_3.rb +191 -0
  139. data/lib/cloudsmith-api/models/inline_response_200_4.rb +191 -0
  140. data/lib/cloudsmith-api/models/luarocks_package_upload.rb +42 -1
  141. data/lib/cloudsmith-api/models/luarocks_package_upload_request.rb +23 -4
  142. data/lib/cloudsmith-api/models/maven_package_upload.rb +42 -1
  143. data/lib/cloudsmith-api/models/maven_package_upload_request.rb +23 -4
  144. data/lib/cloudsmith-api/models/mcp_package_upload.rb +42 -1
  145. data/lib/cloudsmith-api/models/mcp_package_upload_request.rb +23 -4
  146. data/lib/cloudsmith-api/models/nix_package_upload.rb +1061 -0
  147. data/lib/cloudsmith-api/models/nix_package_upload_request.rb +249 -0
  148. data/lib/cloudsmith-api/models/nix_upstream.rb +496 -0
  149. data/lib/cloudsmith-api/models/nix_upstream_request.rb +365 -0
  150. data/lib/cloudsmith-api/models/nix_upstream_request_patch.rb +355 -0
  151. data/lib/cloudsmith-api/models/npm_package_upload.rb +42 -1
  152. data/lib/cloudsmith-api/models/npm_package_upload_request.rb +23 -4
  153. data/lib/cloudsmith-api/models/nuget_package_upload.rb +42 -1
  154. data/lib/cloudsmith-api/models/nuget_package_upload_request.rb +23 -4
  155. data/lib/cloudsmith-api/models/oidc.rb +175 -0
  156. data/lib/cloudsmith-api/models/oidc_1.rb +185 -0
  157. data/lib/cloudsmith-api/models/oidc_request.rb +205 -0
  158. data/lib/cloudsmith-api/models/organization_usage.rb +215 -0
  159. data/lib/cloudsmith-api/models/organization_usage_update.rb +202 -0
  160. data/lib/cloudsmith-api/models/organization_usage_update_request_patch.rb +202 -0
  161. data/lib/cloudsmith-api/models/p2_package_upload.rb +42 -1
  162. data/lib/cloudsmith-api/models/p2_package_upload_request.rb +23 -4
  163. data/lib/cloudsmith-api/models/package.rb +42 -1
  164. data/lib/cloudsmith-api/models/package_copy.rb +42 -1
  165. data/lib/cloudsmith-api/models/package_copy_request.rb +23 -4
  166. data/lib/cloudsmith-api/models/package_detail.rb +1090 -0
  167. data/lib/cloudsmith-api/models/package_license.rb +23 -4
  168. data/lib/cloudsmith-api/models/package_license_request_patch.rb +28 -4
  169. data/lib/cloudsmith-api/models/package_move.rb +42 -1
  170. data/lib/cloudsmith-api/models/package_move_request.rb +23 -4
  171. data/lib/cloudsmith-api/models/package_quarantine.rb +42 -1
  172. data/lib/cloudsmith-api/models/package_quarantine_request.rb +23 -4
  173. data/lib/cloudsmith-api/models/package_resync.rb +42 -1
  174. data/lib/cloudsmith-api/models/package_tag.rb +42 -1
  175. data/lib/cloudsmith-api/models/package_tag_request.rb +23 -4
  176. data/lib/cloudsmith-api/models/package_vulnerability.rb +23 -4
  177. data/lib/cloudsmith-api/models/python_package_upload.rb +42 -1
  178. data/lib/cloudsmith-api/models/python_package_upload_request.rb +23 -4
  179. data/lib/cloudsmith-api/models/raw_package_upload.rb +42 -1
  180. data/lib/cloudsmith-api/models/raw_package_upload_request.rb +23 -4
  181. data/lib/cloudsmith-api/models/recycle_bin_package.rb +23 -4
  182. data/lib/cloudsmith-api/models/rpm_package_upload.rb +42 -1
  183. data/lib/cloudsmith-api/models/rpm_package_upload_request.rb +23 -4
  184. data/lib/cloudsmith-api/models/ruby_package_upload.rb +42 -1
  185. data/lib/cloudsmith-api/models/ruby_package_upload_request.rb +23 -4
  186. data/lib/cloudsmith-api/models/swift_package_upload.rb +42 -1
  187. data/lib/cloudsmith-api/models/swift_package_upload_request.rb +23 -4
  188. data/lib/cloudsmith-api/models/terraform_package_upload.rb +42 -1
  189. data/lib/cloudsmith-api/models/terraform_package_upload_request.rb +23 -4
  190. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +42 -1
  191. data/lib/cloudsmith-api/models/vagrant_package_upload_request.rb +23 -4
  192. data/lib/cloudsmith-api/models/vsx_package_upload.rb +42 -1
  193. data/lib/cloudsmith-api/models/vsx_package_upload_request.rb +23 -4
  194. data/lib/cloudsmith-api/models/web_osv_severity_counts.rb +239 -0
  195. data/lib/cloudsmith-api/version.rb +1 -1
  196. data/lib/cloudsmith-api.rb +16 -0
  197. data/spec/api/openid_api_spec.rb +48 -0
  198. data/spec/api/orgs_api_spec.rb +23 -0
  199. data/spec/api/packages_api_spec.rb +30 -2
  200. data/spec/api/repos_api_spec.rb +88 -1
  201. data/spec/api/user_api_spec.rb +1 -1
  202. data/spec/models/alpine_package_upload_request_spec.rb +12 -0
  203. data/spec/models/alpine_package_upload_spec.rb +24 -0
  204. data/spec/models/cargo_package_upload_request_spec.rb +12 -0
  205. data/spec/models/cargo_package_upload_spec.rb +24 -0
  206. data/spec/models/cocoapods_package_upload_request_spec.rb +12 -0
  207. data/spec/models/cocoapods_package_upload_spec.rb +24 -0
  208. data/spec/models/composer_package_upload_request_spec.rb +12 -0
  209. data/spec/models/composer_package_upload_spec.rb +24 -0
  210. data/spec/models/conan_package_upload_request_spec.rb +12 -0
  211. data/spec/models/conan_package_upload_spec.rb +24 -0
  212. data/spec/models/conda_package_upload_request_spec.rb +12 -0
  213. data/spec/models/conda_package_upload_spec.rb +24 -0
  214. data/spec/models/cran_package_upload_request_spec.rb +12 -0
  215. data/spec/models/cran_package_upload_spec.rb +24 -0
  216. data/spec/models/dart_package_upload_request_spec.rb +12 -0
  217. data/spec/models/dart_package_upload_spec.rb +24 -0
  218. data/spec/models/deb_package_upload_request_spec.rb +12 -0
  219. data/spec/models/deb_package_upload_spec.rb +24 -0
  220. data/spec/models/docker_package_upload_request_spec.rb +12 -0
  221. data/spec/models/docker_package_upload_spec.rb +24 -0
  222. data/spec/models/generic_package_upload_request_spec.rb +12 -0
  223. data/spec/models/generic_package_upload_spec.rb +24 -0
  224. data/spec/models/go_package_upload_request_spec.rb +12 -0
  225. data/spec/models/go_package_upload_spec.rb +24 -0
  226. data/spec/models/helm_package_upload_request_spec.rb +12 -0
  227. data/spec/models/helm_package_upload_spec.rb +24 -0
  228. data/spec/models/hex_package_upload_request_spec.rb +12 -0
  229. data/spec/models/hex_package_upload_spec.rb +24 -0
  230. data/spec/models/huggingface_package_upload_request_spec.rb +12 -0
  231. data/spec/models/huggingface_package_upload_spec.rb +24 -0
  232. data/spec/models/inline_response_200_1_spec.rb +13 -1
  233. data/spec/models/inline_response_200_3_spec.rb +41 -0
  234. data/spec/models/inline_response_200_4_spec.rb +41 -0
  235. data/spec/models/inline_response_200_spec.rb +25 -1
  236. data/spec/models/luarocks_package_upload_request_spec.rb +12 -0
  237. data/spec/models/luarocks_package_upload_spec.rb +24 -0
  238. data/spec/models/maven_package_upload_request_spec.rb +12 -0
  239. data/spec/models/maven_package_upload_spec.rb +24 -0
  240. data/spec/models/mcp_package_upload_request_spec.rb +12 -0
  241. data/spec/models/mcp_package_upload_spec.rb +24 -0
  242. data/spec/models/nix_package_upload_request_spec.rb +77 -0
  243. data/spec/models/nix_package_upload_spec.rb +579 -0
  244. data/spec/models/nix_upstream_request_patch_spec.rb +121 -0
  245. data/spec/models/nix_upstream_request_spec.rb +121 -0
  246. data/spec/models/nix_upstream_spec.rb +197 -0
  247. data/spec/models/npm_package_upload_request_spec.rb +12 -0
  248. data/spec/models/npm_package_upload_spec.rb +24 -0
  249. data/spec/models/nuget_package_upload_request_spec.rb +12 -0
  250. data/spec/models/nuget_package_upload_spec.rb +24 -0
  251. data/spec/models/oidc_1_spec.rb +41 -0
  252. data/spec/models/oidc_request_spec.rb +47 -0
  253. data/spec/models/oidc_spec.rb +35 -0
  254. data/spec/models/organization_usage_spec.rb +59 -0
  255. data/spec/models/organization_usage_update_request_patch_spec.rb +53 -0
  256. data/spec/models/organization_usage_update_spec.rb +53 -0
  257. data/spec/models/p2_package_upload_request_spec.rb +12 -0
  258. data/spec/models/p2_package_upload_spec.rb +24 -0
  259. data/spec/models/package_copy_request_spec.rb +12 -0
  260. data/spec/models/package_copy_spec.rb +24 -0
  261. data/spec/models/package_detail_spec.rb +597 -0
  262. data/spec/models/package_license_request_patch_spec.rb +12 -0
  263. data/spec/models/package_license_spec.rb +12 -0
  264. data/spec/models/package_move_request_spec.rb +12 -0
  265. data/spec/models/package_move_spec.rb +24 -0
  266. data/spec/models/package_quarantine_request_spec.rb +12 -0
  267. data/spec/models/package_quarantine_spec.rb +24 -0
  268. data/spec/models/package_resync_spec.rb +24 -0
  269. data/spec/models/package_spec.rb +24 -0
  270. data/spec/models/package_tag_request_spec.rb +12 -0
  271. data/spec/models/package_tag_spec.rb +24 -0
  272. data/spec/models/package_vulnerability_spec.rb +12 -0
  273. data/spec/models/python_package_upload_request_spec.rb +12 -0
  274. data/spec/models/python_package_upload_spec.rb +24 -0
  275. data/spec/models/raw_package_upload_request_spec.rb +12 -0
  276. data/spec/models/raw_package_upload_spec.rb +24 -0
  277. data/spec/models/recycle_bin_package_spec.rb +12 -0
  278. data/spec/models/rpm_package_upload_request_spec.rb +12 -0
  279. data/spec/models/rpm_package_upload_spec.rb +24 -0
  280. data/spec/models/ruby_package_upload_request_spec.rb +12 -0
  281. data/spec/models/ruby_package_upload_spec.rb +24 -0
  282. data/spec/models/swift_package_upload_request_spec.rb +12 -0
  283. data/spec/models/swift_package_upload_spec.rb +24 -0
  284. data/spec/models/terraform_package_upload_request_spec.rb +12 -0
  285. data/spec/models/terraform_package_upload_spec.rb +24 -0
  286. data/spec/models/vagrant_package_upload_request_spec.rb +12 -0
  287. data/spec/models/vagrant_package_upload_spec.rb +24 -0
  288. data/spec/models/vsx_package_upload_request_spec.rb +12 -0
  289. data/spec/models/vsx_package_upload_spec.rb +24 -0
  290. data/spec/models/web_osv_severity_counts_spec.rb +77 -0
  291. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
  292. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/gem_make.out +2 -2
  293. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/mkmf.log +4 -4
  294. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
  295. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/mkmf.log +1 -1
  296. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
  297. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
  298. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.2/ext/bigdecimal/Makefile +2 -2
  299. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/ext/ffi_c/Makefile +2 -2
  300. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
  301. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
  302. metadata +69 -5
@@ -0,0 +1,239 @@
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 'date'
14
+
15
+ module CloudsmithApi
16
+ # Per-severity OSV vulnerability counts for non-hidden matches. Requires Ultra plan.
17
+ class WebOSVSeverityCounts
18
+ attr_accessor :critical
19
+
20
+ attr_accessor :high
21
+
22
+ attr_accessor :low
23
+
24
+ attr_accessor :malware
25
+
26
+ attr_accessor :medium
27
+
28
+ attr_accessor :total
29
+
30
+ attr_accessor :unknown
31
+
32
+ # Attribute mapping from ruby-style variable name to JSON key.
33
+ def self.attribute_map
34
+ {
35
+ :'critical' => :'critical',
36
+ :'high' => :'high',
37
+ :'low' => :'low',
38
+ :'malware' => :'malware',
39
+ :'medium' => :'medium',
40
+ :'total' => :'total',
41
+ :'unknown' => :'unknown'
42
+ }
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ def self.swagger_types
47
+ {
48
+ :'critical' => :'Integer',
49
+ :'high' => :'Integer',
50
+ :'low' => :'Integer',
51
+ :'malware' => :'Integer',
52
+ :'medium' => :'Integer',
53
+ :'total' => :'Integer',
54
+ :'unknown' => :'Integer'
55
+ }
56
+ end
57
+
58
+ # Initializes the object
59
+ # @param [Hash] attributes Model attributes in the form of hash
60
+ def initialize(attributes = {})
61
+ return unless attributes.is_a?(Hash)
62
+
63
+ # convert string to symbol for hash key
64
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
65
+
66
+ if attributes.has_key?(:'critical')
67
+ self.critical = attributes[:'critical']
68
+ end
69
+
70
+ if attributes.has_key?(:'high')
71
+ self.high = attributes[:'high']
72
+ end
73
+
74
+ if attributes.has_key?(:'low')
75
+ self.low = attributes[:'low']
76
+ end
77
+
78
+ if attributes.has_key?(:'malware')
79
+ self.malware = attributes[:'malware']
80
+ end
81
+
82
+ if attributes.has_key?(:'medium')
83
+ self.medium = attributes[:'medium']
84
+ end
85
+
86
+ if attributes.has_key?(:'total')
87
+ self.total = attributes[:'total']
88
+ end
89
+
90
+ if attributes.has_key?(:'unknown')
91
+ self.unknown = attributes[:'unknown']
92
+ end
93
+ end
94
+
95
+ # Show invalid properties with the reasons. Usually used together with valid?
96
+ # @return Array for valid properties with the reasons
97
+ def list_invalid_properties
98
+ invalid_properties = Array.new
99
+ invalid_properties
100
+ end
101
+
102
+ # Check to see if the all the properties in the model are valid
103
+ # @return true if the model is valid
104
+ def valid?
105
+ true
106
+ end
107
+
108
+ # Checks equality by comparing each attribute.
109
+ # @param [Object] Object to be compared
110
+ def ==(o)
111
+ return true if self.equal?(o)
112
+ self.class == o.class &&
113
+ critical == o.critical &&
114
+ high == o.high &&
115
+ low == o.low &&
116
+ malware == o.malware &&
117
+ medium == o.medium &&
118
+ total == o.total &&
119
+ unknown == o.unknown
120
+ end
121
+
122
+ # @see the `==` method
123
+ # @param [Object] Object to be compared
124
+ def eql?(o)
125
+ self == o
126
+ end
127
+
128
+ # Calculates hash code according to all attributes.
129
+ # @return [Fixnum] Hash code
130
+ def hash
131
+ [critical, high, low, malware, medium, total, unknown].hash
132
+ end
133
+
134
+ # Builds the object from hash
135
+ # @param [Hash] attributes Model attributes in the form of hash
136
+ # @return [Object] Returns the model itself
137
+ def build_from_hash(attributes)
138
+ return nil unless attributes.is_a?(Hash)
139
+ self.class.swagger_types.each_pair do |key, type|
140
+ if type =~ /\AArray<(.*)>/i
141
+ # check to ensure the input is an array given that the attribute
142
+ # is documented as an array but the input is not
143
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
144
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
145
+ end
146
+ elsif !attributes[self.class.attribute_map[key]].nil?
147
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
148
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
149
+ end
150
+
151
+ self
152
+ end
153
+
154
+ # Deserializes the data based on type
155
+ # @param string type Data type
156
+ # @param string value Value to be deserialized
157
+ # @return [Object] Deserialized data
158
+ def _deserialize(type, value)
159
+ case type.to_sym
160
+ when :DateTime
161
+ DateTime.parse(value)
162
+ when :Date
163
+ Date.parse(value)
164
+ when :String
165
+ value.to_s
166
+ when :Integer
167
+ value.to_i
168
+ when :Float
169
+ value.to_f
170
+ when :BOOLEAN
171
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
172
+ true
173
+ else
174
+ false
175
+ end
176
+ when :Object
177
+ # generic object (usually a Hash), return directly
178
+ value
179
+ when /\AArray<(?<inner_type>.+)>\z/
180
+ inner_type = Regexp.last_match[:inner_type]
181
+ value.map { |v| _deserialize(inner_type, v) }
182
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
183
+ k_type = Regexp.last_match[:k_type]
184
+ v_type = Regexp.last_match[:v_type]
185
+ {}.tap do |hash|
186
+ value.each do |k, v|
187
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
188
+ end
189
+ end
190
+ else # model
191
+ temp_model = CloudsmithApi.const_get(type).new
192
+ temp_model.build_from_hash(value)
193
+ end
194
+ end
195
+
196
+ # Returns the string representation of the object
197
+ # @return [String] String presentation of the object
198
+ def to_s
199
+ to_hash.to_s
200
+ end
201
+
202
+ # to_body is an alias to to_hash (backward compatibility)
203
+ # @return [Hash] Returns the object in the form of hash
204
+ def to_body
205
+ to_hash
206
+ end
207
+
208
+ # Returns the object in the form of hash
209
+ # @return [Hash] Returns the object in the form of hash
210
+ def to_hash
211
+ hash = {}
212
+ self.class.attribute_map.each_pair do |attr, param|
213
+ value = self.send(attr)
214
+ next if value.nil?
215
+ hash[param] = _to_hash(value)
216
+ end
217
+ hash
218
+ end
219
+
220
+ # Outputs non-array value in the form of hash
221
+ # For object, use to_hash. Otherwise, just return the value
222
+ # @param [Object] value Any valid value
223
+ # @return [Hash] Returns the value in the form of hash
224
+ def _to_hash(value)
225
+ if value.is_a?(Array)
226
+ value.compact.map { |v| _to_hash(v) }
227
+ elsif value.is_a?(Hash)
228
+ {}.tap do |hash|
229
+ value.each { |k, v| hash[k] = _to_hash(v) }
230
+ end
231
+ elsif value.respond_to? :to_hash
232
+ value.to_hash
233
+ else
234
+ value
235
+ end
236
+ end
237
+
238
+ end
239
+ end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.50
11
11
  =end
12
12
 
13
13
  module CloudsmithApi
14
- VERSION = '2.0.29'
14
+ VERSION = '2.0.31'
15
15
  end
@@ -116,6 +116,8 @@ require 'cloudsmith-api/models/huggingface_upstream_request_patch'
116
116
  require 'cloudsmith-api/models/inline_response_200'
117
117
  require 'cloudsmith-api/models/inline_response_200_1'
118
118
  require 'cloudsmith-api/models/inline_response_200_2'
119
+ require 'cloudsmith-api/models/inline_response_200_3'
120
+ require 'cloudsmith-api/models/inline_response_200_4'
119
121
  require 'cloudsmith-api/models/luarocks_package_upload'
120
122
  require 'cloudsmith-api/models/luarocks_package_upload_request'
121
123
  require 'cloudsmith-api/models/maven_package_upload'
@@ -131,6 +133,11 @@ require 'cloudsmith-api/models/namespace_audit_log'
131
133
  require 'cloudsmith-api/models/nested_license_policy'
132
134
  require 'cloudsmith-api/models/nested_vulnerability_policy'
133
135
  require 'cloudsmith-api/models/nested_vulnerability_scan_results'
136
+ require 'cloudsmith-api/models/nix_package_upload'
137
+ require 'cloudsmith-api/models/nix_package_upload_request'
138
+ require 'cloudsmith-api/models/nix_upstream'
139
+ require 'cloudsmith-api/models/nix_upstream_request'
140
+ require 'cloudsmith-api/models/nix_upstream_request_patch'
134
141
  require 'cloudsmith-api/models/npm_package_upload'
135
142
  require 'cloudsmith-api/models/npm_package_upload_request'
136
143
  require 'cloudsmith-api/models/npm_upstream'
@@ -141,6 +148,9 @@ require 'cloudsmith-api/models/nuget_package_upload_request'
141
148
  require 'cloudsmith-api/models/nuget_upstream'
142
149
  require 'cloudsmith-api/models/nuget_upstream_request'
143
150
  require 'cloudsmith-api/models/nuget_upstream_request_patch'
151
+ require 'cloudsmith-api/models/oidc'
152
+ require 'cloudsmith-api/models/oidc_1'
153
+ require 'cloudsmith-api/models/oidc_request'
144
154
  require 'cloudsmith-api/models/organization'
145
155
  require 'cloudsmith-api/models/organization_custom_domain_nested_repo'
146
156
  require 'cloudsmith-api/models/organization_custom_domains'
@@ -172,6 +182,9 @@ require 'cloudsmith-api/models/organization_team_members'
172
182
  require 'cloudsmith-api/models/organization_team_request'
173
183
  require 'cloudsmith-api/models/organization_team_request_patch'
174
184
  require 'cloudsmith-api/models/organization_team_service_member'
185
+ require 'cloudsmith-api/models/organization_usage'
186
+ require 'cloudsmith-api/models/organization_usage_update'
187
+ require 'cloudsmith-api/models/organization_usage_update_request_patch'
175
188
  require 'cloudsmith-api/models/p2_package_upload'
176
189
  require 'cloudsmith-api/models/p2_package_upload_request'
177
190
  require 'cloudsmith-api/models/package'
@@ -184,6 +197,7 @@ require 'cloudsmith-api/models/package_deny_policy_request'
184
197
  require 'cloudsmith-api/models/package_deny_policy_request_patch'
185
198
  require 'cloudsmith-api/models/package_dependencies'
186
199
  require 'cloudsmith-api/models/package_dependency'
200
+ require 'cloudsmith-api/models/package_detail'
187
201
  require 'cloudsmith-api/models/package_file'
188
202
  require 'cloudsmith-api/models/package_file_parts_upload'
189
203
  require 'cloudsmith-api/models/package_file_upload'
@@ -321,6 +335,7 @@ require 'cloudsmith-api/models/vulnerability_scan'
321
335
  require 'cloudsmith-api/models/vulnerability_scan_results'
322
336
  require 'cloudsmith-api/models/vulnerability_scan_results_list'
323
337
  require 'cloudsmith-api/models/vulnerability_scan_version'
338
+ require 'cloudsmith-api/models/web_osv_severity_counts'
324
339
  require 'cloudsmith-api/models/webhook_template'
325
340
 
326
341
  # APIs
@@ -334,6 +349,7 @@ require 'cloudsmith-api/api/files_api'
334
349
  require 'cloudsmith-api/api/formats_api'
335
350
  require 'cloudsmith-api/api/metrics_api'
336
351
  require 'cloudsmith-api/api/namespaces_api'
352
+ require 'cloudsmith-api/api/openid_api'
337
353
  require 'cloudsmith-api/api/orgs_api'
338
354
  require 'cloudsmith-api/api/packages_api'
339
355
  require 'cloudsmith-api/api/quota_api'
@@ -0,0 +1,48 @@
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
+
16
+ # Unit tests for CloudsmithApi::OpenidApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'OpenidApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudsmithApi::OpenidApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of OpenidApi' do
30
+ it 'should create an instance of OpenidApi' do
31
+ expect(@instance).to be_instance_of(CloudsmithApi::OpenidApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for openid_create
36
+ # Get a JWT token for a configured service account belonging to the requesting org.
37
+ # Get a JWT token for a configured service account belonging to the requesting org.
38
+ # @param owner
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [OidcRequest] :data
41
+ # @return [Oidc1]
42
+ describe 'openid_create test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ end
@@ -606,6 +606,17 @@ describe 'OrgsApi' do
606
606
  end
607
607
  end
608
608
 
609
+ # unit tests for orgs_retrieve_usage_limits
610
+ #
611
+ # @param org
612
+ # @param [Hash] opts the optional parameters
613
+ # @return [InlineResponse200]
614
+ describe 'orgs_retrieve_usage_limits test' do
615
+ it 'should work' do
616
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
617
+ end
618
+ end
619
+
609
620
  # unit tests for orgs_saml_authentication_partial_update
610
621
  # Update the SAML Authentication settings for this Organization.
611
622
  # Update the SAML Authentication settings for this Organization.
@@ -901,6 +912,18 @@ describe 'OrgsApi' do
901
912
  end
902
913
  end
903
914
 
915
+ # unit tests for orgs_update_usage_limits
916
+ #
917
+ # @param org
918
+ # @param [Hash] opts the optional parameters
919
+ # @option opts [OrganizationUsageUpdateRequestPatch] :data
920
+ # @return [InlineResponse2001]
921
+ describe 'orgs_update_usage_limits test' do
922
+ it 'should work' do
923
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
924
+ end
925
+ end
926
+
904
927
  # unit tests for orgs_vulnerability_policy_create
905
928
  # Create a package vulnerability policy.
906
929
  # Create a package vulnerability policy.
@@ -89,7 +89,7 @@ describe 'PackagesApi' do
89
89
  # @option opts [BOOLEAN] :include_connected_repositories If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false.
90
90
  # @option opts [String] :query A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages.
91
91
  # @option opts [String] :sort A field for sorting objects in ascending or descending order. Use &#x60;-&#x60; prefix for descending order (e.g., &#x60;-name&#x60;). Available options: name, count, num_downloads, size, last_push, backend_kind.
92
- # @return [InlineResponse200]
92
+ # @return [InlineResponse2002]
93
93
  describe 'packages_groups_list test' do
94
94
  it 'should work' do
95
95
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -152,7 +152,7 @@ describe 'PackagesApi' do
152
152
  # @param identifier
153
153
  # @param [Hash] opts the optional parameters
154
154
  # @option opts [BOOLEAN] :include_connected_repositories If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in.
155
- # @return [Package]
155
+ # @return [PackageDetail]
156
156
  describe 'packages_read test' do
157
157
  it 'should work' do
158
158
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -484,6 +484,20 @@ describe 'PackagesApi' do
484
484
  end
485
485
  end
486
486
 
487
+ # unit tests for packages_upload_nix
488
+ # Create a new Nix package
489
+ # Create a new Nix package
490
+ # @param owner
491
+ # @param repo
492
+ # @param [Hash] opts the optional parameters
493
+ # @option opts [NixPackageUploadRequest] :data
494
+ # @return [NixPackageUpload]
495
+ describe 'packages_upload_nix test' do
496
+ it 'should work' do
497
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
498
+ end
499
+ end
500
+
487
501
  # unit tests for packages_upload_npm
488
502
  # Create a new npm package
489
503
  # Create a new npm package
@@ -890,6 +904,20 @@ describe 'PackagesApi' do
890
904
  end
891
905
  end
892
906
 
907
+ # unit tests for packages_validate_upload_nix
908
+ # Validate parameters for create Nix package
909
+ # Validate parameters for create Nix package
910
+ # @param owner
911
+ # @param repo
912
+ # @param [Hash] opts the optional parameters
913
+ # @option opts [NixPackageUploadRequest] :data
914
+ # @return [nil]
915
+ describe 'packages_validate_upload_nix test' do
916
+ it 'should work' do
917
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
918
+ end
919
+ end
920
+
893
921
  # unit tests for packages_validate_upload_npm
894
922
  # Validate parameters for create npm package
895
923
  # Validate parameters for create npm package
@@ -108,7 +108,7 @@ describe 'ReposApi' do
108
108
  # @param [Hash] opts the optional parameters
109
109
  # @option opts [Integer] :page A page number within the paginated result set.
110
110
  # @option opts [Integer] :page_size Number of results to return per page.
111
- # @return [InlineResponse2001]
111
+ # @return [InlineResponse2003]
112
112
  describe 'repos_connected_list test' do
113
113
  it 'should work' do
114
114
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1745,6 +1745,93 @@ describe 'ReposApi' do
1745
1745
  end
1746
1746
  end
1747
1747
 
1748
+ # unit tests for repos_upstream_nix_create
1749
+ # Create a Nix upstream config for this repository.
1750
+ # Create a Nix upstream config for this repository.
1751
+ # @param owner
1752
+ # @param identifier
1753
+ # @param [Hash] opts the optional parameters
1754
+ # @option opts [NixUpstreamRequest] :data
1755
+ # @return [NixUpstream]
1756
+ describe 'repos_upstream_nix_create test' do
1757
+ it 'should work' do
1758
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1759
+ end
1760
+ end
1761
+
1762
+ # unit tests for repos_upstream_nix_delete
1763
+ # Delete a Nix upstream config for this repository.
1764
+ # Delete a Nix upstream config for this repository.
1765
+ # @param owner
1766
+ # @param identifier
1767
+ # @param slug_perm
1768
+ # @param [Hash] opts the optional parameters
1769
+ # @return [nil]
1770
+ describe 'repos_upstream_nix_delete test' do
1771
+ it 'should work' do
1772
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1773
+ end
1774
+ end
1775
+
1776
+ # unit tests for repos_upstream_nix_list
1777
+ # List Nix upstream configs for this repository.
1778
+ # List Nix upstream configs for this repository.
1779
+ # @param owner
1780
+ # @param identifier
1781
+ # @param [Hash] opts the optional parameters
1782
+ # @option opts [Integer] :page A page number within the paginated result set.
1783
+ # @option opts [Integer] :page_size Number of results to return per page.
1784
+ # @return [Array<NixUpstream>]
1785
+ describe 'repos_upstream_nix_list test' do
1786
+ it 'should work' do
1787
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1788
+ end
1789
+ end
1790
+
1791
+ # unit tests for repos_upstream_nix_partial_update
1792
+ # Partially update a Nix upstream config for this repository.
1793
+ # Partially update a Nix upstream config for this repository.
1794
+ # @param owner
1795
+ # @param identifier
1796
+ # @param slug_perm
1797
+ # @param [Hash] opts the optional parameters
1798
+ # @option opts [NixUpstreamRequestPatch] :data
1799
+ # @return [NixUpstream]
1800
+ describe 'repos_upstream_nix_partial_update test' do
1801
+ it 'should work' do
1802
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1803
+ end
1804
+ end
1805
+
1806
+ # unit tests for repos_upstream_nix_read
1807
+ # Retrieve a Nix upstream config for this repository.
1808
+ # Retrieve a Nix upstream config for this repository.
1809
+ # @param owner
1810
+ # @param identifier
1811
+ # @param slug_perm
1812
+ # @param [Hash] opts the optional parameters
1813
+ # @return [NixUpstream]
1814
+ describe 'repos_upstream_nix_read test' do
1815
+ it 'should work' do
1816
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1817
+ end
1818
+ end
1819
+
1820
+ # unit tests for repos_upstream_nix_update
1821
+ # Update a Nix upstream config for this repository.
1822
+ # Update a Nix upstream config for this repository.
1823
+ # @param owner
1824
+ # @param identifier
1825
+ # @param slug_perm
1826
+ # @param [Hash] opts the optional parameters
1827
+ # @option opts [NixUpstreamRequest] :data
1828
+ # @return [NixUpstream]
1829
+ describe 'repos_upstream_nix_update test' do
1830
+ it 'should work' do
1831
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1832
+ end
1833
+ end
1834
+
1748
1835
  # unit tests for repos_upstream_npm_create
1749
1836
  # Create a npm upstream config for this repository.
1750
1837
  # Create a npm upstream config for this repository.
@@ -72,7 +72,7 @@ describe 'UserApi' do
72
72
  # @param [Hash] opts the optional parameters
73
73
  # @option opts [Integer] :page A page number within the paginated result set.
74
74
  # @option opts [Integer] :page_size Number of results to return per page.
75
- # @return [InlineResponse2002]
75
+ # @return [InlineResponse2004]
76
76
  describe 'user_tokens_list test' do
77
77
  it 'should work' do
78
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,6 +38,12 @@ describe 'AlpinePackageUploadRequest' 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
+
41
47
  describe 'test attribute "package_file"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -56,4 +62,10 @@ describe 'AlpinePackageUploadRequest' do
56
62
  end
57
63
  end
58
64
 
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
+
59
71
  end
@@ -206,6 +206,12 @@ describe 'AlpinePackageUpload' do
206
206
  end
207
207
  end
208
208
 
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
+
209
215
  describe 'test attribute "is_moveable"' do
210
216
  it 'should work' do
211
217
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -474,6 +480,12 @@ describe 'AlpinePackageUpload' do
474
480
  end
475
481
  end
476
482
 
483
+ describe 'test attribute "store_path"' do
484
+ it 'should work' do
485
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
486
+ end
487
+ end
488
+
477
489
  describe 'test attribute "subtype"' do
478
490
  it 'should work' do
479
491
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -510,6 +522,12 @@ describe 'AlpinePackageUpload' do
510
522
  end
511
523
  end
512
524
 
525
+ describe 'test attribute "tags_static"' do
526
+ it 'should work' do
527
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
528
+ end
529
+ end
530
+
513
531
  describe 'test attribute "type_display"' do
514
532
  it 'should work' do
515
533
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -546,6 +564,12 @@ describe 'AlpinePackageUpload' do
546
564
  end
547
565
  end
548
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
+
549
573
  describe 'test attribute "vulnerability_scan_results_url"' do
550
574
  it 'should work' do
551
575
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,6 +32,12 @@ describe 'CargoPackageUploadRequest' do
32
32
  expect(@instance).to be_instance_of(CloudsmithApi::CargoPackageUploadRequest)
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
+
35
41
  describe 'test attribute "package_file"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,4 +56,10 @@ describe 'CargoPackageUploadRequest' do
50
56
  end
51
57
  end
52
58
 
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
+
53
65
  end