cloudsmith-api 2.0.32 → 2.0.34
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 +2 -2
- data/README.md +15 -4
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +1 -2
- data/docs/AlpinePackageUploadRequest.md +0 -2
- data/docs/CargoPackageUpload.md +1 -2
- data/docs/CargoPackageUploadRequest.md +0 -2
- data/docs/CocoapodsPackageUpload.md +1 -2
- data/docs/CocoapodsPackageUploadRequest.md +0 -2
- data/docs/ComposerPackageUpload.md +1 -2
- data/docs/ComposerPackageUploadRequest.md +0 -2
- data/docs/ConanPackageUpload.md +1 -2
- data/docs/ConanPackageUploadRequest.md +0 -2
- data/docs/CondaPackageUpload.md +1 -2
- data/docs/CondaPackageUploadRequest.md +0 -2
- data/docs/ConnectedRepository.md +3 -0
- data/docs/ConnectedRepositoryTargetSummary.md +11 -0
- data/docs/ConnectedRepositoryUpstream.md +9 -0
- data/docs/CranPackageUpload.md +1 -2
- data/docs/CranPackageUploadRequest.md +0 -2
- data/docs/DartPackageUpload.md +1 -2
- data/docs/DartPackageUploadRequest.md +0 -2
- data/docs/DebPackageUpload.md +1 -2
- data/docs/DebPackageUploadRequest.md +0 -2
- data/docs/DockerPackageUpload.md +1 -2
- data/docs/DockerPackageUploadRequest.md +0 -2
- data/docs/GenericPackageUpload.md +1 -2
- data/docs/GenericPackageUploadRequest.md +0 -2
- data/docs/GoPackageUpload.md +1 -2
- data/docs/GoPackageUploadRequest.md +0 -2
- data/docs/HelmPackageUpload.md +1 -2
- data/docs/HelmPackageUploadRequest.md +0 -2
- data/docs/HexPackageUpload.md +1 -2
- data/docs/HexPackageUploadRequest.md +0 -2
- data/docs/HuggingfacePackageUpload.md +1 -2
- data/docs/HuggingfacePackageUploadRequest.md +0 -2
- data/docs/LuarocksPackageUpload.md +1 -2
- data/docs/LuarocksPackageUploadRequest.md +0 -2
- data/docs/MavenPackageUpload.md +1 -2
- data/docs/MavenPackageUploadRequest.md +0 -2
- data/docs/McpPackageUpload.md +1 -2
- data/docs/McpPackageUploadRequest.md +0 -2
- data/docs/NixPackageUpload.md +1 -2
- data/docs/NixPackageUploadRequest.md +0 -2
- data/docs/NpmPackageUpload.md +1 -2
- data/docs/NpmPackageUploadRequest.md +0 -2
- data/docs/NugetPackageUpload.md +1 -2
- data/docs/NugetPackageUploadRequest.md +0 -2
- data/docs/OrganizationApiKeyRule.md +16 -0
- data/docs/OrganizationApiKeyRuleRequest.md +12 -0
- data/docs/OrganizationApiKeyRuleRequestPatch.md +12 -0
- data/docs/OrgsApi.md +377 -0
- data/docs/P2PackageUpload.md +1 -2
- data/docs/P2PackageUploadRequest.md +0 -2
- data/docs/Package.md +1 -0
- data/docs/PackageCopy.md +1 -2
- data/docs/PackageCopyRequest.md +0 -2
- data/docs/PackageDetail.md +1 -0
- data/docs/PackageLicense.md +0 -2
- data/docs/PackageLicenseRequestPatch.md +0 -2
- data/docs/PackageMove.md +1 -2
- data/docs/PackageMoveRequest.md +0 -2
- data/docs/PackageQuarantine.md +1 -2
- data/docs/PackageQuarantineRequest.md +0 -2
- data/docs/PackageResync.md +1 -2
- data/docs/PackageTag.md +1 -2
- data/docs/PackageTagRequest.md +0 -2
- data/docs/PackageVulnerability.md +0 -2
- data/docs/PackagesApi.md +2 -2
- data/docs/PythonPackageUpload.md +1 -2
- data/docs/PythonPackageUploadRequest.md +0 -2
- data/docs/RawPackageUpload.md +1 -2
- data/docs/RawPackageUploadRequest.md +0 -2
- data/docs/RpmPackageUpload.md +1 -2
- data/docs/RpmPackageUploadRequest.md +0 -2
- data/docs/RubyPackageUpload.md +1 -2
- data/docs/RubyPackageUploadRequest.md +0 -2
- data/docs/SwiftPackageUpload.md +1 -2
- data/docs/SwiftPackageUploadRequest.md +0 -2
- data/docs/TerraformPackageUpload.md +1 -2
- data/docs/TerraformPackageUploadRequest.md +0 -2
- data/docs/VagrantPackageUpload.md +1 -2
- data/docs/VagrantPackageUploadRequest.md +0 -2
- data/docs/VsxPackageUpload.md +1 -2
- data/docs/VsxPackageUploadRequest.md +0 -2
- data/lib/cloudsmith-api/api/orgs_api.rb +353 -0
- data/lib/cloudsmith-api/api/packages_api.rb +2 -2
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/alpine_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/cargo_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/composer_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/composer_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/conan_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/conan_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/conda_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/conda_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/connected_repository.rb +35 -4
- data/lib/cloudsmith-api/models/connected_repository_target_summary.rb +211 -0
- data/lib/cloudsmith-api/models/connected_repository_upstream.rb +194 -0
- data/lib/cloudsmith-api/models/cran_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/cran_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/dart_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/dart_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/deb_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/deb_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/docker_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/docker_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/generic_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/generic_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/go_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/go_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/go_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/go_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/go_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/helm_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/helm_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/hex_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/hex_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/huggingface_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/huggingface_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/luarocks_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/maven_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/maven_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/mcp_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/mcp_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/nix_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/nix_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/npm_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/npm_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/nuget_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/organization_api_key_rule.rb +302 -0
- data/lib/cloudsmith-api/models/organization_api_key_rule_request.rb +264 -0
- data/lib/cloudsmith-api/models/organization_api_key_rule_request_patch.rb +259 -0
- data/lib/cloudsmith-api/models/p2_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/p2_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/package.rb +11 -1
- data/lib/cloudsmith-api/models/package_copy.rb +11 -20
- data/lib/cloudsmith-api/models/package_copy_request.rb +4 -23
- data/lib/cloudsmith-api/models/package_detail.rb +11 -1
- data/lib/cloudsmith-api/models/package_license.rb +4 -23
- data/lib/cloudsmith-api/models/package_license_request_patch.rb +4 -23
- data/lib/cloudsmith-api/models/package_move.rb +11 -20
- data/lib/cloudsmith-api/models/package_move_request.rb +4 -23
- data/lib/cloudsmith-api/models/package_quarantine.rb +11 -20
- data/lib/cloudsmith-api/models/package_quarantine_request.rb +4 -23
- data/lib/cloudsmith-api/models/package_resync.rb +11 -20
- data/lib/cloudsmith-api/models/package_tag.rb +11 -20
- data/lib/cloudsmith-api/models/package_tag_request.rb +4 -23
- data/lib/cloudsmith-api/models/package_vulnerability.rb +4 -23
- data/lib/cloudsmith-api/models/python_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/python_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/raw_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/raw_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/rpm_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/ruby_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/swift_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/swift_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/terraform_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/vagrant_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/models/vsx_package_upload.rb +11 -20
- data/lib/cloudsmith-api/models/vsx_package_upload_request.rb +4 -23
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +5 -0
- data/spec/api/orgs_api_spec.rb +79 -0
- data/spec/api/packages_api_spec.rb +1 -1
- data/spec/models/alpine_package_upload_request_spec.rb +0 -12
- data/spec/models/alpine_package_upload_spec.rb +6 -12
- data/spec/models/cargo_package_upload_request_spec.rb +0 -12
- data/spec/models/cargo_package_upload_spec.rb +6 -12
- data/spec/models/cocoapods_package_upload_request_spec.rb +0 -12
- data/spec/models/cocoapods_package_upload_spec.rb +6 -12
- data/spec/models/composer_package_upload_request_spec.rb +0 -12
- data/spec/models/composer_package_upload_spec.rb +6 -12
- data/spec/models/conan_package_upload_request_spec.rb +0 -12
- data/spec/models/conan_package_upload_spec.rb +6 -12
- data/spec/models/conda_package_upload_request_spec.rb +0 -12
- data/spec/models/conda_package_upload_spec.rb +6 -12
- data/spec/models/connected_repository_spec.rb +18 -0
- data/spec/models/connected_repository_target_summary_spec.rb +59 -0
- data/spec/models/connected_repository_upstream_spec.rb +47 -0
- data/spec/models/cran_package_upload_request_spec.rb +0 -12
- data/spec/models/cran_package_upload_spec.rb +6 -12
- data/spec/models/dart_package_upload_request_spec.rb +0 -12
- data/spec/models/dart_package_upload_spec.rb +6 -12
- data/spec/models/deb_package_upload_request_spec.rb +0 -12
- data/spec/models/deb_package_upload_spec.rb +6 -12
- data/spec/models/docker_package_upload_request_spec.rb +0 -12
- data/spec/models/docker_package_upload_spec.rb +6 -12
- data/spec/models/generic_package_upload_request_spec.rb +0 -12
- data/spec/models/generic_package_upload_spec.rb +6 -12
- data/spec/models/go_package_upload_request_spec.rb +0 -12
- data/spec/models/go_package_upload_spec.rb +6 -12
- data/spec/models/go_upstream_request_patch_spec.rb +1 -1
- data/spec/models/go_upstream_request_spec.rb +1 -1
- data/spec/models/go_upstream_spec.rb +1 -1
- data/spec/models/helm_package_upload_request_spec.rb +0 -12
- data/spec/models/helm_package_upload_spec.rb +6 -12
- data/spec/models/hex_package_upload_request_spec.rb +0 -12
- data/spec/models/hex_package_upload_spec.rb +6 -12
- data/spec/models/huggingface_package_upload_request_spec.rb +0 -12
- data/spec/models/huggingface_package_upload_spec.rb +6 -12
- data/spec/models/luarocks_package_upload_request_spec.rb +0 -12
- data/spec/models/luarocks_package_upload_spec.rb +6 -12
- data/spec/models/maven_package_upload_request_spec.rb +0 -12
- data/spec/models/maven_package_upload_spec.rb +6 -12
- data/spec/models/mcp_package_upload_request_spec.rb +0 -12
- data/spec/models/mcp_package_upload_spec.rb +6 -12
- data/spec/models/nix_package_upload_request_spec.rb +0 -12
- data/spec/models/nix_package_upload_spec.rb +6 -12
- data/spec/models/npm_package_upload_request_spec.rb +0 -12
- data/spec/models/npm_package_upload_spec.rb +6 -12
- data/spec/models/nuget_package_upload_request_spec.rb +0 -12
- data/spec/models/nuget_package_upload_spec.rb +6 -12
- data/spec/models/organization_api_key_rule_request_patch_spec.rb +69 -0
- data/spec/models/organization_api_key_rule_request_spec.rb +69 -0
- data/spec/models/organization_api_key_rule_spec.rb +93 -0
- data/spec/models/p2_package_upload_request_spec.rb +0 -12
- data/spec/models/p2_package_upload_spec.rb +6 -12
- data/spec/models/package_copy_request_spec.rb +0 -12
- data/spec/models/package_copy_spec.rb +6 -12
- data/spec/models/package_detail_spec.rb +6 -0
- data/spec/models/package_license_request_patch_spec.rb +0 -12
- data/spec/models/package_license_spec.rb +0 -12
- data/spec/models/package_move_request_spec.rb +0 -12
- data/spec/models/package_move_spec.rb +6 -12
- data/spec/models/package_quarantine_request_spec.rb +0 -12
- data/spec/models/package_quarantine_spec.rb +6 -12
- data/spec/models/package_resync_spec.rb +6 -12
- data/spec/models/package_spec.rb +6 -0
- data/spec/models/package_tag_request_spec.rb +0 -12
- data/spec/models/package_tag_spec.rb +6 -12
- data/spec/models/package_vulnerability_spec.rb +0 -12
- data/spec/models/python_package_upload_request_spec.rb +0 -12
- data/spec/models/python_package_upload_spec.rb +6 -12
- data/spec/models/raw_package_upload_request_spec.rb +0 -12
- data/spec/models/raw_package_upload_spec.rb +6 -12
- data/spec/models/rpm_package_upload_request_spec.rb +0 -12
- data/spec/models/rpm_package_upload_spec.rb +6 -12
- data/spec/models/ruby_package_upload_request_spec.rb +0 -12
- data/spec/models/ruby_package_upload_spec.rb +6 -12
- data/spec/models/swift_package_upload_request_spec.rb +0 -12
- data/spec/models/swift_package_upload_spec.rb +6 -12
- data/spec/models/terraform_package_upload_request_spec.rb +0 -12
- data/spec/models/terraform_package_upload_spec.rb +6 -12
- data/spec/models/vagrant_package_upload_request_spec.rb +0 -12
- data/spec/models/vagrant_package_upload_spec.rb +6 -12
- data/spec/models/vsx_package_upload_request_spec.rb +0 -12
- data/spec/models/vsx_package_upload_spec.rb +6 -12
- data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-4.1.3.gem +0 -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.3/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/gem_make.out +97 -84
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/mkmf.log +8 -8
- 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 → bigdecimal-4.1.3}/bigdecimal.gemspec +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/bigdecimal.c +26 -10
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/bigdecimal.h +5 -5
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.3/ext/bigdecimal/bigdecimal.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.3/ext/bigdecimal/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/div.h +61 -34
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/missing.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.3/lib/bigdecimal/math/erf.rb +291 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.3/lib/bigdecimal/math/gamma.rb +513 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/lib/bigdecimal/math.rb +8 -219
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.3/lib/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/sig/big_decimal.rbs +3 -1
- 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
- data/vendor/bundle/ruby/2.6.0/specifications/{bigdecimal-4.1.2.gemspec → bigdecimal-4.1.3.gemspec} +2 -2
- metadata +65 -43
- data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-4.1.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.2/ext/bigdecimal/bigdecimal.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.2/ext/bigdecimal/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.2/lib/bigdecimal.so +0 -0
- /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/.sitearchdir.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/bits.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/feature.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/missing/dtoa.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/missing.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/missing.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/ntt.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/ext/bigdecimal/static_assert.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/lib/bigdecimal/jacobian.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/lib/bigdecimal/ludcmp.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/lib/bigdecimal/newton.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/lib/bigdecimal/util.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/lib/bigdecimal.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/sample/linear.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/sample/nlsolve.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/sample/pi.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/sig/big_decimal_util.rbs +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/sig/big_math.rbs +0 -0
|
@@ -36,6 +36,9 @@ class GenericPackageUpload
|
|
|
36
36
|
|
|
37
37
|
attr_accessor :display_name
|
|
38
38
|
|
|
39
|
+
# Where the package originated, for example: 'upstream' (proxied/cached from a configured upstream), 'connected_repository' (blended in from a connected target repository), or 'manual_upload' (uploaded directly to Cloudsmith).
|
|
40
|
+
attr_accessor :display_source
|
|
41
|
+
|
|
39
42
|
attr_accessor :distro
|
|
40
43
|
|
|
41
44
|
attr_accessor :distro_version
|
|
@@ -78,9 +81,6 @@ class GenericPackageUpload
|
|
|
78
81
|
|
|
79
82
|
attr_accessor :is_hidden
|
|
80
83
|
|
|
81
|
-
# Whether the package has been detected as containing malware. Requires Ultra plan.
|
|
82
|
-
attr_accessor :is_malware_detected
|
|
83
|
-
|
|
84
84
|
attr_accessor :is_moveable
|
|
85
85
|
|
|
86
86
|
attr_accessor :is_quarantinable
|
|
@@ -222,8 +222,6 @@ class GenericPackageUpload
|
|
|
222
222
|
|
|
223
223
|
attr_accessor :version_orig
|
|
224
224
|
|
|
225
|
-
attr_accessor :vulnerability_counts
|
|
226
|
-
|
|
227
225
|
attr_accessor :vulnerability_scan_results_url
|
|
228
226
|
|
|
229
227
|
class EnumAttributeValidator
|
|
@@ -261,6 +259,7 @@ class GenericPackageUpload
|
|
|
261
259
|
:'dependencies_url' => :'dependencies_url',
|
|
262
260
|
:'description' => :'description',
|
|
263
261
|
:'display_name' => :'display_name',
|
|
262
|
+
:'display_source' => :'display_source',
|
|
264
263
|
:'distro' => :'distro',
|
|
265
264
|
:'distro_version' => :'distro_version',
|
|
266
265
|
:'downloads' => :'downloads',
|
|
@@ -280,7 +279,6 @@ class GenericPackageUpload
|
|
|
280
279
|
:'is_deleteable' => :'is_deleteable',
|
|
281
280
|
:'is_downloadable' => :'is_downloadable',
|
|
282
281
|
:'is_hidden' => :'is_hidden',
|
|
283
|
-
:'is_malware_detected' => :'is_malware_detected',
|
|
284
282
|
:'is_moveable' => :'is_moveable',
|
|
285
283
|
:'is_quarantinable' => :'is_quarantinable',
|
|
286
284
|
:'is_quarantined' => :'is_quarantined',
|
|
@@ -339,7 +337,6 @@ class GenericPackageUpload
|
|
|
339
337
|
:'uploader_url' => :'uploader_url',
|
|
340
338
|
:'version' => :'version',
|
|
341
339
|
:'version_orig' => :'version_orig',
|
|
342
|
-
:'vulnerability_counts' => :'vulnerability_counts',
|
|
343
340
|
:'vulnerability_scan_results_url' => :'vulnerability_scan_results_url'
|
|
344
341
|
}
|
|
345
342
|
end
|
|
@@ -357,6 +354,7 @@ class GenericPackageUpload
|
|
|
357
354
|
:'dependencies_url' => :'String',
|
|
358
355
|
:'description' => :'String',
|
|
359
356
|
:'display_name' => :'String',
|
|
357
|
+
:'display_source' => :'String',
|
|
360
358
|
:'distro' => :'Distribution',
|
|
361
359
|
:'distro_version' => :'DistributionVersion',
|
|
362
360
|
:'downloads' => :'Integer',
|
|
@@ -376,7 +374,6 @@ class GenericPackageUpload
|
|
|
376
374
|
:'is_deleteable' => :'BOOLEAN',
|
|
377
375
|
:'is_downloadable' => :'BOOLEAN',
|
|
378
376
|
:'is_hidden' => :'BOOLEAN',
|
|
379
|
-
:'is_malware_detected' => :'BOOLEAN',
|
|
380
377
|
:'is_moveable' => :'BOOLEAN',
|
|
381
378
|
:'is_quarantinable' => :'BOOLEAN',
|
|
382
379
|
:'is_quarantined' => :'BOOLEAN',
|
|
@@ -435,7 +432,6 @@ class GenericPackageUpload
|
|
|
435
432
|
:'uploader_url' => :'String',
|
|
436
433
|
:'version' => :'String',
|
|
437
434
|
:'version_orig' => :'String',
|
|
438
|
-
:'vulnerability_counts' => :'WebOSVSeverityCounts',
|
|
439
435
|
:'vulnerability_scan_results_url' => :'String'
|
|
440
436
|
}
|
|
441
437
|
end
|
|
@@ -490,6 +486,10 @@ class GenericPackageUpload
|
|
|
490
486
|
self.display_name = attributes[:'display_name']
|
|
491
487
|
end
|
|
492
488
|
|
|
489
|
+
if attributes.has_key?(:'display_source')
|
|
490
|
+
self.display_source = attributes[:'display_source']
|
|
491
|
+
end
|
|
492
|
+
|
|
493
493
|
if attributes.has_key?(:'distro')
|
|
494
494
|
self.distro = attributes[:'distro']
|
|
495
495
|
end
|
|
@@ -570,10 +570,6 @@ class GenericPackageUpload
|
|
|
570
570
|
self.is_hidden = attributes[:'is_hidden']
|
|
571
571
|
end
|
|
572
572
|
|
|
573
|
-
if attributes.has_key?(:'is_malware_detected')
|
|
574
|
-
self.is_malware_detected = attributes[:'is_malware_detected']
|
|
575
|
-
end
|
|
576
|
-
|
|
577
573
|
if attributes.has_key?(:'is_moveable')
|
|
578
574
|
self.is_moveable = attributes[:'is_moveable']
|
|
579
575
|
end
|
|
@@ -810,10 +806,6 @@ class GenericPackageUpload
|
|
|
810
806
|
self.version_orig = attributes[:'version_orig']
|
|
811
807
|
end
|
|
812
808
|
|
|
813
|
-
if attributes.has_key?(:'vulnerability_counts')
|
|
814
|
-
self.vulnerability_counts = attributes[:'vulnerability_counts']
|
|
815
|
-
end
|
|
816
|
-
|
|
817
809
|
if attributes.has_key?(:'vulnerability_scan_results_url')
|
|
818
810
|
self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
|
|
819
811
|
end
|
|
@@ -859,6 +851,7 @@ class GenericPackageUpload
|
|
|
859
851
|
dependencies_url == o.dependencies_url &&
|
|
860
852
|
description == o.description &&
|
|
861
853
|
display_name == o.display_name &&
|
|
854
|
+
display_source == o.display_source &&
|
|
862
855
|
distro == o.distro &&
|
|
863
856
|
distro_version == o.distro_version &&
|
|
864
857
|
downloads == o.downloads &&
|
|
@@ -878,7 +871,6 @@ class GenericPackageUpload
|
|
|
878
871
|
is_deleteable == o.is_deleteable &&
|
|
879
872
|
is_downloadable == o.is_downloadable &&
|
|
880
873
|
is_hidden == o.is_hidden &&
|
|
881
|
-
is_malware_detected == o.is_malware_detected &&
|
|
882
874
|
is_moveable == o.is_moveable &&
|
|
883
875
|
is_quarantinable == o.is_quarantinable &&
|
|
884
876
|
is_quarantined == o.is_quarantined &&
|
|
@@ -937,7 +929,6 @@ class GenericPackageUpload
|
|
|
937
929
|
uploader_url == o.uploader_url &&
|
|
938
930
|
version == o.version &&
|
|
939
931
|
version_orig == o.version_orig &&
|
|
940
|
-
vulnerability_counts == o.vulnerability_counts &&
|
|
941
932
|
vulnerability_scan_results_url == o.vulnerability_scan_results_url
|
|
942
933
|
end
|
|
943
934
|
|
|
@@ -950,7 +941,7 @@ class GenericPackageUpload
|
|
|
950
941
|
# Calculates hash code according to all attributes.
|
|
951
942
|
# @return [Fixnum] Hash code
|
|
952
943
|
def hash
|
|
953
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden,
|
|
944
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, display_source, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, osi_approved, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, store_path, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, tags_static, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
954
945
|
end
|
|
955
946
|
|
|
956
947
|
# Builds the object from hash
|
|
@@ -17,9 +17,6 @@ class GenericPackageUploadRequest
|
|
|
17
17
|
# The full filepath of the package including filename.
|
|
18
18
|
attr_accessor :filepath
|
|
19
19
|
|
|
20
|
-
# Whether the package has been detected as containing malware. Requires Ultra plan.
|
|
21
|
-
attr_accessor :is_malware_detected
|
|
22
|
-
|
|
23
20
|
# The name of this package.
|
|
24
21
|
attr_accessor :name
|
|
25
22
|
|
|
@@ -35,19 +32,15 @@ class GenericPackageUploadRequest
|
|
|
35
32
|
# The raw version for this package.
|
|
36
33
|
attr_accessor :version
|
|
37
34
|
|
|
38
|
-
attr_accessor :vulnerability_counts
|
|
39
|
-
|
|
40
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
41
36
|
def self.attribute_map
|
|
42
37
|
{
|
|
43
38
|
:'filepath' => :'filepath',
|
|
44
|
-
:'is_malware_detected' => :'is_malware_detected',
|
|
45
39
|
:'name' => :'name',
|
|
46
40
|
:'package_file' => :'package_file',
|
|
47
41
|
:'republish' => :'republish',
|
|
48
42
|
:'tags' => :'tags',
|
|
49
|
-
:'version' => :'version'
|
|
50
|
-
:'vulnerability_counts' => :'vulnerability_counts'
|
|
43
|
+
:'version' => :'version'
|
|
51
44
|
}
|
|
52
45
|
end
|
|
53
46
|
|
|
@@ -55,13 +48,11 @@ class GenericPackageUploadRequest
|
|
|
55
48
|
def self.swagger_types
|
|
56
49
|
{
|
|
57
50
|
:'filepath' => :'String',
|
|
58
|
-
:'is_malware_detected' => :'BOOLEAN',
|
|
59
51
|
:'name' => :'String',
|
|
60
52
|
:'package_file' => :'String',
|
|
61
53
|
:'republish' => :'BOOLEAN',
|
|
62
54
|
:'tags' => :'String',
|
|
63
|
-
:'version' => :'String'
|
|
64
|
-
:'vulnerability_counts' => :'WebOSVSeverityCounts'
|
|
55
|
+
:'version' => :'String'
|
|
65
56
|
}
|
|
66
57
|
end
|
|
67
58
|
|
|
@@ -77,10 +68,6 @@ class GenericPackageUploadRequest
|
|
|
77
68
|
self.filepath = attributes[:'filepath']
|
|
78
69
|
end
|
|
79
70
|
|
|
80
|
-
if attributes.has_key?(:'is_malware_detected')
|
|
81
|
-
self.is_malware_detected = attributes[:'is_malware_detected']
|
|
82
|
-
end
|
|
83
|
-
|
|
84
71
|
if attributes.has_key?(:'name')
|
|
85
72
|
self.name = attributes[:'name']
|
|
86
73
|
end
|
|
@@ -100,10 +87,6 @@ class GenericPackageUploadRequest
|
|
|
100
87
|
if attributes.has_key?(:'version')
|
|
101
88
|
self.version = attributes[:'version']
|
|
102
89
|
end
|
|
103
|
-
|
|
104
|
-
if attributes.has_key?(:'vulnerability_counts')
|
|
105
|
-
self.vulnerability_counts = attributes[:'vulnerability_counts']
|
|
106
|
-
end
|
|
107
90
|
end
|
|
108
91
|
|
|
109
92
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -135,13 +118,11 @@ class GenericPackageUploadRequest
|
|
|
135
118
|
return true if self.equal?(o)
|
|
136
119
|
self.class == o.class &&
|
|
137
120
|
filepath == o.filepath &&
|
|
138
|
-
is_malware_detected == o.is_malware_detected &&
|
|
139
121
|
name == o.name &&
|
|
140
122
|
package_file == o.package_file &&
|
|
141
123
|
republish == o.republish &&
|
|
142
124
|
tags == o.tags &&
|
|
143
|
-
version == o.version
|
|
144
|
-
vulnerability_counts == o.vulnerability_counts
|
|
125
|
+
version == o.version
|
|
145
126
|
end
|
|
146
127
|
|
|
147
128
|
# @see the `==` method
|
|
@@ -153,7 +134,7 @@ class GenericPackageUploadRequest
|
|
|
153
134
|
# Calculates hash code according to all attributes.
|
|
154
135
|
# @return [Fixnum] Hash code
|
|
155
136
|
def hash
|
|
156
|
-
[filepath,
|
|
137
|
+
[filepath, name, package_file, republish, tags, version].hash
|
|
157
138
|
end
|
|
158
139
|
|
|
159
140
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ class GoPackageUpload
|
|
|
36
36
|
|
|
37
37
|
attr_accessor :display_name
|
|
38
38
|
|
|
39
|
+
# Where the package originated, for example: 'upstream' (proxied/cached from a configured upstream), 'connected_repository' (blended in from a connected target repository), or 'manual_upload' (uploaded directly to Cloudsmith).
|
|
40
|
+
attr_accessor :display_source
|
|
41
|
+
|
|
39
42
|
attr_accessor :distro
|
|
40
43
|
|
|
41
44
|
attr_accessor :distro_version
|
|
@@ -78,9 +81,6 @@ class GoPackageUpload
|
|
|
78
81
|
|
|
79
82
|
attr_accessor :is_hidden
|
|
80
83
|
|
|
81
|
-
# Whether the package has been detected as containing malware. Requires Ultra plan.
|
|
82
|
-
attr_accessor :is_malware_detected
|
|
83
|
-
|
|
84
84
|
attr_accessor :is_moveable
|
|
85
85
|
|
|
86
86
|
attr_accessor :is_quarantinable
|
|
@@ -222,8 +222,6 @@ class GoPackageUpload
|
|
|
222
222
|
|
|
223
223
|
attr_accessor :version_orig
|
|
224
224
|
|
|
225
|
-
attr_accessor :vulnerability_counts
|
|
226
|
-
|
|
227
225
|
attr_accessor :vulnerability_scan_results_url
|
|
228
226
|
|
|
229
227
|
class EnumAttributeValidator
|
|
@@ -261,6 +259,7 @@ class GoPackageUpload
|
|
|
261
259
|
:'dependencies_url' => :'dependencies_url',
|
|
262
260
|
:'description' => :'description',
|
|
263
261
|
:'display_name' => :'display_name',
|
|
262
|
+
:'display_source' => :'display_source',
|
|
264
263
|
:'distro' => :'distro',
|
|
265
264
|
:'distro_version' => :'distro_version',
|
|
266
265
|
:'downloads' => :'downloads',
|
|
@@ -280,7 +279,6 @@ class GoPackageUpload
|
|
|
280
279
|
:'is_deleteable' => :'is_deleteable',
|
|
281
280
|
:'is_downloadable' => :'is_downloadable',
|
|
282
281
|
:'is_hidden' => :'is_hidden',
|
|
283
|
-
:'is_malware_detected' => :'is_malware_detected',
|
|
284
282
|
:'is_moveable' => :'is_moveable',
|
|
285
283
|
:'is_quarantinable' => :'is_quarantinable',
|
|
286
284
|
:'is_quarantined' => :'is_quarantined',
|
|
@@ -339,7 +337,6 @@ class GoPackageUpload
|
|
|
339
337
|
:'uploader_url' => :'uploader_url',
|
|
340
338
|
:'version' => :'version',
|
|
341
339
|
:'version_orig' => :'version_orig',
|
|
342
|
-
:'vulnerability_counts' => :'vulnerability_counts',
|
|
343
340
|
:'vulnerability_scan_results_url' => :'vulnerability_scan_results_url'
|
|
344
341
|
}
|
|
345
342
|
end
|
|
@@ -357,6 +354,7 @@ class GoPackageUpload
|
|
|
357
354
|
:'dependencies_url' => :'String',
|
|
358
355
|
:'description' => :'String',
|
|
359
356
|
:'display_name' => :'String',
|
|
357
|
+
:'display_source' => :'String',
|
|
360
358
|
:'distro' => :'Distribution',
|
|
361
359
|
:'distro_version' => :'DistributionVersion',
|
|
362
360
|
:'downloads' => :'Integer',
|
|
@@ -376,7 +374,6 @@ class GoPackageUpload
|
|
|
376
374
|
:'is_deleteable' => :'BOOLEAN',
|
|
377
375
|
:'is_downloadable' => :'BOOLEAN',
|
|
378
376
|
:'is_hidden' => :'BOOLEAN',
|
|
379
|
-
:'is_malware_detected' => :'BOOLEAN',
|
|
380
377
|
:'is_moveable' => :'BOOLEAN',
|
|
381
378
|
:'is_quarantinable' => :'BOOLEAN',
|
|
382
379
|
:'is_quarantined' => :'BOOLEAN',
|
|
@@ -435,7 +432,6 @@ class GoPackageUpload
|
|
|
435
432
|
:'uploader_url' => :'String',
|
|
436
433
|
:'version' => :'String',
|
|
437
434
|
:'version_orig' => :'String',
|
|
438
|
-
:'vulnerability_counts' => :'WebOSVSeverityCounts',
|
|
439
435
|
:'vulnerability_scan_results_url' => :'String'
|
|
440
436
|
}
|
|
441
437
|
end
|
|
@@ -490,6 +486,10 @@ class GoPackageUpload
|
|
|
490
486
|
self.display_name = attributes[:'display_name']
|
|
491
487
|
end
|
|
492
488
|
|
|
489
|
+
if attributes.has_key?(:'display_source')
|
|
490
|
+
self.display_source = attributes[:'display_source']
|
|
491
|
+
end
|
|
492
|
+
|
|
493
493
|
if attributes.has_key?(:'distro')
|
|
494
494
|
self.distro = attributes[:'distro']
|
|
495
495
|
end
|
|
@@ -570,10 +570,6 @@ class GoPackageUpload
|
|
|
570
570
|
self.is_hidden = attributes[:'is_hidden']
|
|
571
571
|
end
|
|
572
572
|
|
|
573
|
-
if attributes.has_key?(:'is_malware_detected')
|
|
574
|
-
self.is_malware_detected = attributes[:'is_malware_detected']
|
|
575
|
-
end
|
|
576
|
-
|
|
577
573
|
if attributes.has_key?(:'is_moveable')
|
|
578
574
|
self.is_moveable = attributes[:'is_moveable']
|
|
579
575
|
end
|
|
@@ -810,10 +806,6 @@ class GoPackageUpload
|
|
|
810
806
|
self.version_orig = attributes[:'version_orig']
|
|
811
807
|
end
|
|
812
808
|
|
|
813
|
-
if attributes.has_key?(:'vulnerability_counts')
|
|
814
|
-
self.vulnerability_counts = attributes[:'vulnerability_counts']
|
|
815
|
-
end
|
|
816
|
-
|
|
817
809
|
if attributes.has_key?(:'vulnerability_scan_results_url')
|
|
818
810
|
self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
|
|
819
811
|
end
|
|
@@ -859,6 +851,7 @@ class GoPackageUpload
|
|
|
859
851
|
dependencies_url == o.dependencies_url &&
|
|
860
852
|
description == o.description &&
|
|
861
853
|
display_name == o.display_name &&
|
|
854
|
+
display_source == o.display_source &&
|
|
862
855
|
distro == o.distro &&
|
|
863
856
|
distro_version == o.distro_version &&
|
|
864
857
|
downloads == o.downloads &&
|
|
@@ -878,7 +871,6 @@ class GoPackageUpload
|
|
|
878
871
|
is_deleteable == o.is_deleteable &&
|
|
879
872
|
is_downloadable == o.is_downloadable &&
|
|
880
873
|
is_hidden == o.is_hidden &&
|
|
881
|
-
is_malware_detected == o.is_malware_detected &&
|
|
882
874
|
is_moveable == o.is_moveable &&
|
|
883
875
|
is_quarantinable == o.is_quarantinable &&
|
|
884
876
|
is_quarantined == o.is_quarantined &&
|
|
@@ -937,7 +929,6 @@ class GoPackageUpload
|
|
|
937
929
|
uploader_url == o.uploader_url &&
|
|
938
930
|
version == o.version &&
|
|
939
931
|
version_orig == o.version_orig &&
|
|
940
|
-
vulnerability_counts == o.vulnerability_counts &&
|
|
941
932
|
vulnerability_scan_results_url == o.vulnerability_scan_results_url
|
|
942
933
|
end
|
|
943
934
|
|
|
@@ -950,7 +941,7 @@ class GoPackageUpload
|
|
|
950
941
|
# Calculates hash code according to all attributes.
|
|
951
942
|
# @return [Fixnum] Hash code
|
|
952
943
|
def hash
|
|
953
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden,
|
|
944
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, display_source, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, osi_approved, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, store_path, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, tags_static, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
954
945
|
end
|
|
955
946
|
|
|
956
947
|
# Builds the object from hash
|
|
@@ -14,9 +14,6 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module CloudsmithApi
|
|
16
16
|
class GoPackageUploadRequest
|
|
17
|
-
# Whether the package has been detected as containing malware. Requires Ultra plan.
|
|
18
|
-
attr_accessor :is_malware_detected
|
|
19
|
-
|
|
20
17
|
# The primary file for the package.
|
|
21
18
|
attr_accessor :package_file
|
|
22
19
|
|
|
@@ -26,27 +23,21 @@ class GoPackageUploadRequest
|
|
|
26
23
|
# A comma-separated values list of tags to add to the package.
|
|
27
24
|
attr_accessor :tags
|
|
28
25
|
|
|
29
|
-
attr_accessor :vulnerability_counts
|
|
30
|
-
|
|
31
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
27
|
def self.attribute_map
|
|
33
28
|
{
|
|
34
|
-
:'is_malware_detected' => :'is_malware_detected',
|
|
35
29
|
:'package_file' => :'package_file',
|
|
36
30
|
:'republish' => :'republish',
|
|
37
|
-
:'tags' => :'tags'
|
|
38
|
-
:'vulnerability_counts' => :'vulnerability_counts'
|
|
31
|
+
:'tags' => :'tags'
|
|
39
32
|
}
|
|
40
33
|
end
|
|
41
34
|
|
|
42
35
|
# Attribute type mapping.
|
|
43
36
|
def self.swagger_types
|
|
44
37
|
{
|
|
45
|
-
:'is_malware_detected' => :'BOOLEAN',
|
|
46
38
|
:'package_file' => :'String',
|
|
47
39
|
:'republish' => :'BOOLEAN',
|
|
48
|
-
:'tags' => :'String'
|
|
49
|
-
:'vulnerability_counts' => :'WebOSVSeverityCounts'
|
|
40
|
+
:'tags' => :'String'
|
|
50
41
|
}
|
|
51
42
|
end
|
|
52
43
|
|
|
@@ -58,10 +49,6 @@ class GoPackageUploadRequest
|
|
|
58
49
|
# convert string to symbol for hash key
|
|
59
50
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
60
51
|
|
|
61
|
-
if attributes.has_key?(:'is_malware_detected')
|
|
62
|
-
self.is_malware_detected = attributes[:'is_malware_detected']
|
|
63
|
-
end
|
|
64
|
-
|
|
65
52
|
if attributes.has_key?(:'package_file')
|
|
66
53
|
self.package_file = attributes[:'package_file']
|
|
67
54
|
end
|
|
@@ -73,10 +60,6 @@ class GoPackageUploadRequest
|
|
|
73
60
|
if attributes.has_key?(:'tags')
|
|
74
61
|
self.tags = attributes[:'tags']
|
|
75
62
|
end
|
|
76
|
-
|
|
77
|
-
if attributes.has_key?(:'vulnerability_counts')
|
|
78
|
-
self.vulnerability_counts = attributes[:'vulnerability_counts']
|
|
79
|
-
end
|
|
80
63
|
end
|
|
81
64
|
|
|
82
65
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -102,11 +85,9 @@ class GoPackageUploadRequest
|
|
|
102
85
|
def ==(o)
|
|
103
86
|
return true if self.equal?(o)
|
|
104
87
|
self.class == o.class &&
|
|
105
|
-
is_malware_detected == o.is_malware_detected &&
|
|
106
88
|
package_file == o.package_file &&
|
|
107
89
|
republish == o.republish &&
|
|
108
|
-
tags == o.tags
|
|
109
|
-
vulnerability_counts == o.vulnerability_counts
|
|
90
|
+
tags == o.tags
|
|
110
91
|
end
|
|
111
92
|
|
|
112
93
|
# @see the `==` method
|
|
@@ -118,7 +99,7 @@ class GoPackageUploadRequest
|
|
|
118
99
|
# Calculates hash code according to all attributes.
|
|
119
100
|
# @return [Fixnum] Hash code
|
|
120
101
|
def hash
|
|
121
|
-
[
|
|
102
|
+
[package_file, republish, tags].hash
|
|
122
103
|
end
|
|
123
104
|
|
|
124
105
|
# Builds the object from hash
|
|
@@ -307,7 +307,7 @@ class GoUpstream
|
|
|
307
307
|
return false unless auth_mode_validator.valid?(@auth_mode)
|
|
308
308
|
disable_reason_validator = EnumAttributeValidator.new('String', ['N/A', 'Upstream points to its own repository', 'Missing upstream source', 'RSA key did not verify the upstream\'s APKINDEX signature', 'Upstream was disabled by request of user'])
|
|
309
309
|
return false unless disable_reason_validator.valid?(@disable_reason)
|
|
310
|
-
mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy'])
|
|
310
|
+
mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy', 'Cache Only'])
|
|
311
311
|
return false unless mode_validator.valid?(@mode)
|
|
312
312
|
return false if @name.nil?
|
|
313
313
|
return false if @upstream_url.nil?
|
|
@@ -337,7 +337,7 @@ class GoUpstream
|
|
|
337
337
|
# Custom attribute writer method checking allowed values (enum).
|
|
338
338
|
# @param [Object] mode Object to be assigned
|
|
339
339
|
def mode=(mode)
|
|
340
|
-
validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy'])
|
|
340
|
+
validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy', 'Cache Only'])
|
|
341
341
|
unless validator.valid?(mode)
|
|
342
342
|
fail ArgumentError, 'invalid value for "mode", must be one of #{validator.allowable_values}.'
|
|
343
343
|
end
|
|
@@ -198,7 +198,7 @@ class GoUpstreamRequest
|
|
|
198
198
|
def valid?
|
|
199
199
|
auth_mode_validator = EnumAttributeValidator.new('String', ['None', 'Username and Password'])
|
|
200
200
|
return false unless auth_mode_validator.valid?(@auth_mode)
|
|
201
|
-
mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy'])
|
|
201
|
+
mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy', 'Cache Only'])
|
|
202
202
|
return false unless mode_validator.valid?(@mode)
|
|
203
203
|
return false if @name.nil?
|
|
204
204
|
return false if @upstream_url.nil?
|
|
@@ -218,7 +218,7 @@ class GoUpstreamRequest
|
|
|
218
218
|
# Custom attribute writer method checking allowed values (enum).
|
|
219
219
|
# @param [Object] mode Object to be assigned
|
|
220
220
|
def mode=(mode)
|
|
221
|
-
validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy'])
|
|
221
|
+
validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy', 'Cache Only'])
|
|
222
222
|
unless validator.valid?(mode)
|
|
223
223
|
fail ArgumentError, 'invalid value for "mode", must be one of #{validator.allowable_values}.'
|
|
224
224
|
end
|
|
@@ -190,7 +190,7 @@ class GoUpstreamRequestPatch
|
|
|
190
190
|
def valid?
|
|
191
191
|
auth_mode_validator = EnumAttributeValidator.new('String', ['None', 'Username and Password'])
|
|
192
192
|
return false unless auth_mode_validator.valid?(@auth_mode)
|
|
193
|
-
mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy'])
|
|
193
|
+
mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy', 'Cache Only'])
|
|
194
194
|
return false unless mode_validator.valid?(@mode)
|
|
195
195
|
true
|
|
196
196
|
end
|
|
@@ -208,7 +208,7 @@ class GoUpstreamRequestPatch
|
|
|
208
208
|
# Custom attribute writer method checking allowed values (enum).
|
|
209
209
|
# @param [Object] mode Object to be assigned
|
|
210
210
|
def mode=(mode)
|
|
211
|
-
validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy'])
|
|
211
|
+
validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy', 'Cache Only'])
|
|
212
212
|
unless validator.valid?(mode)
|
|
213
213
|
fail ArgumentError, 'invalid value for "mode", must be one of #{validator.allowable_values}.'
|
|
214
214
|
end
|
|
@@ -36,6 +36,9 @@ class HelmPackageUpload
|
|
|
36
36
|
|
|
37
37
|
attr_accessor :display_name
|
|
38
38
|
|
|
39
|
+
# Where the package originated, for example: 'upstream' (proxied/cached from a configured upstream), 'connected_repository' (blended in from a connected target repository), or 'manual_upload' (uploaded directly to Cloudsmith).
|
|
40
|
+
attr_accessor :display_source
|
|
41
|
+
|
|
39
42
|
attr_accessor :distro
|
|
40
43
|
|
|
41
44
|
attr_accessor :distro_version
|
|
@@ -78,9 +81,6 @@ class HelmPackageUpload
|
|
|
78
81
|
|
|
79
82
|
attr_accessor :is_hidden
|
|
80
83
|
|
|
81
|
-
# Whether the package has been detected as containing malware. Requires Ultra plan.
|
|
82
|
-
attr_accessor :is_malware_detected
|
|
83
|
-
|
|
84
84
|
attr_accessor :is_moveable
|
|
85
85
|
|
|
86
86
|
attr_accessor :is_quarantinable
|
|
@@ -222,8 +222,6 @@ class HelmPackageUpload
|
|
|
222
222
|
|
|
223
223
|
attr_accessor :version_orig
|
|
224
224
|
|
|
225
|
-
attr_accessor :vulnerability_counts
|
|
226
|
-
|
|
227
225
|
attr_accessor :vulnerability_scan_results_url
|
|
228
226
|
|
|
229
227
|
class EnumAttributeValidator
|
|
@@ -261,6 +259,7 @@ class HelmPackageUpload
|
|
|
261
259
|
:'dependencies_url' => :'dependencies_url',
|
|
262
260
|
:'description' => :'description',
|
|
263
261
|
:'display_name' => :'display_name',
|
|
262
|
+
:'display_source' => :'display_source',
|
|
264
263
|
:'distro' => :'distro',
|
|
265
264
|
:'distro_version' => :'distro_version',
|
|
266
265
|
:'downloads' => :'downloads',
|
|
@@ -280,7 +279,6 @@ class HelmPackageUpload
|
|
|
280
279
|
:'is_deleteable' => :'is_deleteable',
|
|
281
280
|
:'is_downloadable' => :'is_downloadable',
|
|
282
281
|
:'is_hidden' => :'is_hidden',
|
|
283
|
-
:'is_malware_detected' => :'is_malware_detected',
|
|
284
282
|
:'is_moveable' => :'is_moveable',
|
|
285
283
|
:'is_quarantinable' => :'is_quarantinable',
|
|
286
284
|
:'is_quarantined' => :'is_quarantined',
|
|
@@ -339,7 +337,6 @@ class HelmPackageUpload
|
|
|
339
337
|
:'uploader_url' => :'uploader_url',
|
|
340
338
|
:'version' => :'version',
|
|
341
339
|
:'version_orig' => :'version_orig',
|
|
342
|
-
:'vulnerability_counts' => :'vulnerability_counts',
|
|
343
340
|
:'vulnerability_scan_results_url' => :'vulnerability_scan_results_url'
|
|
344
341
|
}
|
|
345
342
|
end
|
|
@@ -357,6 +354,7 @@ class HelmPackageUpload
|
|
|
357
354
|
:'dependencies_url' => :'String',
|
|
358
355
|
:'description' => :'String',
|
|
359
356
|
:'display_name' => :'String',
|
|
357
|
+
:'display_source' => :'String',
|
|
360
358
|
:'distro' => :'Distribution',
|
|
361
359
|
:'distro_version' => :'DistributionVersion',
|
|
362
360
|
:'downloads' => :'Integer',
|
|
@@ -376,7 +374,6 @@ class HelmPackageUpload
|
|
|
376
374
|
:'is_deleteable' => :'BOOLEAN',
|
|
377
375
|
:'is_downloadable' => :'BOOLEAN',
|
|
378
376
|
:'is_hidden' => :'BOOLEAN',
|
|
379
|
-
:'is_malware_detected' => :'BOOLEAN',
|
|
380
377
|
:'is_moveable' => :'BOOLEAN',
|
|
381
378
|
:'is_quarantinable' => :'BOOLEAN',
|
|
382
379
|
:'is_quarantined' => :'BOOLEAN',
|
|
@@ -435,7 +432,6 @@ class HelmPackageUpload
|
|
|
435
432
|
:'uploader_url' => :'String',
|
|
436
433
|
:'version' => :'String',
|
|
437
434
|
:'version_orig' => :'String',
|
|
438
|
-
:'vulnerability_counts' => :'WebOSVSeverityCounts',
|
|
439
435
|
:'vulnerability_scan_results_url' => :'String'
|
|
440
436
|
}
|
|
441
437
|
end
|
|
@@ -490,6 +486,10 @@ class HelmPackageUpload
|
|
|
490
486
|
self.display_name = attributes[:'display_name']
|
|
491
487
|
end
|
|
492
488
|
|
|
489
|
+
if attributes.has_key?(:'display_source')
|
|
490
|
+
self.display_source = attributes[:'display_source']
|
|
491
|
+
end
|
|
492
|
+
|
|
493
493
|
if attributes.has_key?(:'distro')
|
|
494
494
|
self.distro = attributes[:'distro']
|
|
495
495
|
end
|
|
@@ -570,10 +570,6 @@ class HelmPackageUpload
|
|
|
570
570
|
self.is_hidden = attributes[:'is_hidden']
|
|
571
571
|
end
|
|
572
572
|
|
|
573
|
-
if attributes.has_key?(:'is_malware_detected')
|
|
574
|
-
self.is_malware_detected = attributes[:'is_malware_detected']
|
|
575
|
-
end
|
|
576
|
-
|
|
577
573
|
if attributes.has_key?(:'is_moveable')
|
|
578
574
|
self.is_moveable = attributes[:'is_moveable']
|
|
579
575
|
end
|
|
@@ -810,10 +806,6 @@ class HelmPackageUpload
|
|
|
810
806
|
self.version_orig = attributes[:'version_orig']
|
|
811
807
|
end
|
|
812
808
|
|
|
813
|
-
if attributes.has_key?(:'vulnerability_counts')
|
|
814
|
-
self.vulnerability_counts = attributes[:'vulnerability_counts']
|
|
815
|
-
end
|
|
816
|
-
|
|
817
809
|
if attributes.has_key?(:'vulnerability_scan_results_url')
|
|
818
810
|
self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
|
|
819
811
|
end
|
|
@@ -859,6 +851,7 @@ class HelmPackageUpload
|
|
|
859
851
|
dependencies_url == o.dependencies_url &&
|
|
860
852
|
description == o.description &&
|
|
861
853
|
display_name == o.display_name &&
|
|
854
|
+
display_source == o.display_source &&
|
|
862
855
|
distro == o.distro &&
|
|
863
856
|
distro_version == o.distro_version &&
|
|
864
857
|
downloads == o.downloads &&
|
|
@@ -878,7 +871,6 @@ class HelmPackageUpload
|
|
|
878
871
|
is_deleteable == o.is_deleteable &&
|
|
879
872
|
is_downloadable == o.is_downloadable &&
|
|
880
873
|
is_hidden == o.is_hidden &&
|
|
881
|
-
is_malware_detected == o.is_malware_detected &&
|
|
882
874
|
is_moveable == o.is_moveable &&
|
|
883
875
|
is_quarantinable == o.is_quarantinable &&
|
|
884
876
|
is_quarantined == o.is_quarantined &&
|
|
@@ -937,7 +929,6 @@ class HelmPackageUpload
|
|
|
937
929
|
uploader_url == o.uploader_url &&
|
|
938
930
|
version == o.version &&
|
|
939
931
|
version_orig == o.version_orig &&
|
|
940
|
-
vulnerability_counts == o.vulnerability_counts &&
|
|
941
932
|
vulnerability_scan_results_url == o.vulnerability_scan_results_url
|
|
942
933
|
end
|
|
943
934
|
|
|
@@ -950,7 +941,7 @@ class HelmPackageUpload
|
|
|
950
941
|
# Calculates hash code according to all attributes.
|
|
951
942
|
# @return [Fixnum] Hash code
|
|
952
943
|
def hash
|
|
953
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden,
|
|
944
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, display_source, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_hidden, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, osi_approved, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, self_webapp_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, store_path, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, tags_static, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
954
945
|
end
|
|
955
946
|
|
|
956
947
|
# Builds the object from hash
|