From 05736c998a4eeb36730b1aa6bebb4ae6766e7953 Mon Sep 17 00:00:00 2001
From: apoclyps <1443700+apoclyps@users.noreply.github.com>
Date: Wed, 19 Aug 2026 10:34:42 +0000
Subject: [PATCH] feat: update bindings to v2.0.30 (API v1.1350.3)
---
bindings/java/src/README.md | 28 +-
bindings/java/src/build.gradle | 2 +-
bindings/java/src/build.json | 2 +-
bindings/java/src/build.sbt | 2 +-
bindings/java/src/docs/AlpinePackageUpload.md | 4 +
.../src/docs/AlpinePackageUploadRequest.md | 2 +
bindings/java/src/docs/CargoPackageUpload.md | 4 +
.../src/docs/CargoPackageUploadRequest.md | 2 +
.../java/src/docs/CocoapodsPackageUpload.md | 4 +
.../src/docs/CocoapodsPackageUploadRequest.md | 2 +
.../java/src/docs/ComposerPackageUpload.md | 4 +
.../src/docs/ComposerPackageUploadRequest.md | 2 +
bindings/java/src/docs/ConanPackageUpload.md | 4 +
.../src/docs/ConanPackageUploadRequest.md | 2 +
bindings/java/src/docs/CondaPackageUpload.md | 4 +
.../src/docs/CondaPackageUploadRequest.md | 2 +
bindings/java/src/docs/CranPackageUpload.md | 4 +
.../java/src/docs/CranPackageUploadRequest.md | 2 +
bindings/java/src/docs/DartPackageUpload.md | 4 +
.../java/src/docs/DartPackageUploadRequest.md | 2 +
bindings/java/src/docs/DebPackageUpload.md | 4 +
.../java/src/docs/DebPackageUploadRequest.md | 2 +
bindings/java/src/docs/DockerPackageUpload.md | 4 +
.../src/docs/DockerPackageUploadRequest.md | 2 +
.../java/src/docs/GenericPackageUpload.md | 4 +
.../src/docs/GenericPackageUploadRequest.md | 2 +
bindings/java/src/docs/GoPackageUpload.md | 4 +
.../java/src/docs/GoPackageUploadRequest.md | 2 +
bindings/java/src/docs/HelmPackageUpload.md | 4 +
.../java/src/docs/HelmPackageUploadRequest.md | 2 +
bindings/java/src/docs/HexPackageUpload.md | 4 +
.../java/src/docs/HexPackageUploadRequest.md | 2 +
.../java/src/docs/HuggingfacePackageUpload.md | 4 +
.../docs/HuggingfacePackageUploadRequest.md | 2 +
bindings/java/src/docs/InlineResponse200.md | 6 +-
bindings/java/src/docs/InlineResponse2001.md | 4 +-
bindings/java/src/docs/InlineResponse2002.md | 2 +-
bindings/java/src/docs/InlineResponse2003.md | 10 +
bindings/java/src/docs/InlineResponse2004.md | 10 +
.../java/src/docs/LuarocksPackageUpload.md | 4 +
.../src/docs/LuarocksPackageUploadRequest.md | 2 +
bindings/java/src/docs/MavenPackageUpload.md | 4 +
.../src/docs/MavenPackageUploadRequest.md | 2 +
bindings/java/src/docs/McpPackageUpload.md | 4 +
.../java/src/docs/McpPackageUploadRequest.md | 2 +
bindings/java/src/docs/ModelPackage.md | 4 +
bindings/java/src/docs/NixPackageUpload.md | 113 +
.../java/src/docs/NixPackageUploadRequest.md | 16 +
bindings/java/src/docs/NixUpstream.md | 61 +
bindings/java/src/docs/NixUpstreamRequest.md | 38 +
.../java/src/docs/NixUpstreamRequestPatch.md | 38 +
bindings/java/src/docs/NpmPackageUpload.md | 4 +
.../java/src/docs/NpmPackageUploadRequest.md | 2 +
bindings/java/src/docs/NugetPackageUpload.md | 4 +
.../src/docs/NugetPackageUploadRequest.md | 2 +
bindings/java/src/docs/OrganizationUsage.md | 13 +
.../java/src/docs/OrganizationUsageUpdate.md | 12 +
.../OrganizationUsageUpdateRequestPatch.md | 12 +
bindings/java/src/docs/OrgsApi.md | 124 +
bindings/java/src/docs/P2PackageUpload.md | 4 +
.../java/src/docs/P2PackageUploadRequest.md | 2 +
bindings/java/src/docs/PackageCopy.md | 4 +
bindings/java/src/docs/PackageCopyRequest.md | 2 +
bindings/java/src/docs/PackageDetail.md | 116 +
bindings/java/src/docs/PackageLicense.md | 2 +
.../src/docs/PackageLicenseRequestPatch.md | 4 +-
bindings/java/src/docs/PackageMove.md | 4 +
bindings/java/src/docs/PackageMoveRequest.md | 2 +
bindings/java/src/docs/PackageQuarantine.md | 4 +
.../java/src/docs/PackageQuarantineRequest.md | 2 +
bindings/java/src/docs/PackageResync.md | 4 +
bindings/java/src/docs/PackageTag.md | 4 +
bindings/java/src/docs/PackageTagRequest.md | 2 +
.../java/src/docs/PackageVulnerability.md | 2 +
bindings/java/src/docs/PackagesApi.md | 141 +-
bindings/java/src/docs/PythonPackageUpload.md | 4 +
.../src/docs/PythonPackageUploadRequest.md | 2 +
bindings/java/src/docs/RawPackageUpload.md | 4 +
.../java/src/docs/RawPackageUploadRequest.md | 2 +
bindings/java/src/docs/RecycleBinPackage.md | 2 +
bindings/java/src/docs/ReposApi.md | 401 ++-
bindings/java/src/docs/RpmPackageUpload.md | 4 +
.../java/src/docs/RpmPackageUploadRequest.md | 2 +
bindings/java/src/docs/RubyPackageUpload.md | 4 +
.../java/src/docs/RubyPackageUploadRequest.md | 2 +
bindings/java/src/docs/SwiftPackageUpload.md | 4 +
.../src/docs/SwiftPackageUploadRequest.md | 2 +
.../java/src/docs/TerraformPackageUpload.md | 4 +
.../src/docs/TerraformPackageUploadRequest.md | 2 +
bindings/java/src/docs/UserApi.md | 6 +-
.../java/src/docs/VagrantPackageUpload.md | 4 +
.../src/docs/VagrantPackageUploadRequest.md | 2 +
bindings/java/src/docs/VsxPackageUpload.md | 4 +
.../java/src/docs/VsxPackageUploadRequest.md | 2 +
.../java/src/docs/WebOSVSeverityCounts.md | 16 +
bindings/java/src/pom.xml | 2 +-
.../java/io/cloudsmith/api/ApiClient.java | 2 +-
.../src/main/java/io/cloudsmith/api/JSON.java | 12 +
.../java/io/cloudsmith/api/apis/OrgsApi.java | 287 ++
.../io/cloudsmith/api/apis/PackagesApi.java | 331 ++-
.../java/io/cloudsmith/api/apis/ReposApi.java | 931 +++++-
.../java/io/cloudsmith/api/apis/UserApi.java | 18 +-
.../api/models/AlpinePackageUpload.java | 70 +-
.../models/AlpinePackageUploadRequest.java | 43 +-
.../api/models/CargoPackageUpload.java | 70 +-
.../api/models/CargoPackageUploadRequest.java | 45 +-
.../api/models/CocoapodsPackageUpload.java | 70 +-
.../models/CocoapodsPackageUploadRequest.java | 45 +-
.../api/models/ComposerPackageUpload.java | 70 +-
.../models/ComposerPackageUploadRequest.java | 45 +-
.../api/models/ConanPackageUpload.java | 70 +-
.../api/models/ConanPackageUploadRequest.java | 43 +-
.../api/models/CondaPackageUpload.java | 70 +-
.../api/models/CondaPackageUploadRequest.java | 45 +-
.../api/models/CranPackageUpload.java | 70 +-
.../api/models/CranPackageUploadRequest.java | 43 +-
.../api/models/DartPackageUpload.java | 70 +-
.../api/models/DartPackageUploadRequest.java | 45 +-
.../api/models/DebPackageUpload.java | 70 +-
.../api/models/DebPackageUploadRequest.java | 43 +-
.../api/models/DockerPackageUpload.java | 70 +-
.../models/DockerPackageUploadRequest.java | 45 +-
.../api/models/GenericPackageUpload.java | 70 +-
.../models/GenericPackageUploadRequest.java | 43 +-
.../api/models/GoPackageUpload.java | 70 +-
.../api/models/GoPackageUploadRequest.java | 45 +-
.../api/models/HelmPackageUpload.java | 70 +-
.../api/models/HelmPackageUploadRequest.java | 45 +-
.../api/models/HexPackageUpload.java | 70 +-
.../api/models/HexPackageUploadRequest.java | 45 +-
.../api/models/HuggingfacePackageUpload.java | 70 +-
.../HuggingfacePackageUploadRequest.java | 45 +-
.../api/models/InlineResponse200.java | 124 +-
.../api/models/InlineResponse2001.java | 78 +-
.../api/models/InlineResponse2002.java | 12 +-
.../api/models/InlineResponse2003.java | 109 +
.../api/models/InlineResponse2004.java | 109 +
.../api/models/LuarocksPackageUpload.java | 70 +-
.../models/LuarocksPackageUploadRequest.java | 45 +-
.../api/models/MavenPackageUpload.java | 70 +-
.../api/models/MavenPackageUploadRequest.java | 43 +-
.../api/models/McpPackageUpload.java | 70 +-
.../api/models/McpPackageUploadRequest.java | 45 +-
.../cloudsmith/api/models/ModelPackage.java | 70 +-
.../api/models/NixPackageUpload.java | 1475 +++++++++
.../api/models/NixPackageUploadRequest.java | 231 ++
.../io/cloudsmith/api/models/NixUpstream.java | 697 +++++
.../api/models/NixUpstreamRequest.java | 473 +++
.../api/models/NixUpstreamRequestPatch.java | 471 +++
.../api/models/NpmPackageUpload.java | 70 +-
.../api/models/NpmPackageUploadRequest.java | 45 +-
.../api/models/NugetPackageUpload.java | 70 +-
.../api/models/NugetPackageUploadRequest.java | 45 +-
.../api/models/OrganizationUsage.java | 132 +
.../api/models/OrganizationUsageUpdate.java | 147 +
.../OrganizationUsageUpdateRequestPatch.java | 147 +
.../api/models/P2PackageUpload.java | 70 +-
.../api/models/P2PackageUploadRequest.java | 45 +-
.../io/cloudsmith/api/models/PackageCopy.java | 70 +-
.../api/models/PackageCopyRequest.java | 43 +-
.../cloudsmith/api/models/PackageDetail.java | 1518 ++++++++++
.../api/models/PackageFileUploadRequest.java | 2 +-
.../cloudsmith/api/models/PackageLicense.java | 45 +-
.../models/PackageLicenseRequestPatch.java | 46 +-
.../io/cloudsmith/api/models/PackageMove.java | 70 +-
.../api/models/PackageMoveRequest.java | 43 +-
.../api/models/PackageQuarantine.java | 70 +-
.../api/models/PackageQuarantineRequest.java | 45 +-
.../cloudsmith/api/models/PackageResync.java | 70 +-
.../io/cloudsmith/api/models/PackageTag.java | 70 +-
.../api/models/PackageTagRequest.java | 43 +-
.../api/models/PackageVulnerability.java | 43 +-
.../api/models/PythonPackageUpload.java | 70 +-
.../models/PythonPackageUploadRequest.java | 45 +-
.../api/models/RawPackageUpload.java | 70 +-
.../api/models/RawPackageUploadRequest.java | 43 +-
.../api/models/RecycleBinPackage.java | 43 +-
.../api/models/RpmPackageUpload.java | 70 +-
.../api/models/RpmPackageUploadRequest.java | 43 +-
.../api/models/RubyPackageUpload.java | 70 +-
.../api/models/RubyPackageUploadRequest.java | 45 +-
.../api/models/SwiftPackageUpload.java | 70 +-
.../api/models/SwiftPackageUploadRequest.java | 43 +-
.../api/models/TerraformPackageUpload.java | 70 +-
.../models/TerraformPackageUploadRequest.java | 45 +-
.../api/models/VagrantPackageUpload.java | 70 +-
.../models/VagrantPackageUploadRequest.java | 45 +-
.../api/models/VsxPackageUpload.java | 70 +-
.../api/models/VsxPackageUploadRequest.java | 45 +-
.../api/models/WebOSVSeverityCounts.java | 175 ++
.../io/cloudsmith/api/apis/OrgsApiTest.java | 36 +
.../cloudsmith/api/apis/PackagesApiTest.java | 45 +-
.../io/cloudsmith/api/apis/ReposApiTest.java | 118 +-
.../io/cloudsmith/api/apis/UserApiTest.java | 4 +-
bindings/python/src/README.md | 24 +-
bindings/python/src/build.json | 2 +-
.../python/src/cloudsmith_api/__init__.py | 12 +
.../python/src/cloudsmith_api/api/orgs_api.py | 202 ++
.../src/cloudsmith_api/api/packages_api.py | 234 +-
.../src/cloudsmith_api/api/repos_api.py | 700 ++++-
.../python/src/cloudsmith_api/api/user_api.py | 6 +-
.../python/src/cloudsmith_api/api_client.py | 2 +-
.../src/cloudsmith_api/configuration.py | 2 +-
.../src/cloudsmith_api/models/__init__.py | 12 +
.../models/alpine_package_upload.py | 115 +-
.../models/alpine_package_upload_request.py | 60 +-
.../models/cargo_package_upload.py | 115 +-
.../models/cargo_package_upload_request.py | 60 +-
.../models/cocoapods_package_upload.py | 115 +-
.../cocoapods_package_upload_request.py | 60 +-
.../models/composer_package_upload.py | 115 +-
.../models/composer_package_upload_request.py | 60 +-
.../models/conan_package_upload.py | 115 +-
.../models/conan_package_upload_request.py | 60 +-
.../models/conda_package_upload.py | 115 +-
.../models/conda_package_upload_request.py | 60 +-
.../models/cran_package_upload.py | 115 +-
.../models/cran_package_upload_request.py | 60 +-
.../models/dart_package_upload.py | 115 +-
.../models/dart_package_upload_request.py | 60 +-
.../models/deb_package_upload.py | 115 +-
.../models/deb_package_upload_request.py | 60 +-
.../models/docker_package_upload.py | 115 +-
.../models/docker_package_upload_request.py | 60 +-
.../models/generic_package_upload.py | 115 +-
.../models/generic_package_upload_request.py | 60 +-
.../models/go_package_upload.py | 115 +-
.../models/go_package_upload_request.py | 60 +-
.../models/helm_package_upload.py | 115 +-
.../models/helm_package_upload_request.py | 60 +-
.../models/hex_package_upload.py | 115 +-
.../models/hex_package_upload_request.py | 60 +-
.../models/huggingface_package_upload.py | 115 +-
.../huggingface_package_upload_request.py | 60 +-
.../models/inline_response200.py | 149 +-
.../models/inline_response2001.py | 93 +-
.../models/inline_response2002.py | 6 +-
.../models/inline_response2003.py | 125 +
.../models/inline_response2004.py | 125 +
.../models/luarocks_package_upload.py | 115 +-
.../models/luarocks_package_upload_request.py | 60 +-
.../models/maven_package_upload.py | 115 +-
.../models/maven_package_upload_request.py | 60 +-
.../models/mcp_package_upload.py | 115 +-
.../models/mcp_package_upload_request.py | 60 +-
.../models/nix_package_upload.py | 2563 ++++++++++++++++
.../models/nix_package_upload_request.py | 308 ++
.../src/cloudsmith_api/models/nix_upstream.py | 872 ++++++
.../models/nix_upstream_request.py | 529 ++++
.../models/nix_upstream_request_patch.py | 527 ++++
.../models/npm_package_upload.py | 115 +-
.../models/npm_package_upload_request.py | 60 +-
.../models/nuget_package_upload.py | 115 +-
.../models/nuget_package_upload_request.py | 60 +-
.../models/organization_usage.py | 210 ++
.../models/organization_usage_update.py | 182 ++
...organization_usage_update_request_patch.py | 182 ++
.../models/p2_package_upload.py | 115 +-
.../models/p2_package_upload_request.py | 60 +-
.../src/cloudsmith_api/models/package.py | 115 +-
.../src/cloudsmith_api/models/package_copy.py | 115 +-
.../models/package_copy_request.py | 60 +-
.../cloudsmith_api/models/package_detail.py | 2645 +++++++++++++++++
.../models/package_file_upload_request.py | 3 +
.../cloudsmith_api/models/package_license.py | 60 +-
.../models/package_license_request_patch.py | 65 +-
.../src/cloudsmith_api/models/package_move.py | 115 +-
.../models/package_move_request.py | 60 +-
.../models/package_quarantine.py | 115 +-
.../models/package_quarantine_request.py | 60 +-
.../cloudsmith_api/models/package_resync.py | 115 +-
.../src/cloudsmith_api/models/package_tag.py | 115 +-
.../models/package_tag_request.py | 60 +-
.../models/package_vulnerability.py | 60 +-
.../models/python_package_upload.py | 115 +-
.../models/python_package_upload_request.py | 60 +-
.../models/raw_package_upload.py | 115 +-
.../models/raw_package_upload_request.py | 60 +-
.../models/recycle_bin_package.py | 60 +-
.../models/rpm_package_upload.py | 115 +-
.../models/rpm_package_upload_request.py | 60 +-
.../models/ruby_package_upload.py | 115 +-
.../models/ruby_package_upload_request.py | 60 +-
.../models/swift_package_upload.py | 115 +-
.../models/swift_package_upload_request.py | 60 +-
.../models/terraform_package_upload.py | 115 +-
.../terraform_package_upload_request.py | 60 +-
.../models/vagrant_package_upload.py | 115 +-
.../models/vagrant_package_upload_request.py | 60 +-
.../models/vsx_package_upload.py | 115 +-
.../models/vsx_package_upload_request.py | 60 +-
.../models/web_osv_severity_counts.py | 280 ++
.../python/src/docs/AlpinePackageUpload.md | 4 +
.../src/docs/AlpinePackageUploadRequest.md | 2 +
.../python/src/docs/CargoPackageUpload.md | 4 +
.../src/docs/CargoPackageUploadRequest.md | 2 +
.../python/src/docs/CocoapodsPackageUpload.md | 4 +
.../src/docs/CocoapodsPackageUploadRequest.md | 2 +
.../python/src/docs/ComposerPackageUpload.md | 4 +
.../src/docs/ComposerPackageUploadRequest.md | 2 +
.../python/src/docs/ConanPackageUpload.md | 4 +
.../src/docs/ConanPackageUploadRequest.md | 2 +
.../python/src/docs/CondaPackageUpload.md | 4 +
.../src/docs/CondaPackageUploadRequest.md | 2 +
bindings/python/src/docs/CranPackageUpload.md | 4 +
.../src/docs/CranPackageUploadRequest.md | 2 +
bindings/python/src/docs/DartPackageUpload.md | 4 +
.../src/docs/DartPackageUploadRequest.md | 2 +
bindings/python/src/docs/DebPackageUpload.md | 4 +
.../src/docs/DebPackageUploadRequest.md | 2 +
.../python/src/docs/DockerPackageUpload.md | 4 +
.../src/docs/DockerPackageUploadRequest.md | 2 +
.../python/src/docs/GenericPackageUpload.md | 4 +
.../src/docs/GenericPackageUploadRequest.md | 2 +
bindings/python/src/docs/GoPackageUpload.md | 4 +
.../python/src/docs/GoPackageUploadRequest.md | 2 +
bindings/python/src/docs/HelmPackageUpload.md | 4 +
.../src/docs/HelmPackageUploadRequest.md | 2 +
bindings/python/src/docs/HexPackageUpload.md | 4 +
.../src/docs/HexPackageUploadRequest.md | 2 +
.../src/docs/HuggingfacePackageUpload.md | 4 +
.../docs/HuggingfacePackageUploadRequest.md | 2 +
bindings/python/src/docs/InlineResponse200.md | 6 +-
.../python/src/docs/InlineResponse2001.md | 4 +-
.../python/src/docs/InlineResponse2002.md | 2 +-
.../python/src/docs/InlineResponse2003.md | 10 +
.../python/src/docs/InlineResponse2004.md | 10 +
.../python/src/docs/LuarocksPackageUpload.md | 4 +
.../src/docs/LuarocksPackageUploadRequest.md | 2 +
.../python/src/docs/MavenPackageUpload.md | 4 +
.../src/docs/MavenPackageUploadRequest.md | 2 +
bindings/python/src/docs/McpPackageUpload.md | 4 +
.../src/docs/McpPackageUploadRequest.md | 2 +
bindings/python/src/docs/NixPackageUpload.md | 99 +
.../src/docs/NixPackageUploadRequest.md | 16 +
bindings/python/src/docs/NixUpstream.md | 34 +
.../python/src/docs/NixUpstreamRequest.md | 22 +
.../src/docs/NixUpstreamRequestPatch.md | 22 +
bindings/python/src/docs/NpmPackageUpload.md | 4 +
.../src/docs/NpmPackageUploadRequest.md | 2 +
.../python/src/docs/NugetPackageUpload.md | 4 +
.../src/docs/NugetPackageUploadRequest.md | 2 +
bindings/python/src/docs/OrganizationUsage.md | 13 +
.../src/docs/OrganizationUsageUpdate.md | 12 +
.../OrganizationUsageUpdateRequestPatch.md | 12 +
bindings/python/src/docs/OrgsApi.md | 118 +
bindings/python/src/docs/P2PackageUpload.md | 4 +
.../python/src/docs/P2PackageUploadRequest.md | 2 +
bindings/python/src/docs/Package.md | 4 +
bindings/python/src/docs/PackageCopy.md | 4 +
.../python/src/docs/PackageCopyRequest.md | 2 +
bindings/python/src/docs/PackageDetail.md | 102 +
bindings/python/src/docs/PackageLicense.md | 2 +
.../src/docs/PackageLicenseRequestPatch.md | 4 +-
bindings/python/src/docs/PackageMove.md | 4 +
.../python/src/docs/PackageMoveRequest.md | 2 +
bindings/python/src/docs/PackageQuarantine.md | 4 +
.../src/docs/PackageQuarantineRequest.md | 2 +
bindings/python/src/docs/PackageResync.md | 4 +
bindings/python/src/docs/PackageTag.md | 4 +
bindings/python/src/docs/PackageTagRequest.md | 2 +
.../python/src/docs/PackageVulnerability.md | 2 +
bindings/python/src/docs/PackagesApi.md | 133 +-
.../python/src/docs/PythonPackageUpload.md | 4 +
.../src/docs/PythonPackageUploadRequest.md | 2 +
bindings/python/src/docs/RawPackageUpload.md | 4 +
.../src/docs/RawPackageUploadRequest.md | 2 +
bindings/python/src/docs/RecycleBinPackage.md | 2 +
bindings/python/src/docs/ReposApi.md | 387 ++-
bindings/python/src/docs/RpmPackageUpload.md | 4 +
.../src/docs/RpmPackageUploadRequest.md | 2 +
bindings/python/src/docs/RubyPackageUpload.md | 4 +
.../src/docs/RubyPackageUploadRequest.md | 2 +
.../python/src/docs/SwiftPackageUpload.md | 4 +
.../src/docs/SwiftPackageUploadRequest.md | 2 +
.../python/src/docs/TerraformPackageUpload.md | 4 +
.../src/docs/TerraformPackageUploadRequest.md | 2 +
bindings/python/src/docs/UserApi.md | 4 +-
.../python/src/docs/VagrantPackageUpload.md | 4 +
.../src/docs/VagrantPackageUploadRequest.md | 2 +
bindings/python/src/docs/VsxPackageUpload.md | 4 +
.../src/docs/VsxPackageUploadRequest.md | 2 +
.../python/src/docs/WebOSVSeverityCounts.md | 16 +
bindings/python/src/setup.py | 2 +-
.../src/test/test_inline_response2003.py | 40 +
.../src/test/test_inline_response2004.py | 40 +
.../src/test/test_nix_package_upload.py | 40 +
.../test/test_nix_package_upload_request.py | 40 +
bindings/python/src/test/test_nix_upstream.py | 40 +
.../src/test/test_nix_upstream_request.py | 40 +
.../test/test_nix_upstream_request_patch.py | 40 +
.../src/test/test_organization_usage.py | 40 +
.../test/test_organization_usage_update.py | 40 +
...organization_usage_update_request_patch.py | 40 +
bindings/python/src/test/test_orgs_api.py | 12 +
.../python/src/test/test_package_detail.py | 40 +
bindings/python/src/test/test_packages_api.py | 14 +
bindings/python/src/test/test_repos_api.py | 42 +
.../src/test/test_web_osv_severity_counts.py | 40 +
bindings/ruby/src/README.md | 30 +-
bindings/ruby/src/build.json | 2 +-
bindings/ruby/src/docs/AlpinePackageUpload.md | 4 +
.../src/docs/AlpinePackageUploadRequest.md | 2 +
bindings/ruby/src/docs/CargoPackageUpload.md | 4 +
.../src/docs/CargoPackageUploadRequest.md | 2 +
.../ruby/src/docs/CocoapodsPackageUpload.md | 4 +
.../src/docs/CocoapodsPackageUploadRequest.md | 2 +
.../ruby/src/docs/ComposerPackageUpload.md | 4 +
.../src/docs/ComposerPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/ConanPackageUpload.md | 4 +
.../src/docs/ConanPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/CondaPackageUpload.md | 4 +
.../src/docs/CondaPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/CranPackageUpload.md | 4 +
.../ruby/src/docs/CranPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/DartPackageUpload.md | 4 +
.../ruby/src/docs/DartPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/DebPackageUpload.md | 4 +
.../ruby/src/docs/DebPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/DockerPackageUpload.md | 4 +
.../src/docs/DockerPackageUploadRequest.md | 2 +
.../ruby/src/docs/GenericPackageUpload.md | 4 +
.../src/docs/GenericPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/GoPackageUpload.md | 4 +
.../ruby/src/docs/GoPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/HelmPackageUpload.md | 4 +
.../ruby/src/docs/HelmPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/HexPackageUpload.md | 4 +
.../ruby/src/docs/HexPackageUploadRequest.md | 2 +
.../ruby/src/docs/HuggingfacePackageUpload.md | 4 +
.../docs/HuggingfacePackageUploadRequest.md | 2 +
bindings/ruby/src/docs/InlineResponse200.md | 6 +-
bindings/ruby/src/docs/InlineResponse2001.md | 4 +-
bindings/ruby/src/docs/InlineResponse2002.md | 2 +-
bindings/ruby/src/docs/InlineResponse2003.md | 8 +
bindings/ruby/src/docs/InlineResponse2004.md | 8 +
.../ruby/src/docs/LuarocksPackageUpload.md | 4 +
.../src/docs/LuarocksPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/MavenPackageUpload.md | 4 +
.../src/docs/MavenPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/McpPackageUpload.md | 4 +
.../ruby/src/docs/McpPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/NixPackageUpload.md | 97 +
.../ruby/src/docs/NixPackageUploadRequest.md | 14 +
bindings/ruby/src/docs/NixUpstream.md | 32 +
bindings/ruby/src/docs/NixUpstreamRequest.md | 20 +
.../ruby/src/docs/NixUpstreamRequestPatch.md | 20 +
bindings/ruby/src/docs/NpmPackageUpload.md | 4 +
.../ruby/src/docs/NpmPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/NugetPackageUpload.md | 4 +
.../src/docs/NugetPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/OrganizationUsage.md | 11 +
.../ruby/src/docs/OrganizationUsageUpdate.md | 10 +
.../OrganizationUsageUpdateRequestPatch.md | 10 +
bindings/ruby/src/docs/OrgsApi.md | 120 +
bindings/ruby/src/docs/P2PackageUpload.md | 4 +
.../ruby/src/docs/P2PackageUploadRequest.md | 2 +
bindings/ruby/src/docs/Package.md | 4 +
bindings/ruby/src/docs/PackageCopy.md | 4 +
bindings/ruby/src/docs/PackageCopyRequest.md | 2 +
bindings/ruby/src/docs/PackageDetail.md | 100 +
bindings/ruby/src/docs/PackageLicense.md | 2 +
.../src/docs/PackageLicenseRequestPatch.md | 4 +-
bindings/ruby/src/docs/PackageMove.md | 4 +
bindings/ruby/src/docs/PackageMoveRequest.md | 2 +
bindings/ruby/src/docs/PackageQuarantine.md | 4 +
.../ruby/src/docs/PackageQuarantineRequest.md | 2 +
bindings/ruby/src/docs/PackageResync.md | 4 +
bindings/ruby/src/docs/PackageTag.md | 4 +
bindings/ruby/src/docs/PackageTagRequest.md | 2 +
.../ruby/src/docs/PackageVulnerability.md | 2 +
bindings/ruby/src/docs/PackagesApi.md | 139 +-
bindings/ruby/src/docs/PythonPackageUpload.md | 4 +
.../src/docs/PythonPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/RawPackageUpload.md | 4 +
.../ruby/src/docs/RawPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/RecycleBinPackage.md | 2 +
bindings/ruby/src/docs/ReposApi.md | 405 ++-
bindings/ruby/src/docs/RpmPackageUpload.md | 4 +
.../ruby/src/docs/RpmPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/RubyPackageUpload.md | 4 +
.../ruby/src/docs/RubyPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/SwiftPackageUpload.md | 4 +
.../src/docs/SwiftPackageUploadRequest.md | 2 +
.../ruby/src/docs/TerraformPackageUpload.md | 4 +
.../src/docs/TerraformPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/UserApi.md | 4 +-
.../ruby/src/docs/VagrantPackageUpload.md | 4 +
.../src/docs/VagrantPackageUploadRequest.md | 2 +
bindings/ruby/src/docs/VsxPackageUpload.md | 4 +
.../ruby/src/docs/VsxPackageUploadRequest.md | 2 +
.../ruby/src/docs/WebOSVSeverityCounts.md | 14 +
bindings/ruby/src/lib/cloudsmith-api.rb | 12 +
.../src/lib/cloudsmith-api/api/orgs_api.rb | 106 +
.../lib/cloudsmith-api/api/packages_api.rb | 135 +-
.../src/lib/cloudsmith-api/api/repos_api.rb | 401 ++-
.../src/lib/cloudsmith-api/api/user_api.rb | 6 +-
.../models/alpine_package_upload.rb | 43 +-
.../models/alpine_package_upload_request.rb | 27 +-
.../models/cargo_package_upload.rb | 43 +-
.../models/cargo_package_upload_request.rb | 27 +-
.../models/cocoapods_package_upload.rb | 43 +-
.../cocoapods_package_upload_request.rb | 27 +-
.../models/composer_package_upload.rb | 43 +-
.../models/composer_package_upload_request.rb | 27 +-
.../models/conan_package_upload.rb | 43 +-
.../models/conan_package_upload_request.rb | 27 +-
.../models/conda_package_upload.rb | 43 +-
.../models/conda_package_upload_request.rb | 27 +-
.../models/cran_package_upload.rb | 43 +-
.../models/cran_package_upload_request.rb | 27 +-
.../models/dart_package_upload.rb | 43 +-
.../models/dart_package_upload_request.rb | 27 +-
.../models/deb_package_upload.rb | 43 +-
.../models/deb_package_upload_request.rb | 27 +-
.../models/docker_package_upload.rb | 43 +-
.../models/docker_package_upload_request.rb | 27 +-
.../models/generic_package_upload.rb | 43 +-
.../models/generic_package_upload_request.rb | 27 +-
.../models/go_package_upload.rb | 43 +-
.../models/go_package_upload_request.rb | 27 +-
.../models/helm_package_upload.rb | 43 +-
.../models/helm_package_upload_request.rb | 27 +-
.../models/hex_package_upload.rb | 43 +-
.../models/hex_package_upload_request.rb | 27 +-
.../models/huggingface_package_upload.rb | 43 +-
.../huggingface_package_upload_request.rb | 27 +-
.../models/inline_response_200.rb | 62 +-
.../models/inline_response_200_1.rb | 42 +-
.../models/inline_response_200_2.rb | 2 +-
.../models/inline_response_200_3.rb | 191 ++
.../models/inline_response_200_4.rb | 191 ++
.../models/luarocks_package_upload.rb | 43 +-
.../models/luarocks_package_upload_request.rb | 27 +-
.../models/maven_package_upload.rb | 43 +-
.../models/maven_package_upload_request.rb | 27 +-
.../models/mcp_package_upload.rb | 43 +-
.../models/mcp_package_upload_request.rb | 27 +-
.../models/nix_package_upload.rb | 1061 +++++++
.../models/nix_package_upload_request.rb | 249 ++
.../lib/cloudsmith-api/models/nix_upstream.rb | 496 ++++
.../models/nix_upstream_request.rb | 365 +++
.../models/nix_upstream_request_patch.rb | 355 +++
.../models/npm_package_upload.rb | 43 +-
.../models/npm_package_upload_request.rb | 27 +-
.../models/nuget_package_upload.rb | 43 +-
.../models/nuget_package_upload_request.rb | 27 +-
.../models/organization_usage.rb | 215 ++
.../models/organization_usage_update.rb | 202 ++
...organization_usage_update_request_patch.rb | 202 ++
.../models/p2_package_upload.rb | 43 +-
.../models/p2_package_upload_request.rb | 27 +-
.../src/lib/cloudsmith-api/models/package.rb | 43 +-
.../lib/cloudsmith-api/models/package_copy.rb | 43 +-
.../models/package_copy_request.rb | 27 +-
.../cloudsmith-api/models/package_detail.rb | 1090 +++++++
.../cloudsmith-api/models/package_license.rb | 27 +-
.../models/package_license_request_patch.rb | 32 +-
.../lib/cloudsmith-api/models/package_move.rb | 43 +-
.../models/package_move_request.rb | 27 +-
.../models/package_quarantine.rb | 43 +-
.../models/package_quarantine_request.rb | 27 +-
.../cloudsmith-api/models/package_resync.rb | 43 +-
.../lib/cloudsmith-api/models/package_tag.rb | 43 +-
.../models/package_tag_request.rb | 27 +-
.../models/package_vulnerability.rb | 27 +-
.../models/python_package_upload.rb | 43 +-
.../models/python_package_upload_request.rb | 27 +-
.../models/raw_package_upload.rb | 43 +-
.../models/raw_package_upload_request.rb | 27 +-
.../models/recycle_bin_package.rb | 27 +-
.../models/rpm_package_upload.rb | 43 +-
.../models/rpm_package_upload_request.rb | 27 +-
.../models/ruby_package_upload.rb | 43 +-
.../models/ruby_package_upload_request.rb | 27 +-
.../models/swift_package_upload.rb | 43 +-
.../models/swift_package_upload_request.rb | 27 +-
.../models/terraform_package_upload.rb | 43 +-
.../terraform_package_upload_request.rb | 27 +-
.../models/vagrant_package_upload.rb | 43 +-
.../models/vagrant_package_upload_request.rb | 27 +-
.../models/vsx_package_upload.rb | 43 +-
.../models/vsx_package_upload_request.rb | 27 +-
.../models/web_osv_severity_counts.rb | 239 ++
.../ruby/src/lib/cloudsmith-api/version.rb | 2 +-
bindings/ruby/src/spec/api/orgs_api_spec.rb | 23 +
.../ruby/src/spec/api/packages_api_spec.rb | 32 +-
bindings/ruby/src/spec/api/repos_api_spec.rb | 89 +-
bindings/ruby/src/spec/api/user_api_spec.rb | 2 +-
.../alpine_package_upload_request_spec.rb | 12 +
.../spec/models/alpine_package_upload_spec.rb | 24 +
.../cargo_package_upload_request_spec.rb | 12 +
.../spec/models/cargo_package_upload_spec.rb | 24 +
.../cocoapods_package_upload_request_spec.rb | 12 +
.../models/cocoapods_package_upload_spec.rb | 24 +
.../composer_package_upload_request_spec.rb | 12 +
.../models/composer_package_upload_spec.rb | 24 +
.../conan_package_upload_request_spec.rb | 12 +
.../spec/models/conan_package_upload_spec.rb | 24 +
.../conda_package_upload_request_spec.rb | 12 +
.../spec/models/conda_package_upload_spec.rb | 24 +
.../cran_package_upload_request_spec.rb | 12 +
.../spec/models/cran_package_upload_spec.rb | 24 +
.../dart_package_upload_request_spec.rb | 12 +
.../spec/models/dart_package_upload_spec.rb | 24 +
.../models/deb_package_upload_request_spec.rb | 12 +
.../spec/models/deb_package_upload_spec.rb | 24 +
.../docker_package_upload_request_spec.rb | 12 +
.../spec/models/docker_package_upload_spec.rb | 24 +
.../generic_package_upload_request_spec.rb | 12 +
.../models/generic_package_upload_spec.rb | 24 +
.../models/go_package_upload_request_spec.rb | 12 +
.../src/spec/models/go_package_upload_spec.rb | 24 +
.../helm_package_upload_request_spec.rb | 12 +
.../spec/models/helm_package_upload_spec.rb | 24 +
.../models/hex_package_upload_request_spec.rb | 12 +
.../spec/models/hex_package_upload_spec.rb | 24 +
...huggingface_package_upload_request_spec.rb | 12 +
.../models/huggingface_package_upload_spec.rb | 24 +
.../spec/models/inline_response_200_1_spec.rb | 14 +-
.../spec/models/inline_response_200_3_spec.rb | 41 +
.../spec/models/inline_response_200_4_spec.rb | 41 +
.../spec/models/inline_response_200_spec.rb | 26 +-
.../luarocks_package_upload_request_spec.rb | 12 +
.../models/luarocks_package_upload_spec.rb | 24 +
.../maven_package_upload_request_spec.rb | 12 +
.../spec/models/maven_package_upload_spec.rb | 24 +
.../models/mcp_package_upload_request_spec.rb | 12 +
.../spec/models/mcp_package_upload_spec.rb | 24 +
.../models/nix_package_upload_request_spec.rb | 77 +
.../spec/models/nix_package_upload_spec.rb | 579 ++++
.../models/nix_upstream_request_patch_spec.rb | 121 +
.../spec/models/nix_upstream_request_spec.rb | 121 +
.../ruby/src/spec/models/nix_upstream_spec.rb | 197 ++
.../models/npm_package_upload_request_spec.rb | 12 +
.../spec/models/npm_package_upload_spec.rb | 24 +
.../nuget_package_upload_request_spec.rb | 12 +
.../spec/models/nuget_package_upload_spec.rb | 24 +
.../spec/models/organization_usage_spec.rb | 59 +
...ization_usage_update_request_patch_spec.rb | 53 +
.../models/organization_usage_update_spec.rb | 53 +
.../models/p2_package_upload_request_spec.rb | 12 +
.../src/spec/models/p2_package_upload_spec.rb | 24 +
.../spec/models/package_copy_request_spec.rb | 12 +
.../ruby/src/spec/models/package_copy_spec.rb | 24 +
.../src/spec/models/package_detail_spec.rb | 597 ++++
.../package_license_request_patch_spec.rb | 12 +
.../src/spec/models/package_license_spec.rb | 12 +
.../spec/models/package_move_request_spec.rb | 12 +
.../ruby/src/spec/models/package_move_spec.rb | 24 +
.../models/package_quarantine_request_spec.rb | 12 +
.../spec/models/package_quarantine_spec.rb | 24 +
.../src/spec/models/package_resync_spec.rb | 24 +
bindings/ruby/src/spec/models/package_spec.rb | 24 +
.../spec/models/package_tag_request_spec.rb | 12 +
.../ruby/src/spec/models/package_tag_spec.rb | 24 +
.../spec/models/package_vulnerability_spec.rb | 12 +
.../python_package_upload_request_spec.rb | 12 +
.../spec/models/python_package_upload_spec.rb | 24 +
.../models/raw_package_upload_request_spec.rb | 12 +
.../spec/models/raw_package_upload_spec.rb | 24 +
.../spec/models/recycle_bin_package_spec.rb | 12 +
.../models/rpm_package_upload_request_spec.rb | 12 +
.../spec/models/rpm_package_upload_spec.rb | 24 +
.../ruby_package_upload_request_spec.rb | 12 +
.../spec/models/ruby_package_upload_spec.rb | 24 +
.../swift_package_upload_request_spec.rb | 12 +
.../spec/models/swift_package_upload_spec.rb | 24 +
.../terraform_package_upload_request_spec.rb | 12 +
.../models/terraform_package_upload_spec.rb | 24 +
.../vagrant_package_upload_request_spec.rb | 12 +
.../models/vagrant_package_upload_spec.rb | 24 +
.../models/vsx_package_upload_request_spec.rb | 12 +
.../spec/models/vsx_package_upload_spec.rb | 24 +
.../models/web_osv_severity_counts_spec.rb | 77 +
scripts/common.sh | 2 +-
676 files changed, 43377 insertions(+), 712 deletions(-)
create mode 100644 bindings/java/src/docs/InlineResponse2003.md
create mode 100644 bindings/java/src/docs/InlineResponse2004.md
create mode 100644 bindings/java/src/docs/NixPackageUpload.md
create mode 100644 bindings/java/src/docs/NixPackageUploadRequest.md
create mode 100644 bindings/java/src/docs/NixUpstream.md
create mode 100644 bindings/java/src/docs/NixUpstreamRequest.md
create mode 100644 bindings/java/src/docs/NixUpstreamRequestPatch.md
create mode 100644 bindings/java/src/docs/OrganizationUsage.md
create mode 100644 bindings/java/src/docs/OrganizationUsageUpdate.md
create mode 100644 bindings/java/src/docs/OrganizationUsageUpdateRequestPatch.md
create mode 100644 bindings/java/src/docs/PackageDetail.md
create mode 100644 bindings/java/src/docs/WebOSVSeverityCounts.md
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2003.java
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2004.java
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/NixPackageUpload.java
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/NixPackageUploadRequest.java
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/NixUpstream.java
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/NixUpstreamRequest.java
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/NixUpstreamRequestPatch.java
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationUsage.java
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationUsageUpdate.java
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationUsageUpdateRequestPatch.java
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageDetail.java
create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/WebOSVSeverityCounts.java
create mode 100644 bindings/python/src/cloudsmith_api/models/inline_response2003.py
create mode 100644 bindings/python/src/cloudsmith_api/models/inline_response2004.py
create mode 100644 bindings/python/src/cloudsmith_api/models/nix_package_upload.py
create mode 100644 bindings/python/src/cloudsmith_api/models/nix_package_upload_request.py
create mode 100644 bindings/python/src/cloudsmith_api/models/nix_upstream.py
create mode 100644 bindings/python/src/cloudsmith_api/models/nix_upstream_request.py
create mode 100644 bindings/python/src/cloudsmith_api/models/nix_upstream_request_patch.py
create mode 100644 bindings/python/src/cloudsmith_api/models/organization_usage.py
create mode 100644 bindings/python/src/cloudsmith_api/models/organization_usage_update.py
create mode 100644 bindings/python/src/cloudsmith_api/models/organization_usage_update_request_patch.py
create mode 100644 bindings/python/src/cloudsmith_api/models/package_detail.py
create mode 100644 bindings/python/src/cloudsmith_api/models/web_osv_severity_counts.py
create mode 100644 bindings/python/src/docs/InlineResponse2003.md
create mode 100644 bindings/python/src/docs/InlineResponse2004.md
create mode 100644 bindings/python/src/docs/NixPackageUpload.md
create mode 100644 bindings/python/src/docs/NixPackageUploadRequest.md
create mode 100644 bindings/python/src/docs/NixUpstream.md
create mode 100644 bindings/python/src/docs/NixUpstreamRequest.md
create mode 100644 bindings/python/src/docs/NixUpstreamRequestPatch.md
create mode 100644 bindings/python/src/docs/OrganizationUsage.md
create mode 100644 bindings/python/src/docs/OrganizationUsageUpdate.md
create mode 100644 bindings/python/src/docs/OrganizationUsageUpdateRequestPatch.md
create mode 100644 bindings/python/src/docs/PackageDetail.md
create mode 100644 bindings/python/src/docs/WebOSVSeverityCounts.md
create mode 100644 bindings/python/src/test/test_inline_response2003.py
create mode 100644 bindings/python/src/test/test_inline_response2004.py
create mode 100644 bindings/python/src/test/test_nix_package_upload.py
create mode 100644 bindings/python/src/test/test_nix_package_upload_request.py
create mode 100644 bindings/python/src/test/test_nix_upstream.py
create mode 100644 bindings/python/src/test/test_nix_upstream_request.py
create mode 100644 bindings/python/src/test/test_nix_upstream_request_patch.py
create mode 100644 bindings/python/src/test/test_organization_usage.py
create mode 100644 bindings/python/src/test/test_organization_usage_update.py
create mode 100644 bindings/python/src/test/test_organization_usage_update_request_patch.py
create mode 100644 bindings/python/src/test/test_package_detail.py
create mode 100644 bindings/python/src/test/test_web_osv_severity_counts.py
create mode 100644 bindings/ruby/src/docs/InlineResponse2003.md
create mode 100644 bindings/ruby/src/docs/InlineResponse2004.md
create mode 100644 bindings/ruby/src/docs/NixPackageUpload.md
create mode 100644 bindings/ruby/src/docs/NixPackageUploadRequest.md
create mode 100644 bindings/ruby/src/docs/NixUpstream.md
create mode 100644 bindings/ruby/src/docs/NixUpstreamRequest.md
create mode 100644 bindings/ruby/src/docs/NixUpstreamRequestPatch.md
create mode 100644 bindings/ruby/src/docs/OrganizationUsage.md
create mode 100644 bindings/ruby/src/docs/OrganizationUsageUpdate.md
create mode 100644 bindings/ruby/src/docs/OrganizationUsageUpdateRequestPatch.md
create mode 100644 bindings/ruby/src/docs/PackageDetail.md
create mode 100644 bindings/ruby/src/docs/WebOSVSeverityCounts.md
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/inline_response_200_3.rb
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/inline_response_200_4.rb
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/nix_package_upload.rb
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/nix_package_upload_request.rb
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/nix_upstream.rb
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/nix_upstream_request.rb
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/nix_upstream_request_patch.rb
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/organization_usage.rb
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/organization_usage_update.rb
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/organization_usage_update_request_patch.rb
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/package_detail.rb
create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/web_osv_severity_counts.rb
create mode 100644 bindings/ruby/src/spec/models/inline_response_200_3_spec.rb
create mode 100644 bindings/ruby/src/spec/models/inline_response_200_4_spec.rb
create mode 100644 bindings/ruby/src/spec/models/nix_package_upload_request_spec.rb
create mode 100644 bindings/ruby/src/spec/models/nix_package_upload_spec.rb
create mode 100644 bindings/ruby/src/spec/models/nix_upstream_request_patch_spec.rb
create mode 100644 bindings/ruby/src/spec/models/nix_upstream_request_spec.rb
create mode 100644 bindings/ruby/src/spec/models/nix_upstream_spec.rb
create mode 100644 bindings/ruby/src/spec/models/organization_usage_spec.rb
create mode 100644 bindings/ruby/src/spec/models/organization_usage_update_request_patch_spec.rb
create mode 100644 bindings/ruby/src/spec/models/organization_usage_update_spec.rb
create mode 100644 bindings/ruby/src/spec/models/package_detail_spec.rb
create mode 100644 bindings/ruby/src/spec/models/web_osv_severity_counts_spec.rb
diff --git a/bindings/java/src/README.md b/bindings/java/src/README.md
index 94452b75..18a80705 100644
--- a/bindings/java/src/README.md
+++ b/bindings/java/src/README.md
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
io.cloudsmith.api
cloudsmith-api
- 2.0.29
+ 2.0.30
compile
```
@@ -50,7 +50,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:
```groovy
-compile "io.cloudsmith.api:cloudsmith-api:2.0.29"
+compile "io.cloudsmith.api:cloudsmith-api:2.0.30"
```
### Others
@@ -63,7 +63,7 @@ mvn clean package
Then manually install the following JARs:
-* `target/cloudsmith-api-2.0.29.jar`
+* `target/cloudsmith-api-2.0.30.jar`
* `target/lib/*.jar`
## Getting Started
@@ -191,6 +191,7 @@ Class | Method | HTTP request | Description
*OrgsApi* | [**orgsOpenidConnectRead**](docs/OrgsApi.md#orgsOpenidConnectRead) | **GET** /orgs/{org}/openid-connect/{slug_perm}/ | Retrieve a specific OpenID Connect provider setting for the org.
*OrgsApi* | [**orgsOpenidConnectUpdate**](docs/OrgsApi.md#orgsOpenidConnectUpdate) | **PUT** /orgs/{org}/openid-connect/{slug_perm}/ | Update a specific OpenID Connect provider setting for the org.
*OrgsApi* | [**orgsRead**](docs/OrgsApi.md#orgsRead) | **GET** /orgs/{org}/ | Get the details for the specific organization.
+*OrgsApi* | [**orgsRetrieveUsageLimits**](docs/OrgsApi.md#orgsRetrieveUsageLimits) | **GET** /orgs/{org}/usage-limits/ |
*OrgsApi* | [**orgsSamlAuthenticationPartialUpdate**](docs/OrgsApi.md#orgsSamlAuthenticationPartialUpdate) | **PATCH** /orgs/{org}/saml-authentication | Update the SAML Authentication settings for this Organization.
*OrgsApi* | [**orgsSamlAuthenticationRead**](docs/OrgsApi.md#orgsSamlAuthenticationRead) | **GET** /orgs/{org}/saml-authentication | Retrieve the SAML Authentication settings for this Organization.
*OrgsApi* | [**orgsSamlGroupSyncCreate**](docs/OrgsApi.md#orgsSamlGroupSyncCreate) | **POST** /orgs/{org}/saml-group-sync/ | Create a new SAML Group Sync mapping within an organization.
@@ -213,6 +214,7 @@ Class | Method | HTTP request | Description
*OrgsApi* | [**orgsTeamsMembersUpdate**](docs/OrgsApi.md#orgsTeamsMembersUpdate) | **PUT** /orgs/{org}/teams/{team}/members | Replace all team members.
*OrgsApi* | [**orgsTeamsPartialUpdate**](docs/OrgsApi.md#orgsTeamsPartialUpdate) | **PATCH** /orgs/{org}/teams/{team}/ | Update a specific team in a organization.
*OrgsApi* | [**orgsTeamsRead**](docs/OrgsApi.md#orgsTeamsRead) | **GET** /orgs/{org}/teams/{team}/ | Get the details of a specific team within an organization.
+*OrgsApi* | [**orgsUpdateUsageLimits**](docs/OrgsApi.md#orgsUpdateUsageLimits) | **PATCH** /orgs/{org}/usage-limits/ |
*OrgsApi* | [**orgsVulnerabilityPolicyCreate**](docs/OrgsApi.md#orgsVulnerabilityPolicyCreate) | **POST** /orgs/{org}/vulnerability-policy/ | Create a package vulnerability policy.
*OrgsApi* | [**orgsVulnerabilityPolicyDelete**](docs/OrgsApi.md#orgsVulnerabilityPolicyDelete) | **DELETE** /orgs/{org}/vulnerability-policy/{slug_perm}/ | Delete a package vulnerability policy.
*OrgsApi* | [**orgsVulnerabilityPolicyEvaluationCreate**](docs/OrgsApi.md#orgsVulnerabilityPolicyEvaluationCreate) | **POST** /orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/ | Create an evaluation request for this policy.
@@ -254,6 +256,7 @@ Class | Method | HTTP request | Description
*PackagesApi* | [**packagesUploadLuarocks**](docs/PackagesApi.md#packagesUploadLuarocks) | **POST** /packages/{owner}/{repo}/upload/luarocks/ | Create a new LuaRocks package
*PackagesApi* | [**packagesUploadMaven**](docs/PackagesApi.md#packagesUploadMaven) | **POST** /packages/{owner}/{repo}/upload/maven/ | Create a new Maven package
*PackagesApi* | [**packagesUploadMcp**](docs/PackagesApi.md#packagesUploadMcp) | **POST** /packages/{owner}/{repo}/upload/mcp/ | Create a new MCP package
+*PackagesApi* | [**packagesUploadNix**](docs/PackagesApi.md#packagesUploadNix) | **POST** /packages/{owner}/{repo}/upload/nix/ | Create a new Nix package
*PackagesApi* | [**packagesUploadNpm**](docs/PackagesApi.md#packagesUploadNpm) | **POST** /packages/{owner}/{repo}/upload/npm/ | Create a new npm package
*PackagesApi* | [**packagesUploadNuget**](docs/PackagesApi.md#packagesUploadNuget) | **POST** /packages/{owner}/{repo}/upload/nuget/ | Create a new NuGet package
*PackagesApi* | [**packagesUploadP2**](docs/PackagesApi.md#packagesUploadP2) | **POST** /packages/{owner}/{repo}/upload/p2/ | Create a new P2 package
@@ -283,6 +286,7 @@ Class | Method | HTTP request | Description
*PackagesApi* | [**packagesValidateUploadLuarocks**](docs/PackagesApi.md#packagesValidateUploadLuarocks) | **POST** /packages/{owner}/{repo}/validate-upload/luarocks/ | Validate parameters for create LuaRocks package
*PackagesApi* | [**packagesValidateUploadMaven**](docs/PackagesApi.md#packagesValidateUploadMaven) | **POST** /packages/{owner}/{repo}/validate-upload/maven/ | Validate parameters for create Maven package
*PackagesApi* | [**packagesValidateUploadMcp**](docs/PackagesApi.md#packagesValidateUploadMcp) | **POST** /packages/{owner}/{repo}/validate-upload/mcp/ | Validate parameters for create MCP package
+*PackagesApi* | [**packagesValidateUploadNix**](docs/PackagesApi.md#packagesValidateUploadNix) | **POST** /packages/{owner}/{repo}/validate-upload/nix/ | Validate parameters for create Nix package
*PackagesApi* | [**packagesValidateUploadNpm**](docs/PackagesApi.md#packagesValidateUploadNpm) | **POST** /packages/{owner}/{repo}/validate-upload/npm/ | Validate parameters for create npm package
*PackagesApi* | [**packagesValidateUploadNuget**](docs/PackagesApi.md#packagesValidateUploadNuget) | **POST** /packages/{owner}/{repo}/validate-upload/nuget/ | Validate parameters for create NuGet package
*PackagesApi* | [**packagesValidateUploadP2**](docs/PackagesApi.md#packagesValidateUploadP2) | **POST** /packages/{owner}/{repo}/validate-upload/p2/ | Validate parameters for create P2 package
@@ -421,6 +425,12 @@ Class | Method | HTTP request | Description
*ReposApi* | [**reposUpstreamMavenPartialUpdate**](docs/ReposApi.md#reposUpstreamMavenPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Partially update a Maven upstream config for this repository.
*ReposApi* | [**reposUpstreamMavenRead**](docs/ReposApi.md#reposUpstreamMavenRead) | **GET** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Retrieve a Maven upstream config for this repository.
*ReposApi* | [**reposUpstreamMavenUpdate**](docs/ReposApi.md#reposUpstreamMavenUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Update a Maven upstream config for this repository.
+*ReposApi* | [**reposUpstreamNixCreate**](docs/ReposApi.md#reposUpstreamNixCreate) | **POST** /repos/{owner}/{identifier}/upstream/nix/ | Create a Nix upstream config for this repository.
+*ReposApi* | [**reposUpstreamNixDelete**](docs/ReposApi.md#reposUpstreamNixDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Delete a Nix upstream config for this repository.
+*ReposApi* | [**reposUpstreamNixList**](docs/ReposApi.md#reposUpstreamNixList) | **GET** /repos/{owner}/{identifier}/upstream/nix/ | List Nix upstream configs for this repository.
+*ReposApi* | [**reposUpstreamNixPartialUpdate**](docs/ReposApi.md#reposUpstreamNixPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Partially update a Nix upstream config for this repository.
+*ReposApi* | [**reposUpstreamNixRead**](docs/ReposApi.md#reposUpstreamNixRead) | **GET** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Retrieve a Nix upstream config for this repository.
+*ReposApi* | [**reposUpstreamNixUpdate**](docs/ReposApi.md#reposUpstreamNixUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Update a Nix upstream config for this repository.
*ReposApi* | [**reposUpstreamNpmCreate**](docs/ReposApi.md#reposUpstreamNpmCreate) | **POST** /repos/{owner}/{identifier}/upstream/npm/ | Create a npm upstream config for this repository.
*ReposApi* | [**reposUpstreamNpmDelete**](docs/ReposApi.md#reposUpstreamNpmDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/ | Delete a npm upstream config for this repository.
*ReposApi* | [**reposUpstreamNpmList**](docs/ReposApi.md#reposUpstreamNpmList) | **GET** /repos/{owner}/{identifier}/upstream/npm/ | List npm upstream configs for this repository.
@@ -581,6 +591,8 @@ Class | Method | HTTP request | Description
- [InlineResponse200](docs/InlineResponse200.md)
- [InlineResponse2001](docs/InlineResponse2001.md)
- [InlineResponse2002](docs/InlineResponse2002.md)
+ - [InlineResponse2003](docs/InlineResponse2003.md)
+ - [InlineResponse2004](docs/InlineResponse2004.md)
- [LuarocksPackageUpload](docs/LuarocksPackageUpload.md)
- [LuarocksPackageUploadRequest](docs/LuarocksPackageUploadRequest.md)
- [MavenPackageUpload](docs/MavenPackageUpload.md)
@@ -597,6 +609,11 @@ Class | Method | HTTP request | Description
- [NestedLicensePolicy](docs/NestedLicensePolicy.md)
- [NestedVulnerabilityPolicy](docs/NestedVulnerabilityPolicy.md)
- [NestedVulnerabilityScanResults](docs/NestedVulnerabilityScanResults.md)
+ - [NixPackageUpload](docs/NixPackageUpload.md)
+ - [NixPackageUploadRequest](docs/NixPackageUploadRequest.md)
+ - [NixUpstream](docs/NixUpstream.md)
+ - [NixUpstreamRequest](docs/NixUpstreamRequest.md)
+ - [NixUpstreamRequestPatch](docs/NixUpstreamRequestPatch.md)
- [NpmPackageUpload](docs/NpmPackageUpload.md)
- [NpmPackageUploadRequest](docs/NpmPackageUploadRequest.md)
- [NpmUpstream](docs/NpmUpstream.md)
@@ -638,6 +655,9 @@ Class | Method | HTTP request | Description
- [OrganizationTeamRequest](docs/OrganizationTeamRequest.md)
- [OrganizationTeamRequestPatch](docs/OrganizationTeamRequestPatch.md)
- [OrganizationTeamServiceMember](docs/OrganizationTeamServiceMember.md)
+ - [OrganizationUsage](docs/OrganizationUsage.md)
+ - [OrganizationUsageUpdate](docs/OrganizationUsageUpdate.md)
+ - [OrganizationUsageUpdateRequestPatch](docs/OrganizationUsageUpdateRequestPatch.md)
- [P2PackageUpload](docs/P2PackageUpload.md)
- [P2PackageUploadRequest](docs/P2PackageUploadRequest.md)
- [PackageBulkAction](docs/PackageBulkAction.md)
@@ -649,6 +669,7 @@ Class | Method | HTTP request | Description
- [PackageDenyPolicyRequestPatch](docs/PackageDenyPolicyRequestPatch.md)
- [PackageDependencies](docs/PackageDependencies.md)
- [PackageDependency](docs/PackageDependency.md)
+ - [PackageDetail](docs/PackageDetail.md)
- [PackageFile](docs/PackageFile.md)
- [PackageFilePartsUpload](docs/PackageFilePartsUpload.md)
- [PackageFileUpload](docs/PackageFileUpload.md)
@@ -786,6 +807,7 @@ Class | Method | HTTP request | Description
- [VulnerabilityScanResults](docs/VulnerabilityScanResults.md)
- [VulnerabilityScanResultsList](docs/VulnerabilityScanResultsList.md)
- [VulnerabilityScanVersion](docs/VulnerabilityScanVersion.md)
+ - [WebOSVSeverityCounts](docs/WebOSVSeverityCounts.md)
- [WebhookTemplate](docs/WebhookTemplate.md)
diff --git a/bindings/java/src/build.gradle b/bindings/java/src/build.gradle
index 31982579..c08d2bea 100644
--- a/bindings/java/src/build.gradle
+++ b/bindings/java/src/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'
group = 'io.cloudsmith.api'
-version = '2.0.29'
+version = '2.0.30'
buildscript {
repositories {
diff --git a/bindings/java/src/build.json b/bindings/java/src/build.json
index 38a8a470..47d58d3d 100644
--- a/bindings/java/src/build.json
+++ b/bindings/java/src/build.json
@@ -3,7 +3,7 @@
"apiPackage": "io.cloudsmith.api.apis",
"artifactId": "cloudsmith-api",
"artifactUrl": "https://api.cloudsmith.io/?format=openapi",
- "artifactVersion": "2.0.29",
+ "artifactVersion": "2.0.30",
"artifactDescription": "Cloudsmith API",
"dateLibrary": "java8",
"developerName": "Cloudsmith Ltd",
diff --git a/bindings/java/src/build.sbt b/bindings/java/src/build.sbt
index 4aae6d00..2fc79f3e 100644
--- a/bindings/java/src/build.sbt
+++ b/bindings/java/src/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "io.cloudsmith.api",
name := "cloudsmith-api",
- version := "2.0.29",
+ version := "2.0.30",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
diff --git a/bindings/java/src/docs/AlpinePackageUpload.md b/bindings/java/src/docs/AlpinePackageUpload.md
index 2a612253..ac4e052b 100644
--- a/bindings/java/src/docs/AlpinePackageUpload.md
+++ b/bindings/java/src/docs/AlpinePackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/AlpinePackageUploadRequest.md b/bindings/java/src/docs/AlpinePackageUploadRequest.md
index c00c371e..fb0b8e27 100644
--- a/bindings/java/src/docs/AlpinePackageUploadRequest.md
+++ b/bindings/java/src/docs/AlpinePackageUploadRequest.md
@@ -5,9 +5,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**distribution** | **String** | The distribution to store the package for. |
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/CargoPackageUpload.md b/bindings/java/src/docs/CargoPackageUpload.md
index 7a6c4615..00ebb94e 100644
--- a/bindings/java/src/docs/CargoPackageUpload.md
+++ b/bindings/java/src/docs/CargoPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/CargoPackageUploadRequest.md b/bindings/java/src/docs/CargoPackageUploadRequest.md
index ad438326..2630d5db 100644
--- a/bindings/java/src/docs/CargoPackageUploadRequest.md
+++ b/bindings/java/src/docs/CargoPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/CocoapodsPackageUpload.md b/bindings/java/src/docs/CocoapodsPackageUpload.md
index 27a5b8c7..85419578 100644
--- a/bindings/java/src/docs/CocoapodsPackageUpload.md
+++ b/bindings/java/src/docs/CocoapodsPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/CocoapodsPackageUploadRequest.md b/bindings/java/src/docs/CocoapodsPackageUploadRequest.md
index 3348f107..0526ef3d 100644
--- a/bindings/java/src/docs/CocoapodsPackageUploadRequest.md
+++ b/bindings/java/src/docs/CocoapodsPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/ComposerPackageUpload.md b/bindings/java/src/docs/ComposerPackageUpload.md
index 27d11e20..bc5fd34a 100644
--- a/bindings/java/src/docs/ComposerPackageUpload.md
+++ b/bindings/java/src/docs/ComposerPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/ComposerPackageUploadRequest.md b/bindings/java/src/docs/ComposerPackageUploadRequest.md
index a97362ba..e557e5c3 100644
--- a/bindings/java/src/docs/ComposerPackageUploadRequest.md
+++ b/bindings/java/src/docs/ComposerPackageUploadRequest.md
@@ -4,10 +4,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
**version** | **String** | The raw version for this package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/ConanPackageUpload.md b/bindings/java/src/docs/ConanPackageUpload.md
index 91845c45..ce708c1b 100644
--- a/bindings/java/src/docs/ConanPackageUpload.md
+++ b/bindings/java/src/docs/ConanPackageUpload.md
@@ -35,6 +35,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -79,18 +80,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/ConanPackageUploadRequest.md b/bindings/java/src/docs/ConanPackageUploadRequest.md
index 36824124..da033658 100644
--- a/bindings/java/src/docs/ConanPackageUploadRequest.md
+++ b/bindings/java/src/docs/ConanPackageUploadRequest.md
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
**conanChannel** | **String** | Conan channel. | [optional]
**conanPrefix** | **String** | Conan prefix (User). | [optional]
**infoFile** | **String** | The info file is an python file containing the package metadata. |
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**manifestFile** | **String** | The info file is an python file containing the package metadata. |
**metadataFile** | **String** | The conan file is an python file containing the package metadata. |
**name** | **String** | The name of this package. | [optional]
@@ -14,6 +15,7 @@ Name | Type | Description | Notes
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
**version** | **String** | The raw version for this package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/CondaPackageUpload.md b/bindings/java/src/docs/CondaPackageUpload.md
index 9e029984..40bc64bd 100644
--- a/bindings/java/src/docs/CondaPackageUpload.md
+++ b/bindings/java/src/docs/CondaPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/CondaPackageUploadRequest.md b/bindings/java/src/docs/CondaPackageUploadRequest.md
index 5c431c9e..0979ca7b 100644
--- a/bindings/java/src/docs/CondaPackageUploadRequest.md
+++ b/bindings/java/src/docs/CondaPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/CranPackageUpload.md b/bindings/java/src/docs/CranPackageUpload.md
index 0570c660..512db197 100644
--- a/bindings/java/src/docs/CranPackageUpload.md
+++ b/bindings/java/src/docs/CranPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -78,18 +79,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/CranPackageUploadRequest.md b/bindings/java/src/docs/CranPackageUploadRequest.md
index cfa0422c..65483a08 100644
--- a/bindings/java/src/docs/CranPackageUploadRequest.md
+++ b/bindings/java/src/docs/CranPackageUploadRequest.md
@@ -5,10 +5,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**architecture** | **String** | Binary package uploads for macOS should specify the architecture they were built for. | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**rVersion** | **String** | Binary package uploads should specify the version of R they were built for. | [optional]
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/DartPackageUpload.md b/bindings/java/src/docs/DartPackageUpload.md
index a91454ac..de8da94f 100644
--- a/bindings/java/src/docs/DartPackageUpload.md
+++ b/bindings/java/src/docs/DartPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/DartPackageUploadRequest.md b/bindings/java/src/docs/DartPackageUploadRequest.md
index 5c4af18f..d93c4291 100644
--- a/bindings/java/src/docs/DartPackageUploadRequest.md
+++ b/bindings/java/src/docs/DartPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/DebPackageUpload.md b/bindings/java/src/docs/DebPackageUpload.md
index a5f09aa5..6ee35d7c 100644
--- a/bindings/java/src/docs/DebPackageUpload.md
+++ b/bindings/java/src/docs/DebPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/DebPackageUploadRequest.md b/bindings/java/src/docs/DebPackageUploadRequest.md
index 04d791ca..60cc22bb 100644
--- a/bindings/java/src/docs/DebPackageUploadRequest.md
+++ b/bindings/java/src/docs/DebPackageUploadRequest.md
@@ -7,10 +7,12 @@ Name | Type | Description | Notes
**changesFile** | **String** | The changes archive containing the changes made to the source and debian packaging files | [optional]
**component** | **String** | The component (channel) for the package (e.g. 'main', 'unstable', etc.) | [optional]
**distribution** | **String** | The distribution to store the package for. |
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**sourcesFile** | **String** | The sources archive containing the source code for the binary | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/DockerPackageUpload.md b/bindings/java/src/docs/DockerPackageUpload.md
index 7f7cf718..5976dbdb 100644
--- a/bindings/java/src/docs/DockerPackageUpload.md
+++ b/bindings/java/src/docs/DockerPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/DockerPackageUploadRequest.md b/bindings/java/src/docs/DockerPackageUploadRequest.md
index 7fbdf623..20a1e059 100644
--- a/bindings/java/src/docs/DockerPackageUploadRequest.md
+++ b/bindings/java/src/docs/DockerPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/GenericPackageUpload.md b/bindings/java/src/docs/GenericPackageUpload.md
index 5b4d5de2..aef03b5d 100644
--- a/bindings/java/src/docs/GenericPackageUpload.md
+++ b/bindings/java/src/docs/GenericPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/GenericPackageUploadRequest.md b/bindings/java/src/docs/GenericPackageUploadRequest.md
index d5906cee..3ca2a706 100644
--- a/bindings/java/src/docs/GenericPackageUploadRequest.md
+++ b/bindings/java/src/docs/GenericPackageUploadRequest.md
@@ -5,11 +5,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**filepath** | **String** | The full filepath of the package including filename. |
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**name** | **String** | The name of this package. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
**version** | **String** | The raw version for this package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/GoPackageUpload.md b/bindings/java/src/docs/GoPackageUpload.md
index d89095df..98667c9e 100644
--- a/bindings/java/src/docs/GoPackageUpload.md
+++ b/bindings/java/src/docs/GoPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/GoPackageUploadRequest.md b/bindings/java/src/docs/GoPackageUploadRequest.md
index 8c8c950e..e7021e80 100644
--- a/bindings/java/src/docs/GoPackageUploadRequest.md
+++ b/bindings/java/src/docs/GoPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/HelmPackageUpload.md b/bindings/java/src/docs/HelmPackageUpload.md
index eccfbe6e..fef42775 100644
--- a/bindings/java/src/docs/HelmPackageUpload.md
+++ b/bindings/java/src/docs/HelmPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/HelmPackageUploadRequest.md b/bindings/java/src/docs/HelmPackageUploadRequest.md
index 739da846..156b27d6 100644
--- a/bindings/java/src/docs/HelmPackageUploadRequest.md
+++ b/bindings/java/src/docs/HelmPackageUploadRequest.md
@@ -4,10 +4,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**provenanceFile** | **String** | The provenance file containing the signature for the chart. If one is not provided, it will be generated automatically. | [optional]
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/HexPackageUpload.md b/bindings/java/src/docs/HexPackageUpload.md
index 17507743..36b17683 100644
--- a/bindings/java/src/docs/HexPackageUpload.md
+++ b/bindings/java/src/docs/HexPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/HexPackageUploadRequest.md b/bindings/java/src/docs/HexPackageUploadRequest.md
index cee3d8b0..88e262c4 100644
--- a/bindings/java/src/docs/HexPackageUploadRequest.md
+++ b/bindings/java/src/docs/HexPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/HuggingfacePackageUpload.md b/bindings/java/src/docs/HuggingfacePackageUpload.md
index dcd28faf..c41e341e 100644
--- a/bindings/java/src/docs/HuggingfacePackageUpload.md
+++ b/bindings/java/src/docs/HuggingfacePackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/HuggingfacePackageUploadRequest.md b/bindings/java/src/docs/HuggingfacePackageUploadRequest.md
index c3f612f2..9926221e 100644
--- a/bindings/java/src/docs/HuggingfacePackageUploadRequest.md
+++ b/bindings/java/src/docs/HuggingfacePackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/InlineResponse200.md b/bindings/java/src/docs/InlineResponse200.md
index cb84fb23..fea7c228 100644
--- a/bindings/java/src/docs/InlineResponse200.md
+++ b/bindings/java/src/docs/InlineResponse200.md
@@ -4,7 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**results** | [**List<PackageGroup>**](PackageGroup.md) | |
+**allowOpenSourceOverage** | **Boolean** | Whether on-demand open source overage is allowed. | [optional]
+**bandwidthOverageLimit** | **java.math.BigInteger** | Effective bandwidth overage limit in GB. | [optional]
+**storageOverageLimit** | **java.math.BigInteger** | Effective storage overage limit in GB. | [optional]
+**bandwidthMaximum** | **java.math.BigInteger** | Maximum allowed bandwidth overage in GB. | [optional]
+**storageMaximum** | **java.math.BigInteger** | Maximum allowed storage overage in GB. | [optional]
diff --git a/bindings/java/src/docs/InlineResponse2001.md b/bindings/java/src/docs/InlineResponse2001.md
index 8cfcf4f4..c03529f4 100644
--- a/bindings/java/src/docs/InlineResponse2001.md
+++ b/bindings/java/src/docs/InlineResponse2001.md
@@ -4,7 +4,9 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**results** | [**List<ConnectedRepository>**](ConnectedRepository.md) | |
+**allowOpenSourceOverage** | **Boolean** | Whether on-demand open source overage is allowed. | [optional]
+**bandwidthOverageLimit** | **java.math.BigInteger** | Effective bandwidth overage limit in GB. | [optional]
+**storageOverageLimit** | **java.math.BigInteger** | Effective storage overage limit in GB. | [optional]
diff --git a/bindings/java/src/docs/InlineResponse2002.md b/bindings/java/src/docs/InlineResponse2002.md
index 34a35c11..a22d7e91 100644
--- a/bindings/java/src/docs/InlineResponse2002.md
+++ b/bindings/java/src/docs/InlineResponse2002.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**results** | [**List<UserAuthenticationToken>**](UserAuthenticationToken.md) | |
+**results** | [**List<PackageGroup>**](PackageGroup.md) | |
diff --git a/bindings/java/src/docs/InlineResponse2003.md b/bindings/java/src/docs/InlineResponse2003.md
new file mode 100644
index 00000000..e7acbf52
--- /dev/null
+++ b/bindings/java/src/docs/InlineResponse2003.md
@@ -0,0 +1,10 @@
+
+# InlineResponse2003
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**results** | [**List<ConnectedRepository>**](ConnectedRepository.md) | |
+
+
+
diff --git a/bindings/java/src/docs/InlineResponse2004.md b/bindings/java/src/docs/InlineResponse2004.md
new file mode 100644
index 00000000..83835f21
--- /dev/null
+++ b/bindings/java/src/docs/InlineResponse2004.md
@@ -0,0 +1,10 @@
+
+# InlineResponse2004
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**results** | [**List<UserAuthenticationToken>**](UserAuthenticationToken.md) | |
+
+
+
diff --git a/bindings/java/src/docs/LuarocksPackageUpload.md b/bindings/java/src/docs/LuarocksPackageUpload.md
index 9c360e6e..986a8a86 100644
--- a/bindings/java/src/docs/LuarocksPackageUpload.md
+++ b/bindings/java/src/docs/LuarocksPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/LuarocksPackageUploadRequest.md b/bindings/java/src/docs/LuarocksPackageUploadRequest.md
index 0646761b..1a8aa267 100644
--- a/bindings/java/src/docs/LuarocksPackageUploadRequest.md
+++ b/bindings/java/src/docs/LuarocksPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/MavenPackageUpload.md b/bindings/java/src/docs/MavenPackageUpload.md
index 34588075..0fe81809 100644
--- a/bindings/java/src/docs/MavenPackageUpload.md
+++ b/bindings/java/src/docs/MavenPackageUpload.md
@@ -35,6 +35,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -82,18 +83,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/MavenPackageUploadRequest.md b/bindings/java/src/docs/MavenPackageUploadRequest.md
index 83c9acf8..1bbcb413 100644
--- a/bindings/java/src/docs/MavenPackageUploadRequest.md
+++ b/bindings/java/src/docs/MavenPackageUploadRequest.md
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
**artifactId** | **String** | The ID of the artifact. | [optional]
**extraFiles** | **List<String>** | Extra files to include in the package. This can be a single file or multiple files. | [optional]
**groupId** | **String** | Artifact's group ID. | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**ivyFile** | **String** | The ivy file is an XML file describing the dependencies of the project. | [optional]
**javadocFile** | **String** | Adds bundled Java documentation to the Maven package | [optional]
**packageFile** | **String** | The primary file for the package. |
@@ -19,6 +20,7 @@ Name | Type | Description | Notes
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
**testsFile** | **String** | Adds bundled Java tests to the Maven package. | [optional]
**version** | **String** | The raw version for this package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/McpPackageUpload.md b/bindings/java/src/docs/McpPackageUpload.md
index 9e010661..4048652b 100644
--- a/bindings/java/src/docs/McpPackageUpload.md
+++ b/bindings/java/src/docs/McpPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/McpPackageUploadRequest.md b/bindings/java/src/docs/McpPackageUploadRequest.md
index 7913223c..d72470cf 100644
--- a/bindings/java/src/docs/McpPackageUploadRequest.md
+++ b/bindings/java/src/docs/McpPackageUploadRequest.md
@@ -4,10 +4,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
**version** | **String** | The raw version for this package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/ModelPackage.md b/bindings/java/src/docs/ModelPackage.md
index 51737e06..ad032154 100644
--- a/bindings/java/src/docs/ModelPackage.md
+++ b/bindings/java/src/docs/ModelPackage.md
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -78,6 +79,7 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
@@ -85,12 +87,14 @@ Name | Type | Description | Notes
**tags** | [**Tags**](Tags.md) | | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/NixPackageUpload.md b/bindings/java/src/docs/NixPackageUpload.md
new file mode 100644
index 00000000..753f6b71
--- /dev/null
+++ b/bindings/java/src/docs/NixPackageUpload.md
@@ -0,0 +1,113 @@
+
+# NixPackageUpload
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**architectures** | [**List<Architecture>**](Architecture.md) | | [optional]
+**cdnUrl** | **String** | | [optional]
+**checksumMd5** | **String** | | [optional]
+**checksumSha1** | **String** | | [optional]
+**checksumSha256** | **String** | | [optional]
+**checksumSha512** | **String** | | [optional]
+**dependenciesChecksumMd5** | **String** | A checksum of all of the package's dependencies. | [optional]
+**dependenciesUrl** | **String** | | [optional]
+**description** | **String** | A textual description of this package. | [optional]
+**displayName** | **String** | | [optional]
+**distro** | [**Distribution**](Distribution.md) | | [optional]
+**distroVersion** | [**DistributionVersion**](DistributionVersion.md) | | [optional]
+**downloads** | **java.math.BigInteger** | | [optional]
+**epoch** | **java.math.BigInteger** | The epoch of the package version (if any). | [optional]
+**extension** | **String** | | [optional]
+**filename** | **String** | | [optional]
+**files** | [**List<PackageFile>**](PackageFile.md) | | [optional]
+**format** | **String** | | [optional]
+**formatUrl** | **String** | | [optional]
+**freeableStorage** | **java.math.BigInteger** | Amount of storage that will be freed if this package is deleted | [optional]
+**fullyQualifiedName** | **String** | | [optional]
+**identifierPerm** | **String** | Unique and permanent identifier for the package. | [optional]
+**identifiers** | **Map<String, String>** | Return a map of identifier field names and their values. | [optional]
+**indexed** | **Boolean** | | [optional]
+**isCancellable** | **Boolean** | | [optional]
+**isCopyable** | **Boolean** | | [optional]
+**isDeleteable** | **Boolean** | | [optional]
+**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
+**isMoveable** | **Boolean** | | [optional]
+**isQuarantinable** | **Boolean** | | [optional]
+**isQuarantined** | **Boolean** | | [optional]
+**isResyncable** | **Boolean** | | [optional]
+**isSecurityScannable** | **Boolean** | | [optional]
+**isSyncAwaiting** | **Boolean** | | [optional]
+**isSyncCompleted** | **Boolean** | | [optional]
+**isSyncFailed** | **Boolean** | | [optional]
+**isSyncInFlight** | **Boolean** | | [optional]
+**isSyncInProgress** | **Boolean** | | [optional]
+**license** | **String** | The license of this package. | [optional]
+**name** | **String** | The name of this package. | [optional]
+**namespace** | **String** | | [optional]
+**namespaceUrl** | **String** | | [optional]
+**numFiles** | **java.math.BigInteger** | | [optional]
+**originRepository** | **String** | | [optional]
+**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
+**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
+**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
+**rawLicense** | **String** | The raw license string. | [optional]
+**release** | **String** | The release of the package version (if any). | [optional]
+**repository** | **String** | | [optional]
+**repositoryUrl** | **String** | | [optional]
+**securityScanCompletedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning was completed. | [optional]
+**securityScanStartedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning was started. | [optional]
+**securityScanStatus** | [**SecurityScanStatusEnum**](#SecurityScanStatusEnum) | | [optional]
+**securityScanStatusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning status was updated. | [optional]
+**selfHtmlUrl** | **String** | | [optional]
+**selfUrl** | **String** | | [optional]
+**selfWebappUrl** | **String** | | [optional]
+**signatureUrl** | **String** | | [optional]
+**size** | **java.math.BigInteger** | The calculated size of the package. | [optional]
+**slug** | **String** | The public unique identifier for the package. | [optional]
+**slugPerm** | **String** | | [optional]
+**spdxLicense** | **String** | The SPDX license identifier for this package. | [optional]
+**stage** | **java.math.BigInteger** | The synchronisation (in progress) stage of the package. | [optional]
+**stageStr** | **String** | | [optional]
+**stageUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package stage was updated at. | [optional]
+**status** | **java.math.BigInteger** | The synchronisation status of the package. | [optional]
+**statusReason** | **String** | A textual description for the synchronous status reason (if any | [optional]
+**statusStr** | **String** | | [optional]
+**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
+**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
+**subtype** | **String** | | [optional]
+**summary** | **String** | A one-liner synopsis of this package. | [optional]
+**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
+**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
+**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
+**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
+**typeDisplay** | **String** | | [optional]
+**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
+**uploader** | **String** | | [optional]
+**uploaderUrl** | **String** | | [optional]
+**version** | **String** | The raw version for this package. | [optional]
+**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
+**vulnerabilityScanResultsUrl** | **String** | | [optional]
+
+
+
+## Enum: SecurityScanStatusEnum
+Name | Value
+---- | -----
+AWAITING_SECURITY_SCAN | "Awaiting Security Scan"
+SECURITY_SCANNING_IN_PROGRESS | "Security Scanning in Progress"
+SCAN_DETECTED_VULNERABILITIES | "Scan Detected Vulnerabilities"
+SCAN_DETECTED_NO_VULNERABILITIES | "Scan Detected No Vulnerabilities"
+SECURITY_SCANNING_DISABLED | "Security Scanning Disabled"
+SECURITY_SCANNING_FAILED | "Security Scanning Failed"
+SECURITY_SCANNING_SKIPPED | "Security Scanning Skipped"
+SECURITY_SCANNING_NOT_SUPPORTED | "Security Scanning Not Supported"
+
+
+
diff --git a/bindings/java/src/docs/NixPackageUploadRequest.md b/bindings/java/src/docs/NixPackageUploadRequest.md
new file mode 100644
index 00000000..1e4ca5d2
--- /dev/null
+++ b/bindings/java/src/docs/NixPackageUploadRequest.md
@@ -0,0 +1,16 @@
+
+# NixPackageUploadRequest
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
+**narinfo** | **String** | The narinfo sidecar metadata file (<storeHash>.narinfo). Optional — the package can be completed later by publishing the matching narinfo via the native HTTP PUT path. | [optional]
+**packageFile** | **String** | The primary file for the package. |
+**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
+**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**version** | **String** | The raw version for this package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
+
+
+
diff --git a/bindings/java/src/docs/NixUpstream.md b/bindings/java/src/docs/NixUpstream.md
new file mode 100644
index 00000000..60950130
--- /dev/null
+++ b/bindings/java/src/docs/NixUpstream.md
@@ -0,0 +1,61 @@
+
+# NixUpstream
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
+**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
+**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
+**available** | **Boolean** | Whether the upstream is available for use. | [optional]
+**canReindex** | **Boolean** | Whether the upstream can be reindexed. | [optional]
+**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the upstream source was created. | [optional]
+**disableReason** | [**DisableReasonEnum**](#DisableReasonEnum) | | [optional]
+**disableReasonText** | **String** | Human-readable explanation of why this upstream is disabled | [optional]
+**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
+**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
+**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**hasFailedSignatureVerification** | **Boolean** | Whether the upstream has failed signature verification. | [optional]
+**indexPackageCount** | **java.math.BigInteger** | The number of packages available in this upstream source | [optional]
+**indexStatus** | **String** | The current indexing status of this upstream source | [optional]
+**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
+**lastIndexed** | **String** | The last time this upstream source was indexed | [optional]
+**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
+**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
+**pendingValidation** | **Boolean** | When true, this upstream source is pending validation. | [optional]
+**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
+**slugPerm** | **String** | | [optional]
+**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
+**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
+
+
+
+## Enum: AuthModeEnum
+Name | Value
+---- | -----
+NONE | "None"
+USERNAME_AND_PASSWORD | "Username and Password"
+
+
+
+## Enum: DisableReasonEnum
+Name | Value
+---- | -----
+N_A | "N/A"
+UPSTREAM_POINTS_TO_ITS_OWN_REPOSITORY | "Upstream points to its own repository"
+MISSING_UPSTREAM_SOURCE | "Missing upstream source"
+RSA_KEY_DID_NOT_VERIFY_THE_UPSTREAM_S_APKINDEX_SIGNATURE | "RSA key did not verify the upstream's APKINDEX signature"
+UPSTREAM_WAS_DISABLED_BY_REQUEST_OF_USER | "Upstream was disabled by request of user"
+
+
+
+## Enum: ModeEnum
+Name | Value
+---- | -----
+PROXY_ONLY | "Proxy Only"
+CACHE_AND_PROXY | "Cache and Proxy"
+
+
+
diff --git a/bindings/java/src/docs/NixUpstreamRequest.md b/bindings/java/src/docs/NixUpstreamRequest.md
new file mode 100644
index 00000000..f069a2c0
--- /dev/null
+++ b/bindings/java/src/docs/NixUpstreamRequest.md
@@ -0,0 +1,38 @@
+
+# NixUpstreamRequest
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
+**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
+**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
+**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
+**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
+**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
+**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
+**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
+**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
+**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
+**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
+
+
+
+## Enum: AuthModeEnum
+Name | Value
+---- | -----
+NONE | "None"
+USERNAME_AND_PASSWORD | "Username and Password"
+
+
+
+## Enum: ModeEnum
+Name | Value
+---- | -----
+PROXY_ONLY | "Proxy Only"
+CACHE_AND_PROXY | "Cache and Proxy"
+
+
+
diff --git a/bindings/java/src/docs/NixUpstreamRequestPatch.md b/bindings/java/src/docs/NixUpstreamRequestPatch.md
new file mode 100644
index 00000000..d92f3865
--- /dev/null
+++ b/bindings/java/src/docs/NixUpstreamRequestPatch.md
@@ -0,0 +1,38 @@
+
+# NixUpstreamRequestPatch
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
+**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
+**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
+**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
+**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
+**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
+**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
+**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional]
+**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
+**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional]
+**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
+
+
+
+## Enum: AuthModeEnum
+Name | Value
+---- | -----
+NONE | "None"
+USERNAME_AND_PASSWORD | "Username and Password"
+
+
+
+## Enum: ModeEnum
+Name | Value
+---- | -----
+PROXY_ONLY | "Proxy Only"
+CACHE_AND_PROXY | "Cache and Proxy"
+
+
+
diff --git a/bindings/java/src/docs/NpmPackageUpload.md b/bindings/java/src/docs/NpmPackageUpload.md
index 5e29bfd6..54521858 100644
--- a/bindings/java/src/docs/NpmPackageUpload.md
+++ b/bindings/java/src/docs/NpmPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/NpmPackageUploadRequest.md b/bindings/java/src/docs/NpmPackageUploadRequest.md
index b3f94c1e..4ce3a24c 100644
--- a/bindings/java/src/docs/NpmPackageUploadRequest.md
+++ b/bindings/java/src/docs/NpmPackageUploadRequest.md
@@ -4,10 +4,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**npmDistTag** | **String** | The default npm dist-tag for this package/version - This will replace any other package/version if they are using the same tag. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/NugetPackageUpload.md b/bindings/java/src/docs/NugetPackageUpload.md
index 98c7c520..973f6afc 100644
--- a/bindings/java/src/docs/NugetPackageUpload.md
+++ b/bindings/java/src/docs/NugetPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/NugetPackageUploadRequest.md b/bindings/java/src/docs/NugetPackageUploadRequest.md
index 53795056..e8475acf 100644
--- a/bindings/java/src/docs/NugetPackageUploadRequest.md
+++ b/bindings/java/src/docs/NugetPackageUploadRequest.md
@@ -4,10 +4,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**symbolsFile** | **String** | Uploads a symbols file as a separate package | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/OrganizationUsage.md b/bindings/java/src/docs/OrganizationUsage.md
new file mode 100644
index 00000000..3e5b2b9a
--- /dev/null
+++ b/bindings/java/src/docs/OrganizationUsage.md
@@ -0,0 +1,13 @@
+
+# OrganizationUsage
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**bandwidthMaximum** | **java.math.BigInteger** | The maximum allowed package delivery overage in GB for this product. | [optional]
+**bandwidthOverageLimit** | **java.math.BigInteger** | The on-demand limit for package delivery usage (in GBs). | [optional]
+**storageMaximum** | **java.math.BigInteger** | The maximum allowed artifact data overage in GB for this product. | [optional]
+**storageOverageLimit** | **java.math.BigInteger** | The on-demand limit for artifact data usage (in GBs). | [optional]
+
+
+
diff --git a/bindings/java/src/docs/OrganizationUsageUpdate.md b/bindings/java/src/docs/OrganizationUsageUpdate.md
new file mode 100644
index 00000000..23784cd6
--- /dev/null
+++ b/bindings/java/src/docs/OrganizationUsageUpdate.md
@@ -0,0 +1,12 @@
+
+# OrganizationUsageUpdate
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**allowOpenSourceOverage** | **Boolean** | | [optional]
+**bandwidthOverageLimit** | **java.math.BigInteger** | | [optional]
+**storageOverageLimit** | **java.math.BigInteger** | | [optional]
+
+
+
diff --git a/bindings/java/src/docs/OrganizationUsageUpdateRequestPatch.md b/bindings/java/src/docs/OrganizationUsageUpdateRequestPatch.md
new file mode 100644
index 00000000..1258d349
--- /dev/null
+++ b/bindings/java/src/docs/OrganizationUsageUpdateRequestPatch.md
@@ -0,0 +1,12 @@
+
+# OrganizationUsageUpdateRequestPatch
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**allowOpenSourceOverage** | **Boolean** | | [optional]
+**bandwidthOverageLimit** | **java.math.BigInteger** | | [optional]
+**storageOverageLimit** | **java.math.BigInteger** | | [optional]
+
+
+
diff --git a/bindings/java/src/docs/OrgsApi.md b/bindings/java/src/docs/OrgsApi.md
index 7b299147..a2d22cf4 100644
--- a/bindings/java/src/docs/OrgsApi.md
+++ b/bindings/java/src/docs/OrgsApi.md
@@ -46,6 +46,7 @@ Method | HTTP request | Description
[**orgsOpenidConnectRead**](OrgsApi.md#orgsOpenidConnectRead) | **GET** /orgs/{org}/openid-connect/{slug_perm}/ | Retrieve a specific OpenID Connect provider setting for the org.
[**orgsOpenidConnectUpdate**](OrgsApi.md#orgsOpenidConnectUpdate) | **PUT** /orgs/{org}/openid-connect/{slug_perm}/ | Update a specific OpenID Connect provider setting for the org.
[**orgsRead**](OrgsApi.md#orgsRead) | **GET** /orgs/{org}/ | Get the details for the specific organization.
+[**orgsRetrieveUsageLimits**](OrgsApi.md#orgsRetrieveUsageLimits) | **GET** /orgs/{org}/usage-limits/ |
[**orgsSamlAuthenticationPartialUpdate**](OrgsApi.md#orgsSamlAuthenticationPartialUpdate) | **PATCH** /orgs/{org}/saml-authentication | Update the SAML Authentication settings for this Organization.
[**orgsSamlAuthenticationRead**](OrgsApi.md#orgsSamlAuthenticationRead) | **GET** /orgs/{org}/saml-authentication | Retrieve the SAML Authentication settings for this Organization.
[**orgsSamlGroupSyncCreate**](OrgsApi.md#orgsSamlGroupSyncCreate) | **POST** /orgs/{org}/saml-group-sync/ | Create a new SAML Group Sync mapping within an organization.
@@ -68,6 +69,7 @@ Method | HTTP request | Description
[**orgsTeamsMembersUpdate**](OrgsApi.md#orgsTeamsMembersUpdate) | **PUT** /orgs/{org}/teams/{team}/members | Replace all team members.
[**orgsTeamsPartialUpdate**](OrgsApi.md#orgsTeamsPartialUpdate) | **PATCH** /orgs/{org}/teams/{team}/ | Update a specific team in a organization.
[**orgsTeamsRead**](OrgsApi.md#orgsTeamsRead) | **GET** /orgs/{org}/teams/{team}/ | Get the details of a specific team within an organization.
+[**orgsUpdateUsageLimits**](OrgsApi.md#orgsUpdateUsageLimits) | **PATCH** /orgs/{org}/usage-limits/ |
[**orgsVulnerabilityPolicyCreate**](OrgsApi.md#orgsVulnerabilityPolicyCreate) | **POST** /orgs/{org}/vulnerability-policy/ | Create a package vulnerability policy.
[**orgsVulnerabilityPolicyDelete**](OrgsApi.md#orgsVulnerabilityPolicyDelete) | **DELETE** /orgs/{org}/vulnerability-policy/{slug_perm}/ | Delete a package vulnerability policy.
[**orgsVulnerabilityPolicyEvaluationCreate**](OrgsApi.md#orgsVulnerabilityPolicyEvaluationCreate) | **POST** /orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/ | Create an evaluation request for this policy.
@@ -2727,6 +2729,66 @@ Name | Type | Description | Notes
[apikey](../README.md#apikey), [basic](../README.md#basic)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **orgsRetrieveUsageLimits**
+> InlineResponse200 orgsRetrieveUsageLimits(org)
+
+
+
+
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.OrgsApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+OrgsApi apiInstance = new OrgsApi();
+String org = "org_example"; // String |
+try {
+ InlineResponse200 result = apiInstance.orgsRetrieveUsageLimits(org);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling OrgsApi#orgsRetrieveUsageLimits");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+
+### Return type
+
+[**InlineResponse200**](InlineResponse200.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -4104,6 +4166,68 @@ Name | Type | Description | Notes
[apikey](../README.md#apikey), [basic](../README.md#basic)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **orgsUpdateUsageLimits**
+> InlineResponse2001 orgsUpdateUsageLimits(org, data)
+
+
+
+
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.OrgsApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+OrgsApi apiInstance = new OrgsApi();
+String org = "org_example"; // String |
+OrganizationUsageUpdateRequestPatch data = new OrganizationUsageUpdateRequestPatch(); // OrganizationUsageUpdateRequestPatch |
+try {
+ InlineResponse2001 result = apiInstance.orgsUpdateUsageLimits(org, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling OrgsApi#orgsUpdateUsageLimits");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **data** | [**OrganizationUsageUpdateRequestPatch**](OrganizationUsageUpdateRequestPatch.md)| | [optional]
+
+### Return type
+
+[**InlineResponse2001**](InlineResponse2001.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
### HTTP request headers
- **Content-Type**: application/json
diff --git a/bindings/java/src/docs/P2PackageUpload.md b/bindings/java/src/docs/P2PackageUpload.md
index 043cbd29..0bd6ee08 100644
--- a/bindings/java/src/docs/P2PackageUpload.md
+++ b/bindings/java/src/docs/P2PackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/P2PackageUploadRequest.md b/bindings/java/src/docs/P2PackageUploadRequest.md
index 3c011cc4..4404a853 100644
--- a/bindings/java/src/docs/P2PackageUploadRequest.md
+++ b/bindings/java/src/docs/P2PackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/PackageCopy.md b/bindings/java/src/docs/PackageCopy.md
index 9c4dbe00..ab4b31cb 100644
--- a/bindings/java/src/docs/PackageCopy.md
+++ b/bindings/java/src/docs/PackageCopy.md
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -78,6 +79,7 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
@@ -85,12 +87,14 @@ Name | Type | Description | Notes
**tags** | [**Tags**](Tags.md) | | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/PackageCopyRequest.md b/bindings/java/src/docs/PackageCopyRequest.md
index 8b0c3349..94d6a0bf 100644
--- a/bindings/java/src/docs/PackageCopyRequest.md
+++ b/bindings/java/src/docs/PackageCopyRequest.md
@@ -5,7 +5,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**destination** | **String** | The name of the destination repository without the namespace. |
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**republish** | **Boolean** | If true, the package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/PackageDetail.md b/bindings/java/src/docs/PackageDetail.md
new file mode 100644
index 00000000..5f058880
--- /dev/null
+++ b/bindings/java/src/docs/PackageDetail.md
@@ -0,0 +1,116 @@
+
+# PackageDetail
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**architectures** | [**List<Architecture>**](Architecture.md) | | [optional]
+**cdnUrl** | **String** | | [optional]
+**checksumMd5** | **String** | | [optional]
+**checksumSha1** | **String** | | [optional]
+**checksumSha256** | **String** | | [optional]
+**checksumSha512** | **String** | | [optional]
+**dependenciesChecksumMd5** | **String** | A checksum of all of the package's dependencies. | [optional]
+**dependenciesUrl** | **String** | | [optional]
+**description** | **String** | A textual description of this package. | [optional]
+**displayName** | **String** | | [optional]
+**distro** | [**Distribution**](Distribution.md) | | [optional]
+**distroVersion** | [**DistributionVersion**](DistributionVersion.md) | | [optional]
+**downloads** | **java.math.BigInteger** | | [optional]
+**epoch** | **java.math.BigInteger** | The epoch of the package version (if any). | [optional]
+**extension** | **String** | | [optional]
+**filename** | **String** | | [optional]
+**filepath** | **String** | Full path to the file, including filename e.g. bin/utils/tool.tar.gz | [optional]
+**files** | [**List<PackageFile>**](PackageFile.md) | | [optional]
+**format** | **String** | | [optional]
+**formatUrl** | **String** | | [optional]
+**freeableStorage** | **java.math.BigInteger** | Amount of storage that will be freed if this package is deleted | [optional]
+**fullyQualifiedName** | **String** | | [optional]
+**hasDependencies** | **Boolean** | Whether the package has any dependencies (top-level or from its SBOM). | [optional]
+**identifierPerm** | **String** | Unique and permanent identifier for the package. | [optional]
+**identifiers** | **Map<String, String>** | Return a map of identifier field names and their values. | [optional]
+**indexed** | **Boolean** | | [optional]
+**isCancellable** | **Boolean** | | [optional]
+**isCopyable** | **Boolean** | | [optional]
+**isDeleteable** | **Boolean** | | [optional]
+**isDownloadable** | **Boolean** | | [optional]
+**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
+**isMoveable** | **Boolean** | | [optional]
+**isQuarantinable** | **Boolean** | | [optional]
+**isQuarantined** | **Boolean** | | [optional]
+**isResyncable** | **Boolean** | | [optional]
+**isSecurityScannable** | **Boolean** | | [optional]
+**isSyncAwaiting** | **Boolean** | | [optional]
+**isSyncCompleted** | **Boolean** | | [optional]
+**isSyncFailed** | **Boolean** | | [optional]
+**isSyncInFlight** | **Boolean** | | [optional]
+**isSyncInProgress** | **Boolean** | | [optional]
+**license** | **String** | The license of this package. | [optional]
+**name** | **String** | The name of this package. | [optional]
+**namespace** | **String** | | [optional]
+**namespaceUrl** | **String** | | [optional]
+**numFiles** | **java.math.BigInteger** | | [optional]
+**originRepository** | **String** | | [optional]
+**originRepositoryUrl** | **String** | | [optional]
+**osiApproved** | **Boolean** | Whether the package's SPDX license is OSI-approved. | [optional]
+**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
+**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
+**rawLicense** | **String** | The raw license string. | [optional]
+**release** | **String** | The release of the package version (if any). | [optional]
+**repository** | **String** | | [optional]
+**repositoryUrl** | **String** | | [optional]
+**securityScanCompletedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning was completed. | [optional]
+**securityScanStartedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning was started. | [optional]
+**securityScanStatus** | [**SecurityScanStatusEnum**](#SecurityScanStatusEnum) | | [optional]
+**securityScanStatusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning status was updated. | [optional]
+**selfHtmlUrl** | **String** | | [optional]
+**selfUrl** | **String** | | [optional]
+**selfWebappUrl** | **String** | | [optional]
+**signatureUrl** | **String** | | [optional]
+**size** | **java.math.BigInteger** | The calculated size of the package. | [optional]
+**slug** | **String** | The public unique identifier for the package. | [optional]
+**slugPerm** | **String** | | [optional]
+**spdxLicense** | **String** | The SPDX license identifier for this package. | [optional]
+**stage** | **java.math.BigInteger** | The synchronisation (in progress) stage of the package. | [optional]
+**stageStr** | **String** | | [optional]
+**stageUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package stage was updated at. | [optional]
+**status** | **java.math.BigInteger** | The synchronisation status of the package. | [optional]
+**statusReason** | **String** | A textual description for the synchronous status reason (if any | [optional]
+**statusStr** | **String** | | [optional]
+**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
+**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
+**subtype** | **String** | | [optional]
+**summary** | **String** | A one-liner synopsis of this package. | [optional]
+**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
+**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
+**tags** | [**Tags**](Tags.md) | | [optional]
+**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
+**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
+**typeDisplay** | **String** | | [optional]
+**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
+**uploader** | **String** | | [optional]
+**uploaderUrl** | **String** | | [optional]
+**version** | **String** | The raw version for this package. | [optional]
+**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
+**vulnerabilityScanResultsUrl** | **String** | | [optional]
+
+
+
+## Enum: SecurityScanStatusEnum
+Name | Value
+---- | -----
+AWAITING_SECURITY_SCAN | "Awaiting Security Scan"
+SECURITY_SCANNING_IN_PROGRESS | "Security Scanning in Progress"
+SCAN_DETECTED_VULNERABILITIES | "Scan Detected Vulnerabilities"
+SCAN_DETECTED_NO_VULNERABILITIES | "Scan Detected No Vulnerabilities"
+SECURITY_SCANNING_DISABLED | "Security Scanning Disabled"
+SECURITY_SCANNING_FAILED | "Security Scanning Failed"
+SECURITY_SCANNING_SKIPPED | "Security Scanning Skipped"
+SECURITY_SCANNING_NOT_SUPPORTED | "Security Scanning Not Supported"
+
+
+
diff --git a/bindings/java/src/docs/PackageLicense.md b/bindings/java/src/docs/PackageLicense.md
index 74ce2a1b..2b18b819 100644
--- a/bindings/java/src/docs/PackageLicense.md
+++ b/bindings/java/src/docs/PackageLicense.md
@@ -4,10 +4,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**licenseNotes** | **String** | | [optional]
**licenseOverride** | [**LicenseOverrideEnum**](#LicenseOverrideEnum) | | [optional]
**licenseUrl** | **String** | | [optional]
**spdxLicense** | **String** | |
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/PackageLicenseRequestPatch.md b/bindings/java/src/docs/PackageLicenseRequestPatch.md
index 98f935a7..8c3868c4 100644
--- a/bindings/java/src/docs/PackageLicenseRequestPatch.md
+++ b/bindings/java/src/docs/PackageLicenseRequestPatch.md
@@ -5,10 +5,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**action** | [**ActionEnum**](#ActionEnum) | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**licenseNotes** | **String** | | [optional]
**licenseOverride** | [**LicenseOverrideEnum**](#LicenseOverrideEnum) | | [optional]
**licenseUrl** | **String** | | [optional]
-**spdxLicense** | **String** | | [optional]
+**spdxLicense** | **String** | |
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/PackageMove.md b/bindings/java/src/docs/PackageMove.md
index 9b23b35e..62a69528 100644
--- a/bindings/java/src/docs/PackageMove.md
+++ b/bindings/java/src/docs/PackageMove.md
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -78,6 +79,7 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
@@ -85,12 +87,14 @@ Name | Type | Description | Notes
**tags** | [**Tags**](Tags.md) | | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/PackageMoveRequest.md b/bindings/java/src/docs/PackageMoveRequest.md
index b19321e3..7e8bf7cd 100644
--- a/bindings/java/src/docs/PackageMoveRequest.md
+++ b/bindings/java/src/docs/PackageMoveRequest.md
@@ -5,6 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**destination** | **String** | The name of the destination repository without the namespace. |
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/PackageQuarantine.md b/bindings/java/src/docs/PackageQuarantine.md
index c3fd4173..dbad374c 100644
--- a/bindings/java/src/docs/PackageQuarantine.md
+++ b/bindings/java/src/docs/PackageQuarantine.md
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,6 +78,7 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
@@ -84,12 +86,14 @@ Name | Type | Description | Notes
**tags** | [**Tags**](Tags.md) | | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/PackageQuarantineRequest.md b/bindings/java/src/docs/PackageQuarantineRequest.md
index ba057859..3daffe64 100644
--- a/bindings/java/src/docs/PackageQuarantineRequest.md
+++ b/bindings/java/src/docs/PackageQuarantineRequest.md
@@ -4,8 +4,10 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**release** | **Boolean** | If true, the package is released from quarantine. | [optional]
**restore** | **Boolean** | If true, the package is released from quarantine. Note: This field is deprecated, please use 'release' instead. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/PackageResync.md b/bindings/java/src/docs/PackageResync.md
index 82330ee3..fc8eb469 100644
--- a/bindings/java/src/docs/PackageResync.md
+++ b/bindings/java/src/docs/PackageResync.md
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -78,6 +79,7 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
@@ -85,12 +87,14 @@ Name | Type | Description | Notes
**tags** | [**Tags**](Tags.md) | | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/PackageTag.md b/bindings/java/src/docs/PackageTag.md
index 8a17f582..e2d05d8c 100644
--- a/bindings/java/src/docs/PackageTag.md
+++ b/bindings/java/src/docs/PackageTag.md
@@ -35,6 +35,7 @@ Name | Type | Description | Notes
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
**isImmutable** | **Boolean** | If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -79,18 +80,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/PackageTagRequest.md b/bindings/java/src/docs/PackageTagRequest.md
index b2162981..004c5341 100644
--- a/bindings/java/src/docs/PackageTagRequest.md
+++ b/bindings/java/src/docs/PackageTagRequest.md
@@ -6,7 +6,9 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**action** | [**ActionEnum**](#ActionEnum) | | [optional]
**isImmutable** | **Boolean** | If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**tags** | **List<String>** | A list of tags to apply the action to. Not required for clears. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/PackageVulnerability.md b/bindings/java/src/docs/PackageVulnerability.md
index eabbaeb6..7108ce56 100644
--- a/bindings/java/src/docs/PackageVulnerability.md
+++ b/bindings/java/src/docs/PackageVulnerability.md
@@ -5,9 +5,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**identifier** | **String** | |
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**name** | **String** | The name of this package. | [optional]
**url** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/PackagesApi.md b/bindings/java/src/docs/PackagesApi.md
index ed49fec1..d766920e 100644
--- a/bindings/java/src/docs/PackagesApi.md
+++ b/bindings/java/src/docs/PackagesApi.md
@@ -35,6 +35,7 @@ Method | HTTP request | Description
[**packagesUploadLuarocks**](PackagesApi.md#packagesUploadLuarocks) | **POST** /packages/{owner}/{repo}/upload/luarocks/ | Create a new LuaRocks package
[**packagesUploadMaven**](PackagesApi.md#packagesUploadMaven) | **POST** /packages/{owner}/{repo}/upload/maven/ | Create a new Maven package
[**packagesUploadMcp**](PackagesApi.md#packagesUploadMcp) | **POST** /packages/{owner}/{repo}/upload/mcp/ | Create a new MCP package
+[**packagesUploadNix**](PackagesApi.md#packagesUploadNix) | **POST** /packages/{owner}/{repo}/upload/nix/ | Create a new Nix package
[**packagesUploadNpm**](PackagesApi.md#packagesUploadNpm) | **POST** /packages/{owner}/{repo}/upload/npm/ | Create a new npm package
[**packagesUploadNuget**](PackagesApi.md#packagesUploadNuget) | **POST** /packages/{owner}/{repo}/upload/nuget/ | Create a new NuGet package
[**packagesUploadP2**](PackagesApi.md#packagesUploadP2) | **POST** /packages/{owner}/{repo}/upload/p2/ | Create a new P2 package
@@ -64,6 +65,7 @@ Method | HTTP request | Description
[**packagesValidateUploadLuarocks**](PackagesApi.md#packagesValidateUploadLuarocks) | **POST** /packages/{owner}/{repo}/validate-upload/luarocks/ | Validate parameters for create LuaRocks package
[**packagesValidateUploadMaven**](PackagesApi.md#packagesValidateUploadMaven) | **POST** /packages/{owner}/{repo}/validate-upload/maven/ | Validate parameters for create Maven package
[**packagesValidateUploadMcp**](PackagesApi.md#packagesValidateUploadMcp) | **POST** /packages/{owner}/{repo}/validate-upload/mcp/ | Validate parameters for create MCP package
+[**packagesValidateUploadNix**](PackagesApi.md#packagesValidateUploadNix) | **POST** /packages/{owner}/{repo}/validate-upload/nix/ | Validate parameters for create Nix package
[**packagesValidateUploadNpm**](PackagesApi.md#packagesValidateUploadNpm) | **POST** /packages/{owner}/{repo}/validate-upload/npm/ | Validate parameters for create npm package
[**packagesValidateUploadNuget**](PackagesApi.md#packagesValidateUploadNuget) | **POST** /packages/{owner}/{repo}/validate-upload/nuget/ | Validate parameters for create NuGet package
[**packagesValidateUploadP2**](PackagesApi.md#packagesValidateUploadP2) | **POST** /packages/{owner}/{repo}/validate-upload/p2/ | Validate parameters for create P2 package
@@ -274,7 +276,7 @@ Name | Type | Description | Notes
# **packagesGroupsList**
-> InlineResponse200 packagesGroupsList(owner, repo, page, pageSize, groupBy, hideSubcomponents, includeConnectedRepositories, query, sort)
+> InlineResponse2002 packagesGroupsList(owner, repo, page, pageSize, groupBy, hideSubcomponents, includeConnectedRepositories, query, sort)
Return a list of Package Groups in a repository.
@@ -313,7 +315,7 @@ Boolean includeConnectedRepositories = false; // Boolean | If true, include pack
String query = ""; // String | A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages.
String sort = "name"; // String | 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.
try {
- InlineResponse200 result = apiInstance.packagesGroupsList(owner, repo, page, pageSize, groupBy, hideSubcomponents, includeConnectedRepositories, query, sort);
+ InlineResponse2002 result = apiInstance.packagesGroupsList(owner, repo, page, pageSize, groupBy, hideSubcomponents, includeConnectedRepositories, query, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesGroupsList");
@@ -337,7 +339,7 @@ Name | Type | Description | Notes
### Return type
-[**InlineResponse200**](InlineResponse200.md)
+[**InlineResponse2002**](InlineResponse2002.md)
### Authorization
@@ -554,7 +556,7 @@ Name | Type | Description | Notes
# **packagesRead**
-> ModelPackage packagesRead(owner, repo, identifier, includeConnectedRepositories)
+> PackageDetail packagesRead(owner, repo, identifier, includeConnectedRepositories)
Get a specific package in a repository.
@@ -588,7 +590,7 @@ String repo = "repo_example"; // String |
String identifier = "identifier_example"; // String |
Boolean includeConnectedRepositories = false; // Boolean | 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.
try {
- ModelPackage result = apiInstance.packagesRead(owner, repo, identifier, includeConnectedRepositories);
+ PackageDetail result = apiInstance.packagesRead(owner, repo, identifier, includeConnectedRepositories);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesRead");
@@ -607,7 +609,7 @@ Name | Type | Description | Notes
### Return type
-[**ModelPackage**](ModelPackage.md)
+[**PackageDetail**](PackageDetail.md)
### Authorization
@@ -2091,6 +2093,70 @@ Name | Type | Description | Notes
[apikey](../README.md#apikey), [basic](../README.md#basic)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **packagesUploadNix**
+> NixPackageUpload packagesUploadNix(owner, repo, data)
+
+Create a new Nix package
+
+Create a new Nix package
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.PackagesApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+PackagesApi apiInstance = new PackagesApi();
+String owner = "owner_example"; // String |
+String repo = "repo_example"; // String |
+NixPackageUploadRequest data = new NixPackageUploadRequest(); // NixPackageUploadRequest |
+try {
+ NixPackageUpload result = apiInstance.packagesUploadNix(owner, repo, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling PackagesApi#packagesUploadNix");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **repo** | **String**| |
+ **data** | [**NixPackageUploadRequest**](NixPackageUploadRequest.md)| | [optional]
+
+### Return type
+
+[**NixPackageUpload**](NixPackageUpload.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -3929,6 +3995,69 @@ null (empty response body)
[apikey](../README.md#apikey), [basic](../README.md#basic)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **packagesValidateUploadNix**
+> packagesValidateUploadNix(owner, repo, data)
+
+Validate parameters for create Nix package
+
+Validate parameters for create Nix package
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.PackagesApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+PackagesApi apiInstance = new PackagesApi();
+String owner = "owner_example"; // String |
+String repo = "repo_example"; // String |
+NixPackageUploadRequest data = new NixPackageUploadRequest(); // NixPackageUploadRequest |
+try {
+ apiInstance.packagesValidateUploadNix(owner, repo, data);
+} catch (ApiException e) {
+ System.err.println("Exception when calling PackagesApi#packagesValidateUploadNix");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **repo** | **String**| |
+ **data** | [**NixPackageUploadRequest**](NixPackageUploadRequest.md)| | [optional]
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
### HTTP request headers
- **Content-Type**: application/json
diff --git a/bindings/java/src/docs/PythonPackageUpload.md b/bindings/java/src/docs/PythonPackageUpload.md
index 9d6f064c..bd8503bf 100644
--- a/bindings/java/src/docs/PythonPackageUpload.md
+++ b/bindings/java/src/docs/PythonPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/PythonPackageUploadRequest.md b/bindings/java/src/docs/PythonPackageUploadRequest.md
index 7b1fd06e..8ee014a6 100644
--- a/bindings/java/src/docs/PythonPackageUploadRequest.md
+++ b/bindings/java/src/docs/PythonPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/RawPackageUpload.md b/bindings/java/src/docs/RawPackageUpload.md
index e8973f52..8fb64be0 100644
--- a/bindings/java/src/docs/RawPackageUpload.md
+++ b/bindings/java/src/docs/RawPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/RawPackageUploadRequest.md b/bindings/java/src/docs/RawPackageUploadRequest.md
index b3f8d245..1248040d 100644
--- a/bindings/java/src/docs/RawPackageUploadRequest.md
+++ b/bindings/java/src/docs/RawPackageUploadRequest.md
@@ -6,12 +6,14 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**contentType** | **String** | A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here. | [optional]
**description** | **String** | A textual description of this package. | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**name** | **String** | The name of this package. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
**version** | **String** | The raw version for this package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/RecycleBinPackage.md b/bindings/java/src/docs/RecycleBinPackage.md
index 993605a6..224034e7 100644
--- a/bindings/java/src/docs/RecycleBinPackage.md
+++ b/bindings/java/src/docs/RecycleBinPackage.md
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
**identifiers** | **Map<String, String>** | | [optional]
**invokedRetentionRule** | **Map<String, String>** | Information about the retention rule that triggered deletion (if any). | [optional]
**isDeleteable** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isQuarantined** | **Boolean** | | [optional]
**isRestorable** | **Boolean** | | [optional]
**name** | **String** | The name of this package. | [optional]
@@ -28,6 +29,7 @@ Name | Type | Description | Notes
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/ReposApi.md b/bindings/java/src/docs/ReposApi.md
index a430cb1b..4cae6161 100644
--- a/bindings/java/src/docs/ReposApi.md
+++ b/bindings/java/src/docs/ReposApi.md
@@ -124,6 +124,12 @@ Method | HTTP request | Description
[**reposUpstreamMavenPartialUpdate**](ReposApi.md#reposUpstreamMavenPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Partially update a Maven upstream config for this repository.
[**reposUpstreamMavenRead**](ReposApi.md#reposUpstreamMavenRead) | **GET** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Retrieve a Maven upstream config for this repository.
[**reposUpstreamMavenUpdate**](ReposApi.md#reposUpstreamMavenUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Update a Maven upstream config for this repository.
+[**reposUpstreamNixCreate**](ReposApi.md#reposUpstreamNixCreate) | **POST** /repos/{owner}/{identifier}/upstream/nix/ | Create a Nix upstream config for this repository.
+[**reposUpstreamNixDelete**](ReposApi.md#reposUpstreamNixDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Delete a Nix upstream config for this repository.
+[**reposUpstreamNixList**](ReposApi.md#reposUpstreamNixList) | **GET** /repos/{owner}/{identifier}/upstream/nix/ | List Nix upstream configs for this repository.
+[**reposUpstreamNixPartialUpdate**](ReposApi.md#reposUpstreamNixPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Partially update a Nix upstream config for this repository.
+[**reposUpstreamNixRead**](ReposApi.md#reposUpstreamNixRead) | **GET** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Retrieve a Nix upstream config for this repository.
+[**reposUpstreamNixUpdate**](ReposApi.md#reposUpstreamNixUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Update a Nix upstream config for this repository.
[**reposUpstreamNpmCreate**](ReposApi.md#reposUpstreamNpmCreate) | **POST** /repos/{owner}/{identifier}/upstream/npm/ | Create a npm upstream config for this repository.
[**reposUpstreamNpmDelete**](ReposApi.md#reposUpstreamNpmDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/ | Delete a npm upstream config for this repository.
[**reposUpstreamNpmList**](ReposApi.md#reposUpstreamNpmList) | **GET** /repos/{owner}/{identifier}/upstream/npm/ | List npm upstream configs for this repository.
@@ -482,7 +488,7 @@ null (empty response body)
# **reposConnectedList**
-> InlineResponse2001 reposConnectedList(owner, identifier, page, pageSize)
+> InlineResponse2003 reposConnectedList(owner, identifier, page, pageSize)
List connected repositories for this repository.
@@ -516,7 +522,7 @@ String identifier = "identifier_example"; // String |
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
try {
- InlineResponse2001 result = apiInstance.reposConnectedList(owner, identifier, page, pageSize);
+ InlineResponse2003 result = apiInstance.reposConnectedList(owner, identifier, page, pageSize);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReposApi#reposConnectedList");
@@ -535,7 +541,7 @@ Name | Type | Description | Notes
### Return type
-[**InlineResponse2001**](InlineResponse2001.md)
+[**InlineResponse2003**](InlineResponse2003.md)
### Authorization
@@ -7887,6 +7893,395 @@ Name | Type | Description | Notes
[apikey](../README.md#apikey), [basic](../README.md#basic)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamNixCreate**
+> NixUpstream reposUpstreamNixCreate(owner, identifier, data)
+
+Create a Nix upstream config for this repository.
+
+Create a Nix upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+NixUpstreamRequest data = new NixUpstreamRequest(); // NixUpstreamRequest |
+try {
+ NixUpstream result = apiInstance.reposUpstreamNixCreate(owner, identifier, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamNixCreate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **data** | [**NixUpstreamRequest**](NixUpstreamRequest.md)| | [optional]
+
+### Return type
+
+[**NixUpstream**](NixUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamNixDelete**
+> reposUpstreamNixDelete(owner, identifier, slugPerm)
+
+Delete a Nix upstream config for this repository.
+
+Delete a Nix upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+try {
+ apiInstance.reposUpstreamNixDelete(owner, identifier, slugPerm);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamNixDelete");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamNixList**
+> List<NixUpstream> reposUpstreamNixList(owner, identifier, page, pageSize)
+
+List Nix upstream configs for this repository.
+
+List Nix upstream configs for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
+java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
+try {
+ List result = apiInstance.reposUpstreamNixList(owner, identifier, page, pageSize);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamNixList");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **page** | **java.math.BigInteger**| A page number within the paginated result set. | [optional]
+ **pageSize** | **java.math.BigInteger**| Number of results to return per page. | [optional]
+
+### Return type
+
+[**List<NixUpstream>**](NixUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamNixPartialUpdate**
+> NixUpstream reposUpstreamNixPartialUpdate(owner, identifier, slugPerm, data)
+
+Partially update a Nix upstream config for this repository.
+
+Partially update a Nix upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+NixUpstreamRequestPatch data = new NixUpstreamRequestPatch(); // NixUpstreamRequestPatch |
+try {
+ NixUpstream result = apiInstance.reposUpstreamNixPartialUpdate(owner, identifier, slugPerm, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamNixPartialUpdate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+ **data** | [**NixUpstreamRequestPatch**](NixUpstreamRequestPatch.md)| | [optional]
+
+### Return type
+
+[**NixUpstream**](NixUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamNixRead**
+> NixUpstream reposUpstreamNixRead(owner, identifier, slugPerm)
+
+Retrieve a Nix upstream config for this repository.
+
+Retrieve a Nix upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+try {
+ NixUpstream result = apiInstance.reposUpstreamNixRead(owner, identifier, slugPerm);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamNixRead");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+
+### Return type
+
+[**NixUpstream**](NixUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamNixUpdate**
+> NixUpstream reposUpstreamNixUpdate(owner, identifier, slugPerm, data)
+
+Update a Nix upstream config for this repository.
+
+Update a Nix upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+NixUpstreamRequest data = new NixUpstreamRequest(); // NixUpstreamRequest |
+try {
+ NixUpstream result = apiInstance.reposUpstreamNixUpdate(owner, identifier, slugPerm, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamNixUpdate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+ **data** | [**NixUpstreamRequest**](NixUpstreamRequest.md)| | [optional]
+
+### Return type
+
+[**NixUpstream**](NixUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
### HTTP request headers
- **Content-Type**: application/json
diff --git a/bindings/java/src/docs/RpmPackageUpload.md b/bindings/java/src/docs/RpmPackageUpload.md
index b0aafae1..14d1abdd 100644
--- a/bindings/java/src/docs/RpmPackageUpload.md
+++ b/bindings/java/src/docs/RpmPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/RpmPackageUploadRequest.md b/bindings/java/src/docs/RpmPackageUploadRequest.md
index b8f5b131..3535d883 100644
--- a/bindings/java/src/docs/RpmPackageUploadRequest.md
+++ b/bindings/java/src/docs/RpmPackageUploadRequest.md
@@ -5,9 +5,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**distribution** | **String** | The distribution to store the package for. |
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/RubyPackageUpload.md b/bindings/java/src/docs/RubyPackageUpload.md
index b26b3155..739c266f 100644
--- a/bindings/java/src/docs/RubyPackageUpload.md
+++ b/bindings/java/src/docs/RubyPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/RubyPackageUploadRequest.md b/bindings/java/src/docs/RubyPackageUploadRequest.md
index 8334a937..87c31cee 100644
--- a/bindings/java/src/docs/RubyPackageUploadRequest.md
+++ b/bindings/java/src/docs/RubyPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/SwiftPackageUpload.md b/bindings/java/src/docs/SwiftPackageUpload.md
index bf5b425a..cf3cb253 100644
--- a/bindings/java/src/docs/SwiftPackageUpload.md
+++ b/bindings/java/src/docs/SwiftPackageUpload.md
@@ -35,6 +35,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -82,18 +83,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. |
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/SwiftPackageUploadRequest.md b/bindings/java/src/docs/SwiftPackageUploadRequest.md
index e88e2522..a2adb852 100644
--- a/bindings/java/src/docs/SwiftPackageUploadRequest.md
+++ b/bindings/java/src/docs/SwiftPackageUploadRequest.md
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**authorName** | **String** | The name of the author of the package. | [optional]
**authorOrg** | **String** | The organization of the author. | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**licenseUrl** | **String** | The license URL of this package. | [optional]
**name** | **String** | The name of this package. |
**packageFile** | **String** | The primary file for the package. |
@@ -15,6 +16,7 @@ Name | Type | Description | Notes
**scope** | **String** | A scope provides a namespace for related packages within the package registry. |
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
**version** | **String** | The raw version for this package. |
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/TerraformPackageUpload.md b/bindings/java/src/docs/TerraformPackageUpload.md
index 8a3611a7..0bd7c42d 100644
--- a/bindings/java/src/docs/TerraformPackageUpload.md
+++ b/bindings/java/src/docs/TerraformPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/TerraformPackageUploadRequest.md b/bindings/java/src/docs/TerraformPackageUploadRequest.md
index f7156034..a0ed0526 100644
--- a/bindings/java/src/docs/TerraformPackageUploadRequest.md
+++ b/bindings/java/src/docs/TerraformPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/UserApi.md b/bindings/java/src/docs/UserApi.md
index c9459b25..0c8f9f3e 100644
--- a/bindings/java/src/docs/UserApi.md
+++ b/bindings/java/src/docs/UserApi.md
@@ -179,7 +179,7 @@ This endpoint does not need any parameter.
# **userTokensList**
-> InlineResponse2002 userTokensList(page, pageSize)
+> InlineResponse2004 userTokensList(page, pageSize)
Retrieve the API key assigned to the user that is currently authenticated.
@@ -211,7 +211,7 @@ UserApi apiInstance = new UserApi();
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
try {
- InlineResponse2002 result = apiInstance.userTokensList(page, pageSize);
+ InlineResponse2004 result = apiInstance.userTokensList(page, pageSize);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UserApi#userTokensList");
@@ -228,7 +228,7 @@ Name | Type | Description | Notes
### Return type
-[**InlineResponse2002**](InlineResponse2002.md)
+[**InlineResponse2004**](InlineResponse2004.md)
### Authorization
diff --git a/bindings/java/src/docs/VagrantPackageUpload.md b/bindings/java/src/docs/VagrantPackageUpload.md
index 0a285ca0..d257fbb4 100644
--- a/bindings/java/src/docs/VagrantPackageUpload.md
+++ b/bindings/java/src/docs/VagrantPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -78,18 +79,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. |
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/VagrantPackageUploadRequest.md b/bindings/java/src/docs/VagrantPackageUploadRequest.md
index ec4a6fed..59a617d1 100644
--- a/bindings/java/src/docs/VagrantPackageUploadRequest.md
+++ b/bindings/java/src/docs/VagrantPackageUploadRequest.md
@@ -4,12 +4,14 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**name** | **String** | The name of this package. |
**packageFile** | **String** | The primary file for the package. |
**provider** | **String** | The virtual machine provider for the box. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
**version** | **String** | The raw version for this package. |
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/VsxPackageUpload.md b/bindings/java/src/docs/VsxPackageUpload.md
index 7d3792fc..6529742d 100644
--- a/bindings/java/src/docs/VsxPackageUpload.md
+++ b/bindings/java/src/docs/VsxPackageUpload.md
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isHidden** | **Boolean** | | [optional]
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
@@ -77,18 +78,21 @@ Name | Type | Description | Notes
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
+**storePath** | **String** | Absolute store path for the package, including store hash and name. | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**tagsStatic** | [**Map<String, List<String>>**](List.md) | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]
diff --git a/bindings/java/src/docs/VsxPackageUploadRequest.md b/bindings/java/src/docs/VsxPackageUploadRequest.md
index 4befe199..9cd6a0c3 100644
--- a/bindings/java/src/docs/VsxPackageUploadRequest.md
+++ b/bindings/java/src/docs/VsxPackageUploadRequest.md
@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**isMalwareDetected** | **Boolean** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+**vulnerabilityCounts** | [**WebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional]
diff --git a/bindings/java/src/docs/WebOSVSeverityCounts.md b/bindings/java/src/docs/WebOSVSeverityCounts.md
new file mode 100644
index 00000000..5aea42e8
--- /dev/null
+++ b/bindings/java/src/docs/WebOSVSeverityCounts.md
@@ -0,0 +1,16 @@
+
+# WebOSVSeverityCounts
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**critical** | **java.math.BigInteger** | | [optional]
+**high** | **java.math.BigInteger** | | [optional]
+**low** | **java.math.BigInteger** | | [optional]
+**malware** | **java.math.BigInteger** | | [optional]
+**medium** | **java.math.BigInteger** | | [optional]
+**total** | **java.math.BigInteger** | | [optional]
+**unknown** | **java.math.BigInteger** | | [optional]
+
+
+
diff --git a/bindings/java/src/pom.xml b/bindings/java/src/pom.xml
index 114f89af..c3b0905b 100644
--- a/bindings/java/src/pom.xml
+++ b/bindings/java/src/pom.xml
@@ -5,7 +5,7 @@
cloudsmith-api
jar
cloudsmith-api
- 2.0.29
+ 2.0.30
https://api.cloudsmith.io/?format=openapi
Cloudsmith API
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java b/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java
index 41636664..2f441ca0 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/ApiClient.java
@@ -87,7 +87,7 @@ public ApiClient() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("Swagger-Codegen/2.0.29/java");
+ setUserAgent("Swagger-Codegen/2.0.30/java");
// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java b/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java
index feee9882..6a545658 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java
@@ -329,6 +329,18 @@
import io.cloudsmith.api.models.*;
import io.cloudsmith.api.models.*;
import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
import okio.ByteString;
import java.io.IOException;
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java
index 0f82e24f..8e2640d2 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java
@@ -38,6 +38,8 @@
import io.cloudsmith.api.models.DynamicMapping;
import io.cloudsmith.api.models.ErrorDetail;
+import io.cloudsmith.api.models.InlineResponse200;
+import io.cloudsmith.api.models.InlineResponse2001;
import io.cloudsmith.api.models.Organization;
import io.cloudsmith.api.models.OrganizationCustomDomains;
import io.cloudsmith.api.models.OrganizationGroupSync;
@@ -65,6 +67,7 @@
import io.cloudsmith.api.models.OrganizationTeamMembers;
import io.cloudsmith.api.models.OrganizationTeamRequest;
import io.cloudsmith.api.models.OrganizationTeamRequestPatch;
+import io.cloudsmith.api.models.OrganizationUsageUpdateRequestPatch;
import io.cloudsmith.api.models.PackageDenyPolicy;
import io.cloudsmith.api.models.PackageDenyPolicyRequest;
import io.cloudsmith.api.models.PackageDenyPolicyRequestPatch;
@@ -6321,6 +6324,146 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
+ /**
+ * Build call for orgsRetrieveUsageLimits
+ * @param org (required)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call orgsRetrieveUsageLimitsCall(String org, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/orgs/{org}/usage-limits/"
+ .replaceAll("\\{" + "org" + "\\}", apiClient.escapeString(org.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call orgsRetrieveUsageLimitsValidateBeforeCall(String org, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { org };
+ Method method = this.getClass().getMethod("orgsRetrieveUsageLimitsWithHttpInfo", String.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = orgsRetrieveUsageLimitsCall(org, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ *
+ *
+ * @param org (required)
+ * @return InlineResponse200
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public InlineResponse200 orgsRetrieveUsageLimits(String org) throws ApiException {
+ ApiResponse resp = orgsRetrieveUsageLimitsWithHttpInfo(org);
+ return resp.getData();
+ }
+
+ /**
+ *
+ *
+ * @param org (required)
+ * @return ApiResponse<InlineResponse200>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse orgsRetrieveUsageLimitsWithHttpInfo( @NotNull String org) throws ApiException {
+ com.squareup.okhttp.Call call = orgsRetrieveUsageLimitsValidateBeforeCall(org, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * (asynchronously)
+ *
+ * @param org (required)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call orgsRetrieveUsageLimitsAsync(String org, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = orgsRetrieveUsageLimitsValidateBeforeCall(org, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
/**
* Build call for orgsSamlAuthenticationPartialUpdate
* @param org (required)
@@ -9540,6 +9683,150 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
+ /**
+ * Build call for orgsUpdateUsageLimits
+ * @param org (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call orgsUpdateUsageLimitsCall(String org, OrganizationUsageUpdateRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/orgs/{org}/usage-limits/"
+ .replaceAll("\\{" + "org" + "\\}", apiClient.escapeString(org.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call orgsUpdateUsageLimitsValidateBeforeCall(String org, OrganizationUsageUpdateRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { org, data };
+ Method method = this.getClass().getMethod("orgsUpdateUsageLimitsWithHttpInfo", String.class, OrganizationUsageUpdateRequestPatch.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = orgsUpdateUsageLimitsCall(org, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ *
+ *
+ * @param org (required)
+ * @param data (optional)
+ * @return InlineResponse2001
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public InlineResponse2001 orgsUpdateUsageLimits(String org, OrganizationUsageUpdateRequestPatch data) throws ApiException {
+ ApiResponse resp = orgsUpdateUsageLimitsWithHttpInfo(org, data);
+ return resp.getData();
+ }
+
+ /**
+ *
+ *
+ * @param org (required)
+ * @param data (optional)
+ * @return ApiResponse<InlineResponse2001>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse orgsUpdateUsageLimitsWithHttpInfo( @NotNull String org, OrganizationUsageUpdateRequestPatch data) throws ApiException {
+ com.squareup.okhttp.Call call = orgsUpdateUsageLimitsValidateBeforeCall(org, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * (asynchronously)
+ *
+ * @param org (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call orgsUpdateUsageLimitsAsync(String org, OrganizationUsageUpdateRequestPatch data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = orgsUpdateUsageLimitsValidateBeforeCall(org, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
/**
* Build call for orgsVulnerabilityPolicyCreate
* @param org (required)
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/PackagesApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/PackagesApi.java
index aa0c37e7..949f709d 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/PackagesApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/PackagesApi.java
@@ -67,7 +67,7 @@
import io.cloudsmith.api.models.HexPackageUploadRequest;
import io.cloudsmith.api.models.HuggingfacePackageUpload;
import io.cloudsmith.api.models.HuggingfacePackageUploadRequest;
-import io.cloudsmith.api.models.InlineResponse200;
+import io.cloudsmith.api.models.InlineResponse2002;
import io.cloudsmith.api.models.LuarocksPackageUpload;
import io.cloudsmith.api.models.LuarocksPackageUploadRequest;
import io.cloudsmith.api.models.MavenPackageUpload;
@@ -75,6 +75,8 @@
import io.cloudsmith.api.models.McpPackageUpload;
import io.cloudsmith.api.models.McpPackageUploadRequest;
import io.cloudsmith.api.models.ModelPackage;
+import io.cloudsmith.api.models.NixPackageUpload;
+import io.cloudsmith.api.models.NixPackageUploadRequest;
import io.cloudsmith.api.models.NpmPackageUpload;
import io.cloudsmith.api.models.NpmPackageUploadRequest;
import io.cloudsmith.api.models.NugetPackageUpload;
@@ -84,6 +86,7 @@
import io.cloudsmith.api.models.PackageCopy;
import io.cloudsmith.api.models.PackageCopyRequest;
import io.cloudsmith.api.models.PackageDependencies;
+import io.cloudsmith.api.models.PackageDetail;
import io.cloudsmith.api.models.PackageLicenseRequestPatch;
import io.cloudsmith.api.models.PackageMove;
import io.cloudsmith.api.models.PackageMoveRequest;
@@ -711,11 +714,11 @@ private com.squareup.okhttp.Call packagesGroupsListValidateBeforeCall(String own
* @param includeConnectedRepositories 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. (optional, default to false)
* @param query A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. (optional, default to )
* @param 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. (optional, default to name)
- * @return InlineResponse200
+ * @return InlineResponse2002
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public InlineResponse200 packagesGroupsList(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, Boolean hideSubcomponents, Boolean includeConnectedRepositories, String query, String sort) throws ApiException {
- ApiResponse resp = packagesGroupsListWithHttpInfo(owner, repo, page, pageSize, groupBy, hideSubcomponents, includeConnectedRepositories, query, sort);
+ public InlineResponse2002 packagesGroupsList(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, Boolean hideSubcomponents, Boolean includeConnectedRepositories, String query, String sort) throws ApiException {
+ ApiResponse resp = packagesGroupsListWithHttpInfo(owner, repo, page, pageSize, groupBy, hideSubcomponents, includeConnectedRepositories, query, sort);
return resp.getData();
}
@@ -731,12 +734,12 @@ public InlineResponse200 packagesGroupsList(String owner, String repo, java.math
* @param includeConnectedRepositories 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. (optional, default to false)
* @param query A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. (optional, default to )
* @param 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. (optional, default to name)
- * @return ApiResponse<InlineResponse200>
+ * @return ApiResponse<InlineResponse2002>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse packagesGroupsListWithHttpInfo( @NotNull String owner, @NotNull String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, Boolean hideSubcomponents, Boolean includeConnectedRepositories, String query, String sort) throws ApiException {
+ public ApiResponse packagesGroupsListWithHttpInfo( @NotNull String owner, @NotNull String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, Boolean hideSubcomponents, Boolean includeConnectedRepositories, String query, String sort) throws ApiException {
com.squareup.okhttp.Call call = packagesGroupsListValidateBeforeCall(owner, repo, page, pageSize, groupBy, hideSubcomponents, includeConnectedRepositories, query, sort, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -756,7 +759,7 @@ public ApiResponse packagesGroupsListWithHttpInfo( @NotNull S
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call packagesGroupsListAsync(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, Boolean hideSubcomponents, Boolean includeConnectedRepositories, String query, String sort, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call packagesGroupsListAsync(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, Boolean hideSubcomponents, Boolean includeConnectedRepositories, String query, String sort, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -778,7 +781,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
com.squareup.okhttp.Call call = packagesGroupsListValidateBeforeCall(owner, repo, page, pageSize, groupBy, hideSubcomponents, includeConnectedRepositories, query, sort, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -1360,11 +1363,11 @@ private com.squareup.okhttp.Call packagesReadValidateBeforeCall(String owner, St
* @param repo (required)
* @param identifier (required)
* @param includeConnectedRepositories 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. (optional, default to false)
- * @return ModelPackage
+ * @return PackageDetail
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ModelPackage packagesRead(String owner, String repo, String identifier, Boolean includeConnectedRepositories) throws ApiException {
- ApiResponse resp = packagesReadWithHttpInfo(owner, repo, identifier, includeConnectedRepositories);
+ public PackageDetail packagesRead(String owner, String repo, String identifier, Boolean includeConnectedRepositories) throws ApiException {
+ ApiResponse resp = packagesReadWithHttpInfo(owner, repo, identifier, includeConnectedRepositories);
return resp.getData();
}
@@ -1375,12 +1378,12 @@ public ModelPackage packagesRead(String owner, String repo, String identifier, B
* @param repo (required)
* @param identifier (required)
* @param includeConnectedRepositories 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. (optional, default to false)
- * @return ApiResponse<ModelPackage>
+ * @return ApiResponse<PackageDetail>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse packagesReadWithHttpInfo( @NotNull String owner, @NotNull String repo, @NotNull String identifier, Boolean includeConnectedRepositories) throws ApiException {
+ public ApiResponse packagesReadWithHttpInfo( @NotNull String owner, @NotNull String repo, @NotNull String identifier, Boolean includeConnectedRepositories) throws ApiException {
com.squareup.okhttp.Call call = packagesReadValidateBeforeCall(owner, repo, identifier, includeConnectedRepositories, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -1395,7 +1398,7 @@ public ApiResponse packagesReadWithHttpInfo( @NotNull String owner
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call packagesReadAsync(String owner, String repo, String identifier, Boolean includeConnectedRepositories, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call packagesReadAsync(String owner, String repo, String identifier, Boolean includeConnectedRepositories, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -1417,7 +1420,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
com.squareup.okhttp.Call call = packagesReadValidateBeforeCall(owner, repo, identifier, includeConnectedRepositories, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -4867,6 +4870,155 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
+ /**
+ * Build call for packagesUploadNix
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call packagesUploadNixCall(String owner, String repo, NixPackageUploadRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/packages/{owner}/{repo}/upload/nix/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "repo" + "\\}", apiClient.escapeString(repo.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call packagesUploadNixValidateBeforeCall(String owner, String repo, NixPackageUploadRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, repo, data };
+ Method method = this.getClass().getMethod("packagesUploadNixWithHttpInfo", String.class, String.class, NixPackageUploadRequest.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = packagesUploadNixCall(owner, repo, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Create a new Nix package
+ * Create a new Nix package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @return NixPackageUpload
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public NixPackageUpload packagesUploadNix(String owner, String repo, NixPackageUploadRequest data) throws ApiException {
+ ApiResponse resp = packagesUploadNixWithHttpInfo(owner, repo, data);
+ return resp.getData();
+ }
+
+ /**
+ * Create a new Nix package
+ * Create a new Nix package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @return ApiResponse<NixPackageUpload>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse packagesUploadNixWithHttpInfo( @NotNull String owner, @NotNull String repo, NixPackageUploadRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = packagesUploadNixValidateBeforeCall(owner, repo, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Create a new Nix package (asynchronously)
+ * Create a new Nix package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call packagesUploadNixAsync(String owner, String repo, NixPackageUploadRequest data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = packagesUploadNixValidateBeforeCall(owner, repo, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
/**
* Build call for packagesUploadNpm
* @param owner (required)
@@ -9116,6 +9268,151 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, callback);
return call;
}
+ /**
+ * Build call for packagesValidateUploadNix
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call packagesValidateUploadNixCall(String owner, String repo, NixPackageUploadRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/packages/{owner}/{repo}/validate-upload/nix/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "repo" + "\\}", apiClient.escapeString(repo.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call packagesValidateUploadNixValidateBeforeCall(String owner, String repo, NixPackageUploadRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, repo, data };
+ Method method = this.getClass().getMethod("packagesValidateUploadNixWithHttpInfo", String.class, String.class, NixPackageUploadRequest.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = packagesValidateUploadNixCall(owner, repo, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Validate parameters for create Nix package
+ * Validate parameters for create Nix package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public void packagesValidateUploadNix(String owner, String repo, NixPackageUploadRequest data) throws ApiException {
+ packagesValidateUploadNixWithHttpInfo(owner, repo, data);
+ }
+
+ /**
+ * Validate parameters for create Nix package
+ * Validate parameters for create Nix package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @return ApiResponse<Void>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse packagesValidateUploadNixWithHttpInfo( @NotNull String owner, @NotNull String repo, NixPackageUploadRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = packagesValidateUploadNixValidateBeforeCall(owner, repo, data, null, null);
+ return apiClient.execute(call);
+ }
+
+ /**
+ * Validate parameters for create Nix package (asynchronously)
+ * Validate parameters for create Nix package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call packagesValidateUploadNixAsync(String owner, String repo, NixPackageUploadRequest data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = packagesValidateUploadNixValidateBeforeCall(owner, repo, data, progressListener, progressRequestListener);
+ apiClient.executeAsync(call, callback);
+ return call;
+ }
/**
* Build call for packagesValidateUploadNpm
* @param owner (required)
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java
index 8ef14d38..3ee8bd6f 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java
@@ -79,10 +79,13 @@
import io.cloudsmith.api.models.HuggingfaceUpstream;
import io.cloudsmith.api.models.HuggingfaceUpstreamRequest;
import io.cloudsmith.api.models.HuggingfaceUpstreamRequestPatch;
-import io.cloudsmith.api.models.InlineResponse2001;
+import io.cloudsmith.api.models.InlineResponse2003;
import io.cloudsmith.api.models.MavenUpstream;
import io.cloudsmith.api.models.MavenUpstreamRequest;
import io.cloudsmith.api.models.MavenUpstreamRequestPatch;
+import io.cloudsmith.api.models.NixUpstream;
+import io.cloudsmith.api.models.NixUpstreamRequest;
+import io.cloudsmith.api.models.NixUpstreamRequestPatch;
import io.cloudsmith.api.models.NpmUpstream;
import io.cloudsmith.api.models.NpmUpstreamRequest;
import io.cloudsmith.api.models.NpmUpstreamRequestPatch;
@@ -989,11 +992,11 @@ private com.squareup.okhttp.Call reposConnectedListValidateBeforeCall(String own
* @param identifier (required)
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
- * @return InlineResponse2001
+ * @return InlineResponse2003
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public InlineResponse2001 reposConnectedList(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
- ApiResponse resp = reposConnectedListWithHttpInfo(owner, identifier, page, pageSize);
+ public InlineResponse2003 reposConnectedList(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ ApiResponse resp = reposConnectedListWithHttpInfo(owner, identifier, page, pageSize);
return resp.getData();
}
@@ -1004,12 +1007,12 @@ public InlineResponse2001 reposConnectedList(String owner, String identifier, ja
* @param identifier (required)
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
- * @return ApiResponse<InlineResponse2001>
+ * @return ApiResponse<InlineResponse2003>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposConnectedListWithHttpInfo( @NotNull String owner, @NotNull String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ public ApiResponse reposConnectedListWithHttpInfo( @NotNull String owner, @NotNull String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
com.squareup.okhttp.Call call = reposConnectedListValidateBeforeCall(owner, identifier, page, pageSize, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -1024,7 +1027,7 @@ public ApiResponse reposConnectedListWithHttpInfo( @NotNull
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposConnectedListAsync(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposConnectedListAsync(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -1046,7 +1049,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
com.squareup.okhttp.Call call = reposConnectedListValidateBeforeCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -18221,6 +18224,916 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
+ /**
+ * Build call for reposUpstreamNixCreate
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixCreateCall(String owner, String identifier, NixUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/nix/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposUpstreamNixCreateValidateBeforeCall(String owner, String identifier, NixUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, data };
+ Method method = this.getClass().getMethod("reposUpstreamNixCreateWithHttpInfo", String.class, String.class, NixUpstreamRequest.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposUpstreamNixCreateCall(owner, identifier, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Create a Nix upstream config for this repository.
+ * Create a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @return NixUpstream
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public NixUpstream reposUpstreamNixCreate(String owner, String identifier, NixUpstreamRequest data) throws ApiException {
+ ApiResponse resp = reposUpstreamNixCreateWithHttpInfo(owner, identifier, data);
+ return resp.getData();
+ }
+
+ /**
+ * Create a Nix upstream config for this repository.
+ * Create a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @return ApiResponse<NixUpstream>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposUpstreamNixCreateWithHttpInfo( @NotNull String owner, @NotNull String identifier, NixUpstreamRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamNixCreateValidateBeforeCall(owner, identifier, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Create a Nix upstream config for this repository. (asynchronously)
+ * Create a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixCreateAsync(String owner, String identifier, NixUpstreamRequest data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposUpstreamNixCreateValidateBeforeCall(owner, identifier, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposUpstreamNixDelete
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixDeleteCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/nix/{slug_perm}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
+ .replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposUpstreamNixDeleteValidateBeforeCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, slugPerm };
+ Method method = this.getClass().getMethod("reposUpstreamNixDeleteWithHttpInfo", String.class, String.class, String.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposUpstreamNixDeleteCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Delete a Nix upstream config for this repository.
+ * Delete a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public void reposUpstreamNixDelete(String owner, String identifier, String slugPerm) throws ApiException {
+ reposUpstreamNixDeleteWithHttpInfo(owner, identifier, slugPerm);
+ }
+
+ /**
+ * Delete a Nix upstream config for this repository.
+ * Delete a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @return ApiResponse<Void>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposUpstreamNixDeleteWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamNixDeleteValidateBeforeCall(owner, identifier, slugPerm, null, null);
+ return apiClient.execute(call);
+ }
+
+ /**
+ * Delete a Nix upstream config for this repository. (asynchronously)
+ * Delete a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixDeleteAsync(String owner, String identifier, String slugPerm, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposUpstreamNixDeleteValidateBeforeCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ apiClient.executeAsync(call, callback);
+ return call;
+ }
+ /**
+ * Build call for reposUpstreamNixList
+ * @param owner (required)
+ * @param identifier (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixListCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/nix/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ if (page != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("page", page));
+ if (pageSize != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("page_size", pageSize));
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposUpstreamNixListValidateBeforeCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, page, pageSize };
+ Method method = this.getClass().getMethod("reposUpstreamNixListWithHttpInfo", String.class, String.class, java.math.BigInteger.class, java.math.BigInteger.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposUpstreamNixListCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * List Nix upstream configs for this repository.
+ * List Nix upstream configs for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @return List<NixUpstream>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public List reposUpstreamNixList(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ ApiResponse> resp = reposUpstreamNixListWithHttpInfo(owner, identifier, page, pageSize);
+ return resp.getData();
+ }
+
+ /**
+ * List Nix upstream configs for this repository.
+ * List Nix upstream configs for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @return ApiResponse<List<NixUpstream>>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse> reposUpstreamNixListWithHttpInfo( @NotNull String owner, @NotNull String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamNixListValidateBeforeCall(owner, identifier, page, pageSize, null, null);
+ Type localVarReturnType = new TypeToken>(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * List Nix upstream configs for this repository. (asynchronously)
+ * List Nix upstream configs for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixListAsync(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback> callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposUpstreamNixListValidateBeforeCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken>(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposUpstreamNixPartialUpdate
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixPartialUpdateCall(String owner, String identifier, String slugPerm, NixUpstreamRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/nix/{slug_perm}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
+ .replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposUpstreamNixPartialUpdateValidateBeforeCall(String owner, String identifier, String slugPerm, NixUpstreamRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, slugPerm, data };
+ Method method = this.getClass().getMethod("reposUpstreamNixPartialUpdateWithHttpInfo", String.class, String.class, String.class, NixUpstreamRequestPatch.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposUpstreamNixPartialUpdateCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Partially update a Nix upstream config for this repository.
+ * Partially update a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @return NixUpstream
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public NixUpstream reposUpstreamNixPartialUpdate(String owner, String identifier, String slugPerm, NixUpstreamRequestPatch data) throws ApiException {
+ ApiResponse resp = reposUpstreamNixPartialUpdateWithHttpInfo(owner, identifier, slugPerm, data);
+ return resp.getData();
+ }
+
+ /**
+ * Partially update a Nix upstream config for this repository.
+ * Partially update a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @return ApiResponse<NixUpstream>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposUpstreamNixPartialUpdateWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm, NixUpstreamRequestPatch data) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamNixPartialUpdateValidateBeforeCall(owner, identifier, slugPerm, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Partially update a Nix upstream config for this repository. (asynchronously)
+ * Partially update a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixPartialUpdateAsync(String owner, String identifier, String slugPerm, NixUpstreamRequestPatch data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposUpstreamNixPartialUpdateValidateBeforeCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposUpstreamNixRead
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixReadCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/nix/{slug_perm}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
+ .replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposUpstreamNixReadValidateBeforeCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, slugPerm };
+ Method method = this.getClass().getMethod("reposUpstreamNixReadWithHttpInfo", String.class, String.class, String.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposUpstreamNixReadCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Retrieve a Nix upstream config for this repository.
+ * Retrieve a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @return NixUpstream
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public NixUpstream reposUpstreamNixRead(String owner, String identifier, String slugPerm) throws ApiException {
+ ApiResponse resp = reposUpstreamNixReadWithHttpInfo(owner, identifier, slugPerm);
+ return resp.getData();
+ }
+
+ /**
+ * Retrieve a Nix upstream config for this repository.
+ * Retrieve a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @return ApiResponse<NixUpstream>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposUpstreamNixReadWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamNixReadValidateBeforeCall(owner, identifier, slugPerm, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Retrieve a Nix upstream config for this repository. (asynchronously)
+ * Retrieve a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixReadAsync(String owner, String identifier, String slugPerm, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposUpstreamNixReadValidateBeforeCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposUpstreamNixUpdate
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixUpdateCall(String owner, String identifier, String slugPerm, NixUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/nix/{slug_perm}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
+ .replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposUpstreamNixUpdateValidateBeforeCall(String owner, String identifier, String slugPerm, NixUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, slugPerm, data };
+ Method method = this.getClass().getMethod("reposUpstreamNixUpdateWithHttpInfo", String.class, String.class, String.class, NixUpstreamRequest.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposUpstreamNixUpdateCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Update a Nix upstream config for this repository.
+ * Update a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @return NixUpstream
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public NixUpstream reposUpstreamNixUpdate(String owner, String identifier, String slugPerm, NixUpstreamRequest data) throws ApiException {
+ ApiResponse resp = reposUpstreamNixUpdateWithHttpInfo(owner, identifier, slugPerm, data);
+ return resp.getData();
+ }
+
+ /**
+ * Update a Nix upstream config for this repository.
+ * Update a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @return ApiResponse<NixUpstream>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposUpstreamNixUpdateWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm, NixUpstreamRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamNixUpdateValidateBeforeCall(owner, identifier, slugPerm, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Update a Nix upstream config for this repository. (asynchronously)
+ * Update a Nix upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamNixUpdateAsync(String owner, String identifier, String slugPerm, NixUpstreamRequest data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposUpstreamNixUpdateValidateBeforeCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
/**
* Build call for reposUpstreamNpmCreate
* @param owner (required)
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/UserApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/UserApi.java
index b6d63651..7fa80de2 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/UserApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/UserApi.java
@@ -37,7 +37,7 @@
import java.lang.reflect.Type;
import io.cloudsmith.api.models.ErrorDetail;
-import io.cloudsmith.api.models.InlineResponse2002;
+import io.cloudsmith.api.models.InlineResponse2004;
import io.cloudsmith.api.models.UserAuthToken;
import io.cloudsmith.api.models.UserAuthTokenRequest;
import io.cloudsmith.api.models.UserAuthenticationToken;
@@ -572,11 +572,11 @@ private com.squareup.okhttp.Call userTokensListValidateBeforeCall(java.math.BigI
* Retrieve the API key assigned to the user that is currently authenticated.
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
- * @return InlineResponse2002
+ * @return InlineResponse2004
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public InlineResponse2002 userTokensList(java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
- ApiResponse resp = userTokensListWithHttpInfo(page, pageSize);
+ public InlineResponse2004 userTokensList(java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ ApiResponse resp = userTokensListWithHttpInfo(page, pageSize);
return resp.getData();
}
@@ -585,12 +585,12 @@ public InlineResponse2002 userTokensList(java.math.BigInteger page, java.math.Bi
* Retrieve the API key assigned to the user that is currently authenticated.
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
- * @return ApiResponse<InlineResponse2002>
+ * @return ApiResponse<InlineResponse2004>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse userTokensListWithHttpInfo( java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ public ApiResponse userTokensListWithHttpInfo( java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
com.squareup.okhttp.Call call = userTokensListValidateBeforeCall(page, pageSize, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -603,7 +603,7 @@ public ApiResponse userTokensListWithHttpInfo( java.math.Big
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call userTokensListAsync(java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call userTokensListAsync(java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -625,7 +625,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
com.squareup.okhttp.Call call = userTokensListValidateBeforeCall(page, pageSize, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/AlpinePackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/AlpinePackageUpload.java
index 44181789..62c5bb83 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/AlpinePackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/AlpinePackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class AlpinePackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public AlpinePackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, alpinePackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, alpinePackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, alpinePackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, alpinePackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, alpinePackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, alpinePackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, alpinePackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, alpinePackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, alpinePackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, alpinePackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, alpinePackageUpload.storePath) &&
Objects.equals(this.subtype, alpinePackageUpload.subtype) &&
Objects.equals(this.summary, alpinePackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, alpinePackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, alpinePackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, alpinePackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, alpinePackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, alpinePackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, alpinePackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, alpinePackageUpload.uploadedAt) &&
Objects.equals(this.uploader, alpinePackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, alpinePackageUpload.uploaderUrl) &&
Objects.equals(this.version, alpinePackageUpload.version) &&
Objects.equals(this.versionOrig, alpinePackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, alpinePackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, alpinePackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/AlpinePackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/AlpinePackageUploadRequest.java
index 20cc88e2..ec816af0 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/AlpinePackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/AlpinePackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -37,6 +38,9 @@ public class AlpinePackageUploadRequest implements Serializable {
@SerializedName("distribution")
private String distribution = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -46,6 +50,9 @@ public class AlpinePackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
public AlpinePackageUploadRequest distribution(String distribution) {
this.distribution = distribution;
return this;
@@ -65,6 +72,15 @@ public void setDistribution(String distribution) {
this.distribution = distribution;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public AlpinePackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -120,6 +136,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public AlpinePackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -131,14 +166,16 @@ public boolean equals(java.lang.Object o) {
}
AlpinePackageUploadRequest alpinePackageUploadRequest = (AlpinePackageUploadRequest) o;
return Objects.equals(this.distribution, alpinePackageUploadRequest.distribution) &&
+ Objects.equals(this.isMalwareDetected, alpinePackageUploadRequest.isMalwareDetected) &&
Objects.equals(this.packageFile, alpinePackageUploadRequest.packageFile) &&
Objects.equals(this.republish, alpinePackageUploadRequest.republish) &&
- Objects.equals(this.tags, alpinePackageUploadRequest.tags);
+ Objects.equals(this.tags, alpinePackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, alpinePackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(distribution, packageFile, republish, tags);
+ return Objects.hash(distribution, isMalwareDetected, packageFile, republish, tags, vulnerabilityCounts);
}
@@ -148,9 +185,11 @@ public String toString() {
sb.append("class AlpinePackageUploadRequest {\n");
sb.append(" distribution: ").append(toIndentedString(distribution)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoPackageUpload.java
index 04630769..b9df41be 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class CargoPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public CargoPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, cargoPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, cargoPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, cargoPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, cargoPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, cargoPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, cargoPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, cargoPackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, cargoPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, cargoPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, cargoPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, cargoPackageUpload.storePath) &&
Objects.equals(this.subtype, cargoPackageUpload.subtype) &&
Objects.equals(this.summary, cargoPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, cargoPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, cargoPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, cargoPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, cargoPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, cargoPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, cargoPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, cargoPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, cargoPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, cargoPackageUpload.uploaderUrl) &&
Objects.equals(this.version, cargoPackageUpload.version) &&
Objects.equals(this.versionOrig, cargoPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, cargoPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, cargoPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoPackageUploadRequest.java
index 6d565170..eeaade10 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class CargoPackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -43,6 +47,18 @@ public class CargoPackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public CargoPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -98,6 +114,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public CargoPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -108,14 +143,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
CargoPackageUploadRequest cargoPackageUploadRequest = (CargoPackageUploadRequest) o;
- return Objects.equals(this.packageFile, cargoPackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, cargoPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, cargoPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, cargoPackageUploadRequest.republish) &&
- Objects.equals(this.tags, cargoPackageUploadRequest.tags);
+ Objects.equals(this.tags, cargoPackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, cargoPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, republish, tags);
+ return Objects.hash(isMalwareDetected, packageFile, republish, tags, vulnerabilityCounts);
}
@@ -124,9 +161,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CargoPackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CocoapodsPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CocoapodsPackageUpload.java
index 94759839..4881fb1b 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CocoapodsPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CocoapodsPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class CocoapodsPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public CocoapodsPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, cocoapodsPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, cocoapodsPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, cocoapodsPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, cocoapodsPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, cocoapodsPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, cocoapodsPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, cocoapodsPackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, cocoapodsPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, cocoapodsPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, cocoapodsPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, cocoapodsPackageUpload.storePath) &&
Objects.equals(this.subtype, cocoapodsPackageUpload.subtype) &&
Objects.equals(this.summary, cocoapodsPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, cocoapodsPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, cocoapodsPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, cocoapodsPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, cocoapodsPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, cocoapodsPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, cocoapodsPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, cocoapodsPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, cocoapodsPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, cocoapodsPackageUpload.uploaderUrl) &&
Objects.equals(this.version, cocoapodsPackageUpload.version) &&
Objects.equals(this.versionOrig, cocoapodsPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, cocoapodsPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, cocoapodsPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CocoapodsPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CocoapodsPackageUploadRequest.java
index db2816f5..085fcc65 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CocoapodsPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CocoapodsPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class CocoapodsPackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -43,6 +47,18 @@ public class CocoapodsPackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public CocoapodsPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -98,6 +114,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public CocoapodsPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -108,14 +143,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
CocoapodsPackageUploadRequest cocoapodsPackageUploadRequest = (CocoapodsPackageUploadRequest) o;
- return Objects.equals(this.packageFile, cocoapodsPackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, cocoapodsPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, cocoapodsPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, cocoapodsPackageUploadRequest.republish) &&
- Objects.equals(this.tags, cocoapodsPackageUploadRequest.tags);
+ Objects.equals(this.tags, cocoapodsPackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, cocoapodsPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, republish, tags);
+ return Objects.hash(isMalwareDetected, packageFile, republish, tags, vulnerabilityCounts);
}
@@ -124,9 +161,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CocoapodsPackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerPackageUpload.java
index 599fb50e..cb6ff932 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class ComposerPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1184,6 +1225,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public ComposerPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1232,6 +1292,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, composerPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, composerPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, composerPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, composerPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, composerPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, composerPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, composerPackageUpload.isQuarantined) &&
@@ -1276,24 +1337,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, composerPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, composerPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, composerPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, composerPackageUpload.storePath) &&
Objects.equals(this.subtype, composerPackageUpload.subtype) &&
Objects.equals(this.summary, composerPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, composerPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, composerPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, composerPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, composerPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, composerPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, composerPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, composerPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, composerPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, composerPackageUpload.uploaderUrl) &&
Objects.equals(this.version, composerPackageUpload.version) &&
Objects.equals(this.versionOrig, composerPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, composerPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, composerPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1331,6 +1395,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1375,18 +1440,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerPackageUploadRequest.java
index bffbeaea..80cb7485 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class ComposerPackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -46,6 +50,18 @@ public class ComposerPackageUploadRequest implements Serializable {
@SerializedName("version")
private String version = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public ComposerPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -119,6 +135,25 @@ public void setVersion(String version) {
this.version = version;
}
+ public ComposerPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -129,15 +164,17 @@ public boolean equals(java.lang.Object o) {
return false;
}
ComposerPackageUploadRequest composerPackageUploadRequest = (ComposerPackageUploadRequest) o;
- return Objects.equals(this.packageFile, composerPackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, composerPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, composerPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, composerPackageUploadRequest.republish) &&
Objects.equals(this.tags, composerPackageUploadRequest.tags) &&
- Objects.equals(this.version, composerPackageUploadRequest.version);
+ Objects.equals(this.version, composerPackageUploadRequest.version) &&
+ Objects.equals(this.vulnerabilityCounts, composerPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, republish, tags, version);
+ return Objects.hash(isMalwareDetected, packageFile, republish, tags, version, vulnerabilityCounts);
}
@@ -146,10 +183,12 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ComposerPackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ConanPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ConanPackageUpload.java
index a1f86653..e63897fe 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ConanPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ConanPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -137,6 +138,9 @@ public class ConanPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -328,6 +332,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -346,6 +353,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -364,6 +374,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -686,6 +699,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1096,6 +1118,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1171,6 +1202,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1235,6 +1276,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public ConanPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1285,6 +1345,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, conanPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, conanPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, conanPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, conanPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, conanPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, conanPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, conanPackageUpload.isQuarantined) &&
@@ -1329,24 +1390,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, conanPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, conanPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, conanPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, conanPackageUpload.storePath) &&
Objects.equals(this.subtype, conanPackageUpload.subtype) &&
Objects.equals(this.summary, conanPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, conanPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, conanPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, conanPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, conanPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, conanPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, conanPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, conanPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, conanPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, conanPackageUpload.uploaderUrl) &&
Objects.equals(this.version, conanPackageUpload.version) &&
Objects.equals(this.versionOrig, conanPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, conanPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, conanPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, conanChannel, conanPrefix, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, conanChannel, conanPrefix, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1386,6 +1450,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1430,18 +1495,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ConanPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ConanPackageUploadRequest.java
index 1d856129..398d5568 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ConanPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ConanPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -43,6 +44,9 @@ public class ConanPackageUploadRequest implements Serializable {
@SerializedName("info_file")
private String infoFile = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("manifest_file")
private String manifestFile = null;
@@ -64,6 +68,9 @@ public class ConanPackageUploadRequest implements Serializable {
@SerializedName("version")
private String version = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
public ConanPackageUploadRequest conanChannel(String conanChannel) {
this.conanChannel = conanChannel;
return this;
@@ -119,6 +126,15 @@ public void setInfoFile(String infoFile) {
this.infoFile = infoFile;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public ConanPackageUploadRequest manifestFile(String manifestFile) {
this.manifestFile = manifestFile;
return this;
@@ -248,6 +264,25 @@ public void setVersion(String version) {
this.version = version;
}
+ public ConanPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -261,18 +296,20 @@ public boolean equals(java.lang.Object o) {
return Objects.equals(this.conanChannel, conanPackageUploadRequest.conanChannel) &&
Objects.equals(this.conanPrefix, conanPackageUploadRequest.conanPrefix) &&
Objects.equals(this.infoFile, conanPackageUploadRequest.infoFile) &&
+ Objects.equals(this.isMalwareDetected, conanPackageUploadRequest.isMalwareDetected) &&
Objects.equals(this.manifestFile, conanPackageUploadRequest.manifestFile) &&
Objects.equals(this.metadataFile, conanPackageUploadRequest.metadataFile) &&
Objects.equals(this.name, conanPackageUploadRequest.name) &&
Objects.equals(this.packageFile, conanPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, conanPackageUploadRequest.republish) &&
Objects.equals(this.tags, conanPackageUploadRequest.tags) &&
- Objects.equals(this.version, conanPackageUploadRequest.version);
+ Objects.equals(this.version, conanPackageUploadRequest.version) &&
+ Objects.equals(this.vulnerabilityCounts, conanPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(conanChannel, conanPrefix, infoFile, manifestFile, metadataFile, name, packageFile, republish, tags, version);
+ return Objects.hash(conanChannel, conanPrefix, infoFile, isMalwareDetected, manifestFile, metadataFile, name, packageFile, republish, tags, version, vulnerabilityCounts);
}
@@ -284,6 +321,7 @@ public String toString() {
sb.append(" conanChannel: ").append(toIndentedString(conanChannel)).append("\n");
sb.append(" conanPrefix: ").append(toIndentedString(conanPrefix)).append("\n");
sb.append(" infoFile: ").append(toIndentedString(infoFile)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" manifestFile: ").append(toIndentedString(manifestFile)).append("\n");
sb.append(" metadataFile: ").append(toIndentedString(metadataFile)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
@@ -291,6 +329,7 @@ public String toString() {
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaPackageUpload.java
index b8708f79..735b64f9 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class CondaPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public CondaPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, condaPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, condaPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, condaPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, condaPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, condaPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, condaPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, condaPackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, condaPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, condaPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, condaPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, condaPackageUpload.storePath) &&
Objects.equals(this.subtype, condaPackageUpload.subtype) &&
Objects.equals(this.summary, condaPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, condaPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, condaPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, condaPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, condaPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, condaPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, condaPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, condaPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, condaPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, condaPackageUpload.uploaderUrl) &&
Objects.equals(this.version, condaPackageUpload.version) &&
Objects.equals(this.versionOrig, condaPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, condaPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, condaPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaPackageUploadRequest.java
index 05b2581d..a5370a3f 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class CondaPackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -43,6 +47,18 @@ public class CondaPackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public CondaPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -98,6 +114,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public CondaPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -108,14 +143,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
CondaPackageUploadRequest condaPackageUploadRequest = (CondaPackageUploadRequest) o;
- return Objects.equals(this.packageFile, condaPackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, condaPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, condaPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, condaPackageUploadRequest.republish) &&
- Objects.equals(this.tags, condaPackageUploadRequest.tags);
+ Objects.equals(this.tags, condaPackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, condaPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, republish, tags);
+ return Objects.hash(isMalwareDetected, packageFile, republish, tags, vulnerabilityCounts);
}
@@ -124,9 +161,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CondaPackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranPackageUpload.java
index 3a754b05..3959cb69 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class CranPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -325,6 +329,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -343,6 +350,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -361,6 +371,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -647,6 +660,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1066,6 +1088,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1141,6 +1172,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1196,6 +1237,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public CranPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1244,6 +1304,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, cranPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, cranPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, cranPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, cranPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, cranPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, cranPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, cranPackageUpload.isQuarantined) &&
@@ -1289,24 +1350,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, cranPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, cranPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, cranPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, cranPackageUpload.storePath) &&
Objects.equals(this.subtype, cranPackageUpload.subtype) &&
Objects.equals(this.summary, cranPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, cranPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, cranPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, cranPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, cranPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, cranPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, cranPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, cranPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, cranPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, cranPackageUpload.uploaderUrl) &&
Objects.equals(this.version, cranPackageUpload.version) &&
Objects.equals(this.versionOrig, cranPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, cranPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, cranPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rVersion, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rVersion, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1344,6 +1408,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1389,18 +1454,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranPackageUploadRequest.java
index acc8b9e0..91dda247 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -37,6 +38,9 @@ public class CranPackageUploadRequest implements Serializable {
@SerializedName("architecture")
private String architecture = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -49,6 +53,9 @@ public class CranPackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
public CranPackageUploadRequest architecture(String architecture) {
this.architecture = architecture;
return this;
@@ -67,6 +74,15 @@ public void setArchitecture(String architecture) {
this.architecture = architecture;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public CranPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -140,6 +156,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public CranPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -151,15 +186,17 @@ public boolean equals(java.lang.Object o) {
}
CranPackageUploadRequest cranPackageUploadRequest = (CranPackageUploadRequest) o;
return Objects.equals(this.architecture, cranPackageUploadRequest.architecture) &&
+ Objects.equals(this.isMalwareDetected, cranPackageUploadRequest.isMalwareDetected) &&
Objects.equals(this.packageFile, cranPackageUploadRequest.packageFile) &&
Objects.equals(this.rVersion, cranPackageUploadRequest.rVersion) &&
Objects.equals(this.republish, cranPackageUploadRequest.republish) &&
- Objects.equals(this.tags, cranPackageUploadRequest.tags);
+ Objects.equals(this.tags, cranPackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, cranPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(architecture, packageFile, rVersion, republish, tags);
+ return Objects.hash(architecture, isMalwareDetected, packageFile, rVersion, republish, tags, vulnerabilityCounts);
}
@@ -169,10 +206,12 @@ public String toString() {
sb.append("class CranPackageUploadRequest {\n");
sb.append(" architecture: ").append(toIndentedString(architecture)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" rVersion: ").append(toIndentedString(rVersion)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartPackageUpload.java
index de3dd595..eace9536 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class DartPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public DartPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, dartPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, dartPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, dartPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, dartPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, dartPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, dartPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, dartPackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, dartPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, dartPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, dartPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, dartPackageUpload.storePath) &&
Objects.equals(this.subtype, dartPackageUpload.subtype) &&
Objects.equals(this.summary, dartPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, dartPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, dartPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, dartPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, dartPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, dartPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, dartPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, dartPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, dartPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, dartPackageUpload.uploaderUrl) &&
Objects.equals(this.version, dartPackageUpload.version) &&
Objects.equals(this.versionOrig, dartPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, dartPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, dartPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartPackageUploadRequest.java
index 2998fc9e..2b0dc859 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class DartPackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -43,6 +47,18 @@ public class DartPackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public DartPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -98,6 +114,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public DartPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -108,14 +143,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
DartPackageUploadRequest dartPackageUploadRequest = (DartPackageUploadRequest) o;
- return Objects.equals(this.packageFile, dartPackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, dartPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, dartPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, dartPackageUploadRequest.republish) &&
- Objects.equals(this.tags, dartPackageUploadRequest.tags);
+ Objects.equals(this.tags, dartPackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, dartPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, republish, tags);
+ return Objects.hash(isMalwareDetected, packageFile, republish, tags, vulnerabilityCounts);
}
@@ -124,9 +161,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DartPackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebPackageUpload.java
index 7f819ca8..e59fe015 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class DebPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public DebPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, debPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, debPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, debPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, debPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, debPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, debPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, debPackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, debPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, debPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, debPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, debPackageUpload.storePath) &&
Objects.equals(this.subtype, debPackageUpload.subtype) &&
Objects.equals(this.summary, debPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, debPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, debPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, debPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, debPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, debPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, debPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, debPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, debPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, debPackageUpload.uploaderUrl) &&
Objects.equals(this.version, debPackageUpload.version) &&
Objects.equals(this.versionOrig, debPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, debPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, debPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebPackageUploadRequest.java
index 38b1174b..512162f5 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -43,6 +44,9 @@ public class DebPackageUploadRequest implements Serializable {
@SerializedName("distribution")
private String distribution = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -55,6 +59,9 @@ public class DebPackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
public DebPackageUploadRequest changesFile(String changesFile) {
this.changesFile = changesFile;
return this;
@@ -110,6 +117,15 @@ public void setDistribution(String distribution) {
this.distribution = distribution;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public DebPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -183,6 +199,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public DebPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -196,15 +231,17 @@ public boolean equals(java.lang.Object o) {
return Objects.equals(this.changesFile, debPackageUploadRequest.changesFile) &&
Objects.equals(this.component, debPackageUploadRequest.component) &&
Objects.equals(this.distribution, debPackageUploadRequest.distribution) &&
+ Objects.equals(this.isMalwareDetected, debPackageUploadRequest.isMalwareDetected) &&
Objects.equals(this.packageFile, debPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, debPackageUploadRequest.republish) &&
Objects.equals(this.sourcesFile, debPackageUploadRequest.sourcesFile) &&
- Objects.equals(this.tags, debPackageUploadRequest.tags);
+ Objects.equals(this.tags, debPackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, debPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(changesFile, component, distribution, packageFile, republish, sourcesFile, tags);
+ return Objects.hash(changesFile, component, distribution, isMalwareDetected, packageFile, republish, sourcesFile, tags, vulnerabilityCounts);
}
@@ -216,10 +253,12 @@ public String toString() {
sb.append(" changesFile: ").append(toIndentedString(changesFile)).append("\n");
sb.append(" component: ").append(toIndentedString(component)).append("\n");
sb.append(" distribution: ").append(toIndentedString(distribution)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" sourcesFile: ").append(toIndentedString(sourcesFile)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerPackageUpload.java
index 715933df..1edb9a26 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class DockerPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public DockerPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, dockerPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, dockerPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, dockerPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, dockerPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, dockerPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, dockerPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, dockerPackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, dockerPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, dockerPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, dockerPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, dockerPackageUpload.storePath) &&
Objects.equals(this.subtype, dockerPackageUpload.subtype) &&
Objects.equals(this.summary, dockerPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, dockerPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, dockerPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, dockerPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, dockerPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, dockerPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, dockerPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, dockerPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, dockerPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, dockerPackageUpload.uploaderUrl) &&
Objects.equals(this.version, dockerPackageUpload.version) &&
Objects.equals(this.versionOrig, dockerPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, dockerPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, dockerPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerPackageUploadRequest.java
index b69be1b8..7634396e 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class DockerPackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -43,6 +47,18 @@ public class DockerPackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public DockerPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -98,6 +114,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public DockerPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -108,14 +143,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
DockerPackageUploadRequest dockerPackageUploadRequest = (DockerPackageUploadRequest) o;
- return Objects.equals(this.packageFile, dockerPackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, dockerPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, dockerPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, dockerPackageUploadRequest.republish) &&
- Objects.equals(this.tags, dockerPackageUploadRequest.tags);
+ Objects.equals(this.tags, dockerPackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, dockerPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, republish, tags);
+ return Objects.hash(isMalwareDetected, packageFile, republish, tags, vulnerabilityCounts);
}
@@ -124,9 +161,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DockerPackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/GenericPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/GenericPackageUpload.java
index 93f9c611..6d6c3e1d 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/GenericPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/GenericPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class GenericPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1054,6 +1076,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1129,6 +1160,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1193,6 +1234,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public GenericPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1241,6 +1301,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, genericPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, genericPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, genericPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, genericPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, genericPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, genericPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, genericPackageUpload.isQuarantined) &&
@@ -1285,24 +1346,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, genericPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, genericPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, genericPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, genericPackageUpload.storePath) &&
Objects.equals(this.subtype, genericPackageUpload.subtype) &&
Objects.equals(this.summary, genericPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, genericPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, genericPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, genericPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, genericPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, genericPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, genericPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, genericPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, genericPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, genericPackageUpload.uploaderUrl) &&
Objects.equals(this.version, genericPackageUpload.version) &&
Objects.equals(this.versionOrig, genericPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, genericPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, genericPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1340,6 +1404,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1384,18 +1449,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/GenericPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/GenericPackageUploadRequest.java
index a9851f18..337be887 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/GenericPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/GenericPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -37,6 +38,9 @@ public class GenericPackageUploadRequest implements Serializable {
@SerializedName("filepath")
private String filepath = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("name")
private String name = null;
@@ -52,6 +56,9 @@ public class GenericPackageUploadRequest implements Serializable {
@SerializedName("version")
private String version = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
public GenericPackageUploadRequest filepath(String filepath) {
this.filepath = filepath;
return this;
@@ -71,6 +78,15 @@ public void setFilepath(String filepath) {
this.filepath = filepath;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public GenericPackageUploadRequest name(String name) {
this.name = name;
return this;
@@ -162,6 +178,25 @@ public void setVersion(String version) {
this.version = version;
}
+ public GenericPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -173,16 +208,18 @@ public boolean equals(java.lang.Object o) {
}
GenericPackageUploadRequest genericPackageUploadRequest = (GenericPackageUploadRequest) o;
return Objects.equals(this.filepath, genericPackageUploadRequest.filepath) &&
+ Objects.equals(this.isMalwareDetected, genericPackageUploadRequest.isMalwareDetected) &&
Objects.equals(this.name, genericPackageUploadRequest.name) &&
Objects.equals(this.packageFile, genericPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, genericPackageUploadRequest.republish) &&
Objects.equals(this.tags, genericPackageUploadRequest.tags) &&
- Objects.equals(this.version, genericPackageUploadRequest.version);
+ Objects.equals(this.version, genericPackageUploadRequest.version) &&
+ Objects.equals(this.vulnerabilityCounts, genericPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(filepath, name, packageFile, republish, tags, version);
+ return Objects.hash(filepath, isMalwareDetected, name, packageFile, republish, tags, version, vulnerabilityCounts);
}
@@ -192,11 +229,13 @@ public String toString() {
sb.append("class GenericPackageUploadRequest {\n");
sb.append(" filepath: ").append(toIndentedString(filepath)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoPackageUpload.java
index a2c6cb46..77183ff1 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class GoPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public GoPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, goPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, goPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, goPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, goPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, goPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, goPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, goPackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, goPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, goPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, goPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, goPackageUpload.storePath) &&
Objects.equals(this.subtype, goPackageUpload.subtype) &&
Objects.equals(this.summary, goPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, goPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, goPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, goPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, goPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, goPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, goPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, goPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, goPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, goPackageUpload.uploaderUrl) &&
Objects.equals(this.version, goPackageUpload.version) &&
Objects.equals(this.versionOrig, goPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, goPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, goPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoPackageUploadRequest.java
index dd6e95a4..5580e005 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class GoPackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -43,6 +47,18 @@ public class GoPackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public GoPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -98,6 +114,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public GoPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -108,14 +143,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
GoPackageUploadRequest goPackageUploadRequest = (GoPackageUploadRequest) o;
- return Objects.equals(this.packageFile, goPackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, goPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, goPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, goPackageUploadRequest.republish) &&
- Objects.equals(this.tags, goPackageUploadRequest.tags);
+ Objects.equals(this.tags, goPackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, goPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, republish, tags);
+ return Objects.hash(isMalwareDetected, packageFile, republish, tags, vulnerabilityCounts);
}
@@ -124,9 +161,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GoPackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmPackageUpload.java
index 153ceb80..7b85371f 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class HelmPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public HelmPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, helmPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, helmPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, helmPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, helmPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, helmPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, helmPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, helmPackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, helmPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, helmPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, helmPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, helmPackageUpload.storePath) &&
Objects.equals(this.subtype, helmPackageUpload.subtype) &&
Objects.equals(this.summary, helmPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, helmPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, helmPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, helmPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, helmPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, helmPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, helmPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, helmPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, helmPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, helmPackageUpload.uploaderUrl) &&
Objects.equals(this.version, helmPackageUpload.version) &&
Objects.equals(this.versionOrig, helmPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, helmPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, helmPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmPackageUploadRequest.java
index 1dc8c137..66cb99a6 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class HelmPackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -46,6 +50,18 @@ public class HelmPackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public HelmPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -119,6 +135,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public HelmPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -129,15 +164,17 @@ public boolean equals(java.lang.Object o) {
return false;
}
HelmPackageUploadRequest helmPackageUploadRequest = (HelmPackageUploadRequest) o;
- return Objects.equals(this.packageFile, helmPackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, helmPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, helmPackageUploadRequest.packageFile) &&
Objects.equals(this.provenanceFile, helmPackageUploadRequest.provenanceFile) &&
Objects.equals(this.republish, helmPackageUploadRequest.republish) &&
- Objects.equals(this.tags, helmPackageUploadRequest.tags);
+ Objects.equals(this.tags, helmPackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, helmPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, provenanceFile, republish, tags);
+ return Objects.hash(isMalwareDetected, packageFile, provenanceFile, republish, tags, vulnerabilityCounts);
}
@@ -146,10 +183,12 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HelmPackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" provenanceFile: ").append(toIndentedString(provenanceFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexPackageUpload.java
index df8a18ad..ac14c56c 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class HexPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public HexPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, hexPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, hexPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, hexPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, hexPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, hexPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, hexPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, hexPackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, hexPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, hexPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, hexPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, hexPackageUpload.storePath) &&
Objects.equals(this.subtype, hexPackageUpload.subtype) &&
Objects.equals(this.summary, hexPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, hexPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, hexPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, hexPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, hexPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, hexPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, hexPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, hexPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, hexPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, hexPackageUpload.uploaderUrl) &&
Objects.equals(this.version, hexPackageUpload.version) &&
Objects.equals(this.versionOrig, hexPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, hexPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, hexPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexPackageUploadRequest.java
index 9032393a..36f95698 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class HexPackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -43,6 +47,18 @@ public class HexPackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public HexPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -98,6 +114,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public HexPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -108,14 +143,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
HexPackageUploadRequest hexPackageUploadRequest = (HexPackageUploadRequest) o;
- return Objects.equals(this.packageFile, hexPackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, hexPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, hexPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, hexPackageUploadRequest.republish) &&
- Objects.equals(this.tags, hexPackageUploadRequest.tags);
+ Objects.equals(this.tags, hexPackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, hexPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, republish, tags);
+ return Objects.hash(isMalwareDetected, packageFile, republish, tags, vulnerabilityCounts);
}
@@ -124,9 +161,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HexPackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfacePackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfacePackageUpload.java
index c046bb7c..0466cd1f 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfacePackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfacePackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class HuggingfacePackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public HuggingfacePackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, huggingfacePackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, huggingfacePackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, huggingfacePackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, huggingfacePackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, huggingfacePackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, huggingfacePackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, huggingfacePackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, huggingfacePackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, huggingfacePackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, huggingfacePackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, huggingfacePackageUpload.storePath) &&
Objects.equals(this.subtype, huggingfacePackageUpload.subtype) &&
Objects.equals(this.summary, huggingfacePackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, huggingfacePackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, huggingfacePackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, huggingfacePackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, huggingfacePackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, huggingfacePackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, huggingfacePackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, huggingfacePackageUpload.uploadedAt) &&
Objects.equals(this.uploader, huggingfacePackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, huggingfacePackageUpload.uploaderUrl) &&
Objects.equals(this.version, huggingfacePackageUpload.version) &&
Objects.equals(this.versionOrig, huggingfacePackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, huggingfacePackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, huggingfacePackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfacePackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfacePackageUploadRequest.java
index 2f1e3bb8..5a498021 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfacePackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfacePackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class HuggingfacePackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -43,6 +47,18 @@ public class HuggingfacePackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public HuggingfacePackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -98,6 +114,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public HuggingfacePackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -108,14 +143,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
HuggingfacePackageUploadRequest huggingfacePackageUploadRequest = (HuggingfacePackageUploadRequest) o;
- return Objects.equals(this.packageFile, huggingfacePackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, huggingfacePackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, huggingfacePackageUploadRequest.packageFile) &&
Objects.equals(this.republish, huggingfacePackageUploadRequest.republish) &&
- Objects.equals(this.tags, huggingfacePackageUploadRequest.tags);
+ Objects.equals(this.tags, huggingfacePackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, huggingfacePackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, republish, tags);
+ return Objects.hash(isMalwareDetected, packageFile, republish, tags, vulnerabilityCounts);
}
@@ -124,9 +161,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HuggingfacePackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse200.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse200.java
index acc8ef75..7a20b41d 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse200.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse200.java
@@ -20,12 +20,9 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.cloudsmith.api.models.PackageGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
import java.io.Serializable;
import javax.validation.constraints.*;
import javax.validation.Valid;
@@ -37,32 +34,109 @@
public class InlineResponse200 implements Serializable {
private static final long serialVersionUID = 1L;
- @SerializedName("results")
- private List results = new ArrayList<>();
+ @SerializedName("allow_open_source_overage")
+ private Boolean allowOpenSourceOverage = null;
- public InlineResponse200 results(List results) {
- this.results = results;
+ @SerializedName("bandwidth_overage_limit")
+ private java.math.BigInteger bandwidthOverageLimit = null;
+
+ @SerializedName("storage_overage_limit")
+ private java.math.BigInteger storageOverageLimit = null;
+
+ @SerializedName("bandwidth_maximum")
+ private java.math.BigInteger bandwidthMaximum = null;
+
+ @SerializedName("storage_maximum")
+ private java.math.BigInteger storageMaximum = null;
+
+ public InlineResponse200 allowOpenSourceOverage(Boolean allowOpenSourceOverage) {
+ this.allowOpenSourceOverage = allowOpenSourceOverage;
return this;
}
- public InlineResponse200 addResultsItem(PackageGroup resultsItem) {
- this.results.add(resultsItem);
+ /**
+ * Whether on-demand open source overage is allowed.
+ * @return allowOpenSourceOverage
+ **/
+ @ApiModelProperty(value = "Whether on-demand open source overage is allowed.")
+ public Boolean isAllowOpenSourceOverage() {
+ return allowOpenSourceOverage;
+ }
+
+ public void setAllowOpenSourceOverage(Boolean allowOpenSourceOverage) {
+ this.allowOpenSourceOverage = allowOpenSourceOverage;
+ }
+
+ public InlineResponse200 bandwidthOverageLimit(java.math.BigInteger bandwidthOverageLimit) {
+ this.bandwidthOverageLimit = bandwidthOverageLimit;
+ return this;
+ }
+
+ /**
+ * Effective bandwidth overage limit in GB.
+ * @return bandwidthOverageLimit
+ **/
+ @ApiModelProperty(value = "Effective bandwidth overage limit in GB.")
+ public java.math.BigInteger getBandwidthOverageLimit() {
+ return bandwidthOverageLimit;
+ }
+
+ public void setBandwidthOverageLimit(java.math.BigInteger bandwidthOverageLimit) {
+ this.bandwidthOverageLimit = bandwidthOverageLimit;
+ }
+
+ public InlineResponse200 storageOverageLimit(java.math.BigInteger storageOverageLimit) {
+ this.storageOverageLimit = storageOverageLimit;
+ return this;
+ }
+
+ /**
+ * Effective storage overage limit in GB.
+ * @return storageOverageLimit
+ **/
+ @ApiModelProperty(value = "Effective storage overage limit in GB.")
+ public java.math.BigInteger getStorageOverageLimit() {
+ return storageOverageLimit;
+ }
+
+ public void setStorageOverageLimit(java.math.BigInteger storageOverageLimit) {
+ this.storageOverageLimit = storageOverageLimit;
+ }
+
+ public InlineResponse200 bandwidthMaximum(java.math.BigInteger bandwidthMaximum) {
+ this.bandwidthMaximum = bandwidthMaximum;
+ return this;
+ }
+
+ /**
+ * Maximum allowed bandwidth overage in GB.
+ * @return bandwidthMaximum
+ **/
+ @ApiModelProperty(value = "Maximum allowed bandwidth overage in GB.")
+ public java.math.BigInteger getBandwidthMaximum() {
+ return bandwidthMaximum;
+ }
+
+ public void setBandwidthMaximum(java.math.BigInteger bandwidthMaximum) {
+ this.bandwidthMaximum = bandwidthMaximum;
+ }
+
+ public InlineResponse200 storageMaximum(java.math.BigInteger storageMaximum) {
+ this.storageMaximum = storageMaximum;
return this;
}
/**
- * Get results
- * @return results
+ * Maximum allowed storage overage in GB.
+ * @return storageMaximum
**/
- @NotNull
- @Valid
- @ApiModelProperty(required = true, value = "")
- public List getResults() {
- return results;
+ @ApiModelProperty(value = "Maximum allowed storage overage in GB.")
+ public java.math.BigInteger getStorageMaximum() {
+ return storageMaximum;
}
- public void setResults(List results) {
- this.results = results;
+ public void setStorageMaximum(java.math.BigInteger storageMaximum) {
+ this.storageMaximum = storageMaximum;
}
@@ -75,12 +149,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
InlineResponse200 inlineResponse200 = (InlineResponse200) o;
- return Objects.equals(this.results, inlineResponse200.results);
+ return Objects.equals(this.allowOpenSourceOverage, inlineResponse200.allowOpenSourceOverage) &&
+ Objects.equals(this.bandwidthOverageLimit, inlineResponse200.bandwidthOverageLimit) &&
+ Objects.equals(this.storageOverageLimit, inlineResponse200.storageOverageLimit) &&
+ Objects.equals(this.bandwidthMaximum, inlineResponse200.bandwidthMaximum) &&
+ Objects.equals(this.storageMaximum, inlineResponse200.storageMaximum);
}
@Override
public int hashCode() {
- return Objects.hash(results);
+ return Objects.hash(allowOpenSourceOverage, bandwidthOverageLimit, storageOverageLimit, bandwidthMaximum, storageMaximum);
}
@@ -89,7 +167,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InlineResponse200 {\n");
- sb.append(" results: ").append(toIndentedString(results)).append("\n");
+ sb.append(" allowOpenSourceOverage: ").append(toIndentedString(allowOpenSourceOverage)).append("\n");
+ sb.append(" bandwidthOverageLimit: ").append(toIndentedString(bandwidthOverageLimit)).append("\n");
+ sb.append(" storageOverageLimit: ").append(toIndentedString(storageOverageLimit)).append("\n");
+ sb.append(" bandwidthMaximum: ").append(toIndentedString(bandwidthMaximum)).append("\n");
+ sb.append(" storageMaximum: ").append(toIndentedString(storageMaximum)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2001.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2001.java
index c2f133b4..2c6d6b86 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2001.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2001.java
@@ -20,12 +20,9 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.cloudsmith.api.models.ConnectedRepository;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
import java.io.Serializable;
import javax.validation.constraints.*;
import javax.validation.Valid;
@@ -37,32 +34,67 @@
public class InlineResponse2001 implements Serializable {
private static final long serialVersionUID = 1L;
- @SerializedName("results")
- private List results = new ArrayList<>();
+ @SerializedName("allow_open_source_overage")
+ private Boolean allowOpenSourceOverage = null;
- public InlineResponse2001 results(List results) {
- this.results = results;
+ @SerializedName("bandwidth_overage_limit")
+ private java.math.BigInteger bandwidthOverageLimit = null;
+
+ @SerializedName("storage_overage_limit")
+ private java.math.BigInteger storageOverageLimit = null;
+
+ public InlineResponse2001 allowOpenSourceOverage(Boolean allowOpenSourceOverage) {
+ this.allowOpenSourceOverage = allowOpenSourceOverage;
return this;
}
- public InlineResponse2001 addResultsItem(ConnectedRepository resultsItem) {
- this.results.add(resultsItem);
+ /**
+ * Whether on-demand open source overage is allowed.
+ * @return allowOpenSourceOverage
+ **/
+ @ApiModelProperty(value = "Whether on-demand open source overage is allowed.")
+ public Boolean isAllowOpenSourceOverage() {
+ return allowOpenSourceOverage;
+ }
+
+ public void setAllowOpenSourceOverage(Boolean allowOpenSourceOverage) {
+ this.allowOpenSourceOverage = allowOpenSourceOverage;
+ }
+
+ public InlineResponse2001 bandwidthOverageLimit(java.math.BigInteger bandwidthOverageLimit) {
+ this.bandwidthOverageLimit = bandwidthOverageLimit;
+ return this;
+ }
+
+ /**
+ * Effective bandwidth overage limit in GB.
+ * @return bandwidthOverageLimit
+ **/
+ @ApiModelProperty(value = "Effective bandwidth overage limit in GB.")
+ public java.math.BigInteger getBandwidthOverageLimit() {
+ return bandwidthOverageLimit;
+ }
+
+ public void setBandwidthOverageLimit(java.math.BigInteger bandwidthOverageLimit) {
+ this.bandwidthOverageLimit = bandwidthOverageLimit;
+ }
+
+ public InlineResponse2001 storageOverageLimit(java.math.BigInteger storageOverageLimit) {
+ this.storageOverageLimit = storageOverageLimit;
return this;
}
/**
- * Get results
- * @return results
+ * Effective storage overage limit in GB.
+ * @return storageOverageLimit
**/
- @NotNull
- @Valid
- @ApiModelProperty(required = true, value = "")
- public List getResults() {
- return results;
+ @ApiModelProperty(value = "Effective storage overage limit in GB.")
+ public java.math.BigInteger getStorageOverageLimit() {
+ return storageOverageLimit;
}
- public void setResults(List results) {
- this.results = results;
+ public void setStorageOverageLimit(java.math.BigInteger storageOverageLimit) {
+ this.storageOverageLimit = storageOverageLimit;
}
@@ -75,12 +107,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
InlineResponse2001 inlineResponse2001 = (InlineResponse2001) o;
- return Objects.equals(this.results, inlineResponse2001.results);
+ return Objects.equals(this.allowOpenSourceOverage, inlineResponse2001.allowOpenSourceOverage) &&
+ Objects.equals(this.bandwidthOverageLimit, inlineResponse2001.bandwidthOverageLimit) &&
+ Objects.equals(this.storageOverageLimit, inlineResponse2001.storageOverageLimit);
}
@Override
public int hashCode() {
- return Objects.hash(results);
+ return Objects.hash(allowOpenSourceOverage, bandwidthOverageLimit, storageOverageLimit);
}
@@ -89,7 +123,9 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InlineResponse2001 {\n");
- sb.append(" results: ").append(toIndentedString(results)).append("\n");
+ sb.append(" allowOpenSourceOverage: ").append(toIndentedString(allowOpenSourceOverage)).append("\n");
+ sb.append(" bandwidthOverageLimit: ").append(toIndentedString(bandwidthOverageLimit)).append("\n");
+ sb.append(" storageOverageLimit: ").append(toIndentedString(storageOverageLimit)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2002.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2002.java
index 897568d0..bb8c7d7a 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2002.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2002.java
@@ -20,7 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.cloudsmith.api.models.UserAuthenticationToken;
+import io.cloudsmith.api.models.PackageGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -38,14 +38,14 @@ public class InlineResponse2002 implements Serializable {
private static final long serialVersionUID = 1L;
@SerializedName("results")
- private List results = new ArrayList<>();
+ private List results = new ArrayList<>();
- public InlineResponse2002 results(List results) {
+ public InlineResponse2002 results(List results) {
this.results = results;
return this;
}
- public InlineResponse2002 addResultsItem(UserAuthenticationToken resultsItem) {
+ public InlineResponse2002 addResultsItem(PackageGroup resultsItem) {
this.results.add(resultsItem);
return this;
}
@@ -57,11 +57,11 @@ public InlineResponse2002 addResultsItem(UserAuthenticationToken resultsItem) {
@NotNull
@Valid
@ApiModelProperty(required = true, value = "")
- public List getResults() {
+ public List getResults() {
return results;
}
- public void setResults(List results) {
+ public void setResults(List results) {
this.results = results;
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2003.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2003.java
new file mode 100644
index 00000000..7f50c0fa
--- /dev/null
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2003.java
@@ -0,0 +1,109 @@
+/*
+ * Cloudsmith API (v1)
+ * The API to the Cloudsmith Service
+ *
+ * OpenAPI spec version: v1
+ * Contact: support@cloudsmith.io
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+
+package io.cloudsmith.api.models;
+
+import java.util.Objects;
+import java.util.Arrays;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.ConnectedRepository;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.io.Serializable;
+import javax.validation.constraints.*;
+import javax.validation.Valid;
+
+/**
+ * InlineResponse2003
+ */
+
+public class InlineResponse2003 implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ @SerializedName("results")
+ private List results = new ArrayList<>();
+
+ public InlineResponse2003 results(List results) {
+ this.results = results;
+ return this;
+ }
+
+ public InlineResponse2003 addResultsItem(ConnectedRepository resultsItem) {
+ this.results.add(resultsItem);
+ return this;
+ }
+
+ /**
+ * Get results
+ * @return results
+ **/
+ @NotNull
+ @Valid
+ @ApiModelProperty(required = true, value = "")
+ public List getResults() {
+ return results;
+ }
+
+ public void setResults(List results) {
+ this.results = results;
+ }
+
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ InlineResponse2003 inlineResponse2003 = (InlineResponse2003) o;
+ return Objects.equals(this.results, inlineResponse2003.results);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(results);
+ }
+
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class InlineResponse2003 {\n");
+
+ sb.append(" results: ").append(toIndentedString(results)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(java.lang.Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2004.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2004.java
new file mode 100644
index 00000000..eaa78f28
--- /dev/null
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/InlineResponse2004.java
@@ -0,0 +1,109 @@
+/*
+ * Cloudsmith API (v1)
+ * The API to the Cloudsmith Service
+ *
+ * OpenAPI spec version: v1
+ * Contact: support@cloudsmith.io
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+
+package io.cloudsmith.api.models;
+
+import java.util.Objects;
+import java.util.Arrays;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.UserAuthenticationToken;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.io.Serializable;
+import javax.validation.constraints.*;
+import javax.validation.Valid;
+
+/**
+ * InlineResponse2004
+ */
+
+public class InlineResponse2004 implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ @SerializedName("results")
+ private List results = new ArrayList<>();
+
+ public InlineResponse2004 results(List results) {
+ this.results = results;
+ return this;
+ }
+
+ public InlineResponse2004 addResultsItem(UserAuthenticationToken resultsItem) {
+ this.results.add(resultsItem);
+ return this;
+ }
+
+ /**
+ * Get results
+ * @return results
+ **/
+ @NotNull
+ @Valid
+ @ApiModelProperty(required = true, value = "")
+ public List getResults() {
+ return results;
+ }
+
+ public void setResults(List results) {
+ this.results = results;
+ }
+
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ InlineResponse2004 inlineResponse2004 = (InlineResponse2004) o;
+ return Objects.equals(this.results, inlineResponse2004.results);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(results);
+ }
+
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class InlineResponse2004 {\n");
+
+ sb.append(" results: ").append(toIndentedString(results)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(java.lang.Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/LuarocksPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/LuarocksPackageUpload.java
index c6a3ce30..a30feee7 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/LuarocksPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/LuarocksPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class LuarocksPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1175,6 +1216,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public LuarocksPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1223,6 +1283,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, luarocksPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, luarocksPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, luarocksPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, luarocksPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, luarocksPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, luarocksPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, luarocksPackageUpload.isQuarantined) &&
@@ -1267,24 +1328,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, luarocksPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, luarocksPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, luarocksPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, luarocksPackageUpload.storePath) &&
Objects.equals(this.subtype, luarocksPackageUpload.subtype) &&
Objects.equals(this.summary, luarocksPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, luarocksPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, luarocksPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, luarocksPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, luarocksPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, luarocksPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, luarocksPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, luarocksPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, luarocksPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, luarocksPackageUpload.uploaderUrl) &&
Objects.equals(this.version, luarocksPackageUpload.version) &&
Objects.equals(this.versionOrig, luarocksPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, luarocksPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, luarocksPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1322,6 +1386,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1366,18 +1431,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/LuarocksPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/LuarocksPackageUploadRequest.java
index 3b891613..e988cd5c 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/LuarocksPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/LuarocksPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class LuarocksPackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -43,6 +47,18 @@ public class LuarocksPackageUploadRequest implements Serializable {
@SerializedName("tags")
private String tags = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public LuarocksPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -98,6 +114,25 @@ public void setTags(String tags) {
this.tags = tags;
}
+ public LuarocksPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -108,14 +143,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
LuarocksPackageUploadRequest luarocksPackageUploadRequest = (LuarocksPackageUploadRequest) o;
- return Objects.equals(this.packageFile, luarocksPackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, luarocksPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, luarocksPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, luarocksPackageUploadRequest.republish) &&
- Objects.equals(this.tags, luarocksPackageUploadRequest.tags);
+ Objects.equals(this.tags, luarocksPackageUploadRequest.tags) &&
+ Objects.equals(this.vulnerabilityCounts, luarocksPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, republish, tags);
+ return Objects.hash(isMalwareDetected, packageFile, republish, tags, vulnerabilityCounts);
}
@@ -124,9 +161,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LuarocksPackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenPackageUpload.java
index 1a61897d..c05581fe 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -137,6 +138,9 @@ public class MavenPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -337,6 +341,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -355,6 +362,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -373,6 +383,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -695,6 +708,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1150,6 +1172,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1225,6 +1256,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1289,6 +1330,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public MavenPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1339,6 +1399,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, mavenPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, mavenPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, mavenPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, mavenPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, mavenPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, mavenPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, mavenPackageUpload.isQuarantined) &&
@@ -1386,24 +1447,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, mavenPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, mavenPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, mavenPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, mavenPackageUpload.storePath) &&
Objects.equals(this.subtype, mavenPackageUpload.subtype) &&
Objects.equals(this.summary, mavenPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, mavenPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, mavenPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, mavenPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, mavenPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, mavenPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, mavenPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, mavenPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, mavenPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, mavenPackageUpload.uploaderUrl) &&
Objects.equals(this.version, mavenPackageUpload.version) &&
Objects.equals(this.versionOrig, mavenPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, mavenPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, mavenPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, artifactId, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, groupId, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, packaging, policyViolated, rawLicense, release, repository, repositoryUrl, sbtVersion, scalaVersion, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, artifactId, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, groupId, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, packaging, policyViolated, rawLicense, release, repository, repositoryUrl, sbtVersion, scalaVersion, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1443,6 +1507,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1490,18 +1555,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenPackageUploadRequest.java
index 6be42ece..800728d8 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -45,6 +46,9 @@ public class MavenPackageUploadRequest implements Serializable {
@SerializedName("group_id")
private String groupId = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("ivy_file")
private String ivyFile = null;
@@ -81,6 +85,9 @@ public class MavenPackageUploadRequest implements Serializable {
@SerializedName("version")
private String version = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
public MavenPackageUploadRequest artifactId(String artifactId) {
this.artifactId = artifactId;
return this;
@@ -143,6 +150,15 @@ public void setGroupId(String groupId) {
this.groupId = groupId;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public MavenPackageUploadRequest ivyFile(String ivyFile) {
this.ivyFile = ivyFile;
return this;
@@ -360,6 +376,25 @@ public void setVersion(String version) {
this.version = version;
}
+ public MavenPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -373,6 +408,7 @@ public boolean equals(java.lang.Object o) {
return Objects.equals(this.artifactId, mavenPackageUploadRequest.artifactId) &&
Objects.equals(this.extraFiles, mavenPackageUploadRequest.extraFiles) &&
Objects.equals(this.groupId, mavenPackageUploadRequest.groupId) &&
+ Objects.equals(this.isMalwareDetected, mavenPackageUploadRequest.isMalwareDetected) &&
Objects.equals(this.ivyFile, mavenPackageUploadRequest.ivyFile) &&
Objects.equals(this.javadocFile, mavenPackageUploadRequest.javadocFile) &&
Objects.equals(this.packageFile, mavenPackageUploadRequest.packageFile) &&
@@ -384,12 +420,13 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.sourcesFile, mavenPackageUploadRequest.sourcesFile) &&
Objects.equals(this.tags, mavenPackageUploadRequest.tags) &&
Objects.equals(this.testsFile, mavenPackageUploadRequest.testsFile) &&
- Objects.equals(this.version, mavenPackageUploadRequest.version);
+ Objects.equals(this.version, mavenPackageUploadRequest.version) &&
+ Objects.equals(this.vulnerabilityCounts, mavenPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(artifactId, extraFiles, groupId, ivyFile, javadocFile, packageFile, packaging, pomFile, republish, sbtVersion, scalaVersion, sourcesFile, tags, testsFile, version);
+ return Objects.hash(artifactId, extraFiles, groupId, isMalwareDetected, ivyFile, javadocFile, packageFile, packaging, pomFile, republish, sbtVersion, scalaVersion, sourcesFile, tags, testsFile, version, vulnerabilityCounts);
}
@@ -401,6 +438,7 @@ public String toString() {
sb.append(" artifactId: ").append(toIndentedString(artifactId)).append("\n");
sb.append(" extraFiles: ").append(toIndentedString(extraFiles)).append("\n");
sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" ivyFile: ").append(toIndentedString(ivyFile)).append("\n");
sb.append(" javadocFile: ").append(toIndentedString(javadocFile)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
@@ -413,6 +451,7 @@ public String toString() {
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" testsFile: ").append(toIndentedString(testsFile)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/McpPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/McpPackageUpload.java
index 963bc363..a6713e5f 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/McpPackageUpload.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/McpPackageUpload.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -131,6 +132,9 @@ public class McpPackageUpload implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -322,6 +326,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -340,6 +347,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -358,6 +368,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -644,6 +657,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1045,6 +1067,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1120,6 +1151,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1184,6 +1225,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public McpPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1232,6 +1292,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, mcpPackageUpload.isDeleteable) &&
Objects.equals(this.isDownloadable, mcpPackageUpload.isDownloadable) &&
Objects.equals(this.isHidden, mcpPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, mcpPackageUpload.isMalwareDetected) &&
Objects.equals(this.isMoveable, mcpPackageUpload.isMoveable) &&
Objects.equals(this.isQuarantinable, mcpPackageUpload.isQuarantinable) &&
Objects.equals(this.isQuarantined, mcpPackageUpload.isQuarantined) &&
@@ -1276,24 +1337,27 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, mcpPackageUpload.statusStr) &&
Objects.equals(this.statusUpdatedAt, mcpPackageUpload.statusUpdatedAt) &&
Objects.equals(this.statusUrl, mcpPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, mcpPackageUpload.storePath) &&
Objects.equals(this.subtype, mcpPackageUpload.subtype) &&
Objects.equals(this.summary, mcpPackageUpload.summary) &&
Objects.equals(this.syncFinishedAt, mcpPackageUpload.syncFinishedAt) &&
Objects.equals(this.syncProgress, mcpPackageUpload.syncProgress) &&
Objects.equals(this.tagsAutomatic, mcpPackageUpload.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, mcpPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, mcpPackageUpload.tagsStatic) &&
Objects.equals(this.typeDisplay, mcpPackageUpload.typeDisplay) &&
Objects.equals(this.uploadedAt, mcpPackageUpload.uploadedAt) &&
Objects.equals(this.uploader, mcpPackageUpload.uploader) &&
Objects.equals(this.uploaderUrl, mcpPackageUpload.uploaderUrl) &&
Objects.equals(this.version, mcpPackageUpload.version) &&
Objects.equals(this.versionOrig, mcpPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, mcpPackageUpload.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, mcpPackageUpload.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1331,6 +1395,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1375,18 +1440,21 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/McpPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/McpPackageUploadRequest.java
index 997dcdb7..e17d2c8c 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/McpPackageUploadRequest.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/McpPackageUploadRequest.java
@@ -20,6 +20,7 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -34,6 +35,9 @@
public class McpPackageUploadRequest implements Serializable {
private static final long serialVersionUID = 1L;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("package_file")
private String packageFile = null;
@@ -46,6 +50,18 @@ public class McpPackageUploadRequest implements Serializable {
@SerializedName("version")
private String version = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
public McpPackageUploadRequest packageFile(String packageFile) {
this.packageFile = packageFile;
return this;
@@ -119,6 +135,25 @@ public void setVersion(String version) {
this.version = version;
}
+ public McpPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
@Override
public boolean equals(java.lang.Object o) {
@@ -129,15 +164,17 @@ public boolean equals(java.lang.Object o) {
return false;
}
McpPackageUploadRequest mcpPackageUploadRequest = (McpPackageUploadRequest) o;
- return Objects.equals(this.packageFile, mcpPackageUploadRequest.packageFile) &&
+ return Objects.equals(this.isMalwareDetected, mcpPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.packageFile, mcpPackageUploadRequest.packageFile) &&
Objects.equals(this.republish, mcpPackageUploadRequest.republish) &&
Objects.equals(this.tags, mcpPackageUploadRequest.tags) &&
- Objects.equals(this.version, mcpPackageUploadRequest.version);
+ Objects.equals(this.version, mcpPackageUploadRequest.version) &&
+ Objects.equals(this.vulnerabilityCounts, mcpPackageUploadRequest.vulnerabilityCounts);
}
@Override
public int hashCode() {
- return Objects.hash(packageFile, republish, tags, version);
+ return Objects.hash(isMalwareDetected, packageFile, republish, tags, version, vulnerabilityCounts);
}
@@ -146,10 +183,12 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class McpPackageUploadRequest {\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ModelPackage.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ModelPackage.java
index 33c84dca..c789ee3e 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ModelPackage.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ModelPackage.java
@@ -25,6 +25,7 @@
import io.cloudsmith.api.models.DistributionVersion;
import io.cloudsmith.api.models.PackageFile;
import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
@@ -134,6 +135,9 @@ public class ModelPackage implements Serializable {
@SerializedName("is_hidden")
private Boolean isHidden = null;
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
@SerializedName("is_moveable")
private Boolean isMoveable = null;
@@ -325,6 +329,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("status_url")
private String statusUrl = null;
+ @SerializedName("store_path")
+ private String storePath = null;
+
@SerializedName("subtype")
private String subtype = null;
@@ -346,6 +353,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("tags_immutable")
private Tags tagsImmutable = null;
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
@SerializedName("type_display")
private String typeDisplay = null;
@@ -364,6 +374,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti
@SerializedName("version_orig")
private String versionOrig = null;
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
@SerializedName("vulnerability_scan_results_url")
private String vulnerabilityScanResultsUrl = null;
@@ -659,6 +672,15 @@ public Boolean isIsHidden() {
return isHidden;
}
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
/**
* Get isMoveable
* @return isMoveable
@@ -1060,6 +1082,15 @@ public String getStatusUrl() {
return statusUrl;
}
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
/**
* Get subtype
* @return subtype
@@ -1154,6 +1185,16 @@ public void setTagsImmutable(Tags tagsImmutable) {
this.tagsImmutable = tagsImmutable;
}
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
/**
* Get typeDisplay
* @return typeDisplay
@@ -1209,6 +1250,25 @@ public String getVersionOrig() {
return versionOrig;
}
+ public ModelPackage vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
/**
* Get vulnerabilityScanResultsUrl
* @return vulnerabilityScanResultsUrl
@@ -1258,6 +1318,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isDeleteable, _package.isDeleteable) &&
Objects.equals(this.isDownloadable, _package.isDownloadable) &&
Objects.equals(this.isHidden, _package.isHidden) &&
+ Objects.equals(this.isMalwareDetected, _package.isMalwareDetected) &&
Objects.equals(this.isMoveable, _package.isMoveable) &&
Objects.equals(this.isQuarantinable, _package.isQuarantinable) &&
Objects.equals(this.isQuarantined, _package.isQuarantined) &&
@@ -1302,6 +1363,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.statusStr, _package.statusStr) &&
Objects.equals(this.statusUpdatedAt, _package.statusUpdatedAt) &&
Objects.equals(this.statusUrl, _package.statusUrl) &&
+ Objects.equals(this.storePath, _package.storePath) &&
Objects.equals(this.subtype, _package.subtype) &&
Objects.equals(this.summary, _package.summary) &&
Objects.equals(this.syncFinishedAt, _package.syncFinishedAt) &&
@@ -1309,18 +1371,20 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.tags, _package.tags) &&
Objects.equals(this.tagsAutomatic, _package.tagsAutomatic) &&
Objects.equals(this.tagsImmutable, _package.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, _package.tagsStatic) &&
Objects.equals(this.typeDisplay, _package.typeDisplay) &&
Objects.equals(this.uploadedAt, _package.uploadedAt) &&
Objects.equals(this.uploader, _package.uploader) &&
Objects.equals(this.uploaderUrl, _package.uploaderUrl) &&
Objects.equals(this.version, _package.version) &&
Objects.equals(this.versionOrig, _package.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, _package.vulnerabilityCounts) &&
Objects.equals(this.vulnerabilityScanResultsUrl, _package.vulnerabilityScanResultsUrl);
}
@Override
public int hashCode() {
- return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, filepath, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tags, tagsAutomatic, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, filepath, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tags, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
}
@@ -1359,6 +1423,7 @@ public String toString() {
sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
@@ -1403,6 +1468,7 @@ public String toString() {
sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
@@ -1410,12 +1476,14 @@ public String toString() {
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/NixPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NixPackageUpload.java
new file mode 100644
index 00000000..ecd2c5c6
--- /dev/null
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NixPackageUpload.java
@@ -0,0 +1,1475 @@
+/*
+ * Cloudsmith API (v1)
+ * The API to the Cloudsmith Service
+ *
+ * OpenAPI spec version: v1
+ * Contact: support@cloudsmith.io
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+
+package io.cloudsmith.api.models;
+
+import java.util.Objects;
+import java.util.Arrays;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.Architecture;
+import io.cloudsmith.api.models.Distribution;
+import io.cloudsmith.api.models.DistributionVersion;
+import io.cloudsmith.api.models.PackageFile;
+import io.cloudsmith.api.models.Tags;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.io.Serializable;
+import javax.validation.constraints.*;
+import javax.validation.Valid;
+
+/**
+ * NixPackageUpload
+ */
+
+public class NixPackageUpload implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ @SerializedName("architectures")
+ private List architectures = null;
+
+ @SerializedName("cdn_url")
+ private String cdnUrl = null;
+
+ @SerializedName("checksum_md5")
+ private String checksumMd5 = null;
+
+ @SerializedName("checksum_sha1")
+ private String checksumSha1 = null;
+
+ @SerializedName("checksum_sha256")
+ private String checksumSha256 = null;
+
+ @SerializedName("checksum_sha512")
+ private String checksumSha512 = null;
+
+ @SerializedName("dependencies_checksum_md5")
+ private String dependenciesChecksumMd5 = null;
+
+ @SerializedName("dependencies_url")
+ private String dependenciesUrl = null;
+
+ @SerializedName("description")
+ private String description = null;
+
+ @SerializedName("display_name")
+ private String displayName = null;
+
+ @SerializedName("distro")
+ private Distribution distro = null;
+
+ @SerializedName("distro_version")
+ private DistributionVersion distroVersion = null;
+
+ @SerializedName("downloads")
+ private java.math.BigInteger downloads = null;
+
+ @SerializedName("epoch")
+ private java.math.BigInteger epoch = null;
+
+ @SerializedName("extension")
+ private String extension = null;
+
+ @SerializedName("filename")
+ private String filename = null;
+
+ @SerializedName("files")
+ private List files = null;
+
+ @SerializedName("format")
+ private String format = null;
+
+ @SerializedName("format_url")
+ private String formatUrl = null;
+
+ @SerializedName("freeable_storage")
+ private java.math.BigInteger freeableStorage = null;
+
+ @SerializedName("fully_qualified_name")
+ private String fullyQualifiedName = null;
+
+ @SerializedName("identifier_perm")
+ private String identifierPerm = null;
+
+ @SerializedName("identifiers")
+ private Map identifiers = null;
+
+ @SerializedName("indexed")
+ private Boolean indexed = null;
+
+ @SerializedName("is_cancellable")
+ private Boolean isCancellable = null;
+
+ @SerializedName("is_copyable")
+ private Boolean isCopyable = null;
+
+ @SerializedName("is_deleteable")
+ private Boolean isDeleteable = null;
+
+ @SerializedName("is_downloadable")
+ private Boolean isDownloadable = null;
+
+ @SerializedName("is_hidden")
+ private Boolean isHidden = null;
+
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
+ @SerializedName("is_moveable")
+ private Boolean isMoveable = null;
+
+ @SerializedName("is_quarantinable")
+ private Boolean isQuarantinable = null;
+
+ @SerializedName("is_quarantined")
+ private Boolean isQuarantined = null;
+
+ @SerializedName("is_resyncable")
+ private Boolean isResyncable = null;
+
+ @SerializedName("is_security_scannable")
+ private Boolean isSecurityScannable = null;
+
+ @SerializedName("is_sync_awaiting")
+ private Boolean isSyncAwaiting = null;
+
+ @SerializedName("is_sync_completed")
+ private Boolean isSyncCompleted = null;
+
+ @SerializedName("is_sync_failed")
+ private Boolean isSyncFailed = null;
+
+ @SerializedName("is_sync_in_flight")
+ private Boolean isSyncInFlight = null;
+
+ @SerializedName("is_sync_in_progress")
+ private Boolean isSyncInProgress = null;
+
+ @SerializedName("license")
+ private String license = null;
+
+ @SerializedName("name")
+ private String name = null;
+
+ @SerializedName("namespace")
+ private String namespace = null;
+
+ @SerializedName("namespace_url")
+ private String namespaceUrl = null;
+
+ @SerializedName("num_files")
+ private java.math.BigInteger numFiles = null;
+
+ @SerializedName("origin_repository")
+ private String originRepository = null;
+
+ @SerializedName("origin_repository_url")
+ private String originRepositoryUrl = null;
+
+ @SerializedName("osi_approved")
+ private Boolean osiApproved = null;
+
+ @SerializedName("package_type")
+ private java.math.BigInteger packageType = null;
+
+ @SerializedName("policy_violated")
+ private Boolean policyViolated = null;
+
+ @SerializedName("raw_license")
+ private String rawLicense = null;
+
+ @SerializedName("release")
+ private String release = null;
+
+ @SerializedName("repository")
+ private String repository = null;
+
+ @SerializedName("repository_url")
+ private String repositoryUrl = null;
+
+ @SerializedName("security_scan_completed_at")
+ private OffsetDateTime securityScanCompletedAt = null;
+
+ @SerializedName("security_scan_started_at")
+ private OffsetDateTime securityScanStartedAt = null;
+
+ /**
+ * Gets or Sets securityScanStatus
+ */
+ @JsonAdapter(SecurityScanStatusEnum.Adapter.class)
+ public enum SecurityScanStatusEnum {
+ AWAITING_SECURITY_SCAN("Awaiting Security Scan"),
+
+ SECURITY_SCANNING_IN_PROGRESS("Security Scanning in Progress"),
+
+ SCAN_DETECTED_VULNERABILITIES("Scan Detected Vulnerabilities"),
+
+ SCAN_DETECTED_NO_VULNERABILITIES("Scan Detected No Vulnerabilities"),
+
+ SECURITY_SCANNING_DISABLED("Security Scanning Disabled"),
+
+ SECURITY_SCANNING_FAILED("Security Scanning Failed"),
+
+ SECURITY_SCANNING_SKIPPED("Security Scanning Skipped"),
+
+ SECURITY_SCANNING_NOT_SUPPORTED("Security Scanning Not Supported");
+
+ private String value;
+
+ SecurityScanStatusEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static SecurityScanStatusEnum fromValue(String text) {
+ for (SecurityScanStatusEnum b : SecurityScanStatusEnum.values()) {
+ if (String.valueOf(b.value).equals(text)) {
+ return b;
+ }
+ }
+ return null;
+ }
+
+ public static class Adapter extends TypeAdapter {
+ @Override
+ public void write(final JsonWriter jsonWriter, final SecurityScanStatusEnum enumeration) throws IOException {
+ jsonWriter.value(enumeration.getValue());
+ }
+
+ @Override
+ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOException {
+ String value = jsonReader.nextString();
+ return SecurityScanStatusEnum.fromValue(String.valueOf(value));
+ }
+ }
+ }
+
+ @SerializedName("security_scan_status")
+ private SecurityScanStatusEnum securityScanStatus = SecurityScanStatusEnum.AWAITING_SECURITY_SCAN;
+
+ @SerializedName("security_scan_status_updated_at")
+ private OffsetDateTime securityScanStatusUpdatedAt = null;
+
+ @SerializedName("self_html_url")
+ private String selfHtmlUrl = null;
+
+ @SerializedName("self_url")
+ private String selfUrl = null;
+
+ @SerializedName("self_webapp_url")
+ private String selfWebappUrl = null;
+
+ @SerializedName("signature_url")
+ private String signatureUrl = null;
+
+ @SerializedName("size")
+ private java.math.BigInteger size = null;
+
+ @SerializedName("slug")
+ private String slug = null;
+
+ @SerializedName("slug_perm")
+ private String slugPerm = null;
+
+ @SerializedName("spdx_license")
+ private String spdxLicense = null;
+
+ @SerializedName("stage")
+ private java.math.BigInteger stage = null;
+
+ @SerializedName("stage_str")
+ private String stageStr = null;
+
+ @SerializedName("stage_updated_at")
+ private OffsetDateTime stageUpdatedAt = null;
+
+ @SerializedName("status")
+ private java.math.BigInteger status = null;
+
+ @SerializedName("status_reason")
+ private String statusReason = null;
+
+ @SerializedName("status_str")
+ private String statusStr = null;
+
+ @SerializedName("status_updated_at")
+ private OffsetDateTime statusUpdatedAt = null;
+
+ @SerializedName("status_url")
+ private String statusUrl = null;
+
+ @SerializedName("store_path")
+ private String storePath = null;
+
+ @SerializedName("subtype")
+ private String subtype = null;
+
+ @SerializedName("summary")
+ private String summary = null;
+
+ @SerializedName("sync_finished_at")
+ private OffsetDateTime syncFinishedAt = null;
+
+ @SerializedName("sync_progress")
+ private java.math.BigInteger syncProgress = null;
+
+ @SerializedName("tags_automatic")
+ private Tags tagsAutomatic = null;
+
+ @SerializedName("tags_immutable")
+ private Tags tagsImmutable = null;
+
+ @SerializedName("tags_static")
+ private Map> tagsStatic = null;
+
+ @SerializedName("type_display")
+ private String typeDisplay = null;
+
+ @SerializedName("uploaded_at")
+ private OffsetDateTime uploadedAt = null;
+
+ @SerializedName("uploader")
+ private String uploader = null;
+
+ @SerializedName("uploader_url")
+ private String uploaderUrl = null;
+
+ @SerializedName("version")
+ private String version = null;
+
+ @SerializedName("version_orig")
+ private String versionOrig = null;
+
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ @SerializedName("vulnerability_scan_results_url")
+ private String vulnerabilityScanResultsUrl = null;
+
+ /**
+ * Get architectures
+ * @return architectures
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public List getArchitectures() {
+ return architectures;
+ }
+
+ /**
+ * Get cdnUrl
+ * @return cdnUrl
+ **/
+ @ApiModelProperty(value = "")
+ public String getCdnUrl() {
+ return cdnUrl;
+ }
+
+ /**
+ * Get checksumMd5
+ * @return checksumMd5
+ **/
+ @ApiModelProperty(value = "")
+ public String getChecksumMd5() {
+ return checksumMd5;
+ }
+
+ /**
+ * Get checksumSha1
+ * @return checksumSha1
+ **/
+ @ApiModelProperty(value = "")
+ public String getChecksumSha1() {
+ return checksumSha1;
+ }
+
+ /**
+ * Get checksumSha256
+ * @return checksumSha256
+ **/
+ @ApiModelProperty(value = "")
+ public String getChecksumSha256() {
+ return checksumSha256;
+ }
+
+ /**
+ * Get checksumSha512
+ * @return checksumSha512
+ **/
+ @ApiModelProperty(value = "")
+ public String getChecksumSha512() {
+ return checksumSha512;
+ }
+
+ /**
+ * A checksum of all of the package's dependencies.
+ * @return dependenciesChecksumMd5
+ **/
+ @ApiModelProperty(value = "A checksum of all of the package's dependencies.")
+ public String getDependenciesChecksumMd5() {
+ return dependenciesChecksumMd5;
+ }
+
+ /**
+ * Get dependenciesUrl
+ * @return dependenciesUrl
+ **/
+ @ApiModelProperty(value = "")
+ public String getDependenciesUrl() {
+ return dependenciesUrl;
+ }
+
+ /**
+ * A textual description of this package.
+ * @return description
+ **/
+ @ApiModelProperty(value = "A textual description of this package.")
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Get displayName
+ * @return displayName
+ **/
+ @ApiModelProperty(value = "")
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ public NixPackageUpload distro(Distribution distro) {
+ this.distro = distro;
+ return this;
+ }
+
+ /**
+ * Get distro
+ * @return distro
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public Distribution getDistro() {
+ return distro;
+ }
+
+ public void setDistro(Distribution distro) {
+ this.distro = distro;
+ }
+
+ public NixPackageUpload distroVersion(DistributionVersion distroVersion) {
+ this.distroVersion = distroVersion;
+ return this;
+ }
+
+ /**
+ * Get distroVersion
+ * @return distroVersion
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public DistributionVersion getDistroVersion() {
+ return distroVersion;
+ }
+
+ public void setDistroVersion(DistributionVersion distroVersion) {
+ this.distroVersion = distroVersion;
+ }
+
+ /**
+ * Get downloads
+ * @return downloads
+ **/
+ @ApiModelProperty(value = "")
+ public java.math.BigInteger getDownloads() {
+ return downloads;
+ }
+
+ /**
+ * The epoch of the package version (if any).
+ * @return epoch
+ **/
+ @ApiModelProperty(value = "The epoch of the package version (if any).")
+ public java.math.BigInteger getEpoch() {
+ return epoch;
+ }
+
+ /**
+ * Get extension
+ * @return extension
+ **/
+ @ApiModelProperty(value = "")
+ public String getExtension() {
+ return extension;
+ }
+
+ /**
+ * Get filename
+ * @return filename
+ **/
+ @Size(min=1) @ApiModelProperty(value = "")
+ public String getFilename() {
+ return filename;
+ }
+
+ /**
+ * Get files
+ * @return files
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public List getFiles() {
+ return files;
+ }
+
+ /**
+ * Get format
+ * @return format
+ **/
+ @Size(min=1) @ApiModelProperty(value = "")
+ public String getFormat() {
+ return format;
+ }
+
+ /**
+ * Get formatUrl
+ * @return formatUrl
+ **/
+ @ApiModelProperty(value = "")
+ public String getFormatUrl() {
+ return formatUrl;
+ }
+
+ /**
+ * Amount of storage that will be freed if this package is deleted
+ * @return freeableStorage
+ **/
+ @ApiModelProperty(value = "Amount of storage that will be freed if this package is deleted")
+ public java.math.BigInteger getFreeableStorage() {
+ return freeableStorage;
+ }
+
+ /**
+ * Get fullyQualifiedName
+ * @return fullyQualifiedName
+ **/
+ @Size(min=1) @ApiModelProperty(value = "")
+ public String getFullyQualifiedName() {
+ return fullyQualifiedName;
+ }
+
+ /**
+ * Unique and permanent identifier for the package.
+ * @return identifierPerm
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Unique and permanent identifier for the package.")
+ public String getIdentifierPerm() {
+ return identifierPerm;
+ }
+
+ /**
+ * Return a map of identifier field names and their values.
+ * @return identifiers
+ **/
+ @ApiModelProperty(value = "Return a map of identifier field names and their values.")
+ public Map getIdentifiers() {
+ return identifiers;
+ }
+
+ /**
+ * Get indexed
+ * @return indexed
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIndexed() {
+ return indexed;
+ }
+
+ /**
+ * Get isCancellable
+ * @return isCancellable
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsCancellable() {
+ return isCancellable;
+ }
+
+ /**
+ * Get isCopyable
+ * @return isCopyable
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsCopyable() {
+ return isCopyable;
+ }
+
+ /**
+ * Get isDeleteable
+ * @return isDeleteable
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsDeleteable() {
+ return isDeleteable;
+ }
+
+ /**
+ * Get isDownloadable
+ * @return isDownloadable
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsDownloadable() {
+ return isDownloadable;
+ }
+
+ /**
+ * Get isHidden
+ * @return isHidden
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsHidden() {
+ return isHidden;
+ }
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
+ /**
+ * Get isMoveable
+ * @return isMoveable
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsMoveable() {
+ return isMoveable;
+ }
+
+ /**
+ * Get isQuarantinable
+ * @return isQuarantinable
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsQuarantinable() {
+ return isQuarantinable;
+ }
+
+ /**
+ * Get isQuarantined
+ * @return isQuarantined
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsQuarantined() {
+ return isQuarantined;
+ }
+
+ /**
+ * Get isResyncable
+ * @return isResyncable
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsResyncable() {
+ return isResyncable;
+ }
+
+ /**
+ * Get isSecurityScannable
+ * @return isSecurityScannable
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsSecurityScannable() {
+ return isSecurityScannable;
+ }
+
+ /**
+ * Get isSyncAwaiting
+ * @return isSyncAwaiting
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsSyncAwaiting() {
+ return isSyncAwaiting;
+ }
+
+ /**
+ * Get isSyncCompleted
+ * @return isSyncCompleted
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsSyncCompleted() {
+ return isSyncCompleted;
+ }
+
+ /**
+ * Get isSyncFailed
+ * @return isSyncFailed
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsSyncFailed() {
+ return isSyncFailed;
+ }
+
+ /**
+ * Get isSyncInFlight
+ * @return isSyncInFlight
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsSyncInFlight() {
+ return isSyncInFlight;
+ }
+
+ /**
+ * Get isSyncInProgress
+ * @return isSyncInProgress
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isIsSyncInProgress() {
+ return isSyncInProgress;
+ }
+
+ /**
+ * The license of this package.
+ * @return license
+ **/
+ @ApiModelProperty(value = "The license of this package.")
+ public String getLicense() {
+ return license;
+ }
+
+ /**
+ * The name of this package.
+ * @return name
+ **/
+ @ApiModelProperty(value = "The name of this package.")
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Get namespace
+ * @return namespace
+ **/
+ @Size(min=1) @ApiModelProperty(value = "")
+ public String getNamespace() {
+ return namespace;
+ }
+
+ /**
+ * Get namespaceUrl
+ * @return namespaceUrl
+ **/
+ @ApiModelProperty(value = "")
+ public String getNamespaceUrl() {
+ return namespaceUrl;
+ }
+
+ /**
+ * Get numFiles
+ * @return numFiles
+ **/
+ @ApiModelProperty(value = "")
+ public java.math.BigInteger getNumFiles() {
+ return numFiles;
+ }
+
+ /**
+ * Get originRepository
+ * @return originRepository
+ **/
+ @Size(min=1) @ApiModelProperty(value = "")
+ public String getOriginRepository() {
+ return originRepository;
+ }
+
+ /**
+ * Get originRepositoryUrl
+ * @return originRepositoryUrl
+ **/
+ @ApiModelProperty(value = "")
+ public String getOriginRepositoryUrl() {
+ return originRepositoryUrl;
+ }
+
+ /**
+ * Whether the package's SPDX license is OSI-approved.
+ * @return osiApproved
+ **/
+ @ApiModelProperty(value = "Whether the package's SPDX license is OSI-approved.")
+ public Boolean isOsiApproved() {
+ return osiApproved;
+ }
+
+ /**
+ * The type of package contents.
+ * @return packageType
+ **/
+ @ApiModelProperty(value = "The type of package contents.")
+ public java.math.BigInteger getPackageType() {
+ return packageType;
+ }
+
+ /**
+ * Whether or not the package has violated any policy.
+ * @return policyViolated
+ **/
+ @ApiModelProperty(value = "Whether or not the package has violated any policy.")
+ public Boolean isPolicyViolated() {
+ return policyViolated;
+ }
+
+ /**
+ * The raw license string.
+ * @return rawLicense
+ **/
+ @Size(min=1) @ApiModelProperty(value = "The raw license string.")
+ public String getRawLicense() {
+ return rawLicense;
+ }
+
+ /**
+ * The release of the package version (if any).
+ * @return release
+ **/
+ @ApiModelProperty(value = "The release of the package version (if any).")
+ public String getRelease() {
+ return release;
+ }
+
+ /**
+ * Get repository
+ * @return repository
+ **/
+ @Size(min=1) @ApiModelProperty(value = "")
+ public String getRepository() {
+ return repository;
+ }
+
+ /**
+ * Get repositoryUrl
+ * @return repositoryUrl
+ **/
+ @ApiModelProperty(value = "")
+ public String getRepositoryUrl() {
+ return repositoryUrl;
+ }
+
+ /**
+ * The datetime the security scanning was completed.
+ * @return securityScanCompletedAt
+ **/
+ @Valid
+ @ApiModelProperty(value = "The datetime the security scanning was completed.")
+ public OffsetDateTime getSecurityScanCompletedAt() {
+ return securityScanCompletedAt;
+ }
+
+ /**
+ * The datetime the security scanning was started.
+ * @return securityScanStartedAt
+ **/
+ @Valid
+ @ApiModelProperty(value = "The datetime the security scanning was started.")
+ public OffsetDateTime getSecurityScanStartedAt() {
+ return securityScanStartedAt;
+ }
+
+ /**
+ * Get securityScanStatus
+ * @return securityScanStatus
+ **/
+ @ApiModelProperty(value = "")
+ public SecurityScanStatusEnum getSecurityScanStatus() {
+ return securityScanStatus;
+ }
+
+ /**
+ * The datetime the security scanning status was updated.
+ * @return securityScanStatusUpdatedAt
+ **/
+ @Valid
+ @ApiModelProperty(value = "The datetime the security scanning status was updated.")
+ public OffsetDateTime getSecurityScanStatusUpdatedAt() {
+ return securityScanStatusUpdatedAt;
+ }
+
+ /**
+ * Get selfHtmlUrl
+ * @return selfHtmlUrl
+ **/
+ @Size(min=1) @ApiModelProperty(value = "")
+ public String getSelfHtmlUrl() {
+ return selfHtmlUrl;
+ }
+
+ /**
+ * Get selfUrl
+ * @return selfUrl
+ **/
+ @ApiModelProperty(value = "")
+ public String getSelfUrl() {
+ return selfUrl;
+ }
+
+ /**
+ * Get selfWebappUrl
+ * @return selfWebappUrl
+ **/
+ @Size(min=1) @ApiModelProperty(value = "")
+ public String getSelfWebappUrl() {
+ return selfWebappUrl;
+ }
+
+ /**
+ * Get signatureUrl
+ * @return signatureUrl
+ **/
+ @ApiModelProperty(value = "")
+ public String getSignatureUrl() {
+ return signatureUrl;
+ }
+
+ /**
+ * The calculated size of the package.
+ * @return size
+ **/
+ @ApiModelProperty(value = "The calculated size of the package.")
+ public java.math.BigInteger getSize() {
+ return size;
+ }
+
+ /**
+ * The public unique identifier for the package.
+ * @return slug
+ **/
+ @Pattern(regexp="^[-a-zA-Z0-9_]+$") @Size(min=1) @ApiModelProperty(value = "The public unique identifier for the package.")
+ public String getSlug() {
+ return slug;
+ }
+
+ /**
+ * Get slugPerm
+ * @return slugPerm
+ **/
+ @Pattern(regexp="^[-a-zA-Z0-9_]+$") @Size(min=1) @ApiModelProperty(value = "")
+ public String getSlugPerm() {
+ return slugPerm;
+ }
+
+ /**
+ * The SPDX license identifier for this package.
+ * @return spdxLicense
+ **/
+ @Size(min=1) @ApiModelProperty(value = "The SPDX license identifier for this package.")
+ public String getSpdxLicense() {
+ return spdxLicense;
+ }
+
+ /**
+ * The synchronisation (in progress) stage of the package.
+ * @return stage
+ **/
+ @ApiModelProperty(value = "The synchronisation (in progress) stage of the package.")
+ public java.math.BigInteger getStage() {
+ return stage;
+ }
+
+ /**
+ * Get stageStr
+ * @return stageStr
+ **/
+ @ApiModelProperty(value = "")
+ public String getStageStr() {
+ return stageStr;
+ }
+
+ /**
+ * The datetime the package stage was updated at.
+ * @return stageUpdatedAt
+ **/
+ @Valid
+ @ApiModelProperty(value = "The datetime the package stage was updated at.")
+ public OffsetDateTime getStageUpdatedAt() {
+ return stageUpdatedAt;
+ }
+
+ /**
+ * The synchronisation status of the package.
+ * @return status
+ **/
+ @ApiModelProperty(value = "The synchronisation status of the package.")
+ public java.math.BigInteger getStatus() {
+ return status;
+ }
+
+ /**
+ * A textual description for the synchronous status reason (if any
+ * @return statusReason
+ **/
+ @ApiModelProperty(value = "A textual description for the synchronous status reason (if any")
+ public String getStatusReason() {
+ return statusReason;
+ }
+
+ /**
+ * Get statusStr
+ * @return statusStr
+ **/
+ @ApiModelProperty(value = "")
+ public String getStatusStr() {
+ return statusStr;
+ }
+
+ /**
+ * The datetime the package status was updated at.
+ * @return statusUpdatedAt
+ **/
+ @Valid
+ @ApiModelProperty(value = "The datetime the package status was updated at.")
+ public OffsetDateTime getStatusUpdatedAt() {
+ return statusUpdatedAt;
+ }
+
+ /**
+ * Get statusUrl
+ * @return statusUrl
+ **/
+ @ApiModelProperty(value = "")
+ public String getStatusUrl() {
+ return statusUrl;
+ }
+
+ /**
+ * Absolute store path for the package, including store hash and name.
+ * @return storePath
+ **/
+ @Size(min=1) @ApiModelProperty(value = "Absolute store path for the package, including store hash and name.")
+ public String getStorePath() {
+ return storePath;
+ }
+
+ /**
+ * Get subtype
+ * @return subtype
+ **/
+ @ApiModelProperty(value = "")
+ public String getSubtype() {
+ return subtype;
+ }
+
+ /**
+ * A one-liner synopsis of this package.
+ * @return summary
+ **/
+ @ApiModelProperty(value = "A one-liner synopsis of this package.")
+ public String getSummary() {
+ return summary;
+ }
+
+ /**
+ * The datetime the package sync was finished at.
+ * @return syncFinishedAt
+ **/
+ @Valid
+ @ApiModelProperty(value = "The datetime the package sync was finished at.")
+ public OffsetDateTime getSyncFinishedAt() {
+ return syncFinishedAt;
+ }
+
+ /**
+ * Synchronisation progress (from 0-100)
+ * @return syncProgress
+ **/
+ @ApiModelProperty(value = "Synchronisation progress (from 0-100)")
+ public java.math.BigInteger getSyncProgress() {
+ return syncProgress;
+ }
+
+ public NixPackageUpload tagsAutomatic(Tags tagsAutomatic) {
+ this.tagsAutomatic = tagsAutomatic;
+ return this;
+ }
+
+ /**
+ * Get tagsAutomatic
+ * @return tagsAutomatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public Tags getTagsAutomatic() {
+ return tagsAutomatic;
+ }
+
+ public void setTagsAutomatic(Tags tagsAutomatic) {
+ this.tagsAutomatic = tagsAutomatic;
+ }
+
+ public NixPackageUpload tagsImmutable(Tags tagsImmutable) {
+ this.tagsImmutable = tagsImmutable;
+ return this;
+ }
+
+ /**
+ * Get tagsImmutable
+ * @return tagsImmutable
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public Tags getTagsImmutable() {
+ return tagsImmutable;
+ }
+
+ public void setTagsImmutable(Tags tagsImmutable) {
+ this.tagsImmutable = tagsImmutable;
+ }
+
+ /**
+ * All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
+ * @return tagsStatic
+ **/
+ @Valid
+ @ApiModelProperty(value = "All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.")
+ public Map> getTagsStatic() {
+ return tagsStatic;
+ }
+
+ /**
+ * Get typeDisplay
+ * @return typeDisplay
+ **/
+ @ApiModelProperty(value = "")
+ public String getTypeDisplay() {
+ return typeDisplay;
+ }
+
+ /**
+ * The date this package was uploaded.
+ * @return uploadedAt
+ **/
+ @Valid
+ @ApiModelProperty(value = "The date this package was uploaded.")
+ public OffsetDateTime getUploadedAt() {
+ return uploadedAt;
+ }
+
+ /**
+ * Get uploader
+ * @return uploader
+ **/
+ @Size(min=1) @ApiModelProperty(value = "")
+ public String getUploader() {
+ return uploader;
+ }
+
+ /**
+ * Get uploaderUrl
+ * @return uploaderUrl
+ **/
+ @ApiModelProperty(value = "")
+ public String getUploaderUrl() {
+ return uploaderUrl;
+ }
+
+ public NixPackageUpload version(String version) {
+ this.version = version;
+ return this;
+ }
+
+ /**
+ * The raw version for this package.
+ * @return version
+ **/
+ @Size(max=255) @ApiModelProperty(value = "The raw version for this package.")
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ /**
+ * Get versionOrig
+ * @return versionOrig
+ **/
+ @ApiModelProperty(value = "")
+ public String getVersionOrig() {
+ return versionOrig;
+ }
+
+ public NixPackageUpload vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
+ /**
+ * Get vulnerabilityScanResultsUrl
+ * @return vulnerabilityScanResultsUrl
+ **/
+ @ApiModelProperty(value = "")
+ public String getVulnerabilityScanResultsUrl() {
+ return vulnerabilityScanResultsUrl;
+ }
+
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ NixPackageUpload nixPackageUpload = (NixPackageUpload) o;
+ return Objects.equals(this.architectures, nixPackageUpload.architectures) &&
+ Objects.equals(this.cdnUrl, nixPackageUpload.cdnUrl) &&
+ Objects.equals(this.checksumMd5, nixPackageUpload.checksumMd5) &&
+ Objects.equals(this.checksumSha1, nixPackageUpload.checksumSha1) &&
+ Objects.equals(this.checksumSha256, nixPackageUpload.checksumSha256) &&
+ Objects.equals(this.checksumSha512, nixPackageUpload.checksumSha512) &&
+ Objects.equals(this.dependenciesChecksumMd5, nixPackageUpload.dependenciesChecksumMd5) &&
+ Objects.equals(this.dependenciesUrl, nixPackageUpload.dependenciesUrl) &&
+ Objects.equals(this.description, nixPackageUpload.description) &&
+ Objects.equals(this.displayName, nixPackageUpload.displayName) &&
+ Objects.equals(this.distro, nixPackageUpload.distro) &&
+ Objects.equals(this.distroVersion, nixPackageUpload.distroVersion) &&
+ Objects.equals(this.downloads, nixPackageUpload.downloads) &&
+ Objects.equals(this.epoch, nixPackageUpload.epoch) &&
+ Objects.equals(this.extension, nixPackageUpload.extension) &&
+ Objects.equals(this.filename, nixPackageUpload.filename) &&
+ Objects.equals(this.files, nixPackageUpload.files) &&
+ Objects.equals(this.format, nixPackageUpload.format) &&
+ Objects.equals(this.formatUrl, nixPackageUpload.formatUrl) &&
+ Objects.equals(this.freeableStorage, nixPackageUpload.freeableStorage) &&
+ Objects.equals(this.fullyQualifiedName, nixPackageUpload.fullyQualifiedName) &&
+ Objects.equals(this.identifierPerm, nixPackageUpload.identifierPerm) &&
+ Objects.equals(this.identifiers, nixPackageUpload.identifiers) &&
+ Objects.equals(this.indexed, nixPackageUpload.indexed) &&
+ Objects.equals(this.isCancellable, nixPackageUpload.isCancellable) &&
+ Objects.equals(this.isCopyable, nixPackageUpload.isCopyable) &&
+ Objects.equals(this.isDeleteable, nixPackageUpload.isDeleteable) &&
+ Objects.equals(this.isDownloadable, nixPackageUpload.isDownloadable) &&
+ Objects.equals(this.isHidden, nixPackageUpload.isHidden) &&
+ Objects.equals(this.isMalwareDetected, nixPackageUpload.isMalwareDetected) &&
+ Objects.equals(this.isMoveable, nixPackageUpload.isMoveable) &&
+ Objects.equals(this.isQuarantinable, nixPackageUpload.isQuarantinable) &&
+ Objects.equals(this.isQuarantined, nixPackageUpload.isQuarantined) &&
+ Objects.equals(this.isResyncable, nixPackageUpload.isResyncable) &&
+ Objects.equals(this.isSecurityScannable, nixPackageUpload.isSecurityScannable) &&
+ Objects.equals(this.isSyncAwaiting, nixPackageUpload.isSyncAwaiting) &&
+ Objects.equals(this.isSyncCompleted, nixPackageUpload.isSyncCompleted) &&
+ Objects.equals(this.isSyncFailed, nixPackageUpload.isSyncFailed) &&
+ Objects.equals(this.isSyncInFlight, nixPackageUpload.isSyncInFlight) &&
+ Objects.equals(this.isSyncInProgress, nixPackageUpload.isSyncInProgress) &&
+ Objects.equals(this.license, nixPackageUpload.license) &&
+ Objects.equals(this.name, nixPackageUpload.name) &&
+ Objects.equals(this.namespace, nixPackageUpload.namespace) &&
+ Objects.equals(this.namespaceUrl, nixPackageUpload.namespaceUrl) &&
+ Objects.equals(this.numFiles, nixPackageUpload.numFiles) &&
+ Objects.equals(this.originRepository, nixPackageUpload.originRepository) &&
+ Objects.equals(this.originRepositoryUrl, nixPackageUpload.originRepositoryUrl) &&
+ Objects.equals(this.osiApproved, nixPackageUpload.osiApproved) &&
+ Objects.equals(this.packageType, nixPackageUpload.packageType) &&
+ Objects.equals(this.policyViolated, nixPackageUpload.policyViolated) &&
+ Objects.equals(this.rawLicense, nixPackageUpload.rawLicense) &&
+ Objects.equals(this.release, nixPackageUpload.release) &&
+ Objects.equals(this.repository, nixPackageUpload.repository) &&
+ Objects.equals(this.repositoryUrl, nixPackageUpload.repositoryUrl) &&
+ Objects.equals(this.securityScanCompletedAt, nixPackageUpload.securityScanCompletedAt) &&
+ Objects.equals(this.securityScanStartedAt, nixPackageUpload.securityScanStartedAt) &&
+ Objects.equals(this.securityScanStatus, nixPackageUpload.securityScanStatus) &&
+ Objects.equals(this.securityScanStatusUpdatedAt, nixPackageUpload.securityScanStatusUpdatedAt) &&
+ Objects.equals(this.selfHtmlUrl, nixPackageUpload.selfHtmlUrl) &&
+ Objects.equals(this.selfUrl, nixPackageUpload.selfUrl) &&
+ Objects.equals(this.selfWebappUrl, nixPackageUpload.selfWebappUrl) &&
+ Objects.equals(this.signatureUrl, nixPackageUpload.signatureUrl) &&
+ Objects.equals(this.size, nixPackageUpload.size) &&
+ Objects.equals(this.slug, nixPackageUpload.slug) &&
+ Objects.equals(this.slugPerm, nixPackageUpload.slugPerm) &&
+ Objects.equals(this.spdxLicense, nixPackageUpload.spdxLicense) &&
+ Objects.equals(this.stage, nixPackageUpload.stage) &&
+ Objects.equals(this.stageStr, nixPackageUpload.stageStr) &&
+ Objects.equals(this.stageUpdatedAt, nixPackageUpload.stageUpdatedAt) &&
+ Objects.equals(this.status, nixPackageUpload.status) &&
+ Objects.equals(this.statusReason, nixPackageUpload.statusReason) &&
+ Objects.equals(this.statusStr, nixPackageUpload.statusStr) &&
+ Objects.equals(this.statusUpdatedAt, nixPackageUpload.statusUpdatedAt) &&
+ Objects.equals(this.statusUrl, nixPackageUpload.statusUrl) &&
+ Objects.equals(this.storePath, nixPackageUpload.storePath) &&
+ Objects.equals(this.subtype, nixPackageUpload.subtype) &&
+ Objects.equals(this.summary, nixPackageUpload.summary) &&
+ Objects.equals(this.syncFinishedAt, nixPackageUpload.syncFinishedAt) &&
+ Objects.equals(this.syncProgress, nixPackageUpload.syncProgress) &&
+ Objects.equals(this.tagsAutomatic, nixPackageUpload.tagsAutomatic) &&
+ Objects.equals(this.tagsImmutable, nixPackageUpload.tagsImmutable) &&
+ Objects.equals(this.tagsStatic, nixPackageUpload.tagsStatic) &&
+ Objects.equals(this.typeDisplay, nixPackageUpload.typeDisplay) &&
+ Objects.equals(this.uploadedAt, nixPackageUpload.uploadedAt) &&
+ Objects.equals(this.uploader, nixPackageUpload.uploader) &&
+ Objects.equals(this.uploaderUrl, nixPackageUpload.uploaderUrl) &&
+ Objects.equals(this.version, nixPackageUpload.version) &&
+ Objects.equals(this.versionOrig, nixPackageUpload.versionOrig) &&
+ Objects.equals(this.vulnerabilityCounts, nixPackageUpload.vulnerabilityCounts) &&
+ Objects.equals(this.vulnerabilityScanResultsUrl, nixPackageUpload.vulnerabilityScanResultsUrl);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, displayName, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isHidden, isMalwareDetected, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, osiApproved, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, selfWebappUrl, signatureUrl, size, slug, slugPerm, spdxLicense, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, storePath, subtype, summary, syncFinishedAt, syncProgress, tagsAutomatic, tagsImmutable, tagsStatic, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityCounts, vulnerabilityScanResultsUrl);
+ }
+
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class NixPackageUpload {\n");
+
+ sb.append(" architectures: ").append(toIndentedString(architectures)).append("\n");
+ sb.append(" cdnUrl: ").append(toIndentedString(cdnUrl)).append("\n");
+ sb.append(" checksumMd5: ").append(toIndentedString(checksumMd5)).append("\n");
+ sb.append(" checksumSha1: ").append(toIndentedString(checksumSha1)).append("\n");
+ sb.append(" checksumSha256: ").append(toIndentedString(checksumSha256)).append("\n");
+ sb.append(" checksumSha512: ").append(toIndentedString(checksumSha512)).append("\n");
+ sb.append(" dependenciesChecksumMd5: ").append(toIndentedString(dependenciesChecksumMd5)).append("\n");
+ sb.append(" dependenciesUrl: ").append(toIndentedString(dependenciesUrl)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
+ sb.append(" distro: ").append(toIndentedString(distro)).append("\n");
+ sb.append(" distroVersion: ").append(toIndentedString(distroVersion)).append("\n");
+ sb.append(" downloads: ").append(toIndentedString(downloads)).append("\n");
+ sb.append(" epoch: ").append(toIndentedString(epoch)).append("\n");
+ sb.append(" extension: ").append(toIndentedString(extension)).append("\n");
+ sb.append(" filename: ").append(toIndentedString(filename)).append("\n");
+ sb.append(" files: ").append(toIndentedString(files)).append("\n");
+ sb.append(" format: ").append(toIndentedString(format)).append("\n");
+ sb.append(" formatUrl: ").append(toIndentedString(formatUrl)).append("\n");
+ sb.append(" freeableStorage: ").append(toIndentedString(freeableStorage)).append("\n");
+ sb.append(" fullyQualifiedName: ").append(toIndentedString(fullyQualifiedName)).append("\n");
+ sb.append(" identifierPerm: ").append(toIndentedString(identifierPerm)).append("\n");
+ sb.append(" identifiers: ").append(toIndentedString(identifiers)).append("\n");
+ sb.append(" indexed: ").append(toIndentedString(indexed)).append("\n");
+ sb.append(" isCancellable: ").append(toIndentedString(isCancellable)).append("\n");
+ sb.append(" isCopyable: ").append(toIndentedString(isCopyable)).append("\n");
+ sb.append(" isDeleteable: ").append(toIndentedString(isDeleteable)).append("\n");
+ sb.append(" isDownloadable: ").append(toIndentedString(isDownloadable)).append("\n");
+ sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n");
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
+ sb.append(" isMoveable: ").append(toIndentedString(isMoveable)).append("\n");
+ sb.append(" isQuarantinable: ").append(toIndentedString(isQuarantinable)).append("\n");
+ sb.append(" isQuarantined: ").append(toIndentedString(isQuarantined)).append("\n");
+ sb.append(" isResyncable: ").append(toIndentedString(isResyncable)).append("\n");
+ sb.append(" isSecurityScannable: ").append(toIndentedString(isSecurityScannable)).append("\n");
+ sb.append(" isSyncAwaiting: ").append(toIndentedString(isSyncAwaiting)).append("\n");
+ sb.append(" isSyncCompleted: ").append(toIndentedString(isSyncCompleted)).append("\n");
+ sb.append(" isSyncFailed: ").append(toIndentedString(isSyncFailed)).append("\n");
+ sb.append(" isSyncInFlight: ").append(toIndentedString(isSyncInFlight)).append("\n");
+ sb.append(" isSyncInProgress: ").append(toIndentedString(isSyncInProgress)).append("\n");
+ sb.append(" license: ").append(toIndentedString(license)).append("\n");
+ sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n");
+ sb.append(" namespaceUrl: ").append(toIndentedString(namespaceUrl)).append("\n");
+ sb.append(" numFiles: ").append(toIndentedString(numFiles)).append("\n");
+ sb.append(" originRepository: ").append(toIndentedString(originRepository)).append("\n");
+ sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).append("\n");
+ sb.append(" osiApproved: ").append(toIndentedString(osiApproved)).append("\n");
+ sb.append(" packageType: ").append(toIndentedString(packageType)).append("\n");
+ sb.append(" policyViolated: ").append(toIndentedString(policyViolated)).append("\n");
+ sb.append(" rawLicense: ").append(toIndentedString(rawLicense)).append("\n");
+ sb.append(" release: ").append(toIndentedString(release)).append("\n");
+ sb.append(" repository: ").append(toIndentedString(repository)).append("\n");
+ sb.append(" repositoryUrl: ").append(toIndentedString(repositoryUrl)).append("\n");
+ sb.append(" securityScanCompletedAt: ").append(toIndentedString(securityScanCompletedAt)).append("\n");
+ sb.append(" securityScanStartedAt: ").append(toIndentedString(securityScanStartedAt)).append("\n");
+ sb.append(" securityScanStatus: ").append(toIndentedString(securityScanStatus)).append("\n");
+ sb.append(" securityScanStatusUpdatedAt: ").append(toIndentedString(securityScanStatusUpdatedAt)).append("\n");
+ sb.append(" selfHtmlUrl: ").append(toIndentedString(selfHtmlUrl)).append("\n");
+ sb.append(" selfUrl: ").append(toIndentedString(selfUrl)).append("\n");
+ sb.append(" selfWebappUrl: ").append(toIndentedString(selfWebappUrl)).append("\n");
+ sb.append(" signatureUrl: ").append(toIndentedString(signatureUrl)).append("\n");
+ sb.append(" size: ").append(toIndentedString(size)).append("\n");
+ sb.append(" slug: ").append(toIndentedString(slug)).append("\n");
+ sb.append(" slugPerm: ").append(toIndentedString(slugPerm)).append("\n");
+ sb.append(" spdxLicense: ").append(toIndentedString(spdxLicense)).append("\n");
+ sb.append(" stage: ").append(toIndentedString(stage)).append("\n");
+ sb.append(" stageStr: ").append(toIndentedString(stageStr)).append("\n");
+ sb.append(" stageUpdatedAt: ").append(toIndentedString(stageUpdatedAt)).append("\n");
+ sb.append(" status: ").append(toIndentedString(status)).append("\n");
+ sb.append(" statusReason: ").append(toIndentedString(statusReason)).append("\n");
+ sb.append(" statusStr: ").append(toIndentedString(statusStr)).append("\n");
+ sb.append(" statusUpdatedAt: ").append(toIndentedString(statusUpdatedAt)).append("\n");
+ sb.append(" statusUrl: ").append(toIndentedString(statusUrl)).append("\n");
+ sb.append(" storePath: ").append(toIndentedString(storePath)).append("\n");
+ sb.append(" subtype: ").append(toIndentedString(subtype)).append("\n");
+ sb.append(" summary: ").append(toIndentedString(summary)).append("\n");
+ sb.append(" syncFinishedAt: ").append(toIndentedString(syncFinishedAt)).append("\n");
+ sb.append(" syncProgress: ").append(toIndentedString(syncProgress)).append("\n");
+ sb.append(" tagsAutomatic: ").append(toIndentedString(tagsAutomatic)).append("\n");
+ sb.append(" tagsImmutable: ").append(toIndentedString(tagsImmutable)).append("\n");
+ sb.append(" tagsStatic: ").append(toIndentedString(tagsStatic)).append("\n");
+ sb.append(" typeDisplay: ").append(toIndentedString(typeDisplay)).append("\n");
+ sb.append(" uploadedAt: ").append(toIndentedString(uploadedAt)).append("\n");
+ sb.append(" uploader: ").append(toIndentedString(uploader)).append("\n");
+ sb.append(" uploaderUrl: ").append(toIndentedString(uploaderUrl)).append("\n");
+ sb.append(" version: ").append(toIndentedString(version)).append("\n");
+ sb.append(" versionOrig: ").append(toIndentedString(versionOrig)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
+ sb.append(" vulnerabilityScanResultsUrl: ").append(toIndentedString(vulnerabilityScanResultsUrl)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(java.lang.Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/NixPackageUploadRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NixPackageUploadRequest.java
new file mode 100644
index 00000000..9d5aa113
--- /dev/null
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NixPackageUploadRequest.java
@@ -0,0 +1,231 @@
+/*
+ * Cloudsmith API (v1)
+ * The API to the Cloudsmith Service
+ *
+ * OpenAPI spec version: v1
+ * Contact: support@cloudsmith.io
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+
+package io.cloudsmith.api.models;
+
+import java.util.Objects;
+import java.util.Arrays;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.cloudsmith.api.models.WebOSVSeverityCounts;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.io.Serializable;
+import javax.validation.constraints.*;
+import javax.validation.Valid;
+
+/**
+ * NixPackageUploadRequest
+ */
+
+public class NixPackageUploadRequest implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ @SerializedName("is_malware_detected")
+ private Boolean isMalwareDetected = null;
+
+ @SerializedName("narinfo")
+ private String narinfo = null;
+
+ @SerializedName("package_file")
+ private String packageFile = null;
+
+ @SerializedName("republish")
+ private Boolean republish = null;
+
+ @SerializedName("tags")
+ private String tags = null;
+
+ @SerializedName("version")
+ private String version = null;
+
+ @SerializedName("vulnerability_counts")
+ private WebOSVSeverityCounts vulnerabilityCounts = null;
+
+ /**
+ * Whether the package has been detected as containing malware. Requires Ultra plan.
+ * @return isMalwareDetected
+ **/
+ @ApiModelProperty(value = "Whether the package has been detected as containing malware. Requires Ultra plan.")
+ public Boolean isIsMalwareDetected() {
+ return isMalwareDetected;
+ }
+
+ public NixPackageUploadRequest narinfo(String narinfo) {
+ this.narinfo = narinfo;
+ return this;
+ }
+
+ /**
+ * The narinfo sidecar metadata file (<storeHash>.narinfo). Optional — the package can be completed later by publishing the matching narinfo via the native HTTP PUT path.
+ * @return narinfo
+ **/
+ @Size(min=1) @ApiModelProperty(value = "The narinfo sidecar metadata file (.narinfo). Optional — the package can be completed later by publishing the matching narinfo via the native HTTP PUT path.")
+ public String getNarinfo() {
+ return narinfo;
+ }
+
+ public void setNarinfo(String narinfo) {
+ this.narinfo = narinfo;
+ }
+
+ public NixPackageUploadRequest packageFile(String packageFile) {
+ this.packageFile = packageFile;
+ return this;
+ }
+
+ /**
+ * The primary file for the package.
+ * @return packageFile
+ **/
+ @NotNull
+ @Size(min=1) @ApiModelProperty(required = true, value = "The primary file for the package.")
+ public String getPackageFile() {
+ return packageFile;
+ }
+
+ public void setPackageFile(String packageFile) {
+ this.packageFile = packageFile;
+ }
+
+ public NixPackageUploadRequest republish(Boolean republish) {
+ this.republish = republish;
+ return this;
+ }
+
+ /**
+ * If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.
+ * @return republish
+ **/
+ @ApiModelProperty(value = "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.")
+ public Boolean isRepublish() {
+ return republish;
+ }
+
+ public void setRepublish(Boolean republish) {
+ this.republish = republish;
+ }
+
+ public NixPackageUploadRequest tags(String tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * A comma-separated values list of tags to add to the package.
+ * @return tags
+ **/
+ @Size(min=1,max=1024) @ApiModelProperty(value = "A comma-separated values list of tags to add to the package.")
+ public String getTags() {
+ return tags;
+ }
+
+ public void setTags(String tags) {
+ this.tags = tags;
+ }
+
+ public NixPackageUploadRequest version(String version) {
+ this.version = version;
+ return this;
+ }
+
+ /**
+ * The raw version for this package.
+ * @return version
+ **/
+ @Size(max=255) @ApiModelProperty(value = "The raw version for this package.")
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public NixPackageUploadRequest vulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ return this;
+ }
+
+ /**
+ * Get vulnerabilityCounts
+ * @return vulnerabilityCounts
+ **/
+ @Valid
+ @ApiModelProperty(value = "")
+ public WebOSVSeverityCounts getVulnerabilityCounts() {
+ return vulnerabilityCounts;
+ }
+
+ public void setVulnerabilityCounts(WebOSVSeverityCounts vulnerabilityCounts) {
+ this.vulnerabilityCounts = vulnerabilityCounts;
+ }
+
+
+ @Override
+ public boolean equals(java.lang.Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ NixPackageUploadRequest nixPackageUploadRequest = (NixPackageUploadRequest) o;
+ return Objects.equals(this.isMalwareDetected, nixPackageUploadRequest.isMalwareDetected) &&
+ Objects.equals(this.narinfo, nixPackageUploadRequest.narinfo) &&
+ Objects.equals(this.packageFile, nixPackageUploadRequest.packageFile) &&
+ Objects.equals(this.republish, nixPackageUploadRequest.republish) &&
+ Objects.equals(this.tags, nixPackageUploadRequest.tags) &&
+ Objects.equals(this.version, nixPackageUploadRequest.version) &&
+ Objects.equals(this.vulnerabilityCounts, nixPackageUploadRequest.vulnerabilityCounts);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(isMalwareDetected, narinfo, packageFile, republish, tags, version, vulnerabilityCounts);
+ }
+
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class NixPackageUploadRequest {\n");
+
+ sb.append(" isMalwareDetected: ").append(toIndentedString(isMalwareDetected)).append("\n");
+ sb.append(" narinfo: ").append(toIndentedString(narinfo)).append("\n");
+ sb.append(" packageFile: ").append(toIndentedString(packageFile)).append("\n");
+ sb.append(" republish: ").append(toIndentedString(republish)).append("\n");
+ sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" version: ").append(toIndentedString(version)).append("\n");
+ sb.append(" vulnerabilityCounts: ").append(toIndentedString(vulnerabilityCounts)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(java.lang.Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/NixUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NixUpstream.java
new file mode 100644
index 00000000..d62148c7
--- /dev/null
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NixUpstream.java
@@ -0,0 +1,697 @@
+/*
+ * Cloudsmith API (v1)
+ * The API to the Cloudsmith Service
+ *
+ * OpenAPI spec version: v1
+ * Contact: support@cloudsmith.io
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+
+package io.cloudsmith.api.models;
+
+import java.util.Objects;
+import java.util.Arrays;
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.io.Serializable;
+import javax.validation.constraints.*;
+import javax.validation.Valid;
+
+/**
+ * NixUpstream
+ */
+
+public class NixUpstream implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The authentication mode to use when accessing this upstream.
+ */
+ @JsonAdapter(AuthModeEnum.Adapter.class)
+ public enum AuthModeEnum {
+ NONE("None"),
+
+ USERNAME_AND_PASSWORD("Username and Password");
+
+ private String value;
+
+ AuthModeEnum(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ public static AuthModeEnum fromValue(String text) {
+ for (AuthModeEnum b : AuthModeEnum.values()) {
+ if (String.valueOf(b.value).equals(text)) {
+ return b;
+ }
+ }
+ return null;
+ }
+
+ public static class Adapter extends TypeAdapter