cloudsmith-api 2.0.29 → 2.0.30
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +26 -4
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +4 -0
- data/docs/AlpinePackageUploadRequest.md +2 -0
- data/docs/CargoPackageUpload.md +4 -0
- data/docs/CargoPackageUploadRequest.md +2 -0
- data/docs/CocoapodsPackageUpload.md +4 -0
- data/docs/CocoapodsPackageUploadRequest.md +2 -0
- data/docs/ComposerPackageUpload.md +4 -0
- data/docs/ComposerPackageUploadRequest.md +2 -0
- data/docs/ConanPackageUpload.md +4 -0
- data/docs/ConanPackageUploadRequest.md +2 -0
- data/docs/CondaPackageUpload.md +4 -0
- data/docs/CondaPackageUploadRequest.md +2 -0
- data/docs/CranPackageUpload.md +4 -0
- data/docs/CranPackageUploadRequest.md +2 -0
- data/docs/DartPackageUpload.md +4 -0
- data/docs/DartPackageUploadRequest.md +2 -0
- data/docs/DebPackageUpload.md +4 -0
- data/docs/DebPackageUploadRequest.md +2 -0
- data/docs/DockerPackageUpload.md +4 -0
- data/docs/DockerPackageUploadRequest.md +2 -0
- data/docs/GenericPackageUpload.md +4 -0
- data/docs/GenericPackageUploadRequest.md +2 -0
- data/docs/GoPackageUpload.md +4 -0
- data/docs/GoPackageUploadRequest.md +2 -0
- data/docs/HelmPackageUpload.md +4 -0
- data/docs/HelmPackageUploadRequest.md +2 -0
- data/docs/HexPackageUpload.md +4 -0
- data/docs/HexPackageUploadRequest.md +2 -0
- data/docs/HuggingfacePackageUpload.md +4 -0
- data/docs/HuggingfacePackageUploadRequest.md +2 -0
- data/docs/InlineResponse200.md +5 -1
- data/docs/InlineResponse2001.md +3 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +8 -0
- data/docs/InlineResponse2004.md +8 -0
- data/docs/LuarocksPackageUpload.md +4 -0
- data/docs/LuarocksPackageUploadRequest.md +2 -0
- data/docs/MavenPackageUpload.md +4 -0
- data/docs/MavenPackageUploadRequest.md +2 -0
- data/docs/McpPackageUpload.md +4 -0
- data/docs/McpPackageUploadRequest.md +2 -0
- data/docs/NixPackageUpload.md +97 -0
- data/docs/NixPackageUploadRequest.md +14 -0
- data/docs/NixUpstream.md +32 -0
- data/docs/NixUpstreamRequest.md +20 -0
- data/docs/NixUpstreamRequestPatch.md +20 -0
- data/docs/NpmPackageUpload.md +4 -0
- data/docs/NpmPackageUploadRequest.md +2 -0
- data/docs/NugetPackageUpload.md +4 -0
- data/docs/NugetPackageUploadRequest.md +2 -0
- data/docs/OrganizationUsage.md +11 -0
- data/docs/OrganizationUsageUpdate.md +10 -0
- data/docs/OrganizationUsageUpdateRequestPatch.md +10 -0
- data/docs/OrgsApi.md +120 -0
- data/docs/P2PackageUpload.md +4 -0
- data/docs/P2PackageUploadRequest.md +2 -0
- data/docs/Package.md +4 -0
- data/docs/PackageCopy.md +4 -0
- data/docs/PackageCopyRequest.md +2 -0
- data/docs/PackageDetail.md +100 -0
- data/docs/PackageLicense.md +2 -0
- data/docs/PackageLicenseRequestPatch.md +3 -1
- data/docs/PackageMove.md +4 -0
- data/docs/PackageMoveRequest.md +2 -0
- data/docs/PackageQuarantine.md +4 -0
- data/docs/PackageQuarantineRequest.md +2 -0
- data/docs/PackageResync.md +4 -0
- data/docs/PackageTag.md +4 -0
- data/docs/PackageTagRequest.md +2 -0
- data/docs/PackageVulnerability.md +2 -0
- data/docs/PackagesApi.md +135 -4
- data/docs/PythonPackageUpload.md +4 -0
- data/docs/PythonPackageUploadRequest.md +2 -0
- data/docs/RawPackageUpload.md +4 -0
- data/docs/RawPackageUploadRequest.md +2 -0
- data/docs/RecycleBinPackage.md +2 -0
- data/docs/ReposApi.md +403 -2
- data/docs/RpmPackageUpload.md +4 -0
- data/docs/RpmPackageUploadRequest.md +2 -0
- data/docs/RubyPackageUpload.md +4 -0
- data/docs/RubyPackageUploadRequest.md +2 -0
- data/docs/SwiftPackageUpload.md +4 -0
- data/docs/SwiftPackageUploadRequest.md +2 -0
- data/docs/TerraformPackageUpload.md +4 -0
- data/docs/TerraformPackageUploadRequest.md +2 -0
- data/docs/UserApi.md +2 -2
- data/docs/VagrantPackageUpload.md +4 -0
- data/docs/VagrantPackageUploadRequest.md +2 -0
- data/docs/VsxPackageUpload.md +4 -0
- data/docs/VsxPackageUploadRequest.md +2 -0
- data/docs/WebOSVSeverityCounts.md +14 -0
- data/lib/cloudsmith-api/api/orgs_api.rb +106 -0
- data/lib/cloudsmith-api/api/packages_api.rb +129 -6
- data/lib/cloudsmith-api/api/repos_api.rb +398 -3
- data/lib/cloudsmith-api/api/user_api.rb +3 -3
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/alpine_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/cargo_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/composer_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/composer_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/conan_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/conan_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/conda_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/conda_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/cran_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/cran_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/dart_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/dart_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/deb_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/deb_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/docker_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/docker_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/generic_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/generic_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/go_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/go_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/helm_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/helm_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/hex_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/hex_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/huggingface_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/huggingface_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/inline_response_200.rb +48 -14
- data/lib/cloudsmith-api/models/inline_response_200_1.rb +28 -14
- data/lib/cloudsmith-api/models/inline_response_200_2.rb +1 -1
- data/lib/cloudsmith-api/models/inline_response_200_3.rb +191 -0
- data/lib/cloudsmith-api/models/inline_response_200_4.rb +191 -0
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/luarocks_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/maven_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/maven_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/mcp_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/mcp_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/nix_package_upload.rb +1061 -0
- data/lib/cloudsmith-api/models/nix_package_upload_request.rb +249 -0
- data/lib/cloudsmith-api/models/nix_upstream.rb +496 -0
- data/lib/cloudsmith-api/models/nix_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/nix_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/npm_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/npm_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/nuget_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/organization_usage.rb +215 -0
- data/lib/cloudsmith-api/models/organization_usage_update.rb +202 -0
- data/lib/cloudsmith-api/models/organization_usage_update_request_patch.rb +202 -0
- data/lib/cloudsmith-api/models/p2_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/p2_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/package.rb +42 -1
- data/lib/cloudsmith-api/models/package_copy.rb +42 -1
- data/lib/cloudsmith-api/models/package_copy_request.rb +23 -4
- data/lib/cloudsmith-api/models/package_detail.rb +1090 -0
- data/lib/cloudsmith-api/models/package_license.rb +23 -4
- data/lib/cloudsmith-api/models/package_license_request_patch.rb +28 -4
- data/lib/cloudsmith-api/models/package_move.rb +42 -1
- data/lib/cloudsmith-api/models/package_move_request.rb +23 -4
- data/lib/cloudsmith-api/models/package_quarantine.rb +42 -1
- data/lib/cloudsmith-api/models/package_quarantine_request.rb +23 -4
- data/lib/cloudsmith-api/models/package_resync.rb +42 -1
- data/lib/cloudsmith-api/models/package_tag.rb +42 -1
- data/lib/cloudsmith-api/models/package_tag_request.rb +23 -4
- data/lib/cloudsmith-api/models/package_vulnerability.rb +23 -4
- data/lib/cloudsmith-api/models/python_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/python_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/raw_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/raw_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/recycle_bin_package.rb +23 -4
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/rpm_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/ruby_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/swift_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/swift_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/terraform_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/vsx_package_upload.rb +42 -1
- data/lib/cloudsmith-api/models/vsx_package_upload_request.rb +23 -4
- data/lib/cloudsmith-api/models/web_osv_severity_counts.rb +239 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +12 -0
- data/spec/api/orgs_api_spec.rb +23 -0
- data/spec/api/packages_api_spec.rb +30 -2
- data/spec/api/repos_api_spec.rb +88 -1
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/models/alpine_package_upload_request_spec.rb +12 -0
- data/spec/models/alpine_package_upload_spec.rb +24 -0
- data/spec/models/cargo_package_upload_request_spec.rb +12 -0
- data/spec/models/cargo_package_upload_spec.rb +24 -0
- data/spec/models/cocoapods_package_upload_request_spec.rb +12 -0
- data/spec/models/cocoapods_package_upload_spec.rb +24 -0
- data/spec/models/composer_package_upload_request_spec.rb +12 -0
- data/spec/models/composer_package_upload_spec.rb +24 -0
- data/spec/models/conan_package_upload_request_spec.rb +12 -0
- data/spec/models/conan_package_upload_spec.rb +24 -0
- data/spec/models/conda_package_upload_request_spec.rb +12 -0
- data/spec/models/conda_package_upload_spec.rb +24 -0
- data/spec/models/cran_package_upload_request_spec.rb +12 -0
- data/spec/models/cran_package_upload_spec.rb +24 -0
- data/spec/models/dart_package_upload_request_spec.rb +12 -0
- data/spec/models/dart_package_upload_spec.rb +24 -0
- data/spec/models/deb_package_upload_request_spec.rb +12 -0
- data/spec/models/deb_package_upload_spec.rb +24 -0
- data/spec/models/docker_package_upload_request_spec.rb +12 -0
- data/spec/models/docker_package_upload_spec.rb +24 -0
- data/spec/models/generic_package_upload_request_spec.rb +12 -0
- data/spec/models/generic_package_upload_spec.rb +24 -0
- data/spec/models/go_package_upload_request_spec.rb +12 -0
- data/spec/models/go_package_upload_spec.rb +24 -0
- data/spec/models/helm_package_upload_request_spec.rb +12 -0
- data/spec/models/helm_package_upload_spec.rb +24 -0
- data/spec/models/hex_package_upload_request_spec.rb +12 -0
- data/spec/models/hex_package_upload_spec.rb +24 -0
- data/spec/models/huggingface_package_upload_request_spec.rb +12 -0
- data/spec/models/huggingface_package_upload_spec.rb +24 -0
- data/spec/models/inline_response_200_1_spec.rb +13 -1
- data/spec/models/inline_response_200_3_spec.rb +41 -0
- data/spec/models/inline_response_200_4_spec.rb +41 -0
- data/spec/models/inline_response_200_spec.rb +25 -1
- data/spec/models/luarocks_package_upload_request_spec.rb +12 -0
- data/spec/models/luarocks_package_upload_spec.rb +24 -0
- data/spec/models/maven_package_upload_request_spec.rb +12 -0
- data/spec/models/maven_package_upload_spec.rb +24 -0
- data/spec/models/mcp_package_upload_request_spec.rb +12 -0
- data/spec/models/mcp_package_upload_spec.rb +24 -0
- data/spec/models/nix_package_upload_request_spec.rb +77 -0
- data/spec/models/nix_package_upload_spec.rb +579 -0
- data/spec/models/nix_upstream_request_patch_spec.rb +121 -0
- data/spec/models/nix_upstream_request_spec.rb +121 -0
- data/spec/models/nix_upstream_spec.rb +197 -0
- data/spec/models/npm_package_upload_request_spec.rb +12 -0
- data/spec/models/npm_package_upload_spec.rb +24 -0
- data/spec/models/nuget_package_upload_request_spec.rb +12 -0
- data/spec/models/nuget_package_upload_spec.rb +24 -0
- data/spec/models/organization_usage_spec.rb +59 -0
- data/spec/models/organization_usage_update_request_patch_spec.rb +53 -0
- data/spec/models/organization_usage_update_spec.rb +53 -0
- data/spec/models/p2_package_upload_request_spec.rb +12 -0
- data/spec/models/p2_package_upload_spec.rb +24 -0
- data/spec/models/package_copy_request_spec.rb +12 -0
- data/spec/models/package_copy_spec.rb +24 -0
- data/spec/models/package_detail_spec.rb +597 -0
- data/spec/models/package_license_request_patch_spec.rb +12 -0
- data/spec/models/package_license_spec.rb +12 -0
- data/spec/models/package_move_request_spec.rb +12 -0
- data/spec/models/package_move_spec.rb +24 -0
- data/spec/models/package_quarantine_request_spec.rb +12 -0
- data/spec/models/package_quarantine_spec.rb +24 -0
- data/spec/models/package_resync_spec.rb +24 -0
- data/spec/models/package_spec.rb +24 -0
- data/spec/models/package_tag_request_spec.rb +12 -0
- data/spec/models/package_tag_spec.rb +24 -0
- data/spec/models/package_vulnerability_spec.rb +12 -0
- data/spec/models/python_package_upload_request_spec.rb +12 -0
- data/spec/models/python_package_upload_spec.rb +24 -0
- data/spec/models/raw_package_upload_request_spec.rb +12 -0
- data/spec/models/raw_package_upload_spec.rb +24 -0
- data/spec/models/recycle_bin_package_spec.rb +12 -0
- data/spec/models/rpm_package_upload_request_spec.rb +12 -0
- data/spec/models/rpm_package_upload_spec.rb +24 -0
- data/spec/models/ruby_package_upload_request_spec.rb +12 -0
- data/spec/models/ruby_package_upload_spec.rb +24 -0
- data/spec/models/swift_package_upload_request_spec.rb +12 -0
- data/spec/models/swift_package_upload_spec.rb +24 -0
- data/spec/models/terraform_package_upload_request_spec.rb +12 -0
- data/spec/models/terraform_package_upload_spec.rb +24 -0
- data/spec/models/vagrant_package_upload_request_spec.rb +12 -0
- data/spec/models/vagrant_package_upload_spec.rb +24 -0
- data/spec/models/vsx_package_upload_request_spec.rb +12 -0
- data/spec/models/vsx_package_upload_spec.rb +24 -0
- data/spec/models/web_osv_severity_counts_spec.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/mkmf.log +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.2/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
- metadata +51 -3
|
@@ -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
|
data/lib/cloudsmith-api.rb
CHANGED
|
@@ -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'
|
|
@@ -172,6 +179,9 @@ require 'cloudsmith-api/models/organization_team_members'
|
|
|
172
179
|
require 'cloudsmith-api/models/organization_team_request'
|
|
173
180
|
require 'cloudsmith-api/models/organization_team_request_patch'
|
|
174
181
|
require 'cloudsmith-api/models/organization_team_service_member'
|
|
182
|
+
require 'cloudsmith-api/models/organization_usage'
|
|
183
|
+
require 'cloudsmith-api/models/organization_usage_update'
|
|
184
|
+
require 'cloudsmith-api/models/organization_usage_update_request_patch'
|
|
175
185
|
require 'cloudsmith-api/models/p2_package_upload'
|
|
176
186
|
require 'cloudsmith-api/models/p2_package_upload_request'
|
|
177
187
|
require 'cloudsmith-api/models/package'
|
|
@@ -184,6 +194,7 @@ require 'cloudsmith-api/models/package_deny_policy_request'
|
|
|
184
194
|
require 'cloudsmith-api/models/package_deny_policy_request_patch'
|
|
185
195
|
require 'cloudsmith-api/models/package_dependencies'
|
|
186
196
|
require 'cloudsmith-api/models/package_dependency'
|
|
197
|
+
require 'cloudsmith-api/models/package_detail'
|
|
187
198
|
require 'cloudsmith-api/models/package_file'
|
|
188
199
|
require 'cloudsmith-api/models/package_file_parts_upload'
|
|
189
200
|
require 'cloudsmith-api/models/package_file_upload'
|
|
@@ -321,6 +332,7 @@ require 'cloudsmith-api/models/vulnerability_scan'
|
|
|
321
332
|
require 'cloudsmith-api/models/vulnerability_scan_results'
|
|
322
333
|
require 'cloudsmith-api/models/vulnerability_scan_results_list'
|
|
323
334
|
require 'cloudsmith-api/models/vulnerability_scan_version'
|
|
335
|
+
require 'cloudsmith-api/models/web_osv_severity_counts'
|
|
324
336
|
require 'cloudsmith-api/models/webhook_template'
|
|
325
337
|
|
|
326
338
|
# APIs
|
data/spec/api/orgs_api_spec.rb
CHANGED
|
@@ -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 `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind.
|
|
92
|
-
# @return [
|
|
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 [
|
|
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
|
data/spec/api/repos_api_spec.rb
CHANGED
|
@@ -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 [
|
|
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.
|
data/spec/api/user_api_spec.rb
CHANGED
|
@@ -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 [
|
|
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
|
|
@@ -206,6 +206,12 @@ describe 'CargoPackageUpload' 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 'CargoPackageUpload' 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 'CargoPackageUpload' 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 'CargoPackageUpload' 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 'CocoapodsPackageUploadRequest' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(CloudsmithApi::CocoapodsPackageUploadRequest)
|
|
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 'CocoapodsPackageUploadRequest' 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
|