From 71f72503b4fcd7c6edb6ee6ffc0a9e906dc7d780 Mon Sep 17 00:00:00 2001 From: Nick Brown Date: Mon, 5 Jan 2026 15:54:05 +0000 Subject: [PATCH 1/5] feat: update to use swagger-codegen-cli v2.4.50 This mainly to pick up the fixes for generated python bindings logging, which wasn't following python best practice for stream handling. The complete changelog for swagger-codegen can be found at: https://github.com/swagger-api/swagger-codegen/releases (cherry picked from commit 6afcd9d15fff2529467d4fb436345aec1d619e80) --- scripts/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/common.sh b/scripts/common.sh index 47ab88a8..74c392eb 100644 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -4,7 +4,7 @@ api_url=${2:-${api_url:-"https://api.cloudsmith.io/"}} api_version=$(curl -s "${api_url}status/check/basic/" | jq -r '.version') openapi_url="${api_url}?format=openapi" package_version="2.0.22" -swagger_codegen_cli_image="swaggerapi/swagger-codegen-cli:2.4.43" +swagger_codegen_cli_image="swaggerapi/swagger-codegen-cli:v2.4.50" location=$(curl -s $openapi_url | grep Location | cut -d' ' -f2) [[ "$location" != "" ]] && { From 1d11cc7cbaa91524316749aced05bf1cf266307a Mon Sep 17 00:00:00 2001 From: Nick Brown Date: Mon, 5 Jan 2026 15:57:07 +0000 Subject: [PATCH 2/5] feat: update bindings to v2.0.23 (cherry picked from commit ccf7f362b14cbbd97ea43762d9a7486e490157af) --- scripts/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/common.sh b/scripts/common.sh index 74c392eb..c8a5c9c6 100644 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -3,7 +3,7 @@ language=${1:-""} api_url=${2:-${api_url:-"https://api.cloudsmith.io/"}} api_version=$(curl -s "${api_url}status/check/basic/" | jq -r '.version') openapi_url="${api_url}?format=openapi" -package_version="2.0.22" +package_version="2.0.23" swagger_codegen_cli_image="swaggerapi/swagger-codegen-cli:v2.4.50" location=$(curl -s $openapi_url | grep Location | cut -d' ' -f2) From 8dcf30743d02f375d9ad3f0fdbf652cf1c232693 Mon Sep 17 00:00:00 2001 From: Nick Brown Date: Mon, 5 Jan 2026 16:06:28 +0000 Subject: [PATCH 3/5] Update API bindings to version 2.0.23 - Regenerated bindings for Python, Ruby, and Java (cherry picked from commit 008cbd4250b2c28daf7b29a2b2f93727558d6b32) --- bindings/java/src/.swagger-codegen/VERSION | 2 +- bindings/java/src/README.md | 9 +- bindings/java/src/build.gradle | 2 +- bindings/java/src/build.json | 2 +- bindings/java/src/build.sbt | 2 +- bindings/java/src/docs/AlpinePackageUpload.md | 2 + bindings/java/src/docs/BroadcastToken.md | 11 + bindings/java/src/docs/BroadcastTokenInput.md | 11 + bindings/java/src/docs/BroadcastsApi.md | 71 ++++++ bindings/java/src/docs/CargoPackageUpload.md | 2 + bindings/java/src/docs/CargoUpstream.md | 7 + .../java/src/docs/CocoapodsPackageUpload.md | 2 + .../java/src/docs/ComposerPackageUpload.md | 2 + bindings/java/src/docs/ComposerUpstream.md | 7 + bindings/java/src/docs/ConanPackageUpload.md | 2 + bindings/java/src/docs/CondaPackageUpload.md | 2 + bindings/java/src/docs/CondaUpstream.md | 7 + bindings/java/src/docs/CranPackageUpload.md | 2 + bindings/java/src/docs/CranUpstream.md | 7 + bindings/java/src/docs/DartPackageUpload.md | 2 + bindings/java/src/docs/DartUpstream.md | 7 + bindings/java/src/docs/DebPackageUpload.md | 2 + bindings/java/src/docs/DebUpstream.md | 8 + bindings/java/src/docs/DockerPackageUpload.md | 2 + bindings/java/src/docs/DockerUpstream.md | 3 + bindings/java/src/docs/GoPackageUpload.md | 2 + bindings/java/src/docs/GoUpstream.md | 7 + bindings/java/src/docs/HelmPackageUpload.md | 2 + bindings/java/src/docs/HelmUpstream.md | 7 + bindings/java/src/docs/HexPackageUpload.md | 2 + bindings/java/src/docs/HexUpstream.md | 7 + .../java/src/docs/HuggingfacePackageUpload.md | 2 + bindings/java/src/docs/HuggingfaceUpstream.md | 7 + .../java/src/docs/LuarocksPackageUpload.md | 2 + bindings/java/src/docs/MavenPackageUpload.md | 2 + bindings/java/src/docs/MavenUpstream.md | 8 + bindings/java/src/docs/ModelPackage.md | 2 + bindings/java/src/docs/NpmPackageUpload.md | 2 + bindings/java/src/docs/NpmUpstream.md | 7 + bindings/java/src/docs/NugetPackageUpload.md | 2 + bindings/java/src/docs/NugetUpstream.md | 7 + bindings/java/src/docs/OrganizationTeam.md | 2 +- .../java/src/docs/OrganizationTeamRequest.md | 2 +- .../src/docs/OrganizationTeamRequestPatch.md | 2 +- bindings/java/src/docs/P2PackageUpload.md | 2 + bindings/java/src/docs/PackageCopy.md | 2 + bindings/java/src/docs/PackageMove.md | 2 + bindings/java/src/docs/PackageQuarantine.md | 2 + bindings/java/src/docs/PackageResync.md | 2 + bindings/java/src/docs/PackageTag.md | 2 + bindings/java/src/docs/PythonPackageUpload.md | 2 + bindings/java/src/docs/PythonUpstream.md | 16 ++ .../java/src/docs/PythonUpstreamRequest.md | 9 + .../src/docs/PythonUpstreamRequestPatch.md | 9 + bindings/java/src/docs/RawPackageUpload.md | 2 + bindings/java/src/docs/Repository.md | 14 ++ bindings/java/src/docs/RepositoryCreate.md | 14 ++ .../java/src/docs/RepositoryCreateRequest.md | 13 + .../java/src/docs/RepositoryRequestPatch.md | 13 + bindings/java/src/docs/RepositoryToken.md | 1 + .../java/src/docs/RepositoryTokenRefresh.md | 1 + .../src/docs/RepositoryTokenRefreshRequest.md | 1 + .../java/src/docs/RepositoryTokenRequest.md | 1 + .../src/docs/RepositoryTokenRequestPatch.md | 1 + bindings/java/src/docs/RpmPackageUpload.md | 2 + bindings/java/src/docs/RpmUpstream.md | 8 + bindings/java/src/docs/RubyPackageUpload.md | 2 + bindings/java/src/docs/RubyUpstream.md | 7 + bindings/java/src/docs/SwiftPackageUpload.md | 2 + bindings/java/src/docs/SwiftUpstream.md | 7 + .../java/src/docs/TerraformPackageUpload.md | 2 + .../java/src/docs/VagrantPackageUpload.md | 2 + bindings/java/src/pom.xml | 2 +- .../java/io/cloudsmith/api/ApiClient.java | 2 +- .../src/main/java/io/cloudsmith/api/JSON.java | 2 + .../io/cloudsmith/api/apis/BroadcastsApi.java | 217 +++++++++++++++++ .../api/models/AlpinePackageUpload.java | 30 ++- .../cloudsmith/api/models/Architecture.java | 2 +- .../cloudsmith/api/models/BroadcastToken.java | 106 ++++++++ .../api/models/BroadcastTokenInput.java | 124 ++++++++++ .../api/models/CargoPackageUpload.java | 30 ++- .../cloudsmith/api/models/CargoUpstream.java | 100 +++++++- .../api/models/CocoapodsPackageUpload.java | 30 ++- .../api/models/ComposerPackageUpload.java | 30 ++- .../api/models/ComposerUpstream.java | 100 +++++++- .../api/models/ConanPackageUpload.java | 30 ++- .../api/models/CondaPackageUpload.java | 30 ++- .../cloudsmith/api/models/CondaUpstream.java | 100 +++++++- .../api/models/CranPackageUpload.java | 30 ++- .../cloudsmith/api/models/CranUpstream.java | 100 +++++++- .../api/models/DartPackageUpload.java | 30 ++- .../cloudsmith/api/models/DartUpstream.java | 100 +++++++- .../api/models/DebPackageUpload.java | 30 ++- .../io/cloudsmith/api/models/DebUpstream.java | 114 ++++++++- .../api/models/DockerPackageUpload.java | 30 ++- .../cloudsmith/api/models/DockerUpstream.java | 44 +++- .../api/models/GoPackageUpload.java | 30 ++- .../io/cloudsmith/api/models/GoUpstream.java | 100 +++++++- .../api/models/HelmPackageUpload.java | 30 ++- .../cloudsmith/api/models/HelmUpstream.java | 100 +++++++- .../api/models/HexPackageUpload.java | 30 ++- .../io/cloudsmith/api/models/HexUpstream.java | 100 +++++++- .../api/models/HuggingfacePackageUpload.java | 30 ++- .../api/models/HuggingfaceUpstream.java | 100 +++++++- .../api/models/LuarocksPackageUpload.java | 30 ++- .../api/models/MavenPackageUpload.java | 30 ++- .../cloudsmith/api/models/MavenUpstream.java | 114 ++++++++- .../cloudsmith/api/models/ModelPackage.java | 30 ++- .../api/models/NpmPackageUpload.java | 30 ++- .../io/cloudsmith/api/models/NpmUpstream.java | 100 +++++++- .../api/models/NugetPackageUpload.java | 30 ++- .../cloudsmith/api/models/NugetUpstream.java | 100 +++++++- .../api/models/OrganizationTeam.java | 4 +- .../api/models/OrganizationTeamRequest.java | 4 +- .../models/OrganizationTeamRequestPatch.java | 4 +- .../api/models/P2PackageUpload.java | 30 ++- .../io/cloudsmith/api/models/PackageCopy.java | 30 ++- .../io/cloudsmith/api/models/PackageMove.java | 30 ++- .../api/models/PackageQuarantine.java | 30 ++- .../cloudsmith/api/models/PackageResync.java | 30 ++- .../io/cloudsmith/api/models/PackageTag.java | 30 ++- .../api/models/PythonPackageUpload.java | 30 ++- .../cloudsmith/api/models/PythonUpstream.java | 170 ++++++++++++- .../api/models/PythonUpstreamRequest.java | 72 +++++- .../models/PythonUpstreamRequestPatch.java | 72 +++++- .../api/models/RawPackageUpload.java | 30 ++- .../io/cloudsmith/api/models/Repository.java | 117 ++++++++- .../api/models/RepositoryCreate.java | 117 ++++++++- .../api/models/RepositoryCreateRequest.java | 103 +++++++- .../api/models/RepositoryRequestPatch.java | 103 +++++++- .../api/models/RepositoryToken.java | 27 ++- .../api/models/RepositoryTokenRefresh.java | 27 ++- .../models/RepositoryTokenRefreshRequest.java | 27 ++- .../api/models/RepositoryTokenRequest.java | 27 ++- .../models/RepositoryTokenRequestPatch.java | 27 ++- .../api/models/RepositoryWebhook.java | 2 +- .../api/models/RepositoryWebhookRequest.java | 2 +- .../models/RepositoryWebhookRequestPatch.java | 2 +- .../api/models/RpmPackageUpload.java | 30 ++- .../io/cloudsmith/api/models/RpmUpstream.java | 114 ++++++++- .../api/models/RubyPackageUpload.java | 30 ++- .../cloudsmith/api/models/RubyUpstream.java | 100 +++++++- .../io/cloudsmith/api/models/StatusBasic.java | 2 +- .../api/models/SwiftPackageUpload.java | 30 ++- .../cloudsmith/api/models/SwiftUpstream.java | 100 +++++++- .../api/models/TerraformPackageUpload.java | 30 ++- .../api/models/VagrantPackageUpload.java | 30 ++- .../api/apis/BroadcastsApiTest.java | 54 +++++ bindings/python/src/.swagger-codegen/VERSION | 2 +- bindings/python/src/README.md | 5 +- bindings/python/src/build.json | 2 +- .../python/src/cloudsmith_api/__init__.py | 3 + .../python/src/cloudsmith_api/api/__init__.py | 1 + .../src/cloudsmith_api/api/broadcasts_api.py | 137 +++++++++++ .../python/src/cloudsmith_api/api_client.py | 2 +- .../src/cloudsmith_api/configuration.py | 22 +- .../src/cloudsmith_api/models/__init__.py | 2 + .../models/alpine_package_upload.py | 64 ++++- .../src/cloudsmith_api/models/architecture.py | 4 +- .../cloudsmith_api/models/broadcast_token.py | 153 ++++++++++++ .../models/broadcast_token_input.py | 161 ++++++++++++ .../models/cargo_package_upload.py | 64 ++++- .../cloudsmith_api/models/cargo_upstream.py | 194 ++++++++++++++- .../models/cargo_upstream_request.py | 2 +- .../models/cargo_upstream_request_patch.py | 2 +- .../models/cocoapods_package_upload.py | 64 ++++- .../models/composer_package_upload.py | 64 ++++- .../models/composer_upstream.py | 194 ++++++++++++++- .../models/composer_upstream_request.py | 2 +- .../models/composer_upstream_request_patch.py | 2 +- .../models/conan_package_upload.py | 64 ++++- .../models/conda_package_upload.py | 64 ++++- .../cloudsmith_api/models/conda_upstream.py | 194 ++++++++++++++- .../models/conda_upstream_request.py | 2 +- .../models/conda_upstream_request_patch.py | 2 +- .../models/cran_package_upload.py | 64 ++++- .../cloudsmith_api/models/cran_upstream.py | 194 ++++++++++++++- .../models/cran_upstream_request.py | 2 +- .../models/cran_upstream_request_patch.py | 2 +- .../models/dart_package_upload.py | 64 ++++- .../cloudsmith_api/models/dart_upstream.py | 194 ++++++++++++++- .../models/dart_upstream_request.py | 2 +- .../models/dart_upstream_request_patch.py | 2 +- .../models/deb_package_upload.py | 64 ++++- .../src/cloudsmith_api/models/deb_upstream.py | 220 ++++++++++++++++- .../models/deb_upstream_request.py | 2 +- .../models/deb_upstream_request_patch.py | 2 +- .../models/docker_package_upload.py | 64 ++++- .../cloudsmith_api/models/docker_upstream.py | 84 ++++++- .../models/docker_upstream_request.py | 2 +- .../models/docker_upstream_request_patch.py | 2 +- .../models/go_package_upload.py | 64 ++++- .../src/cloudsmith_api/models/go_upstream.py | 194 ++++++++++++++- .../models/go_upstream_request.py | 2 +- .../models/go_upstream_request_patch.py | 2 +- .../models/helm_package_upload.py | 64 ++++- .../cloudsmith_api/models/helm_upstream.py | 194 ++++++++++++++- .../models/helm_upstream_request.py | 2 +- .../models/helm_upstream_request_patch.py | 2 +- .../models/hex_package_upload.py | 64 ++++- .../src/cloudsmith_api/models/hex_upstream.py | 194 ++++++++++++++- .../models/hex_upstream_request.py | 2 +- .../models/hex_upstream_request_patch.py | 2 +- .../models/huggingface_package_upload.py | 64 ++++- .../models/huggingface_upstream.py | 194 ++++++++++++++- .../models/huggingface_upstream_request.py | 2 +- .../huggingface_upstream_request_patch.py | 2 +- .../models/luarocks_package_upload.py | 64 ++++- .../models/maven_package_upload.py | 64 ++++- .../cloudsmith_api/models/maven_upstream.py | 220 ++++++++++++++++- .../models/maven_upstream_request.py | 2 +- .../models/maven_upstream_request_patch.py | 2 +- .../models/npm_package_upload.py | 64 ++++- .../src/cloudsmith_api/models/npm_upstream.py | 194 ++++++++++++++- .../models/npm_upstream_request.py | 2 +- .../models/npm_upstream_request_patch.py | 2 +- .../models/nuget_package_upload.py | 64 ++++- .../cloudsmith_api/models/nuget_upstream.py | 194 ++++++++++++++- .../models/nuget_upstream_request.py | 2 +- .../models/nuget_upstream_request_patch.py | 2 +- .../models/organization_team.py | 8 + .../models/organization_team_request.py | 8 + .../models/organization_team_request_patch.py | 8 + .../models/p2_package_upload.py | 64 ++++- .../src/cloudsmith_api/models/package.py | 64 ++++- .../src/cloudsmith_api/models/package_copy.py | 64 ++++- .../src/cloudsmith_api/models/package_move.py | 64 ++++- .../models/package_quarantine.py | 64 ++++- .../cloudsmith_api/models/package_resync.py | 64 ++++- .../src/cloudsmith_api/models/package_tag.py | 64 ++++- .../models/python_package_upload.py | 64 ++++- .../cloudsmith_api/models/python_upstream.py | 229 +++++++++++++++++- .../models/python_upstream_request.py | 39 ++- .../models/python_upstream_request_patch.py | 39 ++- .../models/raw_package_upload.py | 64 ++++- .../src/cloudsmith_api/models/repository.py | 95 +++++++- .../models/repository_create.py | 95 +++++++- .../models/repository_create_request.py | 67 ++++- .../models/repository_request_patch.py | 67 ++++- .../cloudsmith_api/models/repository_token.py | 30 ++- .../models/repository_token_refresh.py | 30 ++- .../repository_token_refresh_request.py | 30 ++- .../models/repository_token_request.py | 30 ++- .../models/repository_token_request_patch.py | 30 ++- .../models/repository_webhook.py | 4 +- .../models/repository_webhook_request.py | 4 +- .../repository_webhook_request_patch.py | 4 +- .../models/rpm_package_upload.py | 64 ++++- .../src/cloudsmith_api/models/rpm_upstream.py | 220 ++++++++++++++++- .../models/rpm_upstream_request.py | 2 +- .../models/rpm_upstream_request_patch.py | 2 +- .../models/ruby_package_upload.py | 64 ++++- .../cloudsmith_api/models/ruby_upstream.py | 194 ++++++++++++++- .../models/ruby_upstream_request.py | 2 +- .../models/ruby_upstream_request_patch.py | 2 +- .../src/cloudsmith_api/models/status_basic.py | 2 +- .../models/swift_package_upload.py | 64 ++++- .../cloudsmith_api/models/swift_upstream.py | 194 ++++++++++++++- .../models/swift_upstream_request.py | 2 +- .../models/swift_upstream_request_patch.py | 2 +- .../models/terraform_package_upload.py | 64 ++++- .../models/vagrant_package_upload.py | 64 ++++- .../python/src/docs/AlpinePackageUpload.md | 2 + bindings/python/src/docs/BroadcastToken.md | 11 + .../python/src/docs/BroadcastTokenInput.md | 11 + bindings/python/src/docs/BroadcastsApi.md | 69 ++++++ .../python/src/docs/CargoPackageUpload.md | 2 + bindings/python/src/docs/CargoUpstream.md | 7 + .../python/src/docs/CocoapodsPackageUpload.md | 2 + .../python/src/docs/ComposerPackageUpload.md | 2 + bindings/python/src/docs/ComposerUpstream.md | 7 + .../python/src/docs/ConanPackageUpload.md | 2 + .../python/src/docs/CondaPackageUpload.md | 2 + bindings/python/src/docs/CondaUpstream.md | 7 + bindings/python/src/docs/CranPackageUpload.md | 2 + bindings/python/src/docs/CranUpstream.md | 7 + bindings/python/src/docs/DartPackageUpload.md | 2 + bindings/python/src/docs/DartUpstream.md | 7 + bindings/python/src/docs/DebPackageUpload.md | 2 + bindings/python/src/docs/DebUpstream.md | 8 + .../python/src/docs/DockerPackageUpload.md | 2 + bindings/python/src/docs/DockerUpstream.md | 3 + bindings/python/src/docs/GoPackageUpload.md | 2 + bindings/python/src/docs/GoUpstream.md | 7 + bindings/python/src/docs/HelmPackageUpload.md | 2 + bindings/python/src/docs/HelmUpstream.md | 7 + bindings/python/src/docs/HexPackageUpload.md | 2 + bindings/python/src/docs/HexUpstream.md | 7 + .../src/docs/HuggingfacePackageUpload.md | 2 + .../python/src/docs/HuggingfaceUpstream.md | 7 + .../python/src/docs/LuarocksPackageUpload.md | 2 + .../python/src/docs/MavenPackageUpload.md | 2 + bindings/python/src/docs/MavenUpstream.md | 8 + bindings/python/src/docs/NpmPackageUpload.md | 2 + bindings/python/src/docs/NpmUpstream.md | 7 + .../python/src/docs/NugetPackageUpload.md | 2 + bindings/python/src/docs/NugetUpstream.md | 7 + bindings/python/src/docs/OrganizationTeam.md | 2 +- .../src/docs/OrganizationTeamRequest.md | 2 +- .../src/docs/OrganizationTeamRequestPatch.md | 2 +- bindings/python/src/docs/P2PackageUpload.md | 2 + bindings/python/src/docs/Package.md | 2 + bindings/python/src/docs/PackageCopy.md | 2 + bindings/python/src/docs/PackageMove.md | 2 + bindings/python/src/docs/PackageQuarantine.md | 2 + bindings/python/src/docs/PackageResync.md | 2 + bindings/python/src/docs/PackageTag.md | 2 + .../python/src/docs/PythonPackageUpload.md | 2 + bindings/python/src/docs/PythonUpstream.md | 8 + .../python/src/docs/PythonUpstreamRequest.md | 1 + .../src/docs/PythonUpstreamRequestPatch.md | 1 + bindings/python/src/docs/RawPackageUpload.md | 2 + bindings/python/src/docs/Repository.md | 3 + bindings/python/src/docs/RepositoryCreate.md | 3 + .../src/docs/RepositoryCreateRequest.md | 2 + .../python/src/docs/RepositoryRequestPatch.md | 2 + bindings/python/src/docs/RepositoryToken.md | 1 + .../python/src/docs/RepositoryTokenRefresh.md | 1 + .../src/docs/RepositoryTokenRefreshRequest.md | 1 + .../python/src/docs/RepositoryTokenRequest.md | 1 + .../src/docs/RepositoryTokenRequestPatch.md | 1 + bindings/python/src/docs/RpmPackageUpload.md | 2 + bindings/python/src/docs/RpmUpstream.md | 8 + bindings/python/src/docs/RubyPackageUpload.md | 2 + bindings/python/src/docs/RubyUpstream.md | 7 + bindings/python/src/docs/StatusBasic.md | 2 +- .../python/src/docs/SwiftPackageUpload.md | 2 + bindings/python/src/docs/SwiftUpstream.md | 7 + .../python/src/docs/TerraformPackageUpload.md | 2 + .../python/src/docs/VagrantPackageUpload.md | 2 + bindings/python/src/setup.py | 2 +- .../python/src/test/test_broadcast_token.py | 40 +++ .../src/test/test_broadcast_token_input.py | 40 +++ .../python/src/test/test_broadcasts_api.py | 41 ++++ bindings/ruby/src/.swagger-codegen/VERSION | 2 +- bindings/ruby/src/README.md | 11 +- bindings/ruby/src/build.json | 2 +- bindings/ruby/src/cloudsmith-api.gemspec | 2 +- bindings/ruby/src/docs/AlpinePackageUpload.md | 2 + bindings/ruby/src/docs/BroadcastToken.md | 9 + bindings/ruby/src/docs/BroadcastTokenInput.md | 9 + bindings/ruby/src/docs/BroadcastsApi.md | 71 ++++++ bindings/ruby/src/docs/CargoPackageUpload.md | 2 + bindings/ruby/src/docs/CargoUpstream.md | 7 + .../ruby/src/docs/CocoapodsPackageUpload.md | 2 + .../ruby/src/docs/ComposerPackageUpload.md | 2 + bindings/ruby/src/docs/ComposerUpstream.md | 7 + bindings/ruby/src/docs/ConanPackageUpload.md | 2 + bindings/ruby/src/docs/CondaPackageUpload.md | 2 + bindings/ruby/src/docs/CondaUpstream.md | 7 + bindings/ruby/src/docs/CranPackageUpload.md | 2 + bindings/ruby/src/docs/CranUpstream.md | 7 + bindings/ruby/src/docs/DartPackageUpload.md | 2 + bindings/ruby/src/docs/DartUpstream.md | 7 + bindings/ruby/src/docs/DebPackageUpload.md | 2 + bindings/ruby/src/docs/DebUpstream.md | 8 + bindings/ruby/src/docs/DockerPackageUpload.md | 2 + bindings/ruby/src/docs/DockerUpstream.md | 3 + bindings/ruby/src/docs/GoPackageUpload.md | 2 + bindings/ruby/src/docs/GoUpstream.md | 7 + bindings/ruby/src/docs/HelmPackageUpload.md | 2 + bindings/ruby/src/docs/HelmUpstream.md | 7 + bindings/ruby/src/docs/HexPackageUpload.md | 2 + bindings/ruby/src/docs/HexUpstream.md | 7 + .../ruby/src/docs/HuggingfacePackageUpload.md | 2 + bindings/ruby/src/docs/HuggingfaceUpstream.md | 7 + .../ruby/src/docs/LuarocksPackageUpload.md | 2 + bindings/ruby/src/docs/MavenPackageUpload.md | 2 + bindings/ruby/src/docs/MavenUpstream.md | 8 + bindings/ruby/src/docs/NpmPackageUpload.md | 2 + bindings/ruby/src/docs/NpmUpstream.md | 7 + bindings/ruby/src/docs/NugetPackageUpload.md | 2 + bindings/ruby/src/docs/NugetUpstream.md | 7 + bindings/ruby/src/docs/OrganizationTeam.md | 2 +- .../ruby/src/docs/OrganizationTeamRequest.md | 2 +- .../src/docs/OrganizationTeamRequestPatch.md | 2 +- bindings/ruby/src/docs/P2PackageUpload.md | 2 + bindings/ruby/src/docs/Package.md | 2 + bindings/ruby/src/docs/PackageCopy.md | 2 + bindings/ruby/src/docs/PackageMove.md | 2 + bindings/ruby/src/docs/PackageQuarantine.md | 2 + bindings/ruby/src/docs/PackageResync.md | 2 + bindings/ruby/src/docs/PackageTag.md | 2 + bindings/ruby/src/docs/PythonPackageUpload.md | 2 + bindings/ruby/src/docs/PythonUpstream.md | 8 + .../ruby/src/docs/PythonUpstreamRequest.md | 1 + .../src/docs/PythonUpstreamRequestPatch.md | 1 + bindings/ruby/src/docs/RawPackageUpload.md | 2 + bindings/ruby/src/docs/Repository.md | 3 + bindings/ruby/src/docs/RepositoryCreate.md | 3 + .../ruby/src/docs/RepositoryCreateRequest.md | 2 + .../ruby/src/docs/RepositoryRequestPatch.md | 2 + bindings/ruby/src/docs/RepositoryToken.md | 1 + .../ruby/src/docs/RepositoryTokenRefresh.md | 1 + .../src/docs/RepositoryTokenRefreshRequest.md | 1 + .../ruby/src/docs/RepositoryTokenRequest.md | 1 + .../src/docs/RepositoryTokenRequestPatch.md | 1 + bindings/ruby/src/docs/RpmPackageUpload.md | 2 + bindings/ruby/src/docs/RpmUpstream.md | 8 + bindings/ruby/src/docs/RubyPackageUpload.md | 2 + bindings/ruby/src/docs/RubyUpstream.md | 7 + bindings/ruby/src/docs/StatusBasic.md | 2 +- bindings/ruby/src/docs/SwiftPackageUpload.md | 2 + bindings/ruby/src/docs/SwiftUpstream.md | 7 + .../ruby/src/docs/TerraformPackageUpload.md | 2 + .../ruby/src/docs/VagrantPackageUpload.md | 2 + bindings/ruby/src/lib/cloudsmith-api.rb | 5 +- .../lib/cloudsmith-api/api/audit_log_api.rb | 2 +- .../src/lib/cloudsmith-api/api/badges_api.rb | 2 +- .../lib/cloudsmith-api/api/broadcasts_api.rb | 79 ++++++ .../src/lib/cloudsmith-api/api/distros_api.rb | 2 +- .../cloudsmith-api/api/entitlements_api.rb | 2 +- .../src/lib/cloudsmith-api/api/files_api.rb | 2 +- .../src/lib/cloudsmith-api/api/formats_api.rb | 2 +- .../src/lib/cloudsmith-api/api/metrics_api.rb | 2 +- .../lib/cloudsmith-api/api/namespaces_api.rb | 2 +- .../src/lib/cloudsmith-api/api/orgs_api.rb | 2 +- .../lib/cloudsmith-api/api/packages_api.rb | 2 +- .../src/lib/cloudsmith-api/api/quota_api.rb | 2 +- .../src/lib/cloudsmith-api/api/rates_api.rb | 2 +- .../src/lib/cloudsmith-api/api/repos_api.rb | 2 +- .../src/lib/cloudsmith-api/api/status_api.rb | 2 +- .../cloudsmith-api/api/storage_regions_api.rb | 2 +- .../src/lib/cloudsmith-api/api/user_api.rb | 2 +- .../src/lib/cloudsmith-api/api/users_api.rb | 2 +- .../cloudsmith-api/api/vulnerabilities_api.rb | 2 +- .../lib/cloudsmith-api/api/webhooks_api.rb | 2 +- .../ruby/src/lib/cloudsmith-api/api_client.rb | 2 +- .../ruby/src/lib/cloudsmith-api/api_error.rb | 2 +- .../src/lib/cloudsmith-api/configuration.rb | 2 +- .../cloudsmith-api/models/allocated_limit.rb | 2 +- .../models/allocated_limit_raw.rb | 2 +- .../models/alpine_package_upload.rb | 24 +- .../models/alpine_package_upload_request.rb | 2 +- .../lib/cloudsmith-api/models/architecture.rb | 2 +- .../cloudsmith-api/models/broadcast_token.rb | 193 +++++++++++++++ .../models/broadcast_token_input.rb | 200 +++++++++++++++ .../models/cargo_package_upload.rb | 24 +- .../models/cargo_package_upload_request.rb | 2 +- .../cloudsmith-api/models/cargo_upstream.rb | 71 +++++- .../models/cargo_upstream_request.rb | 2 +- .../models/cargo_upstream_request_patch.rb | 2 +- .../models/cocoapods_package_upload.rb | 24 +- .../cocoapods_package_upload_request.rb | 2 +- .../models/common_bandwidth_metrics.rb | 2 +- .../models/common_bandwidth_metrics_value.rb | 2 +- .../models/common_downloads_metrics.rb | 2 +- .../models/common_downloads_metrics_value.rb | 2 +- .../cloudsmith-api/models/common_metrics.rb | 2 +- .../models/composer_package_upload.rb | 24 +- .../models/composer_package_upload_request.rb | 2 +- .../models/composer_upstream.rb | 71 +++++- .../models/composer_upstream_request.rb | 2 +- .../models/composer_upstream_request_patch.rb | 2 +- .../models/conan_package_upload.rb | 24 +- .../models/conan_package_upload_request.rb | 2 +- .../models/conda_package_upload.rb | 24 +- .../models/conda_package_upload_request.rb | 2 +- .../cloudsmith-api/models/conda_upstream.rb | 71 +++++- .../models/conda_upstream_request.rb | 2 +- .../models/conda_upstream_request_patch.rb | 2 +- .../models/cran_package_upload.rb | 24 +- .../models/cran_package_upload_request.rb | 2 +- .../cloudsmith-api/models/cran_upstream.rb | 71 +++++- .../models/cran_upstream_request.rb | 2 +- .../models/cran_upstream_request_patch.rb | 2 +- .../models/dart_package_upload.rb | 24 +- .../models/dart_package_upload_request.rb | 2 +- .../cloudsmith-api/models/dart_upstream.rb | 71 +++++- .../models/dart_upstream_request.rb | 2 +- .../models/dart_upstream_request_patch.rb | 2 +- .../models/deb_package_upload.rb | 24 +- .../models/deb_package_upload_request.rb | 2 +- .../lib/cloudsmith-api/models/deb_upstream.rb | 80 +++++- .../models/deb_upstream_request.rb | 2 +- .../models/deb_upstream_request_patch.rb | 2 +- .../lib/cloudsmith-api/models/distribution.rb | 2 +- .../models/distribution_full.rb | 2 +- .../models/distribution_version.rb | 2 +- .../models/docker_package_upload.rb | 24 +- .../models/docker_package_upload_request.rb | 2 +- .../cloudsmith-api/models/docker_upstream.rb | 32 ++- .../models/docker_upstream_request.rb | 2 +- .../models/docker_upstream_request_patch.rb | 2 +- .../cloudsmith-api/models/dynamic_mapping.rb | 2 +- .../models/entitlement_usage_metrics.rb | 2 +- .../lib/cloudsmith-api/models/error_detail.rb | 2 +- .../src/lib/cloudsmith-api/models/eula.rb | 2 +- .../src/lib/cloudsmith-api/models/format.rb | 2 +- .../cloudsmith-api/models/format_support.rb | 2 +- .../models/format_support_upstream.rb | 2 +- .../cloudsmith-api/models/geo_ip_location.rb | 2 +- .../models/go_package_upload.rb | 24 +- .../models/go_package_upload_request.rb | 2 +- .../lib/cloudsmith-api/models/go_upstream.rb | 71 +++++- .../models/go_upstream_request.rb | 2 +- .../models/go_upstream_request_patch.rb | 2 +- .../models/helm_package_upload.rb | 24 +- .../models/helm_package_upload_request.rb | 2 +- .../cloudsmith-api/models/helm_upstream.rb | 71 +++++- .../models/helm_upstream_request.rb | 2 +- .../models/helm_upstream_request_patch.rb | 2 +- .../models/hex_package_upload.rb | 24 +- .../models/hex_package_upload_request.rb | 2 +- .../lib/cloudsmith-api/models/hex_upstream.rb | 71 +++++- .../models/hex_upstream_request.rb | 2 +- .../models/hex_upstream_request_patch.rb | 2 +- .../src/lib/cloudsmith-api/models/history.rb | 2 +- .../cloudsmith-api/models/history_fieldset.rb | 2 +- .../models/history_fieldset_raw.rb | 2 +- .../models/huggingface_package_upload.rb | 24 +- .../huggingface_package_upload_request.rb | 2 +- .../models/huggingface_upstream.rb | 71 +++++- .../models/huggingface_upstream_request.rb | 2 +- .../huggingface_upstream_request_patch.rb | 2 +- .../models/inline_response_200.rb | 2 +- .../models/inline_response_200_1.rb | 2 +- .../models/luarocks_package_upload.rb | 24 +- .../models/luarocks_package_upload_request.rb | 2 +- .../models/maven_package_upload.rb | 24 +- .../models/maven_package_upload_request.rb | 2 +- .../cloudsmith-api/models/maven_upstream.rb | 80 +++++- .../models/maven_upstream_request.rb | 2 +- .../models/maven_upstream_request_patch.rb | 2 +- .../lib/cloudsmith-api/models/namespace.rb | 2 +- .../models/namespace_audit_log.rb | 2 +- .../models/nested_license_policy.rb | 2 +- .../models/nested_vulnerability_policy.rb | 2 +- .../nested_vulnerability_scan_results.rb | 2 +- .../models/npm_package_upload.rb | 24 +- .../models/npm_package_upload_request.rb | 2 +- .../lib/cloudsmith-api/models/npm_upstream.rb | 71 +++++- .../models/npm_upstream_request.rb | 2 +- .../models/npm_upstream_request_patch.rb | 2 +- .../models/nuget_package_upload.rb | 24 +- .../models/nuget_package_upload_request.rb | 2 +- .../cloudsmith-api/models/nuget_upstream.rb | 71 +++++- .../models/nuget_upstream_request.rb | 2 +- .../models/nuget_upstream_request_patch.rb | 2 +- .../lib/cloudsmith-api/models/organization.rb | 2 +- .../models/organization_group_sync.rb | 2 +- .../models/organization_group_sync_request.rb | 2 +- .../models/organization_group_sync_status.rb | 2 +- .../models/organization_invite.rb | 2 +- .../models/organization_invite_extend.rb | 2 +- .../models/organization_invite_request.rb | 2 +- .../models/organization_invite_update.rb | 2 +- ...rganization_invite_update_request_patch.rb | 2 +- .../models/organization_membership.rb | 2 +- .../organization_membership_request_patch.rb | 2 +- .../organization_membership_role_update.rb | 2 +- ...on_membership_role_update_request_patch.rb | 2 +- ...ganization_membership_visibility_update.rb | 2 +- ...bership_visibility_update_request_patch.rb | 2 +- .../organization_package_license_policy.rb | 2 +- ...nization_package_license_policy_request.rb | 2 +- ...on_package_license_policy_request_patch.rb | 2 +- ...ganization_package_vulnerability_policy.rb | 2 +- ...on_package_vulnerability_policy_request.rb | 2 +- ...kage_vulnerability_policy_request_patch.rb | 2 +- .../models/organization_saml_auth.rb | 2 +- .../organization_saml_auth_request_patch.rb | 2 +- .../models/organization_team.rb | 3 +- .../models/organization_team_invite.rb | 2 +- .../models/organization_team_members.rb | 2 +- .../models/organization_team_membership.rb | 2 +- .../models/organization_team_request.rb | 3 +- .../models/organization_team_request_patch.rb | 3 +- .../models/p2_package_upload.rb | 24 +- .../models/p2_package_upload_request.rb | 2 +- .../src/lib/cloudsmith-api/models/package.rb | 24 +- .../lib/cloudsmith-api/models/package_copy.rb | 24 +- .../models/package_copy_request.rb | 2 +- .../models/package_deny_policy.rb | 2 +- .../models/package_deny_policy_request.rb | 2 +- .../package_deny_policy_request_patch.rb | 2 +- .../models/package_dependencies.rb | 2 +- .../models/package_dependency.rb | 2 +- .../lib/cloudsmith-api/models/package_file.rb | 2 +- .../models/package_file_parts_upload.rb | 2 +- .../models/package_file_upload.rb | 2 +- .../models/package_file_upload_request.rb | 2 +- .../cloudsmith-api/models/package_group.rb | 2 +- .../cloudsmith-api/models/package_license.rb | 2 +- ...ckage_license_policy_evaluation_request.rb | 2 +- ...cense_policy_evaluation_request_request.rb | 2 +- .../package_license_policy_violation_log.rb | 2 +- ...icense_policy_violation_log_cursor_page.rb | 2 +- .../models/package_license_request_patch.rb | 2 +- .../lib/cloudsmith-api/models/package_move.rb | 24 +- .../models/package_move_request.rb | 2 +- .../models/package_quarantine.rb | 24 +- .../models/package_quarantine_request.rb | 2 +- .../cloudsmith-api/models/package_resync.rb | 24 +- .../cloudsmith-api/models/package_status.rb | 2 +- .../lib/cloudsmith-api/models/package_tag.rb | 24 +- .../models/package_tag_request.rb | 2 +- .../models/package_usage_metrics.rb | 2 +- .../models/package_version_badge.rb | 2 +- .../models/package_vulnerability.rb | 2 +- ...vulnerability_policy_evaluation_request.rb | 2 +- ...ility_policy_evaluation_request_request.rb | 2 +- ...kage_vulnerability_policy_violation_log.rb | 2 +- ...bility_policy_violation_log_cursor_page.rb | 2 +- .../models/provider_settings.rb | 2 +- .../models/provider_settings_write.rb | 2 +- .../models/provider_settings_write_request.rb | 2 +- .../provider_settings_write_request_patch.rb | 2 +- .../models/python_package_upload.rb | 24 +- .../models/python_package_upload_request.rb | 2 +- .../cloudsmith-api/models/python_upstream.rb | 95 +++++++- .../models/python_upstream_request.rb | 28 ++- .../models/python_upstream_request_patch.rb | 28 ++- .../src/lib/cloudsmith-api/models/quota.rb | 2 +- .../cloudsmith-api/models/quota_history.rb | 2 +- .../lib/cloudsmith-api/models/rate_check.rb | 2 +- .../models/raw_package_upload.rb | 24 +- .../models/raw_package_upload_request.rb | 2 +- .../lib/cloudsmith-api/models/repository.rb | 48 +++- .../models/repository_audit_log.rb | 2 +- .../models/repository_create.rb | 48 +++- .../models/repository_create_request.rb | 38 ++- .../models/repository_ecdsa_key.rb | 2 +- .../models/repository_ecdsa_key_create.rb | 2 +- .../models/repository_geo_ip_cidr.rb | 2 +- .../models/repository_geo_ip_country_code.rb | 2 +- .../models/repository_geo_ip_rules.rb | 2 +- .../models/repository_geo_ip_rules_request.rb | 2 +- .../repository_geo_ip_rules_request_patch.rb | 2 +- .../models/repository_geo_ip_status.rb | 2 +- .../models/repository_geo_ip_test_address.rb | 2 +- ...repository_geo_ip_test_address_response.rb | 2 +- ...itory_geo_ip_test_address_response_dict.rb | 2 +- .../models/repository_gpg_key.rb | 2 +- .../models/repository_gpg_key_create.rb | 2 +- .../models/repository_privilege_dict.rb | 2 +- .../models/repository_privilege_input.rb | 2 +- .../repository_privilege_input_request.rb | 2 +- ...epository_privilege_input_request_patch.rb | 2 +- .../models/repository_request_patch.rb | 38 ++- .../models/repository_retention_rules.rb | 2 +- ...epository_retention_rules_request_patch.rb | 2 +- .../models/repository_rsa_key.rb | 2 +- .../models/repository_rsa_key_create.rb | 2 +- .../cloudsmith-api/models/repository_token.rb | 14 +- .../models/repository_token_action.rb | 2 +- .../models/repository_token_refresh.rb | 14 +- .../repository_token_refresh_request.rb | 14 +- .../models/repository_token_request.rb | 14 +- .../models/repository_token_request_patch.rb | 14 +- .../models/repository_token_sync.rb | 2 +- .../models/repository_token_sync_request.rb | 2 +- .../models/repository_transfer_region.rb | 2 +- .../repository_transfer_region_request.rb | 2 +- .../models/repository_webhook.rb | 2 +- .../models/repository_webhook_request.rb | 2 +- .../repository_webhook_request_patch.rb | 2 +- .../repository_x509_ecdsa_certificate.rb | 2 +- .../models/repository_x509_rsa_certificate.rb | 2 +- .../models/resources_rate_check.rb | 2 +- .../respository_geo_ip_enable_disable.rb | 2 +- ...spository_geo_ip_enable_disable_request.rb | 2 +- .../models/rpm_package_upload.rb | 24 +- .../models/rpm_package_upload_request.rb | 2 +- .../lib/cloudsmith-api/models/rpm_upstream.rb | 80 +++++- .../models/rpm_upstream_request.rb | 2 +- .../models/rpm_upstream_request_patch.rb | 2 +- .../models/ruby_package_upload.rb | 24 +- .../models/ruby_package_upload_request.rb | 2 +- .../cloudsmith-api/models/ruby_upstream.rb | 71 +++++- .../models/ruby_upstream_request.rb | 2 +- .../models/ruby_upstream_request_patch.rb | 2 +- .../src/lib/cloudsmith-api/models/service.rb | 2 +- .../cloudsmith-api/models/service_request.rb | 2 +- .../models/service_request_patch.rb | 2 +- .../cloudsmith-api/models/service_teams.rb | 2 +- .../lib/cloudsmith-api/models/status_basic.rb | 4 +- .../models/storage_allocated_limit.rb | 2 +- .../models/storage_allocated_limit_raw.rb | 2 +- .../cloudsmith-api/models/storage_region.rb | 2 +- .../cloudsmith-api/models/storage_usage.rb | 2 +- .../models/storage_usage_raw.rb | 2 +- .../models/swift_package_upload.rb | 24 +- .../models/swift_package_upload_request.rb | 2 +- .../cloudsmith-api/models/swift_upstream.rb | 71 +++++- .../models/swift_upstream_request.rb | 2 +- .../models/swift_upstream_request_patch.rb | 2 +- .../src/lib/cloudsmith-api/models/tags.rb | 2 +- .../models/terraform_package_upload.rb | 24 +- .../terraform_package_upload_request.rb | 2 +- .../src/lib/cloudsmith-api/models/usage.rb | 2 +- .../cloudsmith-api/models/usage_fieldset.rb | 2 +- .../lib/cloudsmith-api/models/usage_limits.rb | 2 +- .../cloudsmith-api/models/usage_limits_raw.rb | 2 +- .../lib/cloudsmith-api/models/usage_raw.rb | 2 +- .../cloudsmith-api/models/user_auth_token.rb | 2 +- .../models/user_auth_token_request.rb | 2 +- .../models/user_authentication_token.rb | 2 +- .../lib/cloudsmith-api/models/user_brief.rb | 2 +- .../lib/cloudsmith-api/models/user_profile.rb | 2 +- .../models/vagrant_package_upload.rb | 24 +- .../models/vagrant_package_upload_request.rb | 2 +- .../cloudsmith-api/models/vulnerability.rb | 2 +- .../models/vulnerability_scan.rb | 2 +- .../models/vulnerability_scan_results.rb | 2 +- .../models/vulnerability_scan_results_list.rb | 2 +- .../models/vulnerability_scan_version.rb | 2 +- .../cloudsmith-api/models/webhook_template.rb | 2 +- .../ruby/src/lib/cloudsmith-api/version.rb | 4 +- .../ruby/src/spec/api/audit_log_api_spec.rb | 2 +- bindings/ruby/src/spec/api/badges_api_spec.rb | 2 +- .../ruby/src/spec/api/broadcasts_api_spec.rb | 48 ++++ .../ruby/src/spec/api/distros_api_spec.rb | 2 +- .../src/spec/api/entitlements_api_spec.rb | 2 +- bindings/ruby/src/spec/api/files_api_spec.rb | 2 +- .../ruby/src/spec/api/formats_api_spec.rb | 2 +- .../ruby/src/spec/api/metrics_api_spec.rb | 2 +- .../ruby/src/spec/api/namespaces_api_spec.rb | 2 +- bindings/ruby/src/spec/api/orgs_api_spec.rb | 2 +- .../ruby/src/spec/api/packages_api_spec.rb | 2 +- bindings/ruby/src/spec/api/quota_api_spec.rb | 2 +- bindings/ruby/src/spec/api/rates_api_spec.rb | 2 +- bindings/ruby/src/spec/api/repos_api_spec.rb | 2 +- bindings/ruby/src/spec/api/status_api_spec.rb | 2 +- .../src/spec/api/storage_regions_api_spec.rb | 2 +- bindings/ruby/src/spec/api/user_api_spec.rb | 2 +- bindings/ruby/src/spec/api/users_api_spec.rb | 2 +- .../src/spec/api/vulnerabilities_api_spec.rb | 2 +- .../ruby/src/spec/api/webhooks_api_spec.rb | 2 +- bindings/ruby/src/spec/api_client_spec.rb | 2 +- bindings/ruby/src/spec/configuration_spec.rb | 2 +- .../spec/models/allocated_limit_raw_spec.rb | 2 +- .../src/spec/models/allocated_limit_spec.rb | 2 +- .../alpine_package_upload_request_spec.rb | 2 +- .../spec/models/alpine_package_upload_spec.rb | 14 +- .../ruby/src/spec/models/architecture_spec.rb | 2 +- .../spec/models/broadcast_token_input_spec.rb | 47 ++++ .../src/spec/models/broadcast_token_spec.rb | 47 ++++ .../cargo_package_upload_request_spec.rb | 2 +- .../spec/models/cargo_package_upload_spec.rb | 14 +- .../cargo_upstream_request_patch_spec.rb | 2 +- .../models/cargo_upstream_request_spec.rb | 2 +- .../src/spec/models/cargo_upstream_spec.rb | 44 +++- .../cocoapods_package_upload_request_spec.rb | 2 +- .../models/cocoapods_package_upload_spec.rb | 14 +- .../models/common_bandwidth_metrics_spec.rb | 2 +- .../common_bandwidth_metrics_value_spec.rb | 2 +- .../models/common_downloads_metrics_spec.rb | 2 +- .../common_downloads_metrics_value_spec.rb | 2 +- .../src/spec/models/common_metrics_spec.rb | 2 +- .../composer_package_upload_request_spec.rb | 2 +- .../models/composer_package_upload_spec.rb | 14 +- .../composer_upstream_request_patch_spec.rb | 2 +- .../models/composer_upstream_request_spec.rb | 2 +- .../src/spec/models/composer_upstream_spec.rb | 44 +++- .../conan_package_upload_request_spec.rb | 2 +- .../spec/models/conan_package_upload_spec.rb | 14 +- .../conda_package_upload_request_spec.rb | 2 +- .../spec/models/conda_package_upload_spec.rb | 14 +- .../conda_upstream_request_patch_spec.rb | 2 +- .../models/conda_upstream_request_spec.rb | 2 +- .../src/spec/models/conda_upstream_spec.rb | 44 +++- .../cran_package_upload_request_spec.rb | 2 +- .../spec/models/cran_package_upload_spec.rb | 14 +- .../cran_upstream_request_patch_spec.rb | 2 +- .../spec/models/cran_upstream_request_spec.rb | 2 +- .../src/spec/models/cran_upstream_spec.rb | 44 +++- .../dart_package_upload_request_spec.rb | 2 +- .../spec/models/dart_package_upload_spec.rb | 14 +- .../dart_upstream_request_patch_spec.rb | 2 +- .../spec/models/dart_upstream_request_spec.rb | 2 +- .../src/spec/models/dart_upstream_spec.rb | 44 +++- .../models/deb_package_upload_request_spec.rb | 2 +- .../spec/models/deb_package_upload_spec.rb | 14 +- .../models/deb_upstream_request_patch_spec.rb | 2 +- .../spec/models/deb_upstream_request_spec.rb | 2 +- .../ruby/src/spec/models/deb_upstream_spec.rb | 50 +++- .../src/spec/models/distribution_full_spec.rb | 2 +- .../ruby/src/spec/models/distribution_spec.rb | 2 +- .../spec/models/distribution_version_spec.rb | 2 +- .../docker_package_upload_request_spec.rb | 2 +- .../spec/models/docker_package_upload_spec.rb | 14 +- .../docker_upstream_request_patch_spec.rb | 2 +- .../models/docker_upstream_request_spec.rb | 2 +- .../src/spec/models/docker_upstream_spec.rb | 20 +- .../src/spec/models/dynamic_mapping_spec.rb | 2 +- .../models/entitlement_usage_metrics_spec.rb | 2 +- .../ruby/src/spec/models/error_detail_spec.rb | 2 +- bindings/ruby/src/spec/models/eula_spec.rb | 2 +- bindings/ruby/src/spec/models/format_spec.rb | 2 +- .../src/spec/models/format_support_spec.rb | 2 +- .../models/format_support_upstream_spec.rb | 2 +- .../src/spec/models/geo_ip_location_spec.rb | 2 +- .../models/go_package_upload_request_spec.rb | 2 +- .../src/spec/models/go_package_upload_spec.rb | 14 +- .../models/go_upstream_request_patch_spec.rb | 2 +- .../spec/models/go_upstream_request_spec.rb | 2 +- .../ruby/src/spec/models/go_upstream_spec.rb | 44 +++- .../helm_package_upload_request_spec.rb | 2 +- .../spec/models/helm_package_upload_spec.rb | 14 +- .../helm_upstream_request_patch_spec.rb | 2 +- .../spec/models/helm_upstream_request_spec.rb | 2 +- .../src/spec/models/helm_upstream_spec.rb | 44 +++- .../models/hex_package_upload_request_spec.rb | 2 +- .../spec/models/hex_package_upload_spec.rb | 14 +- .../models/hex_upstream_request_patch_spec.rb | 2 +- .../spec/models/hex_upstream_request_spec.rb | 2 +- .../ruby/src/spec/models/hex_upstream_spec.rb | 44 +++- .../spec/models/history_fieldset_raw_spec.rb | 2 +- .../src/spec/models/history_fieldset_spec.rb | 2 +- bindings/ruby/src/spec/models/history_spec.rb | 2 +- ...huggingface_package_upload_request_spec.rb | 2 +- .../models/huggingface_package_upload_spec.rb | 14 +- ...huggingface_upstream_request_patch_spec.rb | 2 +- .../huggingface_upstream_request_spec.rb | 2 +- .../spec/models/huggingface_upstream_spec.rb | 44 +++- .../spec/models/inline_response_200_1_spec.rb | 2 +- .../spec/models/inline_response_200_spec.rb | 2 +- .../luarocks_package_upload_request_spec.rb | 2 +- .../models/luarocks_package_upload_spec.rb | 14 +- .../maven_package_upload_request_spec.rb | 2 +- .../spec/models/maven_package_upload_spec.rb | 14 +- .../maven_upstream_request_patch_spec.rb | 2 +- .../models/maven_upstream_request_spec.rb | 2 +- .../src/spec/models/maven_upstream_spec.rb | 50 +++- .../spec/models/namespace_audit_log_spec.rb | 2 +- .../ruby/src/spec/models/namespace_spec.rb | 2 +- .../spec/models/nested_license_policy_spec.rb | 2 +- .../nested_vulnerability_policy_spec.rb | 2 +- .../nested_vulnerability_scan_results_spec.rb | 2 +- .../models/npm_package_upload_request_spec.rb | 2 +- .../spec/models/npm_package_upload_spec.rb | 14 +- .../models/npm_upstream_request_patch_spec.rb | 2 +- .../spec/models/npm_upstream_request_spec.rb | 2 +- .../ruby/src/spec/models/npm_upstream_spec.rb | 44 +++- .../nuget_package_upload_request_spec.rb | 2 +- .../spec/models/nuget_package_upload_spec.rb | 14 +- .../nuget_upstream_request_patch_spec.rb | 2 +- .../models/nuget_upstream_request_spec.rb | 2 +- .../src/spec/models/nuget_upstream_spec.rb | 44 +++- .../organization_group_sync_request_spec.rb | 2 +- .../models/organization_group_sync_spec.rb | 2 +- .../organization_group_sync_status_spec.rb | 2 +- .../models/organization_invite_extend_spec.rb | 2 +- .../organization_invite_request_spec.rb | 2 +- .../spec/models/organization_invite_spec.rb | 2 +- ...zation_invite_update_request_patch_spec.rb | 2 +- .../models/organization_invite_update_spec.rb | 2 +- ...anization_membership_request_patch_spec.rb | 2 +- ...mbership_role_update_request_patch_spec.rb | 2 +- ...rganization_membership_role_update_spec.rb | 2 +- .../models/organization_membership_spec.rb | 2 +- ...ip_visibility_update_request_patch_spec.rb | 2 +- ...ation_membership_visibility_update_spec.rb | 2 +- ...ckage_license_policy_request_patch_spec.rb | 2 +- ...ion_package_license_policy_request_spec.rb | 2 +- ...rganization_package_license_policy_spec.rb | 2 +- ...vulnerability_policy_request_patch_spec.rb | 2 +- ...ckage_vulnerability_policy_request_spec.rb | 2 +- ...ation_package_vulnerability_policy_spec.rb | 2 +- ...ganization_saml_auth_request_patch_spec.rb | 2 +- .../models/organization_saml_auth_spec.rb | 2 +- .../ruby/src/spec/models/organization_spec.rb | 2 +- .../models/organization_team_invite_spec.rb | 2 +- .../models/organization_team_members_spec.rb | 2 +- .../organization_team_membership_spec.rb | 2 +- .../organization_team_request_patch_spec.rb | 2 +- .../models/organization_team_request_spec.rb | 2 +- .../src/spec/models/organization_team_spec.rb | 2 +- .../models/p2_package_upload_request_spec.rb | 2 +- .../src/spec/models/p2_package_upload_spec.rb | 14 +- .../spec/models/package_copy_request_spec.rb | 2 +- .../ruby/src/spec/models/package_copy_spec.rb | 14 +- .../package_deny_policy_request_patch_spec.rb | 2 +- .../package_deny_policy_request_spec.rb | 2 +- .../spec/models/package_deny_policy_spec.rb | 2 +- .../spec/models/package_dependencies_spec.rb | 2 +- .../spec/models/package_dependency_spec.rb | 2 +- .../models/package_file_parts_upload_spec.rb | 2 +- .../ruby/src/spec/models/package_file_spec.rb | 2 +- .../package_file_upload_request_spec.rb | 2 +- .../spec/models/package_file_upload_spec.rb | 2 +- .../src/spec/models/package_group_spec.rb | 2 +- ..._policy_evaluation_request_request_spec.rb | 2 +- ..._license_policy_evaluation_request_spec.rb | 2 +- ...e_policy_violation_log_cursor_page_spec.rb | 2 +- ...ckage_license_policy_violation_log_spec.rb | 2 +- .../package_license_request_patch_spec.rb | 2 +- .../src/spec/models/package_license_spec.rb | 2 +- .../spec/models/package_move_request_spec.rb | 2 +- .../ruby/src/spec/models/package_move_spec.rb | 14 +- .../models/package_quarantine_request_spec.rb | 2 +- .../spec/models/package_quarantine_spec.rb | 14 +- .../src/spec/models/package_resync_spec.rb | 14 +- bindings/ruby/src/spec/models/package_spec.rb | 14 +- .../src/spec/models/package_status_spec.rb | 2 +- .../spec/models/package_tag_request_spec.rb | 2 +- .../ruby/src/spec/models/package_tag_spec.rb | 14 +- .../spec/models/package_usage_metrics_spec.rb | 2 +- .../spec/models/package_version_badge_spec.rb | 2 +- ..._policy_evaluation_request_request_spec.rb | 2 +- ...rability_policy_evaluation_request_spec.rb | 2 +- ...y_policy_violation_log_cursor_page_spec.rb | 2 +- ...vulnerability_policy_violation_log_spec.rb | 2 +- .../spec/models/package_vulnerability_spec.rb | 2 +- .../src/spec/models/provider_settings_spec.rb | 2 +- ...vider_settings_write_request_patch_spec.rb | 2 +- .../provider_settings_write_request_spec.rb | 2 +- .../models/provider_settings_write_spec.rb | 2 +- .../python_package_upload_request_spec.rb | 2 +- .../spec/models/python_package_upload_spec.rb | 14 +- .../python_upstream_request_patch_spec.rb | 12 +- .../models/python_upstream_request_spec.rb | 12 +- .../src/spec/models/python_upstream_spec.rb | 54 ++++- .../src/spec/models/quota_history_spec.rb | 2 +- bindings/ruby/src/spec/models/quota_spec.rb | 2 +- .../ruby/src/spec/models/rate_check_spec.rb | 2 +- .../models/raw_package_upload_request_spec.rb | 2 +- .../spec/models/raw_package_upload_spec.rb | 14 +- .../spec/models/repository_audit_log_spec.rb | 2 +- .../models/repository_create_request_spec.rb | 18 +- .../src/spec/models/repository_create_spec.rb | 24 +- .../repository_ecdsa_key_create_spec.rb | 2 +- .../spec/models/repository_ecdsa_key_spec.rb | 2 +- .../models/repository_geo_ip_cidr_spec.rb | 2 +- .../repository_geo_ip_country_code_spec.rb | 2 +- ...ository_geo_ip_rules_request_patch_spec.rb | 2 +- .../repository_geo_ip_rules_request_spec.rb | 2 +- .../models/repository_geo_ip_rules_spec.rb | 2 +- .../models/repository_geo_ip_status_spec.rb | 2 +- ..._geo_ip_test_address_response_dict_spec.rb | 2 +- ...itory_geo_ip_test_address_response_spec.rb | 2 +- .../repository_geo_ip_test_address_spec.rb | 2 +- .../models/repository_gpg_key_create_spec.rb | 2 +- .../spec/models/repository_gpg_key_spec.rb | 2 +- .../models/repository_privilege_dict_spec.rb | 2 +- ...tory_privilege_input_request_patch_spec.rb | 2 +- ...repository_privilege_input_request_spec.rb | 2 +- .../models/repository_privilege_input_spec.rb | 2 +- .../models/repository_request_patch_spec.rb | 18 +- ...tory_retention_rules_request_patch_spec.rb | 2 +- .../models/repository_retention_rules_spec.rb | 2 +- .../models/repository_rsa_key_create_spec.rb | 2 +- .../spec/models/repository_rsa_key_spec.rb | 2 +- .../ruby/src/spec/models/repository_spec.rb | 24 +- .../models/repository_token_action_spec.rb | 2 +- .../repository_token_refresh_request_spec.rb | 8 +- .../models/repository_token_refresh_spec.rb | 8 +- .../repository_token_request_patch_spec.rb | 8 +- .../models/repository_token_request_spec.rb | 8 +- .../src/spec/models/repository_token_spec.rb | 8 +- .../repository_token_sync_request_spec.rb | 2 +- .../spec/models/repository_token_sync_spec.rb | 2 +- ...repository_transfer_region_request_spec.rb | 2 +- .../models/repository_transfer_region_spec.rb | 2 +- .../repository_webhook_request_patch_spec.rb | 2 +- .../models/repository_webhook_request_spec.rb | 2 +- .../spec/models/repository_webhook_spec.rb | 2 +- .../repository_x509_ecdsa_certificate_spec.rb | 2 +- .../repository_x509_rsa_certificate_spec.rb | 2 +- .../spec/models/resources_rate_check_spec.rb | 2 +- ...tory_geo_ip_enable_disable_request_spec.rb | 2 +- .../respository_geo_ip_enable_disable_spec.rb | 2 +- .../models/rpm_package_upload_request_spec.rb | 2 +- .../spec/models/rpm_package_upload_spec.rb | 14 +- .../models/rpm_upstream_request_patch_spec.rb | 2 +- .../spec/models/rpm_upstream_request_spec.rb | 2 +- .../ruby/src/spec/models/rpm_upstream_spec.rb | 50 +++- .../ruby_package_upload_request_spec.rb | 2 +- .../spec/models/ruby_package_upload_spec.rb | 14 +- .../ruby_upstream_request_patch_spec.rb | 2 +- .../spec/models/ruby_upstream_request_spec.rb | 2 +- .../src/spec/models/ruby_upstream_spec.rb | 44 +++- .../spec/models/service_request_patch_spec.rb | 2 +- .../src/spec/models/service_request_spec.rb | 2 +- bindings/ruby/src/spec/models/service_spec.rb | 2 +- .../src/spec/models/service_teams_spec.rb | 2 +- .../ruby/src/spec/models/status_basic_spec.rb | 2 +- .../storage_allocated_limit_raw_spec.rb | 2 +- .../models/storage_allocated_limit_spec.rb | 2 +- .../src/spec/models/storage_region_spec.rb | 2 +- .../src/spec/models/storage_usage_raw_spec.rb | 2 +- .../src/spec/models/storage_usage_spec.rb | 2 +- .../swift_package_upload_request_spec.rb | 2 +- .../spec/models/swift_package_upload_spec.rb | 14 +- .../swift_upstream_request_patch_spec.rb | 2 +- .../models/swift_upstream_request_spec.rb | 2 +- .../src/spec/models/swift_upstream_spec.rb | 44 +++- bindings/ruby/src/spec/models/tags_spec.rb | 2 +- .../terraform_package_upload_request_spec.rb | 2 +- .../models/terraform_package_upload_spec.rb | 14 +- .../src/spec/models/usage_fieldset_spec.rb | 2 +- .../src/spec/models/usage_limits_raw_spec.rb | 2 +- .../ruby/src/spec/models/usage_limits_spec.rb | 2 +- .../ruby/src/spec/models/usage_raw_spec.rb | 2 +- bindings/ruby/src/spec/models/usage_spec.rb | 2 +- .../models/user_auth_token_request_spec.rb | 2 +- .../src/spec/models/user_auth_token_spec.rb | 2 +- .../models/user_authentication_token_spec.rb | 2 +- .../ruby/src/spec/models/user_brief_spec.rb | 2 +- .../ruby/src/spec/models/user_profile_spec.rb | 2 +- .../vagrant_package_upload_request_spec.rb | 2 +- .../models/vagrant_package_upload_spec.rb | 14 +- .../vulnerability_scan_results_list_spec.rb | 2 +- .../models/vulnerability_scan_results_spec.rb | 2 +- .../spec/models/vulnerability_scan_spec.rb | 2 +- .../models/vulnerability_scan_version_spec.rb | 2 +- .../src/spec/models/vulnerability_spec.rb | 2 +- .../src/spec/models/webhook_template_spec.rb | 2 +- bindings/ruby/src/spec/spec_helper.rb | 2 +- 1010 files changed, 16305 insertions(+), 919 deletions(-) create mode 100644 bindings/java/src/docs/BroadcastToken.md create mode 100644 bindings/java/src/docs/BroadcastTokenInput.md create mode 100644 bindings/java/src/docs/BroadcastsApi.md create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/apis/BroadcastsApi.java create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/BroadcastToken.java create mode 100644 bindings/java/src/src/main/java/io/cloudsmith/api/models/BroadcastTokenInput.java create mode 100644 bindings/java/src/src/test/java/io/cloudsmith/api/apis/BroadcastsApiTest.java create mode 100644 bindings/python/src/cloudsmith_api/api/broadcasts_api.py create mode 100644 bindings/python/src/cloudsmith_api/models/broadcast_token.py create mode 100644 bindings/python/src/cloudsmith_api/models/broadcast_token_input.py create mode 100644 bindings/python/src/docs/BroadcastToken.md create mode 100644 bindings/python/src/docs/BroadcastTokenInput.md create mode 100644 bindings/python/src/docs/BroadcastsApi.md create mode 100644 bindings/python/src/test/test_broadcast_token.py create mode 100644 bindings/python/src/test/test_broadcast_token_input.py create mode 100644 bindings/python/src/test/test_broadcasts_api.py create mode 100644 bindings/ruby/src/docs/BroadcastToken.md create mode 100644 bindings/ruby/src/docs/BroadcastTokenInput.md create mode 100644 bindings/ruby/src/docs/BroadcastsApi.md create mode 100644 bindings/ruby/src/lib/cloudsmith-api/api/broadcasts_api.rb create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/broadcast_token.rb create mode 100644 bindings/ruby/src/lib/cloudsmith-api/models/broadcast_token_input.rb create mode 100644 bindings/ruby/src/spec/api/broadcasts_api_spec.rb create mode 100644 bindings/ruby/src/spec/models/broadcast_token_input_spec.rb create mode 100644 bindings/ruby/src/spec/models/broadcast_token_spec.rb diff --git a/bindings/java/src/.swagger-codegen/VERSION b/bindings/java/src/.swagger-codegen/VERSION index 24ade4ad..ba6a94ac 100644 --- a/bindings/java/src/.swagger-codegen/VERSION +++ b/bindings/java/src/.swagger-codegen/VERSION @@ -1 +1 @@ -2.4.43 \ No newline at end of file +2.4.50 \ No newline at end of file diff --git a/bindings/java/src/README.md b/bindings/java/src/README.md index ac8010df..c2e43908 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.22 + 2.0.23 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.22" +compile "io.cloudsmith.api:cloudsmith-api:2.0.23" ``` ### Others @@ -63,7 +63,7 @@ mvn clean package Then manually install the following JARs: -* `target/cloudsmith-api-2.0.22.jar` +* `target/cloudsmith-api-2.0.23.jar` * `target/lib/*.jar` ## Getting Started @@ -122,6 +122,7 @@ Class | Method | HTTP request | Description *AuditLogApi* | [**auditLogNamespaceList**](docs/AuditLogApi.md#auditLogNamespaceList) | **GET** /audit-log/{owner}/ | Lists audit log entries for a specific namespace. *AuditLogApi* | [**auditLogRepoList**](docs/AuditLogApi.md#auditLogRepoList) | **GET** /audit-log/{owner}/{repo}/ | Lists audit log entries for a specific repository. *BadgesApi* | [**badgesVersionList**](docs/BadgesApi.md#badgesVersionList) | **GET** /badges/version/{owner}/{repo}/{package_format}/{package_name}/{package_version}/{package_identifiers}/ | Get latest package version for a package or package group. +*BroadcastsApi* | [**broadcastsCreateBroadcastToken**](docs/BroadcastsApi.md#broadcastsCreateBroadcastToken) | **POST** /broadcasts/{org}/broadcast-token/ | Create a broadcast token. *DistrosApi* | [**distrosList**](docs/DistrosApi.md#distrosList) | **GET** /distros/ | Get a list of all supported distributions. *DistrosApi* | [**distrosRead**](docs/DistrosApi.md#distrosRead) | **GET** /distros/{slug}/ | View for viewing/listing distributions. *EntitlementsApi* | [**entitlementsCreate**](docs/EntitlementsApi.md#entitlementsCreate) | **POST** /entitlements/{owner}/{repo}/ | Create a specific entitlement in a repository. @@ -454,6 +455,8 @@ Class | Method | HTTP request | Description - [AlpinePackageUpload](docs/AlpinePackageUpload.md) - [AlpinePackageUploadRequest](docs/AlpinePackageUploadRequest.md) - [Architecture](docs/Architecture.md) + - [BroadcastToken](docs/BroadcastToken.md) + - [BroadcastTokenInput](docs/BroadcastTokenInput.md) - [CargoPackageUpload](docs/CargoPackageUpload.md) - [CargoPackageUploadRequest](docs/CargoPackageUploadRequest.md) - [CargoUpstream](docs/CargoUpstream.md) diff --git a/bindings/java/src/build.gradle b/bindings/java/src/build.gradle index 1653382c..d3c15560 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.22' +version = '2.0.23' buildscript { repositories { diff --git a/bindings/java/src/build.json b/bindings/java/src/build.json index fd492813..6e48afad 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.22", + "artifactVersion": "2.0.23", "artifactDescription": "Cloudsmith API", "dateLibrary": "java8", "developerName": "Cloudsmith Ltd", diff --git a/bindings/java/src/build.sbt b/bindings/java/src/build.sbt index 21813177..634ae934 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.22", + version := "2.0.23", 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 b08a5cca..bb43ff7c 100644 --- a/bindings/java/src/docs/AlpinePackageUpload.md +++ b/bindings/java/src/docs/AlpinePackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/BroadcastToken.md b/bindings/java/src/docs/BroadcastToken.md new file mode 100644 index 00000000..bc228578 --- /dev/null +++ b/bindings/java/src/docs/BroadcastToken.md @@ -0,0 +1,11 @@ + +# BroadcastToken + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**expiresAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] +**token** | **String** | | [optional] + + + diff --git a/bindings/java/src/docs/BroadcastTokenInput.md b/bindings/java/src/docs/BroadcastTokenInput.md new file mode 100644 index 00000000..190e433f --- /dev/null +++ b/bindings/java/src/docs/BroadcastTokenInput.md @@ -0,0 +1,11 @@ + +# BroadcastTokenInput + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**entitlementToken** | **String** | Repository entitlement token used to authorize the creation of a broadcast token | +**expiresIn** | **java.math.BigInteger** | Token expiry time in seconds (optional, defaults to 3600 seconds) | [optional] + + + diff --git a/bindings/java/src/docs/BroadcastsApi.md b/bindings/java/src/docs/BroadcastsApi.md new file mode 100644 index 00000000..8e987c86 --- /dev/null +++ b/bindings/java/src/docs/BroadcastsApi.md @@ -0,0 +1,71 @@ +# BroadcastsApi + +All URIs are relative to *https://api.cloudsmith.io* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**broadcastsCreateBroadcastToken**](BroadcastsApi.md#broadcastsCreateBroadcastToken) | **POST** /broadcasts/{org}/broadcast-token/ | Create a broadcast token. + + + +# **broadcastsCreateBroadcastToken** +> BroadcastToken broadcastsCreateBroadcastToken(org, data) + +Create a broadcast token. + +Create a broadcast token. + +### 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.BroadcastsApi; + +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"); + +BroadcastsApi apiInstance = new BroadcastsApi(); +String org = "org_example"; // String | +BroadcastTokenInput data = new BroadcastTokenInput(); // BroadcastTokenInput | +try { + BroadcastToken result = apiInstance.broadcastsCreateBroadcastToken(org, data); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BroadcastsApi#broadcastsCreateBroadcastToken"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **org** | **String**| | + **data** | [**BroadcastTokenInput**](BroadcastTokenInput.md)| | [optional] + +### Return type + +[**BroadcastToken**](BroadcastToken.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + diff --git a/bindings/java/src/docs/CargoPackageUpload.md b/bindings/java/src/docs/CargoPackageUpload.md index e33fd618..026155b6 100644 --- a/bindings/java/src/docs/CargoPackageUpload.md +++ b/bindings/java/src/docs/CargoPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/CargoUpstream.md b/bindings/java/src/docs/CargoUpstream.md index bd500bab..6714a872 100644 --- a/bindings/java/src/docs/CargoUpstream.md +++ b/bindings/java/src/docs/CargoUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/CocoapodsPackageUpload.md b/bindings/java/src/docs/CocoapodsPackageUpload.md index 8d0b6d07..aacaa181 100644 --- a/bindings/java/src/docs/CocoapodsPackageUpload.md +++ b/bindings/java/src/docs/CocoapodsPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/ComposerPackageUpload.md b/bindings/java/src/docs/ComposerPackageUpload.md index a412e731..04ce5a28 100644 --- a/bindings/java/src/docs/ComposerPackageUpload.md +++ b/bindings/java/src/docs/ComposerPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/ComposerUpstream.md b/bindings/java/src/docs/ComposerUpstream.md index 258bf976..90c93883 100644 --- a/bindings/java/src/docs/ComposerUpstream.md +++ b/bindings/java/src/docs/ComposerUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/ConanPackageUpload.md b/bindings/java/src/docs/ConanPackageUpload.md index 847a6a3e..a8eeadf1 100644 --- a/bindings/java/src/docs/ConanPackageUpload.md +++ b/bindings/java/src/docs/ConanPackageUpload.md @@ -53,6 +53,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -66,6 +67,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/CondaPackageUpload.md b/bindings/java/src/docs/CondaPackageUpload.md index 7d3f415e..fa579e86 100644 --- a/bindings/java/src/docs/CondaPackageUpload.md +++ b/bindings/java/src/docs/CondaPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/CondaUpstream.md b/bindings/java/src/docs/CondaUpstream.md index a743b233..ad860d9f 100644 --- a/bindings/java/src/docs/CondaUpstream.md +++ b/bindings/java/src/docs/CondaUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/CranPackageUpload.md b/bindings/java/src/docs/CranPackageUpload.md index 81d39e98..4beeb12e 100644 --- a/bindings/java/src/docs/CranPackageUpload.md +++ b/bindings/java/src/docs/CranPackageUpload.md @@ -52,6 +52,7 @@ Name | Type | Description | Notes **packageType** | **java.math.BigInteger** | The type of package contents. | [optional] **policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional] **rVersion** | **String** | Binary package uploads should specify the version of R they were built for. | [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] @@ -65,6 +66,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/CranUpstream.md b/bindings/java/src/docs/CranUpstream.md index 9d7472ad..95fd8bcd 100644 --- a/bindings/java/src/docs/CranUpstream.md +++ b/bindings/java/src/docs/CranUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/DartPackageUpload.md b/bindings/java/src/docs/DartPackageUpload.md index ffac03e0..390cd4fa 100644 --- a/bindings/java/src/docs/DartPackageUpload.md +++ b/bindings/java/src/docs/DartPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/DartUpstream.md b/bindings/java/src/docs/DartUpstream.md index 4daffe84..48be914f 100644 --- a/bindings/java/src/docs/DartUpstream.md +++ b/bindings/java/src/docs/DartUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/DebPackageUpload.md b/bindings/java/src/docs/DebPackageUpload.md index 4c17d3fe..0edb1eb7 100644 --- a/bindings/java/src/docs/DebPackageUpload.md +++ b/bindings/java/src/docs/DebPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/DebUpstream.md b/bindings/java/src/docs/DebUpstream.md index 5f4aaa41..086f31d3 100644 --- a/bindings/java/src/docs/DebUpstream.md +++ b/bindings/java/src/docs/DebUpstream.md @@ -7,19 +7,27 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [optional] **component** | **String** | The component to fetch from the upstream | [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] **distroVersions** | **List<String>** | The distribution version that packages found on this upstream could be associated with. | **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] +**gpgKeyFingerprintShort** | **String** | | [optional] **gpgKeyInline** | **String** | A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpgKeyUrl** | **String** | When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpgVerification** | [**GpgVerificationEnum**](#GpgVerificationEnum) | The GPG signature verification mode for this upstream. | [optional] +**hasFailedSignatureVerification** | **String** | | [optional] **includeSources** | **Boolean** | When true, source packages will be available from this upstream. | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/DockerPackageUpload.md b/bindings/java/src/docs/DockerPackageUpload.md index e7cf237e..2da871ac 100644 --- a/bindings/java/src/docs/DockerPackageUpload.md +++ b/bindings/java/src/docs/DockerPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/DockerUpstream.md b/bindings/java/src/docs/DockerUpstream.md index 7cd358b6..27d6f60d 100644 --- a/bindings/java/src/docs/DockerUpstream.md +++ b/bindings/java/src/docs/DockerUpstream.md @@ -7,12 +7,15 @@ 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** | **String** | | [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** | **String** | | [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. | diff --git a/bindings/java/src/docs/GoPackageUpload.md b/bindings/java/src/docs/GoPackageUpload.md index d258a2b8..ce34b71e 100644 --- a/bindings/java/src/docs/GoPackageUpload.md +++ b/bindings/java/src/docs/GoPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/GoUpstream.md b/bindings/java/src/docs/GoUpstream.md index b8d9e45a..d3ce37ac 100644 --- a/bindings/java/src/docs/GoUpstream.md +++ b/bindings/java/src/docs/GoUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/HelmPackageUpload.md b/bindings/java/src/docs/HelmPackageUpload.md index edf964e2..ad101574 100644 --- a/bindings/java/src/docs/HelmPackageUpload.md +++ b/bindings/java/src/docs/HelmPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/HelmUpstream.md b/bindings/java/src/docs/HelmUpstream.md index 2a3afcf2..67fbdc4f 100644 --- a/bindings/java/src/docs/HelmUpstream.md +++ b/bindings/java/src/docs/HelmUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/HexPackageUpload.md b/bindings/java/src/docs/HexPackageUpload.md index 9ebbb494..a86222e3 100644 --- a/bindings/java/src/docs/HexPackageUpload.md +++ b/bindings/java/src/docs/HexPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/HexUpstream.md b/bindings/java/src/docs/HexUpstream.md index 06a5a0e7..7d7bc7f0 100644 --- a/bindings/java/src/docs/HexUpstream.md +++ b/bindings/java/src/docs/HexUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/HuggingfacePackageUpload.md b/bindings/java/src/docs/HuggingfacePackageUpload.md index fdca6c70..400ba976 100644 --- a/bindings/java/src/docs/HuggingfacePackageUpload.md +++ b/bindings/java/src/docs/HuggingfacePackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/HuggingfaceUpstream.md b/bindings/java/src/docs/HuggingfaceUpstream.md index 6dd99064..0fb9ea7c 100644 --- a/bindings/java/src/docs/HuggingfaceUpstream.md +++ b/bindings/java/src/docs/HuggingfaceUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/LuarocksPackageUpload.md b/bindings/java/src/docs/LuarocksPackageUpload.md index 0c18156c..f1e877b9 100644 --- a/bindings/java/src/docs/LuarocksPackageUpload.md +++ b/bindings/java/src/docs/LuarocksPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/MavenPackageUpload.md b/bindings/java/src/docs/MavenPackageUpload.md index eb7576a8..b108686d 100644 --- a/bindings/java/src/docs/MavenPackageUpload.md +++ b/bindings/java/src/docs/MavenPackageUpload.md @@ -54,6 +54,7 @@ Name | Type | Description | Notes **packageType** | **java.math.BigInteger** | The type of package contents. | [optional] **packaging** | **String** | Artifact's Maven packaging type. | [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] @@ -69,6 +70,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/MavenUpstream.md b/bindings/java/src/docs/MavenUpstream.md index fb3596f4..8d2cb163 100644 --- a/bindings/java/src/docs/MavenUpstream.md +++ b/bindings/java/src/docs/MavenUpstream.md @@ -7,16 +7,24 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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] +**gpgKeyFingerprintShort** | **String** | | [optional] **gpgKeyInline** | **String** | A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpgKeyUrl** | **String** | When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpgVerification** | [**GpgVerificationEnum**](#GpgVerificationEnum) | The GPG signature verification mode for this upstream. | [optional] +**hasFailedSignatureVerification** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/ModelPackage.md b/bindings/java/src/docs/ModelPackage.md index 546909b8..a9946a29 100644 --- a/bindings/java/src/docs/ModelPackage.md +++ b/bindings/java/src/docs/ModelPackage.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/NpmPackageUpload.md b/bindings/java/src/docs/NpmPackageUpload.md index 53c63113..47f0c2e7 100644 --- a/bindings/java/src/docs/NpmPackageUpload.md +++ b/bindings/java/src/docs/NpmPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/NpmUpstream.md b/bindings/java/src/docs/NpmUpstream.md index 1aa0a563..4f861659 100644 --- a/bindings/java/src/docs/NpmUpstream.md +++ b/bindings/java/src/docs/NpmUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/NugetPackageUpload.md b/bindings/java/src/docs/NugetPackageUpload.md index f66f2dc9..a1659afa 100644 --- a/bindings/java/src/docs/NugetPackageUpload.md +++ b/bindings/java/src/docs/NugetPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/NugetUpstream.md b/bindings/java/src/docs/NugetUpstream.md index a0980bcb..fbca1278 100644 --- a/bindings/java/src/docs/NugetUpstream.md +++ b/bindings/java/src/docs/NugetUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/OrganizationTeam.md b/bindings/java/src/docs/OrganizationTeam.md index 31a9f38f..09a9c480 100644 --- a/bindings/java/src/docs/OrganizationTeam.md +++ b/bindings/java/src/docs/OrganizationTeam.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **String** | | [optional] -**name** | **String** | | +**name** | **String** | A descriptive name for the team. | **slug** | **String** | | [optional] **slugPerm** | **String** | | [optional] **visibility** | [**VisibilityEnum**](#VisibilityEnum) | | [optional] diff --git a/bindings/java/src/docs/OrganizationTeamRequest.md b/bindings/java/src/docs/OrganizationTeamRequest.md index 532e757f..7656938a 100644 --- a/bindings/java/src/docs/OrganizationTeamRequest.md +++ b/bindings/java/src/docs/OrganizationTeamRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **String** | | [optional] -**name** | **String** | | +**name** | **String** | A descriptive name for the team. | **slug** | **String** | | [optional] **visibility** | [**VisibilityEnum**](#VisibilityEnum) | | [optional] diff --git a/bindings/java/src/docs/OrganizationTeamRequestPatch.md b/bindings/java/src/docs/OrganizationTeamRequestPatch.md index cd677d57..2c5b4861 100644 --- a/bindings/java/src/docs/OrganizationTeamRequestPatch.md +++ b/bindings/java/src/docs/OrganizationTeamRequestPatch.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **String** | | [optional] -**name** | **String** | | [optional] +**name** | **String** | A descriptive name for the team. | [optional] **slug** | **String** | | [optional] **visibility** | [**VisibilityEnum**](#VisibilityEnum) | | [optional] diff --git a/bindings/java/src/docs/P2PackageUpload.md b/bindings/java/src/docs/P2PackageUpload.md index 97d95bc5..7a077f02 100644 --- a/bindings/java/src/docs/P2PackageUpload.md +++ b/bindings/java/src/docs/P2PackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/PackageCopy.md b/bindings/java/src/docs/PackageCopy.md index fde2fcc7..01d3d17e 100644 --- a/bindings/java/src/docs/PackageCopy.md +++ b/bindings/java/src/docs/PackageCopy.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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** | The repository the package will be copied to. | [optional] **repositoryUrl** | **String** | | [optional] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/PackageMove.md b/bindings/java/src/docs/PackageMove.md index 7c2b8805..7823c75b 100644 --- a/bindings/java/src/docs/PackageMove.md +++ b/bindings/java/src/docs/PackageMove.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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** | The repository the package will be moved to. | [optional] **repositoryUrl** | **String** | | [optional] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/PackageQuarantine.md b/bindings/java/src/docs/PackageQuarantine.md index 7a4f53df..34dcd654 100644 --- a/bindings/java/src/docs/PackageQuarantine.md +++ b/bindings/java/src/docs/PackageQuarantine.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] **repository** | **String** | | [optional] **repositoryUrl** | **String** | | [optional] **securityScanCompletedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning was completed. | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/PackageResync.md b/bindings/java/src/docs/PackageResync.md index 4b1168aa..6f0bac1f 100644 --- a/bindings/java/src/docs/PackageResync.md +++ b/bindings/java/src/docs/PackageResync.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/PackageTag.md b/bindings/java/src/docs/PackageTag.md index 8e74927a..7c318b87 100644 --- a/bindings/java/src/docs/PackageTag.md +++ b/bindings/java/src/docs/PackageTag.md @@ -52,6 +52,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -65,6 +66,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/PythonPackageUpload.md b/bindings/java/src/docs/PythonPackageUpload.md index c4865551..2b26f2d8 100644 --- a/bindings/java/src/docs/PythonPackageUpload.md +++ b/bindings/java/src/docs/PythonPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/PythonUpstream.md b/bindings/java/src/docs/PythonUpstream.md index 8fedcfd6..a9733afb 100644 --- a/bindings/java/src/docs/PythonUpstream.md +++ b/bindings/java/src/docs/PythonUpstream.md @@ -7,18 +7,26 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] +**trustLevel** | [**TrustLevelEnum**](#TrustLevelEnum) | Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. | [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] @@ -50,4 +58,12 @@ PROXY_ONLY | "Proxy Only" CACHE_AND_PROXY | "Cache and Proxy" + +## Enum: TrustLevelEnum +Name | Value +---- | ----- +TRUSTED | "Trusted" +UNTRUSTED | "Untrusted" + + diff --git a/bindings/java/src/docs/PythonUpstreamRequest.md b/bindings/java/src/docs/PythonUpstreamRequest.md index de215e4d..121902a4 100644 --- a/bindings/java/src/docs/PythonUpstreamRequest.md +++ b/bindings/java/src/docs/PythonUpstreamRequest.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **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] +**trustLevel** | [**TrustLevelEnum**](#TrustLevelEnum) | Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. | [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] @@ -35,4 +36,12 @@ PROXY_ONLY | "Proxy Only" CACHE_AND_PROXY | "Cache and Proxy" + +## Enum: TrustLevelEnum +Name | Value +---- | ----- +TRUSTED | "Trusted" +UNTRUSTED | "Untrusted" + + diff --git a/bindings/java/src/docs/PythonUpstreamRequestPatch.md b/bindings/java/src/docs/PythonUpstreamRequestPatch.md index faa2c930..ed403d83 100644 --- a/bindings/java/src/docs/PythonUpstreamRequestPatch.md +++ b/bindings/java/src/docs/PythonUpstreamRequestPatch.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **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] +**trustLevel** | [**TrustLevelEnum**](#TrustLevelEnum) | Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. | [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] @@ -35,4 +36,12 @@ PROXY_ONLY | "Proxy Only" CACHE_AND_PROXY | "Cache and Proxy" + +## Enum: TrustLevelEnum +Name | Value +---- | ----- +TRUSTED | "Trusted" +UNTRUSTED | "Untrusted" + + diff --git a/bindings/java/src/docs/RawPackageUpload.md b/bindings/java/src/docs/RawPackageUpload.md index 5fbc5eef..24bb508e 100644 --- a/bindings/java/src/docs/RawPackageUpload.md +++ b/bindings/java/src/docs/RawPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/Repository.md b/bindings/java/src/docs/Repository.md index 8a1dca13..b35a66c1 100644 --- a/bindings/java/src/docs/Repository.md +++ b/bindings/java/src/docs/Repository.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcastState** | [**BroadcastStateEnum**](#BroadcastStateEnum) | Broadcasting status of a repository. | [optional] **cdnUrl** | **String** | Base URL from which packages and other artifacts are downloaded. | [optional] **contentKind** | [**ContentKindEnum**](#ContentKindEnum) | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] **contextualAuthRealm** | **Boolean** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] @@ -20,6 +21,7 @@ Name | Type | Description | Notes **dockerRefreshTokensEnabled** | **Boolean** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **ecdsaKeys** | [**List<RepositoryEcdsaKey>**](RepositoryEcdsaKey.md) | | [optional] **enforceEula** | **Boolean** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**genericPackageIndexEnabled** | **Boolean** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **gpgKeys** | [**List<RepositoryGpgKey>**](RepositoryGpgKey.md) | | [optional] **indexFiles** | **Boolean** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **isOpenSource** | **Boolean** | | [optional] @@ -38,6 +40,7 @@ Name | Type | Description | Notes **openSourceLicense** | **String** | The SPDX identifier of the open source license. | [optional] **openSourceProjectUrl** | **String** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional] **packageCount** | **java.math.BigInteger** | The number of packages in the repository. | [optional] +**packageCountExclSubcomponents** | **java.math.BigInteger** | The number of packages in the repository excluding subcomponents. | [optional] **packageGroupCount** | **java.math.BigInteger** | The number of groups in the repository. | [optional] **proxyNpmjs** | **Boolean** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **proxyPypi** | **Boolean** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional] @@ -71,6 +74,17 @@ Name | Type | Description | Notes **viewStatistics** | [**ViewStatisticsEnum**](#ViewStatisticsEnum) | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] + +## Enum: BroadcastStateEnum +Name | Value +---- | ----- +OFF | "Off" +PRIVATE | "Private" +INTERNAL | "Internal" +PUBLIC | "Public" +OPEN_SOURCE | "Open-Source" + + ## Enum: ContentKindEnum Name | Value diff --git a/bindings/java/src/docs/RepositoryCreate.md b/bindings/java/src/docs/RepositoryCreate.md index 70c54f04..4a00744c 100644 --- a/bindings/java/src/docs/RepositoryCreate.md +++ b/bindings/java/src/docs/RepositoryCreate.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcastState** | [**BroadcastStateEnum**](#BroadcastStateEnum) | Broadcasting status of a repository. | [optional] **cdnUrl** | **String** | Base URL from which packages and other artifacts are downloaded. | [optional] **contentKind** | [**ContentKindEnum**](#ContentKindEnum) | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] **contextualAuthRealm** | **Boolean** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] @@ -20,6 +21,7 @@ Name | Type | Description | Notes **dockerRefreshTokensEnabled** | **Boolean** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **ecdsaKeys** | [**List<RepositoryEcdsaKey>**](RepositoryEcdsaKey.md) | | [optional] **enforceEula** | **Boolean** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**genericPackageIndexEnabled** | **Boolean** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **gpgKeys** | [**List<RepositoryGpgKey>**](RepositoryGpgKey.md) | | [optional] **indexFiles** | **Boolean** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **isOpenSource** | **Boolean** | | [optional] @@ -38,6 +40,7 @@ Name | Type | Description | Notes **openSourceLicense** | **String** | The SPDX identifier of the open source license. | [optional] **openSourceProjectUrl** | **String** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional] **packageCount** | **java.math.BigInteger** | The number of packages in the repository. | [optional] +**packageCountExclSubcomponents** | **java.math.BigInteger** | The number of packages in the repository excluding subcomponents. | [optional] **packageGroupCount** | **java.math.BigInteger** | The number of groups in the repository. | [optional] **proxyNpmjs** | **Boolean** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **proxyPypi** | **Boolean** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional] @@ -71,6 +74,17 @@ Name | Type | Description | Notes **viewStatistics** | [**ViewStatisticsEnum**](#ViewStatisticsEnum) | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] + +## Enum: BroadcastStateEnum +Name | Value +---- | ----- +OFF | "Off" +PRIVATE | "Private" +INTERNAL | "Internal" +PUBLIC | "Public" +OPEN_SOURCE | "Open-Source" + + ## Enum: ContentKindEnum Name | Value diff --git a/bindings/java/src/docs/RepositoryCreateRequest.md b/bindings/java/src/docs/RepositoryCreateRequest.md index 8a613d41..977d3af4 100644 --- a/bindings/java/src/docs/RepositoryCreateRequest.md +++ b/bindings/java/src/docs/RepositoryCreateRequest.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcastState** | [**BroadcastStateEnum**](#BroadcastStateEnum) | Broadcasting status of a repository. | [optional] **contentKind** | [**ContentKindEnum**](#ContentKindEnum) | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] **contextualAuthRealm** | **Boolean** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] **copyOwn** | **Boolean** | If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] @@ -16,6 +17,7 @@ Name | Type | Description | Notes **distributes** | **List<String>** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **dockerRefreshTokensEnabled** | **Boolean** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **enforceEula** | **Boolean** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**genericPackageIndexEnabled** | **Boolean** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **indexFiles** | **Boolean** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **manageEntitlementsPrivilege** | [**ManageEntitlementsPrivilegeEnum**](#ManageEntitlementsPrivilegeEnum) | This defines the minimum level of privilege required for a user to manage entitlement tokens with private repositories. Management is the ability to create, alter, enable, disable or delete all tokens without a repository. | [optional] **moveOwn** | **Boolean** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] @@ -50,6 +52,17 @@ Name | Type | Description | Notes **viewStatistics** | [**ViewStatisticsEnum**](#ViewStatisticsEnum) | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] + +## Enum: BroadcastStateEnum +Name | Value +---- | ----- +OFF | "Off" +PRIVATE | "Private" +INTERNAL | "Internal" +PUBLIC | "Public" +OPEN_SOURCE | "Open-Source" + + ## Enum: ContentKindEnum Name | Value diff --git a/bindings/java/src/docs/RepositoryRequestPatch.md b/bindings/java/src/docs/RepositoryRequestPatch.md index 7183c820..a0d2fd68 100644 --- a/bindings/java/src/docs/RepositoryRequestPatch.md +++ b/bindings/java/src/docs/RepositoryRequestPatch.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcastState** | [**BroadcastStateEnum**](#BroadcastStateEnum) | Broadcasting status of a repository. | [optional] **contentKind** | [**ContentKindEnum**](#ContentKindEnum) | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] **contextualAuthRealm** | **Boolean** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] **copyOwn** | **Boolean** | If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] @@ -16,6 +17,7 @@ Name | Type | Description | Notes **distributes** | **List<String>** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **dockerRefreshTokensEnabled** | **Boolean** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **enforceEula** | **Boolean** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**genericPackageIndexEnabled** | **Boolean** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **indexFiles** | **Boolean** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **manageEntitlementsPrivilege** | [**ManageEntitlementsPrivilegeEnum**](#ManageEntitlementsPrivilegeEnum) | This defines the minimum level of privilege required for a user to manage entitlement tokens with private repositories. Management is the ability to create, alter, enable, disable or delete all tokens without a repository. | [optional] **moveOwn** | **Boolean** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] @@ -49,6 +51,17 @@ Name | Type | Description | Notes **viewStatistics** | [**ViewStatisticsEnum**](#ViewStatisticsEnum) | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] + +## Enum: BroadcastStateEnum +Name | Value +---- | ----- +OFF | "Off" +PRIVATE | "Private" +INTERNAL | "Internal" +PUBLIC | "Public" +OPEN_SOURCE | "Open-Source" + + ## Enum: ContentKindEnum Name | Value diff --git a/bindings/java/src/docs/RepositoryToken.md b/bindings/java/src/docs/RepositoryToken.md index a6d1ffe6..334d2f20 100644 --- a/bindings/java/src/docs/RepositoryToken.md +++ b/bindings/java/src/docs/RepositoryToken.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**accessPrivateBroadcasts** | **Boolean** | If enabled, this token can be used for private broadcasts | [optional] **clients** | **java.math.BigInteger** | | [optional] **createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the token was updated at. | [optional] **createdBy** | **String** | | [optional] diff --git a/bindings/java/src/docs/RepositoryTokenRefresh.md b/bindings/java/src/docs/RepositoryTokenRefresh.md index 6909cae0..778c31ce 100644 --- a/bindings/java/src/docs/RepositoryTokenRefresh.md +++ b/bindings/java/src/docs/RepositoryTokenRefresh.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**accessPrivateBroadcasts** | **Boolean** | If enabled, this token can be used for private broadcasts | [optional] **clients** | **java.math.BigInteger** | | [optional] **createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the token was updated at. | [optional] **createdBy** | **String** | | [optional] diff --git a/bindings/java/src/docs/RepositoryTokenRefreshRequest.md b/bindings/java/src/docs/RepositoryTokenRefreshRequest.md index a57c85fa..8a2f2a65 100644 --- a/bindings/java/src/docs/RepositoryTokenRefreshRequest.md +++ b/bindings/java/src/docs/RepositoryTokenRefreshRequest.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**accessPrivateBroadcasts** | **Boolean** | If enabled, this token can be used for private broadcasts | [optional] **eulaRequired** | **Boolean** | If checked, a EULA acceptance is required for this token. | [optional] **isActive** | **Boolean** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] **limitBandwidth** | **java.math.BigInteger** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] diff --git a/bindings/java/src/docs/RepositoryTokenRequest.md b/bindings/java/src/docs/RepositoryTokenRequest.md index 107f7fe8..ddf4361c 100644 --- a/bindings/java/src/docs/RepositoryTokenRequest.md +++ b/bindings/java/src/docs/RepositoryTokenRequest.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**accessPrivateBroadcasts** | **Boolean** | If enabled, this token can be used for private broadcasts | [optional] **eulaRequired** | **Boolean** | If checked, a EULA acceptance is required for this token. | [optional] **isActive** | **Boolean** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] **limitBandwidth** | **java.math.BigInteger** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] diff --git a/bindings/java/src/docs/RepositoryTokenRequestPatch.md b/bindings/java/src/docs/RepositoryTokenRequestPatch.md index b9532249..88919ef6 100644 --- a/bindings/java/src/docs/RepositoryTokenRequestPatch.md +++ b/bindings/java/src/docs/RepositoryTokenRequestPatch.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**accessPrivateBroadcasts** | **Boolean** | If enabled, this token can be used for private broadcasts | [optional] **eulaRequired** | **Boolean** | If checked, a EULA acceptance is required for this token. | [optional] **isActive** | **Boolean** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] **limitBandwidth** | **java.math.BigInteger** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] diff --git a/bindings/java/src/docs/RpmPackageUpload.md b/bindings/java/src/docs/RpmPackageUpload.md index aee99dc2..7ef72b82 100644 --- a/bindings/java/src/docs/RpmPackageUpload.md +++ b/bindings/java/src/docs/RpmPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/RpmUpstream.md b/bindings/java/src/docs/RpmUpstream.md index 0537ca1a..e8b6ae33 100644 --- a/bindings/java/src/docs/RpmUpstream.md +++ b/bindings/java/src/docs/RpmUpstream.md @@ -7,18 +7,26 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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] **distroVersion** | **String** | The distribution version that packages found on this upstream will be associated with. | **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] +**gpgKeyFingerprintShort** | **String** | | [optional] **gpgKeyInline** | **String** | A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpgKeyUrl** | **String** | When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpgVerification** | [**GpgVerificationEnum**](#GpgVerificationEnum) | The GPG signature verification mode for this upstream. | [optional] +**hasFailedSignatureVerification** | **String** | | [optional] **includeSources** | **Boolean** | When checked, source packages will be available from this upstream. | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/RubyPackageUpload.md b/bindings/java/src/docs/RubyPackageUpload.md index 2d5a44b6..ecf00fcf 100644 --- a/bindings/java/src/docs/RubyPackageUpload.md +++ b/bindings/java/src/docs/RubyPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/RubyUpstream.md b/bindings/java/src/docs/RubyUpstream.md index a6df6066..341eb234 100644 --- a/bindings/java/src/docs/RubyUpstream.md +++ b/bindings/java/src/docs/RubyUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/SwiftPackageUpload.md b/bindings/java/src/docs/SwiftPackageUpload.md index e13dbf5e..51031265 100644 --- a/bindings/java/src/docs/SwiftPackageUpload.md +++ b/bindings/java/src/docs/SwiftPackageUpload.md @@ -54,6 +54,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] **readmeUrl** | **String** | The URL of the readme for the package. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] @@ -69,6 +70,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/SwiftUpstream.md b/bindings/java/src/docs/SwiftUpstream.md index dda6fce4..a15c0032 100644 --- a/bindings/java/src/docs/SwiftUpstream.md +++ b/bindings/java/src/docs/SwiftUpstream.md @@ -7,13 +7,20 @@ 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** | **String** | | [optional] +**canReindex** | **String** | | [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** | **String** | | [optional] +**indexPackageCount** | **String** | 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] diff --git a/bindings/java/src/docs/TerraformPackageUpload.md b/bindings/java/src/docs/TerraformPackageUpload.md index 6f09c397..94061f75 100644 --- a/bindings/java/src/docs/TerraformPackageUpload.md +++ b/bindings/java/src/docs/TerraformPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **originRepositoryUrl** | **String** | | [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] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/docs/VagrantPackageUpload.md b/bindings/java/src/docs/VagrantPackageUpload.md index 491a32cf..7bda0dc7 100644 --- a/bindings/java/src/docs/VagrantPackageUpload.md +++ b/bindings/java/src/docs/VagrantPackageUpload.md @@ -52,6 +52,7 @@ Name | Type | Description | Notes **packageType** | **java.math.BigInteger** | The type of package contents. | [optional] **policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional] **provider** | **String** | The virtual machine provider for the box. | +**rawLicense** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repositoryUrl** | **String** | | [optional] @@ -65,6 +66,7 @@ Name | Type | Description | Notes **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] diff --git a/bindings/java/src/pom.xml b/bindings/java/src/pom.xml index 593ba729..81616dab 100644 --- a/bindings/java/src/pom.xml +++ b/bindings/java/src/pom.xml @@ -5,7 +5,7 @@ cloudsmith-api jar cloudsmith-api - 2.0.22 + 2.0.23 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 0332154c..1728386a 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.22/java"); + setUserAgent("Swagger-Codegen/2.0.23/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 86dd428c..49786fd6 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 @@ -300,6 +300,8 @@ 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/BroadcastsApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/BroadcastsApi.java new file mode 100644 index 00000000..585c6f58 --- /dev/null +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/BroadcastsApi.java @@ -0,0 +1,217 @@ +/* + * 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.apis; + +import io.cloudsmith.api.ApiCallback; +import io.cloudsmith.api.ApiClient; +import io.cloudsmith.api.ApiException; +import io.cloudsmith.api.ApiResponse; +import io.cloudsmith.api.Configuration; +import io.cloudsmith.api.Pair; +import io.cloudsmith.api.ProgressRequestBody; +import io.cloudsmith.api.ProgressResponseBody; +import io.cloudsmith.api.BeanValidationException; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + +import javax.validation.constraints.*; +import javax.validation.ConstraintViolation; +import javax.validation.Validation; +import javax.validation.ValidatorFactory; +import javax.validation.executable.ExecutableValidator; +import java.util.Set; +import java.lang.reflect.Method; +import java.lang.reflect.Type; + +import io.cloudsmith.api.models.BroadcastToken; +import io.cloudsmith.api.models.BroadcastTokenInput; +import io.cloudsmith.api.models.ErrorDetail; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class BroadcastsApi { + private ApiClient apiClient; + private Map headers; + + public BroadcastsApi() { + this(Configuration.getDefaultApiClient()); + } + + public BroadcastsApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public void setHeadersOverrides(Map headers) { + this.headers = headers; + } + + /** + * Build call for broadcastsCreateBroadcastToken + * @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 broadcastsCreateBroadcastTokenCall(String org, BroadcastTokenInput data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = data; + + // create path and map variables + String localVarPath = "/broadcasts/{org}/broadcast-token/" + .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, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call broadcastsCreateBroadcastTokenValidateBeforeCall(String org, BroadcastTokenInput 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("broadcastsCreateBroadcastTokenWithHttpInfo", String.class, BroadcastTokenInput.class); + Set> violations = executableValidator.validateParameters(this, method, + parameterValues); + + if (violations.size() == 0) { + com.squareup.okhttp.Call call = broadcastsCreateBroadcastTokenCall(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()); + } + + } + + /** + * Create a broadcast token. + * Create a broadcast token. + * @param org (required) + * @param data (optional) + * @return BroadcastToken + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public BroadcastToken broadcastsCreateBroadcastToken(String org, BroadcastTokenInput data) throws ApiException { + ApiResponse resp = broadcastsCreateBroadcastTokenWithHttpInfo(org, data); + return resp.getData(); + } + + /** + * Create a broadcast token. + * Create a broadcast token. + * @param org (required) + * @param data (optional) + * @return ApiResponse<BroadcastToken> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse broadcastsCreateBroadcastTokenWithHttpInfo( @NotNull String org, BroadcastTokenInput data) throws ApiException { + com.squareup.okhttp.Call call = broadcastsCreateBroadcastTokenValidateBeforeCall(org, data, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Create a broadcast token. (asynchronously) + * Create a broadcast token. + * @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 broadcastsCreateBroadcastTokenAsync(String org, BroadcastTokenInput 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 = broadcastsCreateBroadcastTokenValidateBeforeCall(org, data, progressListener, progressRequestListener); + 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 ae8aa333..80f624f8 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 @@ -185,6 +185,9 @@ public class AlpinePackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, alpinePackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, alpinePackageUpload.packageType) && Objects.equals(this.policyViolated, alpinePackageUpload.policyViolated) && + Objects.equals(this.rawLicense, alpinePackageUpload.rawLicense) && Objects.equals(this.release, alpinePackageUpload.release) && Objects.equals(this.repository, alpinePackageUpload.repository) && Objects.equals(this.repositoryUrl, alpinePackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, alpinePackageUpload.size) && Objects.equals(this.slug, alpinePackageUpload.slug) && Objects.equals(this.slugPerm, alpinePackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, alpinePackageUpload.spdxLicense) && Objects.equals(this.stage, alpinePackageUpload.stage) && Objects.equals(this.stageStr, alpinePackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, alpinePackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/Architecture.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/Architecture.java index d99cd6c3..a40b5f18 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/Architecture.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/Architecture.java @@ -68,7 +68,7 @@ public Architecture name(String name) { * @return name **/ @NotNull - @Size(min=1,max=32) @ApiModelProperty(required = true, value = "") + @Size(min=1,max=128) @ApiModelProperty(required = true, value = "") public String getName() { return name; } diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/BroadcastToken.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/BroadcastToken.java new file mode 100644 index 00000000..72376275 --- /dev/null +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/BroadcastToken.java @@ -0,0 +1,106 @@ +/* + * 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; + +/** + * BroadcastToken + */ + +public class BroadcastToken implements Serializable { + private static final long serialVersionUID = 1L; + + @SerializedName("expires_at") + private OffsetDateTime expiresAt = null; + + @SerializedName("token") + private String token = null; + + /** + * Get expiresAt + * @return expiresAt + **/ + @Valid + @ApiModelProperty(value = "") + public OffsetDateTime getExpiresAt() { + return expiresAt; + } + + /** + * Get token + * @return token + **/ + @Size(min=1) @ApiModelProperty(value = "") + public String getToken() { + return token; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BroadcastToken broadcastToken = (BroadcastToken) o; + return Objects.equals(this.expiresAt, broadcastToken.expiresAt) && + Objects.equals(this.token, broadcastToken.token); + } + + @Override + public int hashCode() { + return Objects.hash(expiresAt, token); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BroadcastToken {\n"); + + sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); + sb.append(" token: ").append(toIndentedString(token)).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/BroadcastTokenInput.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/BroadcastTokenInput.java new file mode 100644 index 00000000..a7392616 --- /dev/null +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/BroadcastTokenInput.java @@ -0,0 +1,124 @@ +/* + * 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.io.Serializable; +import javax.validation.constraints.*; +import javax.validation.Valid; + +/** + * BroadcastTokenInput + */ + +public class BroadcastTokenInput implements Serializable { + private static final long serialVersionUID = 1L; + + @SerializedName("entitlement_token") + private String entitlementToken = null; + + @SerializedName("expires_in") + private java.math.BigInteger expiresIn = null; + + public BroadcastTokenInput entitlementToken(String entitlementToken) { + this.entitlementToken = entitlementToken; + return this; + } + + /** + * Repository entitlement token used to authorize the creation of a broadcast token + * @return entitlementToken + **/ + @NotNull + @Size(min=1) @ApiModelProperty(required = true, value = "Repository entitlement token used to authorize the creation of a broadcast token") + public String getEntitlementToken() { + return entitlementToken; + } + + public void setEntitlementToken(String entitlementToken) { + this.entitlementToken = entitlementToken; + } + + public BroadcastTokenInput expiresIn(java.math.BigInteger expiresIn) { + this.expiresIn = expiresIn; + return this; + } + + /** + * Token expiry time in seconds (optional, defaults to 3600 seconds) + * minimum: 1 + * @return expiresIn + **/ + @Min(1L) @ApiModelProperty(value = "Token expiry time in seconds (optional, defaults to 3600 seconds)") + public java.math.BigInteger getExpiresIn() { + return expiresIn; + } + + public void setExpiresIn(java.math.BigInteger expiresIn) { + this.expiresIn = expiresIn; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BroadcastTokenInput broadcastTokenInput = (BroadcastTokenInput) o; + return Objects.equals(this.entitlementToken, broadcastTokenInput.entitlementToken) && + Objects.equals(this.expiresIn, broadcastTokenInput.expiresIn); + } + + @Override + public int hashCode() { + return Objects.hash(entitlementToken, expiresIn); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BroadcastTokenInput {\n"); + + sb.append(" entitlementToken: ").append(toIndentedString(entitlementToken)).append("\n"); + sb.append(" expiresIn: ").append(toIndentedString(expiresIn)).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/CargoPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoPackageUpload.java index 8fbe48cc..9ba9dc40 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 @@ -185,6 +185,9 @@ public class CargoPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, cargoPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, cargoPackageUpload.packageType) && Objects.equals(this.policyViolated, cargoPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, cargoPackageUpload.rawLicense) && Objects.equals(this.release, cargoPackageUpload.release) && Objects.equals(this.repository, cargoPackageUpload.repository) && Objects.equals(this.repositoryUrl, cargoPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, cargoPackageUpload.size) && Objects.equals(this.slug, cargoPackageUpload.slug) && Objects.equals(this.slugPerm, cargoPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, cargoPackageUpload.spdxLicense) && Objects.equals(this.stage, cargoPackageUpload.stage) && Objects.equals(this.stageStr, cargoPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, cargoPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoUpstream.java index d0c12a04..da8a0594 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CargoUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public CargoUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public CargoUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public CargoUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, cargoUpstream.authMode) && Objects.equals(this.authSecret, cargoUpstream.authSecret) && Objects.equals(this.authUsername, cargoUpstream.authUsername) && + Objects.equals(this.available, cargoUpstream.available) && + Objects.equals(this.canReindex, cargoUpstream.canReindex) && Objects.equals(this.createdAt, cargoUpstream.createdAt) && Objects.equals(this.disableReason, cargoUpstream.disableReason) && + Objects.equals(this.disableReasonText, cargoUpstream.disableReasonText) && Objects.equals(this.extraHeader1, cargoUpstream.extraHeader1) && Objects.equals(this.extraHeader2, cargoUpstream.extraHeader2) && Objects.equals(this.extraValue1, cargoUpstream.extraValue1) && Objects.equals(this.extraValue2, cargoUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, cargoUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, cargoUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, cargoUpstream.indexStatus) && Objects.equals(this.isActive, cargoUpstream.isActive) && + Objects.equals(this.lastIndexed, cargoUpstream.lastIndexed) && Objects.equals(this.mode, cargoUpstream.mode) && Objects.equals(this.name, cargoUpstream.name) && Objects.equals(this.pendingValidation, cargoUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); 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 b60e144a..f44d2e35 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 @@ -185,6 +185,9 @@ public class CocoapodsPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, cocoapodsPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, cocoapodsPackageUpload.packageType) && Objects.equals(this.policyViolated, cocoapodsPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, cocoapodsPackageUpload.rawLicense) && Objects.equals(this.release, cocoapodsPackageUpload.release) && Objects.equals(this.repository, cocoapodsPackageUpload.repository) && Objects.equals(this.repositoryUrl, cocoapodsPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, cocoapodsPackageUpload.size) && Objects.equals(this.slug, cocoapodsPackageUpload.slug) && Objects.equals(this.slugPerm, cocoapodsPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, cocoapodsPackageUpload.spdxLicense) && Objects.equals(this.stage, cocoapodsPackageUpload.stage) && Objects.equals(this.stageStr, cocoapodsPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, cocoapodsPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); 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 df88538c..e8019dee 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 @@ -185,6 +185,9 @@ public class ComposerPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1190,6 +1214,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, composerPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, composerPackageUpload.packageType) && Objects.equals(this.policyViolated, composerPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, composerPackageUpload.rawLicense) && Objects.equals(this.release, composerPackageUpload.release) && Objects.equals(this.repository, composerPackageUpload.repository) && Objects.equals(this.repositoryUrl, composerPackageUpload.repositoryUrl) && @@ -1203,6 +1228,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, composerPackageUpload.size) && Objects.equals(this.slug, composerPackageUpload.slug) && Objects.equals(this.slugPerm, composerPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, composerPackageUpload.spdxLicense) && Objects.equals(this.stage, composerPackageUpload.stage) && Objects.equals(this.stageStr, composerPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, composerPackageUpload.stageUpdatedAt) && @@ -1228,7 +1254,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1284,6 +1310,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1297,6 +1324,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerUpstream.java index 7f1d0cd7..72183ab6 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/ComposerUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public ComposerUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public ComposerUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public ComposerUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, composerUpstream.authMode) && Objects.equals(this.authSecret, composerUpstream.authSecret) && Objects.equals(this.authUsername, composerUpstream.authUsername) && + Objects.equals(this.available, composerUpstream.available) && + Objects.equals(this.canReindex, composerUpstream.canReindex) && Objects.equals(this.createdAt, composerUpstream.createdAt) && Objects.equals(this.disableReason, composerUpstream.disableReason) && + Objects.equals(this.disableReasonText, composerUpstream.disableReasonText) && Objects.equals(this.extraHeader1, composerUpstream.extraHeader1) && Objects.equals(this.extraHeader2, composerUpstream.extraHeader2) && Objects.equals(this.extraValue1, composerUpstream.extraValue1) && Objects.equals(this.extraValue2, composerUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, composerUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, composerUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, composerUpstream.indexStatus) && Objects.equals(this.isActive, composerUpstream.isActive) && + Objects.equals(this.lastIndexed, composerUpstream.lastIndexed) && Objects.equals(this.mode, composerUpstream.mode) && Objects.equals(this.name, composerUpstream.name) && Objects.equals(this.pendingValidation, composerUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); 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 99653d46..ec4db613 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 @@ -191,6 +191,9 @@ public class ConanPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -289,6 +292,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -842,6 +848,15 @@ 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 @@ -962,6 +977,15 @@ 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 @@ -1243,6 +1267,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, conanPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, conanPackageUpload.packageType) && Objects.equals(this.policyViolated, conanPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, conanPackageUpload.rawLicense) && Objects.equals(this.release, conanPackageUpload.release) && Objects.equals(this.repository, conanPackageUpload.repository) && Objects.equals(this.repositoryUrl, conanPackageUpload.repositoryUrl) && @@ -1256,6 +1281,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, conanPackageUpload.size) && Objects.equals(this.slug, conanPackageUpload.slug) && Objects.equals(this.slugPerm, conanPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, conanPackageUpload.spdxLicense) && Objects.equals(this.stage, conanPackageUpload.stage) && Objects.equals(this.stageStr, conanPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, conanPackageUpload.stageUpdatedAt) && @@ -1281,7 +1307,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1339,6 +1365,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1352,6 +1379,7 @@ public String toString() { 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"); 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 8a7e3fff..272eab96 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 @@ -185,6 +185,9 @@ public class CondaPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, condaPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, condaPackageUpload.packageType) && Objects.equals(this.policyViolated, condaPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, condaPackageUpload.rawLicense) && Objects.equals(this.release, condaPackageUpload.release) && Objects.equals(this.repository, condaPackageUpload.repository) && Objects.equals(this.repositoryUrl, condaPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, condaPackageUpload.size) && Objects.equals(this.slug, condaPackageUpload.slug) && Objects.equals(this.slugPerm, condaPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, condaPackageUpload.spdxLicense) && Objects.equals(this.stage, condaPackageUpload.stage) && Objects.equals(this.stageStr, condaPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, condaPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaUpstream.java index 112dda5b..8577ad1e 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CondaUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public CondaUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public CondaUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public CondaUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, condaUpstream.authMode) && Objects.equals(this.authSecret, condaUpstream.authSecret) && Objects.equals(this.authUsername, condaUpstream.authUsername) && + Objects.equals(this.available, condaUpstream.available) && + Objects.equals(this.canReindex, condaUpstream.canReindex) && Objects.equals(this.createdAt, condaUpstream.createdAt) && Objects.equals(this.disableReason, condaUpstream.disableReason) && + Objects.equals(this.disableReasonText, condaUpstream.disableReasonText) && Objects.equals(this.extraHeader1, condaUpstream.extraHeader1) && Objects.equals(this.extraHeader2, condaUpstream.extraHeader2) && Objects.equals(this.extraValue1, condaUpstream.extraValue1) && Objects.equals(this.extraValue2, condaUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, condaUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, condaUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, condaUpstream.indexStatus) && Objects.equals(this.isActive, condaUpstream.isActive) && + Objects.equals(this.lastIndexed, condaUpstream.lastIndexed) && Objects.equals(this.mode, condaUpstream.mode) && Objects.equals(this.name, condaUpstream.name) && Objects.equals(this.pendingValidation, condaUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); 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 1e9f5329..8850f6a4 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 @@ -188,6 +188,9 @@ public class CranPackageUpload implements Serializable { @SerializedName("r_version") private String rVersion = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -286,6 +289,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -812,6 +818,15 @@ public void setRVersion(String rVersion) { this.rVersion = rVersion; } + /** + * 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 @@ -932,6 +947,15 @@ 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 @@ -1203,6 +1227,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.packageType, cranPackageUpload.packageType) && Objects.equals(this.policyViolated, cranPackageUpload.policyViolated) && Objects.equals(this.rVersion, cranPackageUpload.rVersion) && + Objects.equals(this.rawLicense, cranPackageUpload.rawLicense) && Objects.equals(this.release, cranPackageUpload.release) && Objects.equals(this.repository, cranPackageUpload.repository) && Objects.equals(this.repositoryUrl, cranPackageUpload.repositoryUrl) && @@ -1216,6 +1241,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, cranPackageUpload.size) && Objects.equals(this.slug, cranPackageUpload.slug) && Objects.equals(this.slugPerm, cranPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, cranPackageUpload.spdxLicense) && Objects.equals(this.stage, cranPackageUpload.stage) && Objects.equals(this.stageStr, cranPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, cranPackageUpload.stageUpdatedAt) && @@ -1241,7 +1267,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rVersion, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rVersion, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1298,6 +1324,7 @@ public String toString() { sb.append(" packageType: ").append(toIndentedString(packageType)).append("\n"); sb.append(" policyViolated: ").append(toIndentedString(policyViolated)).append("\n"); sb.append(" rVersion: ").append(toIndentedString(rVersion)).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"); @@ -1311,6 +1338,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranUpstream.java index 6a8ec42f..b69752a0 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/CranUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public CranUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public CranUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public CranUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, cranUpstream.authMode) && Objects.equals(this.authSecret, cranUpstream.authSecret) && Objects.equals(this.authUsername, cranUpstream.authUsername) && + Objects.equals(this.available, cranUpstream.available) && + Objects.equals(this.canReindex, cranUpstream.canReindex) && Objects.equals(this.createdAt, cranUpstream.createdAt) && Objects.equals(this.disableReason, cranUpstream.disableReason) && + Objects.equals(this.disableReasonText, cranUpstream.disableReasonText) && Objects.equals(this.extraHeader1, cranUpstream.extraHeader1) && Objects.equals(this.extraHeader2, cranUpstream.extraHeader2) && Objects.equals(this.extraValue1, cranUpstream.extraValue1) && Objects.equals(this.extraValue2, cranUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, cranUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, cranUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, cranUpstream.indexStatus) && Objects.equals(this.isActive, cranUpstream.isActive) && + Objects.equals(this.lastIndexed, cranUpstream.lastIndexed) && Objects.equals(this.mode, cranUpstream.mode) && Objects.equals(this.name, cranUpstream.name) && Objects.equals(this.pendingValidation, cranUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); 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 4e962dcf..548a0d0a 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 @@ -185,6 +185,9 @@ public class DartPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, dartPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, dartPackageUpload.packageType) && Objects.equals(this.policyViolated, dartPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, dartPackageUpload.rawLicense) && Objects.equals(this.release, dartPackageUpload.release) && Objects.equals(this.repository, dartPackageUpload.repository) && Objects.equals(this.repositoryUrl, dartPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, dartPackageUpload.size) && Objects.equals(this.slug, dartPackageUpload.slug) && Objects.equals(this.slugPerm, dartPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, dartPackageUpload.spdxLicense) && Objects.equals(this.stage, dartPackageUpload.stage) && Objects.equals(this.stageStr, dartPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, dartPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartUpstream.java index f124ccd3..f2185f74 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DartUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public DartUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public DartUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public DartUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, dartUpstream.authMode) && Objects.equals(this.authSecret, dartUpstream.authSecret) && Objects.equals(this.authUsername, dartUpstream.authUsername) && + Objects.equals(this.available, dartUpstream.available) && + Objects.equals(this.canReindex, dartUpstream.canReindex) && Objects.equals(this.createdAt, dartUpstream.createdAt) && Objects.equals(this.disableReason, dartUpstream.disableReason) && + Objects.equals(this.disableReasonText, dartUpstream.disableReasonText) && Objects.equals(this.extraHeader1, dartUpstream.extraHeader1) && Objects.equals(this.extraHeader2, dartUpstream.extraHeader2) && Objects.equals(this.extraValue1, dartUpstream.extraValue1) && Objects.equals(this.extraValue2, dartUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, dartUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, dartUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, dartUpstream.indexStatus) && Objects.equals(this.isActive, dartUpstream.isActive) && + Objects.equals(this.lastIndexed, dartUpstream.lastIndexed) && Objects.equals(this.mode, dartUpstream.mode) && Objects.equals(this.name, dartUpstream.name) && Objects.equals(this.pendingValidation, dartUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); 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 438af6b2..41fdbf3f 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 @@ -185,6 +185,9 @@ public class DebPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, debPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, debPackageUpload.packageType) && Objects.equals(this.policyViolated, debPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, debPackageUpload.rawLicense) && Objects.equals(this.release, debPackageUpload.release) && Objects.equals(this.repository, debPackageUpload.repository) && Objects.equals(this.repositoryUrl, debPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, debPackageUpload.size) && Objects.equals(this.slug, debPackageUpload.slug) && Objects.equals(this.slugPerm, debPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, debPackageUpload.spdxLicense) && Objects.equals(this.stage, debPackageUpload.stage) && Objects.equals(this.stageStr, debPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, debPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebUpstream.java index 4d162fb9..30468871 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DebUpstream.java @@ -93,6 +93,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("component") private String component = null; @@ -153,6 +159,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("distro_versions") private List distroVersions = new ArrayList<>(); @@ -168,6 +177,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("gpg_key_fingerprint_short") + private String gpgKeyFingerprintShort = null; + @SerializedName("gpg_key_inline") private String gpgKeyInline = null; @@ -226,12 +238,24 @@ public GpgVerificationEnum read(final JsonReader jsonReader) throws IOException @SerializedName("gpg_verification") private GpgVerificationEnum gpgVerification = GpgVerificationEnum.ALLOW_ALL; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + @SerializedName("include_sources") private Boolean includeSources = null; + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -414,6 +438,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + public DebUpstream component(String component) { this.component = component; return this; @@ -451,6 +493,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public DebUpstream distroVersions(List distroVersions) { this.distroVersions = distroVersions; return this; @@ -547,6 +598,15 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get gpgKeyFingerprintShort + * @return gpgKeyFingerprintShort + **/ + @ApiModelProperty(value = "") + public String getGpgKeyFingerprintShort() { + return gpgKeyFingerprintShort; + } + public DebUpstream gpgKeyInline(String gpgKeyInline) { this.gpgKeyInline = gpgKeyInline; return this; @@ -601,6 +661,15 @@ public void setGpgVerification(GpgVerificationEnum gpgVerification) { this.gpgVerification = gpgVerification; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + public DebUpstream includeSources(Boolean includeSources) { this.includeSources = includeSources; return this; @@ -619,6 +688,24 @@ public void setIncludeSources(Boolean includeSources) { this.includeSources = includeSources; } + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public DebUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -637,6 +724,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public DebUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -799,19 +895,27 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, debUpstream.authMode) && Objects.equals(this.authSecret, debUpstream.authSecret) && Objects.equals(this.authUsername, debUpstream.authUsername) && + Objects.equals(this.available, debUpstream.available) && + Objects.equals(this.canReindex, debUpstream.canReindex) && Objects.equals(this.component, debUpstream.component) && Objects.equals(this.createdAt, debUpstream.createdAt) && Objects.equals(this.disableReason, debUpstream.disableReason) && + Objects.equals(this.disableReasonText, debUpstream.disableReasonText) && Objects.equals(this.distroVersions, debUpstream.distroVersions) && Objects.equals(this.extraHeader1, debUpstream.extraHeader1) && Objects.equals(this.extraHeader2, debUpstream.extraHeader2) && Objects.equals(this.extraValue1, debUpstream.extraValue1) && Objects.equals(this.extraValue2, debUpstream.extraValue2) && + Objects.equals(this.gpgKeyFingerprintShort, debUpstream.gpgKeyFingerprintShort) && Objects.equals(this.gpgKeyInline, debUpstream.gpgKeyInline) && Objects.equals(this.gpgKeyUrl, debUpstream.gpgKeyUrl) && Objects.equals(this.gpgVerification, debUpstream.gpgVerification) && + Objects.equals(this.hasFailedSignatureVerification, debUpstream.hasFailedSignatureVerification) && Objects.equals(this.includeSources, debUpstream.includeSources) && + Objects.equals(this.indexPackageCount, debUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, debUpstream.indexStatus) && Objects.equals(this.isActive, debUpstream.isActive) && + Objects.equals(this.lastIndexed, debUpstream.lastIndexed) && Objects.equals(this.mode, debUpstream.mode) && Objects.equals(this.name, debUpstream.name) && Objects.equals(this.pendingValidation, debUpstream.pendingValidation) && @@ -826,7 +930,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, component, createdAt, disableReason, distroVersions, extraHeader1, extraHeader2, extraValue1, extraValue2, gpgKeyInline, gpgKeyUrl, gpgVerification, includeSources, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamDistribution, upstreamUrl, verificationStatus, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, component, createdAt, disableReason, disableReasonText, distroVersions, extraHeader1, extraHeader2, extraValue1, extraValue2, gpgKeyFingerprintShort, gpgKeyInline, gpgKeyUrl, gpgVerification, hasFailedSignatureVerification, includeSources, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamDistribution, upstreamUrl, verificationStatus, verifySsl); } @@ -838,19 +942,27 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" component: ").append(toIndentedString(component)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" distroVersions: ").append(toIndentedString(distroVersions)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" gpgKeyFingerprintShort: ").append(toIndentedString(gpgKeyFingerprintShort)).append("\n"); sb.append(" gpgKeyInline: ").append(toIndentedString(gpgKeyInline)).append("\n"); sb.append(" gpgKeyUrl: ").append(toIndentedString(gpgKeyUrl)).append("\n"); sb.append(" gpgVerification: ").append(toIndentedString(gpgVerification)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); sb.append(" includeSources: ").append(toIndentedString(includeSources)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); 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 53d6840a..396da8cb 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 @@ -185,6 +185,9 @@ public class DockerPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, dockerPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, dockerPackageUpload.packageType) && Objects.equals(this.policyViolated, dockerPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, dockerPackageUpload.rawLicense) && Objects.equals(this.release, dockerPackageUpload.release) && Objects.equals(this.repository, dockerPackageUpload.repository) && Objects.equals(this.repositoryUrl, dockerPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, dockerPackageUpload.size) && Objects.equals(this.slug, dockerPackageUpload.slug) && Objects.equals(this.slugPerm, dockerPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, dockerPackageUpload.spdxLicense) && Objects.equals(this.stage, dockerPackageUpload.stage) && Objects.equals(this.stageStr, dockerPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, dockerPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerUpstream.java index cdf07f12..99a47c84 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/DockerUpstream.java @@ -93,6 +93,9 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -150,6 +153,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -162,6 +168,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + @SerializedName("is_active") private Boolean isActive = null; @@ -290,6 +299,15 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -309,6 +327,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public DockerUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -381,6 +408,15 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + public DockerUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -534,12 +570,15 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, dockerUpstream.authMode) && Objects.equals(this.authSecret, dockerUpstream.authSecret) && Objects.equals(this.authUsername, dockerUpstream.authUsername) && + Objects.equals(this.available, dockerUpstream.available) && Objects.equals(this.createdAt, dockerUpstream.createdAt) && Objects.equals(this.disableReason, dockerUpstream.disableReason) && + Objects.equals(this.disableReasonText, dockerUpstream.disableReasonText) && Objects.equals(this.extraHeader1, dockerUpstream.extraHeader1) && Objects.equals(this.extraHeader2, dockerUpstream.extraHeader2) && Objects.equals(this.extraValue1, dockerUpstream.extraValue1) && Objects.equals(this.extraValue2, dockerUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, dockerUpstream.hasFailedSignatureVerification) && Objects.equals(this.isActive, dockerUpstream.isActive) && Objects.equals(this.mode, dockerUpstream.mode) && Objects.equals(this.name, dockerUpstream.name) && @@ -553,7 +592,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -565,12 +604,15 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); 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 7f5c6adf..20444a31 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 @@ -185,6 +185,9 @@ public class GoPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, goPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, goPackageUpload.packageType) && Objects.equals(this.policyViolated, goPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, goPackageUpload.rawLicense) && Objects.equals(this.release, goPackageUpload.release) && Objects.equals(this.repository, goPackageUpload.repository) && Objects.equals(this.repositoryUrl, goPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, goPackageUpload.size) && Objects.equals(this.slug, goPackageUpload.slug) && Objects.equals(this.slugPerm, goPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, goPackageUpload.spdxLicense) && Objects.equals(this.stage, goPackageUpload.stage) && Objects.equals(this.stageStr, goPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, goPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoUpstream.java index dd4d24d2..b0473c69 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/GoUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public GoUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public GoUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public GoUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, goUpstream.authMode) && Objects.equals(this.authSecret, goUpstream.authSecret) && Objects.equals(this.authUsername, goUpstream.authUsername) && + Objects.equals(this.available, goUpstream.available) && + Objects.equals(this.canReindex, goUpstream.canReindex) && Objects.equals(this.createdAt, goUpstream.createdAt) && Objects.equals(this.disableReason, goUpstream.disableReason) && + Objects.equals(this.disableReasonText, goUpstream.disableReasonText) && Objects.equals(this.extraHeader1, goUpstream.extraHeader1) && Objects.equals(this.extraHeader2, goUpstream.extraHeader2) && Objects.equals(this.extraValue1, goUpstream.extraValue1) && Objects.equals(this.extraValue2, goUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, goUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, goUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, goUpstream.indexStatus) && Objects.equals(this.isActive, goUpstream.isActive) && + Objects.equals(this.lastIndexed, goUpstream.lastIndexed) && Objects.equals(this.mode, goUpstream.mode) && Objects.equals(this.name, goUpstream.name) && Objects.equals(this.pendingValidation, goUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); 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 34c353f3..b968866a 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 @@ -185,6 +185,9 @@ public class HelmPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, helmPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, helmPackageUpload.packageType) && Objects.equals(this.policyViolated, helmPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, helmPackageUpload.rawLicense) && Objects.equals(this.release, helmPackageUpload.release) && Objects.equals(this.repository, helmPackageUpload.repository) && Objects.equals(this.repositoryUrl, helmPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, helmPackageUpload.size) && Objects.equals(this.slug, helmPackageUpload.slug) && Objects.equals(this.slugPerm, helmPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, helmPackageUpload.spdxLicense) && Objects.equals(this.stage, helmPackageUpload.stage) && Objects.equals(this.stageStr, helmPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, helmPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmUpstream.java index 3b370332..80247f35 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HelmUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public HelmUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public HelmUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public HelmUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, helmUpstream.authMode) && Objects.equals(this.authSecret, helmUpstream.authSecret) && Objects.equals(this.authUsername, helmUpstream.authUsername) && + Objects.equals(this.available, helmUpstream.available) && + Objects.equals(this.canReindex, helmUpstream.canReindex) && Objects.equals(this.createdAt, helmUpstream.createdAt) && Objects.equals(this.disableReason, helmUpstream.disableReason) && + Objects.equals(this.disableReasonText, helmUpstream.disableReasonText) && Objects.equals(this.extraHeader1, helmUpstream.extraHeader1) && Objects.equals(this.extraHeader2, helmUpstream.extraHeader2) && Objects.equals(this.extraValue1, helmUpstream.extraValue1) && Objects.equals(this.extraValue2, helmUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, helmUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, helmUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, helmUpstream.indexStatus) && Objects.equals(this.isActive, helmUpstream.isActive) && + Objects.equals(this.lastIndexed, helmUpstream.lastIndexed) && Objects.equals(this.mode, helmUpstream.mode) && Objects.equals(this.name, helmUpstream.name) && Objects.equals(this.pendingValidation, helmUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); 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 9a218b7f..91ff0b39 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 @@ -185,6 +185,9 @@ public class HexPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, hexPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, hexPackageUpload.packageType) && Objects.equals(this.policyViolated, hexPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, hexPackageUpload.rawLicense) && Objects.equals(this.release, hexPackageUpload.release) && Objects.equals(this.repository, hexPackageUpload.repository) && Objects.equals(this.repositoryUrl, hexPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, hexPackageUpload.size) && Objects.equals(this.slug, hexPackageUpload.slug) && Objects.equals(this.slugPerm, hexPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, hexPackageUpload.spdxLicense) && Objects.equals(this.stage, hexPackageUpload.stage) && Objects.equals(this.stageStr, hexPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, hexPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexUpstream.java index 65dd3fa3..07ddf6b8 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HexUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public HexUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public HexUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public HexUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, hexUpstream.authMode) && Objects.equals(this.authSecret, hexUpstream.authSecret) && Objects.equals(this.authUsername, hexUpstream.authUsername) && + Objects.equals(this.available, hexUpstream.available) && + Objects.equals(this.canReindex, hexUpstream.canReindex) && Objects.equals(this.createdAt, hexUpstream.createdAt) && Objects.equals(this.disableReason, hexUpstream.disableReason) && + Objects.equals(this.disableReasonText, hexUpstream.disableReasonText) && Objects.equals(this.extraHeader1, hexUpstream.extraHeader1) && Objects.equals(this.extraHeader2, hexUpstream.extraHeader2) && Objects.equals(this.extraValue1, hexUpstream.extraValue1) && Objects.equals(this.extraValue2, hexUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, hexUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, hexUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, hexUpstream.indexStatus) && Objects.equals(this.isActive, hexUpstream.isActive) && + Objects.equals(this.lastIndexed, hexUpstream.lastIndexed) && Objects.equals(this.mode, hexUpstream.mode) && Objects.equals(this.name, hexUpstream.name) && Objects.equals(this.pendingValidation, hexUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); 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 71d6d819..fd92e8bd 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 @@ -185,6 +185,9 @@ public class HuggingfacePackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, huggingfacePackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, huggingfacePackageUpload.packageType) && Objects.equals(this.policyViolated, huggingfacePackageUpload.policyViolated) && + Objects.equals(this.rawLicense, huggingfacePackageUpload.rawLicense) && Objects.equals(this.release, huggingfacePackageUpload.release) && Objects.equals(this.repository, huggingfacePackageUpload.repository) && Objects.equals(this.repositoryUrl, huggingfacePackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, huggingfacePackageUpload.size) && Objects.equals(this.slug, huggingfacePackageUpload.slug) && Objects.equals(this.slugPerm, huggingfacePackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, huggingfacePackageUpload.spdxLicense) && Objects.equals(this.stage, huggingfacePackageUpload.stage) && Objects.equals(this.stageStr, huggingfacePackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, huggingfacePackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfaceUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfaceUpstream.java index 6a8fea1c..f4e8e649 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfaceUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/HuggingfaceUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public HuggingfaceUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public HuggingfaceUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public HuggingfaceUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, huggingfaceUpstream.authMode) && Objects.equals(this.authSecret, huggingfaceUpstream.authSecret) && Objects.equals(this.authUsername, huggingfaceUpstream.authUsername) && + Objects.equals(this.available, huggingfaceUpstream.available) && + Objects.equals(this.canReindex, huggingfaceUpstream.canReindex) && Objects.equals(this.createdAt, huggingfaceUpstream.createdAt) && Objects.equals(this.disableReason, huggingfaceUpstream.disableReason) && + Objects.equals(this.disableReasonText, huggingfaceUpstream.disableReasonText) && Objects.equals(this.extraHeader1, huggingfaceUpstream.extraHeader1) && Objects.equals(this.extraHeader2, huggingfaceUpstream.extraHeader2) && Objects.equals(this.extraValue1, huggingfaceUpstream.extraValue1) && Objects.equals(this.extraValue2, huggingfaceUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, huggingfaceUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, huggingfaceUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, huggingfaceUpstream.indexStatus) && Objects.equals(this.isActive, huggingfaceUpstream.isActive) && + Objects.equals(this.lastIndexed, huggingfaceUpstream.lastIndexed) && Objects.equals(this.mode, huggingfaceUpstream.mode) && Objects.equals(this.name, huggingfaceUpstream.name) && Objects.equals(this.pendingValidation, huggingfaceUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\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 46a554ea..f388b5ac 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 @@ -185,6 +185,9 @@ public class LuarocksPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, luarocksPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, luarocksPackageUpload.packageType) && Objects.equals(this.policyViolated, luarocksPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, luarocksPackageUpload.rawLicense) && Objects.equals(this.release, luarocksPackageUpload.release) && Objects.equals(this.repository, luarocksPackageUpload.repository) && Objects.equals(this.repositoryUrl, luarocksPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, luarocksPackageUpload.size) && Objects.equals(this.slug, luarocksPackageUpload.slug) && Objects.equals(this.slugPerm, luarocksPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, luarocksPackageUpload.spdxLicense) && Objects.equals(this.stage, luarocksPackageUpload.stage) && Objects.equals(this.stageStr, luarocksPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, luarocksPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); 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 10f5cebd..62a798a5 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 @@ -194,6 +194,9 @@ public class MavenPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -298,6 +301,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -860,6 +866,15 @@ 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 @@ -1016,6 +1031,15 @@ 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 @@ -1298,6 +1322,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.packageType, mavenPackageUpload.packageType) && Objects.equals(this.packaging, mavenPackageUpload.packaging) && Objects.equals(this.policyViolated, mavenPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, mavenPackageUpload.rawLicense) && Objects.equals(this.release, mavenPackageUpload.release) && Objects.equals(this.repository, mavenPackageUpload.repository) && Objects.equals(this.repositoryUrl, mavenPackageUpload.repositoryUrl) && @@ -1313,6 +1338,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, mavenPackageUpload.size) && Objects.equals(this.slug, mavenPackageUpload.slug) && Objects.equals(this.slugPerm, mavenPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, mavenPackageUpload.spdxLicense) && Objects.equals(this.stage, mavenPackageUpload.stage) && Objects.equals(this.stageStr, mavenPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, mavenPackageUpload.stageUpdatedAt) && @@ -1338,7 +1364,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, packaging, policyViolated, release, repository, repositoryUrl, sbtVersion, scalaVersion, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, packaging, policyViolated, rawLicense, release, repository, repositoryUrl, sbtVersion, scalaVersion, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1397,6 +1423,7 @@ public String toString() { sb.append(" packageType: ").append(toIndentedString(packageType)).append("\n"); sb.append(" packaging: ").append(toIndentedString(packaging)).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"); @@ -1412,6 +1439,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenUpstream.java index 84c7063f..10303341 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/MavenUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,6 +169,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("gpg_key_fingerprint_short") + private String gpgKeyFingerprintShort = null; + @SerializedName("gpg_key_inline") private String gpgKeyInline = null; @@ -218,9 +230,21 @@ public GpgVerificationEnum read(final JsonReader jsonReader) throws IOException @SerializedName("gpg_verification") private GpgVerificationEnum gpgVerification = GpgVerificationEnum.ALLOW_ALL; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -402,6 +426,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -421,6 +463,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public MavenUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -493,6 +544,15 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get gpgKeyFingerprintShort + * @return gpgKeyFingerprintShort + **/ + @ApiModelProperty(value = "") + public String getGpgKeyFingerprintShort() { + return gpgKeyFingerprintShort; + } + public MavenUpstream gpgKeyInline(String gpgKeyInline) { this.gpgKeyInline = gpgKeyInline; return this; @@ -547,6 +607,33 @@ public void setGpgVerification(GpgVerificationEnum gpgVerification) { this.gpgVerification = gpgVerification; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public MavenUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -565,6 +652,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public MavenUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -709,16 +805,24 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, mavenUpstream.authMode) && Objects.equals(this.authSecret, mavenUpstream.authSecret) && Objects.equals(this.authUsername, mavenUpstream.authUsername) && + Objects.equals(this.available, mavenUpstream.available) && + Objects.equals(this.canReindex, mavenUpstream.canReindex) && Objects.equals(this.createdAt, mavenUpstream.createdAt) && Objects.equals(this.disableReason, mavenUpstream.disableReason) && + Objects.equals(this.disableReasonText, mavenUpstream.disableReasonText) && Objects.equals(this.extraHeader1, mavenUpstream.extraHeader1) && Objects.equals(this.extraHeader2, mavenUpstream.extraHeader2) && Objects.equals(this.extraValue1, mavenUpstream.extraValue1) && Objects.equals(this.extraValue2, mavenUpstream.extraValue2) && + Objects.equals(this.gpgKeyFingerprintShort, mavenUpstream.gpgKeyFingerprintShort) && Objects.equals(this.gpgKeyInline, mavenUpstream.gpgKeyInline) && Objects.equals(this.gpgKeyUrl, mavenUpstream.gpgKeyUrl) && Objects.equals(this.gpgVerification, mavenUpstream.gpgVerification) && + Objects.equals(this.hasFailedSignatureVerification, mavenUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, mavenUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, mavenUpstream.indexStatus) && Objects.equals(this.isActive, mavenUpstream.isActive) && + Objects.equals(this.lastIndexed, mavenUpstream.lastIndexed) && Objects.equals(this.mode, mavenUpstream.mode) && Objects.equals(this.name, mavenUpstream.name) && Objects.equals(this.pendingValidation, mavenUpstream.pendingValidation) && @@ -732,7 +836,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, gpgKeyInline, gpgKeyUrl, gpgVerification, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verificationStatus, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, gpgKeyFingerprintShort, gpgKeyInline, gpgKeyUrl, gpgVerification, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verificationStatus, verifySsl); } @@ -744,16 +848,24 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" gpgKeyFingerprintShort: ").append(toIndentedString(gpgKeyFingerprintShort)).append("\n"); sb.append(" gpgKeyInline: ").append(toIndentedString(gpgKeyInline)).append("\n"); sb.append(" gpgKeyUrl: ").append(toIndentedString(gpgKeyUrl)).append("\n"); sb.append(" gpgVerification: ").append(toIndentedString(gpgVerification)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); 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 22a9634d..8b933e85 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 @@ -185,6 +185,9 @@ public class ModelPackage implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -794,6 +800,15 @@ 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 @@ -914,6 +929,15 @@ 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 @@ -1203,6 +1227,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, _package.originRepositoryUrl) && Objects.equals(this.packageType, _package.packageType) && Objects.equals(this.policyViolated, _package.policyViolated) && + Objects.equals(this.rawLicense, _package.rawLicense) && Objects.equals(this.release, _package.release) && Objects.equals(this.repository, _package.repository) && Objects.equals(this.repositoryUrl, _package.repositoryUrl) && @@ -1216,6 +1241,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, _package.size) && Objects.equals(this.slug, _package.slug) && Objects.equals(this.slugPerm, _package.slugPerm) && + Objects.equals(this.spdxLicense, _package.spdxLicense) && Objects.equals(this.stage, _package.stage) && Objects.equals(this.stageStr, _package.stageStr) && Objects.equals(this.stageUpdatedAt, _package.stageUpdatedAt) && @@ -1242,7 +1268,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1298,6 +1324,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1311,6 +1338,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/NpmPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NpmPackageUpload.java index 007d8b50..3735d6c9 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/NpmPackageUpload.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NpmPackageUpload.java @@ -185,6 +185,9 @@ public class NpmPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, npmPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, npmPackageUpload.packageType) && Objects.equals(this.policyViolated, npmPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, npmPackageUpload.rawLicense) && Objects.equals(this.release, npmPackageUpload.release) && Objects.equals(this.repository, npmPackageUpload.repository) && Objects.equals(this.repositoryUrl, npmPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, npmPackageUpload.size) && Objects.equals(this.slug, npmPackageUpload.slug) && Objects.equals(this.slugPerm, npmPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, npmPackageUpload.spdxLicense) && Objects.equals(this.stage, npmPackageUpload.stage) && Objects.equals(this.stageStr, npmPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, npmPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/NpmUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NpmUpstream.java index dad85af9..7516ca26 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/NpmUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NpmUpstream.java @@ -93,6 +93,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -150,6 +156,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -162,9 +171,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -290,6 +311,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -309,6 +348,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public NpmUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -381,6 +429,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public NpmUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -399,6 +474,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public NpmUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -534,13 +618,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, npmUpstream.authMode) && Objects.equals(this.authSecret, npmUpstream.authSecret) && Objects.equals(this.authUsername, npmUpstream.authUsername) && + Objects.equals(this.available, npmUpstream.available) && + Objects.equals(this.canReindex, npmUpstream.canReindex) && Objects.equals(this.createdAt, npmUpstream.createdAt) && Objects.equals(this.disableReason, npmUpstream.disableReason) && + Objects.equals(this.disableReasonText, npmUpstream.disableReasonText) && Objects.equals(this.extraHeader1, npmUpstream.extraHeader1) && Objects.equals(this.extraHeader2, npmUpstream.extraHeader2) && Objects.equals(this.extraValue1, npmUpstream.extraValue1) && Objects.equals(this.extraValue2, npmUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, npmUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, npmUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, npmUpstream.indexStatus) && Objects.equals(this.isActive, npmUpstream.isActive) && + Objects.equals(this.lastIndexed, npmUpstream.lastIndexed) && Objects.equals(this.mode, npmUpstream.mode) && Objects.equals(this.name, npmUpstream.name) && Objects.equals(this.pendingValidation, npmUpstream.pendingValidation) && @@ -553,7 +644,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -565,13 +656,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/NugetPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NugetPackageUpload.java index 3ce42774..654d471e 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/NugetPackageUpload.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NugetPackageUpload.java @@ -185,6 +185,9 @@ public class NugetPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, nugetPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, nugetPackageUpload.packageType) && Objects.equals(this.policyViolated, nugetPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, nugetPackageUpload.rawLicense) && Objects.equals(this.release, nugetPackageUpload.release) && Objects.equals(this.repository, nugetPackageUpload.repository) && Objects.equals(this.repositoryUrl, nugetPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, nugetPackageUpload.size) && Objects.equals(this.slug, nugetPackageUpload.slug) && Objects.equals(this.slugPerm, nugetPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, nugetPackageUpload.spdxLicense) && Objects.equals(this.stage, nugetPackageUpload.stage) && Objects.equals(this.stageStr, nugetPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, nugetPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/NugetUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NugetUpstream.java index 20af7493..fbd4f18a 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/NugetUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/NugetUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public NugetUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public NugetUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public NugetUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, nugetUpstream.authMode) && Objects.equals(this.authSecret, nugetUpstream.authSecret) && Objects.equals(this.authUsername, nugetUpstream.authUsername) && + Objects.equals(this.available, nugetUpstream.available) && + Objects.equals(this.canReindex, nugetUpstream.canReindex) && Objects.equals(this.createdAt, nugetUpstream.createdAt) && Objects.equals(this.disableReason, nugetUpstream.disableReason) && + Objects.equals(this.disableReasonText, nugetUpstream.disableReasonText) && Objects.equals(this.extraHeader1, nugetUpstream.extraHeader1) && Objects.equals(this.extraHeader2, nugetUpstream.extraHeader2) && Objects.equals(this.extraValue1, nugetUpstream.extraValue1) && Objects.equals(this.extraValue2, nugetUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, nugetUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, nugetUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, nugetUpstream.indexStatus) && Objects.equals(this.isActive, nugetUpstream.isActive) && + Objects.equals(this.lastIndexed, nugetUpstream.lastIndexed) && Objects.equals(this.mode, nugetUpstream.mode) && Objects.equals(this.name, nugetUpstream.name) && Objects.equals(this.pendingValidation, nugetUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeam.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeam.java index a5b02f70..837b3a28 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeam.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeam.java @@ -120,11 +120,11 @@ public OrganizationTeam name(String name) { } /** - * Get name + * A descriptive name for the team. * @return name **/ @NotNull - @Size(min=1) @ApiModelProperty(required = true, value = "") + @Pattern(regexp="^\\w[\\w \\-'\\./()]+$") @Size(min=1,max=200) @ApiModelProperty(required = true, value = "A descriptive name for the team.") public String getName() { return name; } diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeamRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeamRequest.java index ad8d4fd5..f2d2dd5b 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeamRequest.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeamRequest.java @@ -117,11 +117,11 @@ public OrganizationTeamRequest name(String name) { } /** - * Get name + * A descriptive name for the team. * @return name **/ @NotNull - @Size(min=1) @ApiModelProperty(required = true, value = "") + @Pattern(regexp="^\\w[\\w \\-'\\./()]+$") @Size(min=1,max=200) @ApiModelProperty(required = true, value = "A descriptive name for the team.") public String getName() { return name; } diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeamRequestPatch.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeamRequestPatch.java index 0bb86cf0..62112924 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeamRequestPatch.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/OrganizationTeamRequestPatch.java @@ -117,10 +117,10 @@ public OrganizationTeamRequestPatch name(String name) { } /** - * Get name + * A descriptive name for the team. * @return name **/ - @Size(min=1) @ApiModelProperty(value = "") + @Pattern(regexp="^\\w[\\w \\-'\\./()]+$") @Size(min=1,max=200) @ApiModelProperty(value = "A descriptive name for the team.") public String getName() { return name; } diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/P2PackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/P2PackageUpload.java index b3063448..46fc236d 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/P2PackageUpload.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/P2PackageUpload.java @@ -185,6 +185,9 @@ public class P2PackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, p2PackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, p2PackageUpload.packageType) && Objects.equals(this.policyViolated, p2PackageUpload.policyViolated) && + Objects.equals(this.rawLicense, p2PackageUpload.rawLicense) && Objects.equals(this.release, p2PackageUpload.release) && Objects.equals(this.repository, p2PackageUpload.repository) && Objects.equals(this.repositoryUrl, p2PackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, p2PackageUpload.size) && Objects.equals(this.slug, p2PackageUpload.slug) && Objects.equals(this.slugPerm, p2PackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, p2PackageUpload.spdxLicense) && Objects.equals(this.stage, p2PackageUpload.stage) && Objects.equals(this.stageStr, p2PackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, p2PackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageCopy.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageCopy.java index 77743093..b162810e 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageCopy.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageCopy.java @@ -185,6 +185,9 @@ public class PackageCopy implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -794,6 +800,15 @@ 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 @@ -914,6 +929,15 @@ 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 @@ -1203,6 +1227,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, packageCopy.originRepositoryUrl) && Objects.equals(this.packageType, packageCopy.packageType) && Objects.equals(this.policyViolated, packageCopy.policyViolated) && + Objects.equals(this.rawLicense, packageCopy.rawLicense) && Objects.equals(this.release, packageCopy.release) && Objects.equals(this.repository, packageCopy.repository) && Objects.equals(this.repositoryUrl, packageCopy.repositoryUrl) && @@ -1216,6 +1241,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, packageCopy.size) && Objects.equals(this.slug, packageCopy.slug) && Objects.equals(this.slugPerm, packageCopy.slugPerm) && + Objects.equals(this.spdxLicense, packageCopy.spdxLicense) && Objects.equals(this.stage, packageCopy.stage) && Objects.equals(this.stageStr, packageCopy.stageStr) && Objects.equals(this.stageUpdatedAt, packageCopy.stageUpdatedAt) && @@ -1242,7 +1268,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1298,6 +1324,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1311,6 +1338,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageMove.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageMove.java index 1519911c..ea99b75a 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageMove.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageMove.java @@ -185,6 +185,9 @@ public class PackageMove implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -794,6 +800,15 @@ 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 @@ -914,6 +929,15 @@ 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 @@ -1203,6 +1227,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, packageMove.originRepositoryUrl) && Objects.equals(this.packageType, packageMove.packageType) && Objects.equals(this.policyViolated, packageMove.policyViolated) && + Objects.equals(this.rawLicense, packageMove.rawLicense) && Objects.equals(this.release, packageMove.release) && Objects.equals(this.repository, packageMove.repository) && Objects.equals(this.repositoryUrl, packageMove.repositoryUrl) && @@ -1216,6 +1241,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, packageMove.size) && Objects.equals(this.slug, packageMove.slug) && Objects.equals(this.slugPerm, packageMove.slugPerm) && + Objects.equals(this.spdxLicense, packageMove.spdxLicense) && Objects.equals(this.stage, packageMove.stage) && Objects.equals(this.stageStr, packageMove.stageStr) && Objects.equals(this.stageUpdatedAt, packageMove.stageUpdatedAt) && @@ -1242,7 +1268,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1298,6 +1324,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1311,6 +1338,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageQuarantine.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageQuarantine.java index 28e652de..2f0ac0ab 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageQuarantine.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageQuarantine.java @@ -185,6 +185,9 @@ public class PackageQuarantine implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("repository") private String repository = null; @@ -280,6 +283,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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; + } + /** * Get repository * @return repository @@ -902,6 +917,15 @@ 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 @@ -1191,6 +1215,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, packageQuarantine.originRepositoryUrl) && Objects.equals(this.packageType, packageQuarantine.packageType) && Objects.equals(this.policyViolated, packageQuarantine.policyViolated) && + Objects.equals(this.rawLicense, packageQuarantine.rawLicense) && Objects.equals(this.repository, packageQuarantine.repository) && Objects.equals(this.repositoryUrl, packageQuarantine.repositoryUrl) && Objects.equals(this.securityScanCompletedAt, packageQuarantine.securityScanCompletedAt) && @@ -1203,6 +1228,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, packageQuarantine.size) && Objects.equals(this.slug, packageQuarantine.slug) && Objects.equals(this.slugPerm, packageQuarantine.slugPerm) && + Objects.equals(this.spdxLicense, packageQuarantine.spdxLicense) && Objects.equals(this.stage, packageQuarantine.stage) && Objects.equals(this.stageStr, packageQuarantine.stageStr) && Objects.equals(this.stageUpdatedAt, packageQuarantine.stageUpdatedAt) && @@ -1229,7 +1255,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1285,6 +1311,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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(" repository: ").append(toIndentedString(repository)).append("\n"); sb.append(" repositoryUrl: ").append(toIndentedString(repositoryUrl)).append("\n"); sb.append(" securityScanCompletedAt: ").append(toIndentedString(securityScanCompletedAt)).append("\n"); @@ -1297,6 +1324,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageResync.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageResync.java index 4ffb9050..1b2991d0 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageResync.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageResync.java @@ -185,6 +185,9 @@ public class PackageResync implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -794,6 +800,15 @@ 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 @@ -914,6 +929,15 @@ 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 @@ -1203,6 +1227,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, packageResync.originRepositoryUrl) && Objects.equals(this.packageType, packageResync.packageType) && Objects.equals(this.policyViolated, packageResync.policyViolated) && + Objects.equals(this.rawLicense, packageResync.rawLicense) && Objects.equals(this.release, packageResync.release) && Objects.equals(this.repository, packageResync.repository) && Objects.equals(this.repositoryUrl, packageResync.repositoryUrl) && @@ -1216,6 +1241,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, packageResync.size) && Objects.equals(this.slug, packageResync.slug) && Objects.equals(this.slugPerm, packageResync.slugPerm) && + Objects.equals(this.spdxLicense, packageResync.spdxLicense) && Objects.equals(this.stage, packageResync.stage) && Objects.equals(this.stageStr, packageResync.stageStr) && Objects.equals(this.stageUpdatedAt, packageResync.stageUpdatedAt) && @@ -1242,7 +1268,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, files, format, formatUrl, freeableStorage, fullyQualifiedName, identifierPerm, identifiers, indexed, isCancellable, isCopyable, isDeleteable, isDownloadable, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1298,6 +1324,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1311,6 +1338,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageTag.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageTag.java index f88c2122..77c83e48 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageTag.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PackageTag.java @@ -188,6 +188,9 @@ public class PackageTag implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -286,6 +289,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -812,6 +818,15 @@ 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 @@ -932,6 +947,15 @@ 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 @@ -1203,6 +1227,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, packageTag.originRepositoryUrl) && Objects.equals(this.packageType, packageTag.packageType) && Objects.equals(this.policyViolated, packageTag.policyViolated) && + Objects.equals(this.rawLicense, packageTag.rawLicense) && Objects.equals(this.release, packageTag.release) && Objects.equals(this.repository, packageTag.repository) && Objects.equals(this.repositoryUrl, packageTag.repositoryUrl) && @@ -1216,6 +1241,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, packageTag.size) && Objects.equals(this.slug, packageTag.slug) && Objects.equals(this.slugPerm, packageTag.slugPerm) && + Objects.equals(this.spdxLicense, packageTag.spdxLicense) && Objects.equals(this.stage, packageTag.stage) && Objects.equals(this.stageStr, packageTag.stageStr) && Objects.equals(this.stageUpdatedAt, packageTag.stageUpdatedAt) && @@ -1241,7 +1267,7 @@ public boolean equals(java.lang.Object o) { @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, isImmutable, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isImmutable, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1298,6 +1324,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1311,6 +1338,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonPackageUpload.java index 70969bf8..d339ff8c 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonPackageUpload.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonPackageUpload.java @@ -185,6 +185,9 @@ public class PythonPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, pythonPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, pythonPackageUpload.packageType) && Objects.equals(this.policyViolated, pythonPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, pythonPackageUpload.rawLicense) && Objects.equals(this.release, pythonPackageUpload.release) && Objects.equals(this.repository, pythonPackageUpload.repository) && Objects.equals(this.repositoryUrl, pythonPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, pythonPackageUpload.size) && Objects.equals(this.slug, pythonPackageUpload.slug) && Objects.equals(this.slugPerm, pythonPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, pythonPackageUpload.spdxLicense) && Objects.equals(this.stage, pythonPackageUpload.stage) && Objects.equals(this.stageStr, pythonPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, pythonPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstream.java index a7fef252..779ede60 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -225,6 +246,56 @@ public ModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("slug_perm") private String slugPerm = null; + /** + * Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + */ + @JsonAdapter(TrustLevelEnum.Adapter.class) + public enum TrustLevelEnum { + TRUSTED("Trusted"), + + UNTRUSTED("Untrusted"); + + private String value; + + TrustLevelEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TrustLevelEnum fromValue(String text) { + for (TrustLevelEnum b : TrustLevelEnum.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 TrustLevelEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TrustLevelEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TrustLevelEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("trust_level") + private TrustLevelEnum trustLevel = TrustLevelEnum.TRUSTED; + @SerializedName("updated_at") private OffsetDateTime updatedAt = null; @@ -288,6 +359,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +396,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public PythonUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +477,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public PythonUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +522,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public PythonUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -472,6 +606,24 @@ public String getSlugPerm() { return slugPerm; } + public PythonUpstream trustLevel(TrustLevelEnum trustLevel) { + this.trustLevel = trustLevel; + return this; + } + + /** + * Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + * @return trustLevel + **/ + @ApiModelProperty(value = "Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors.") + public TrustLevelEnum getTrustLevel() { + return trustLevel; + } + + public void setTrustLevel(TrustLevelEnum trustLevel) { + this.trustLevel = trustLevel; + } + /** * Get updatedAt * @return updatedAt @@ -532,18 +684,26 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, pythonUpstream.authMode) && Objects.equals(this.authSecret, pythonUpstream.authSecret) && Objects.equals(this.authUsername, pythonUpstream.authUsername) && + Objects.equals(this.available, pythonUpstream.available) && + Objects.equals(this.canReindex, pythonUpstream.canReindex) && Objects.equals(this.createdAt, pythonUpstream.createdAt) && Objects.equals(this.disableReason, pythonUpstream.disableReason) && + Objects.equals(this.disableReasonText, pythonUpstream.disableReasonText) && Objects.equals(this.extraHeader1, pythonUpstream.extraHeader1) && Objects.equals(this.extraHeader2, pythonUpstream.extraHeader2) && Objects.equals(this.extraValue1, pythonUpstream.extraValue1) && Objects.equals(this.extraValue2, pythonUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, pythonUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, pythonUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, pythonUpstream.indexStatus) && Objects.equals(this.isActive, pythonUpstream.isActive) && + Objects.equals(this.lastIndexed, pythonUpstream.lastIndexed) && Objects.equals(this.mode, pythonUpstream.mode) && Objects.equals(this.name, pythonUpstream.name) && Objects.equals(this.pendingValidation, pythonUpstream.pendingValidation) && Objects.equals(this.priority, pythonUpstream.priority) && Objects.equals(this.slugPerm, pythonUpstream.slugPerm) && + Objects.equals(this.trustLevel, pythonUpstream.trustLevel) && Objects.equals(this.updatedAt, pythonUpstream.updatedAt) && Objects.equals(this.upstreamUrl, pythonUpstream.upstreamUrl) && Objects.equals(this.verifySsl, pythonUpstream.verifySsl); @@ -551,7 +711,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, trustLevel, updatedAt, upstreamUrl, verifySsl); } @@ -563,18 +723,26 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); sb.append(" priority: ").append(toIndentedString(priority)).append("\n"); sb.append(" slugPerm: ").append(toIndentedString(slugPerm)).append("\n"); + sb.append(" trustLevel: ").append(toIndentedString(trustLevel)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); sb.append(" upstreamUrl: ").append(toIndentedString(upstreamUrl)).append("\n"); sb.append(" verifySsl: ").append(toIndentedString(verifySsl)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstreamRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstreamRequest.java index 91730f4c..26154acd 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstreamRequest.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstreamRequest.java @@ -161,6 +161,56 @@ public ModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("priority") private java.math.BigInteger priority = null; + /** + * Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + */ + @JsonAdapter(TrustLevelEnum.Adapter.class) + public enum TrustLevelEnum { + TRUSTED("Trusted"), + + UNTRUSTED("Untrusted"); + + private String value; + + TrustLevelEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TrustLevelEnum fromValue(String text) { + for (TrustLevelEnum b : TrustLevelEnum.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 TrustLevelEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TrustLevelEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TrustLevelEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("trust_level") + private TrustLevelEnum trustLevel = TrustLevelEnum.TRUSTED; + @SerializedName("upstream_url") private String upstreamUrl = null; @@ -368,6 +418,24 @@ public void setPriority(java.math.BigInteger priority) { this.priority = priority; } + public PythonUpstreamRequest trustLevel(TrustLevelEnum trustLevel) { + this.trustLevel = trustLevel; + return this; + } + + /** + * Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + * @return trustLevel + **/ + @ApiModelProperty(value = "Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors.") + public TrustLevelEnum getTrustLevel() { + return trustLevel; + } + + public void setTrustLevel(TrustLevelEnum trustLevel) { + this.trustLevel = trustLevel; + } + public PythonUpstreamRequest upstreamUrl(String upstreamUrl) { this.upstreamUrl = upstreamUrl; return this; @@ -426,13 +494,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.mode, pythonUpstreamRequest.mode) && Objects.equals(this.name, pythonUpstreamRequest.name) && Objects.equals(this.priority, pythonUpstreamRequest.priority) && + Objects.equals(this.trustLevel, pythonUpstreamRequest.trustLevel) && Objects.equals(this.upstreamUrl, pythonUpstreamRequest.upstreamUrl) && Objects.equals(this.verifySsl, pythonUpstreamRequest.verifySsl); } @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, priority, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, priority, trustLevel, upstreamUrl, verifySsl); } @@ -452,6 +521,7 @@ public String toString() { sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" priority: ").append(toIndentedString(priority)).append("\n"); + sb.append(" trustLevel: ").append(toIndentedString(trustLevel)).append("\n"); sb.append(" upstreamUrl: ").append(toIndentedString(upstreamUrl)).append("\n"); sb.append(" verifySsl: ").append(toIndentedString(verifySsl)).append("\n"); sb.append("}"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstreamRequestPatch.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstreamRequestPatch.java index 4df296f1..5f36e0a0 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstreamRequestPatch.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/PythonUpstreamRequestPatch.java @@ -161,6 +161,56 @@ public ModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("priority") private java.math.BigInteger priority = null; + /** + * Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + */ + @JsonAdapter(TrustLevelEnum.Adapter.class) + public enum TrustLevelEnum { + TRUSTED("Trusted"), + + UNTRUSTED("Untrusted"); + + private String value; + + TrustLevelEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TrustLevelEnum fromValue(String text) { + for (TrustLevelEnum b : TrustLevelEnum.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 TrustLevelEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TrustLevelEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TrustLevelEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("trust_level") + private TrustLevelEnum trustLevel = TrustLevelEnum.TRUSTED; + @SerializedName("upstream_url") private String upstreamUrl = null; @@ -367,6 +417,24 @@ public void setPriority(java.math.BigInteger priority) { this.priority = priority; } + public PythonUpstreamRequestPatch trustLevel(TrustLevelEnum trustLevel) { + this.trustLevel = trustLevel; + return this; + } + + /** + * Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + * @return trustLevel + **/ + @ApiModelProperty(value = "Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors.") + public TrustLevelEnum getTrustLevel() { + return trustLevel; + } + + public void setTrustLevel(TrustLevelEnum trustLevel) { + this.trustLevel = trustLevel; + } + public PythonUpstreamRequestPatch upstreamUrl(String upstreamUrl) { this.upstreamUrl = upstreamUrl; return this; @@ -424,13 +492,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.mode, pythonUpstreamRequestPatch.mode) && Objects.equals(this.name, pythonUpstreamRequestPatch.name) && Objects.equals(this.priority, pythonUpstreamRequestPatch.priority) && + Objects.equals(this.trustLevel, pythonUpstreamRequestPatch.trustLevel) && Objects.equals(this.upstreamUrl, pythonUpstreamRequestPatch.upstreamUrl) && Objects.equals(this.verifySsl, pythonUpstreamRequestPatch.verifySsl); } @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, priority, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, priority, trustLevel, upstreamUrl, verifySsl); } @@ -450,6 +519,7 @@ public String toString() { sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" priority: ").append(toIndentedString(priority)).append("\n"); + sb.append(" trustLevel: ").append(toIndentedString(trustLevel)).append("\n"); sb.append(" upstreamUrl: ").append(toIndentedString(upstreamUrl)).append("\n"); sb.append(" verifySsl: ").append(toIndentedString(verifySsl)).append("\n"); sb.append("}"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RawPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RawPackageUpload.java index 13e3318b..64bdea2e 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RawPackageUpload.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RawPackageUpload.java @@ -185,6 +185,9 @@ public class RawPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -809,6 +815,15 @@ 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 @@ -929,6 +944,15 @@ 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 @@ -1217,6 +1241,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, rawPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, rawPackageUpload.packageType) && Objects.equals(this.policyViolated, rawPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, rawPackageUpload.rawLicense) && Objects.equals(this.release, rawPackageUpload.release) && Objects.equals(this.repository, rawPackageUpload.repository) && Objects.equals(this.repositoryUrl, rawPackageUpload.repositoryUrl) && @@ -1230,6 +1255,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, rawPackageUpload.size) && Objects.equals(this.slug, rawPackageUpload.slug) && Objects.equals(this.slugPerm, rawPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, rawPackageUpload.spdxLicense) && Objects.equals(this.stage, rawPackageUpload.stage) && Objects.equals(this.stageStr, rawPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, rawPackageUpload.stageUpdatedAt) && @@ -1255,7 +1281,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1311,6 +1337,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1324,6 +1351,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/Repository.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/Repository.java index 6ee2a652..f2f2d4ed 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/Repository.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/Repository.java @@ -39,6 +39,62 @@ public class Repository implements Serializable { private static final long serialVersionUID = 1L; + /** + * Broadcasting status of a repository. + */ + @JsonAdapter(BroadcastStateEnum.Adapter.class) + public enum BroadcastStateEnum { + OFF("Off"), + + PRIVATE("Private"), + + INTERNAL("Internal"), + + PUBLIC("Public"), + + OPEN_SOURCE("Open-Source"); + + private String value; + + BroadcastStateEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static BroadcastStateEnum fromValue(String text) { + for (BroadcastStateEnum b : BroadcastStateEnum.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 BroadcastStateEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public BroadcastStateEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return BroadcastStateEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("broadcast_state") + private BroadcastStateEnum broadcastState = BroadcastStateEnum.OFF; + @SerializedName("cdn_url") private String cdnUrl = null; @@ -283,6 +339,9 @@ public DeletePackagesEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("enforce_eula") private Boolean enforceEula = null; + @SerializedName("generic_package_index_enabled") + private Boolean genericPackageIndexEnabled = null; + @SerializedName("gpg_keys") private List gpgKeys = null; @@ -435,6 +494,9 @@ public MovePackagesEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("package_count") private java.math.BigInteger packageCount = null; + @SerializedName("package_count_excl_subcomponents") + private java.math.BigInteger packageCountExclSubcomponents = null; + @SerializedName("package_group_count") private java.math.BigInteger packageGroupCount = null; @@ -818,6 +880,24 @@ public ViewStatisticsEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("view_statistics") private ViewStatisticsEnum viewStatistics = ViewStatisticsEnum.READ; + public Repository broadcastState(BroadcastStateEnum broadcastState) { + this.broadcastState = broadcastState; + return this; + } + + /** + * Broadcasting status of a repository. + * @return broadcastState + **/ + @ApiModelProperty(value = "Broadcasting status of a repository.") + public BroadcastStateEnum getBroadcastState() { + return broadcastState; + } + + public void setBroadcastState(BroadcastStateEnum broadcastState) { + this.broadcastState = broadcastState; + } + /** * Base URL from which packages and other artifacts are downloaded. * @return cdnUrl @@ -1081,6 +1161,24 @@ public void setEnforceEula(Boolean enforceEula) { this.enforceEula = enforceEula; } + public Repository genericPackageIndexEnabled(Boolean genericPackageIndexEnabled) { + this.genericPackageIndexEnabled = genericPackageIndexEnabled; + return this; + } + + /** + * If checked, HTML indexes will be generated that list all available generic packages in the repository. + * @return genericPackageIndexEnabled + **/ + @ApiModelProperty(value = "If checked, HTML indexes will be generated that list all available generic packages in the repository.") + public Boolean isGenericPackageIndexEnabled() { + return genericPackageIndexEnabled; + } + + public void setGenericPackageIndexEnabled(Boolean genericPackageIndexEnabled) { + this.genericPackageIndexEnabled = genericPackageIndexEnabled; + } + /** * Get gpgKeys * @return gpgKeys @@ -1317,6 +1415,15 @@ public java.math.BigInteger getPackageCount() { return packageCount; } + /** + * The number of packages in the repository excluding subcomponents. + * @return packageCountExclSubcomponents + **/ + @ApiModelProperty(value = "The number of packages in the repository excluding subcomponents.") + public java.math.BigInteger getPackageCountExclSubcomponents() { + return packageCountExclSubcomponents; + } + /** * The number of groups in the repository. * @return packageGroupCount @@ -1813,7 +1920,8 @@ public boolean equals(java.lang.Object o) { return false; } Repository repository = (Repository) o; - return Objects.equals(this.cdnUrl, repository.cdnUrl) && + return Objects.equals(this.broadcastState, repository.broadcastState) && + Objects.equals(this.cdnUrl, repository.cdnUrl) && Objects.equals(this.contentKind, repository.contentKind) && Objects.equals(this.contextualAuthRealm, repository.contextualAuthRealm) && Objects.equals(this.copyOwn, repository.copyOwn) && @@ -1829,6 +1937,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.dockerRefreshTokensEnabled, repository.dockerRefreshTokensEnabled) && Objects.equals(this.ecdsaKeys, repository.ecdsaKeys) && Objects.equals(this.enforceEula, repository.enforceEula) && + Objects.equals(this.genericPackageIndexEnabled, repository.genericPackageIndexEnabled) && Objects.equals(this.gpgKeys, repository.gpgKeys) && Objects.equals(this.indexFiles, repository.indexFiles) && Objects.equals(this.isOpenSource, repository.isOpenSource) && @@ -1847,6 +1956,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.openSourceLicense, repository.openSourceLicense) && Objects.equals(this.openSourceProjectUrl, repository.openSourceProjectUrl) && Objects.equals(this.packageCount, repository.packageCount) && + Objects.equals(this.packageCountExclSubcomponents, repository.packageCountExclSubcomponents) && Objects.equals(this.packageGroupCount, repository.packageGroupCount) && Objects.equals(this.proxyNpmjs, repository.proxyNpmjs) && Objects.equals(this.proxyPypi, repository.proxyPypi) && @@ -1882,7 +1992,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(cdnUrl, contentKind, contextualAuthRealm, copyOwn, copyPackages, cosignSigningEnabled, createdAt, defaultPrivilege, deleteOwn, deletePackages, deletedAt, description, distributes, dockerRefreshTokensEnabled, ecdsaKeys, enforceEula, gpgKeys, indexFiles, isOpenSource, isPrivate, isPublic, manageEntitlementsPrivilege, moveOwn, movePackages, name, namespace, namespaceUrl, nugetNativeSigningEnabled, numDownloads, numPolicyViolatedPackages, numQuarantinedPackages, openSourceLicense, openSourceProjectUrl, packageCount, packageGroupCount, proxyNpmjs, proxyPypi, rawPackageIndexEnabled, rawPackageIndexSignaturesEnabled, replacePackages, replacePackagesByDefault, repositoryType, repositoryTypeStr, resyncOwn, resyncPackages, scanOwn, scanPackages, selfHtmlUrl, selfUrl, showSetupAll, size, sizeStr, slug, slugPerm, storageRegion, strictNpmValidation, tagPreReleasesAsLatest, useDebianLabels, useDefaultCargoUpstream, useEntitlementsPrivilege, useNoarchPackages, useSourcePackages, useVulnerabilityScanning, userEntitlementsEnabled, viewStatistics); + return Objects.hash(broadcastState, cdnUrl, contentKind, contextualAuthRealm, copyOwn, copyPackages, cosignSigningEnabled, createdAt, defaultPrivilege, deleteOwn, deletePackages, deletedAt, description, distributes, dockerRefreshTokensEnabled, ecdsaKeys, enforceEula, genericPackageIndexEnabled, gpgKeys, indexFiles, isOpenSource, isPrivate, isPublic, manageEntitlementsPrivilege, moveOwn, movePackages, name, namespace, namespaceUrl, nugetNativeSigningEnabled, numDownloads, numPolicyViolatedPackages, numQuarantinedPackages, openSourceLicense, openSourceProjectUrl, packageCount, packageCountExclSubcomponents, packageGroupCount, proxyNpmjs, proxyPypi, rawPackageIndexEnabled, rawPackageIndexSignaturesEnabled, replacePackages, replacePackagesByDefault, repositoryType, repositoryTypeStr, resyncOwn, resyncPackages, scanOwn, scanPackages, selfHtmlUrl, selfUrl, showSetupAll, size, sizeStr, slug, slugPerm, storageRegion, strictNpmValidation, tagPreReleasesAsLatest, useDebianLabels, useDefaultCargoUpstream, useEntitlementsPrivilege, useNoarchPackages, useSourcePackages, useVulnerabilityScanning, userEntitlementsEnabled, viewStatistics); } @@ -1891,6 +2001,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Repository {\n"); + sb.append(" broadcastState: ").append(toIndentedString(broadcastState)).append("\n"); sb.append(" cdnUrl: ").append(toIndentedString(cdnUrl)).append("\n"); sb.append(" contentKind: ").append(toIndentedString(contentKind)).append("\n"); sb.append(" contextualAuthRealm: ").append(toIndentedString(contextualAuthRealm)).append("\n"); @@ -1907,6 +2018,7 @@ public String toString() { sb.append(" dockerRefreshTokensEnabled: ").append(toIndentedString(dockerRefreshTokensEnabled)).append("\n"); sb.append(" ecdsaKeys: ").append(toIndentedString(ecdsaKeys)).append("\n"); sb.append(" enforceEula: ").append(toIndentedString(enforceEula)).append("\n"); + sb.append(" genericPackageIndexEnabled: ").append(toIndentedString(genericPackageIndexEnabled)).append("\n"); sb.append(" gpgKeys: ").append(toIndentedString(gpgKeys)).append("\n"); sb.append(" indexFiles: ").append(toIndentedString(indexFiles)).append("\n"); sb.append(" isOpenSource: ").append(toIndentedString(isOpenSource)).append("\n"); @@ -1925,6 +2037,7 @@ public String toString() { sb.append(" openSourceLicense: ").append(toIndentedString(openSourceLicense)).append("\n"); sb.append(" openSourceProjectUrl: ").append(toIndentedString(openSourceProjectUrl)).append("\n"); sb.append(" packageCount: ").append(toIndentedString(packageCount)).append("\n"); + sb.append(" packageCountExclSubcomponents: ").append(toIndentedString(packageCountExclSubcomponents)).append("\n"); sb.append(" packageGroupCount: ").append(toIndentedString(packageGroupCount)).append("\n"); sb.append(" proxyNpmjs: ").append(toIndentedString(proxyNpmjs)).append("\n"); sb.append(" proxyPypi: ").append(toIndentedString(proxyPypi)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryCreate.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryCreate.java index 03732644..02f9e6e0 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryCreate.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryCreate.java @@ -39,6 +39,62 @@ public class RepositoryCreate implements Serializable { private static final long serialVersionUID = 1L; + /** + * Broadcasting status of a repository. + */ + @JsonAdapter(BroadcastStateEnum.Adapter.class) + public enum BroadcastStateEnum { + OFF("Off"), + + PRIVATE("Private"), + + INTERNAL("Internal"), + + PUBLIC("Public"), + + OPEN_SOURCE("Open-Source"); + + private String value; + + BroadcastStateEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static BroadcastStateEnum fromValue(String text) { + for (BroadcastStateEnum b : BroadcastStateEnum.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 BroadcastStateEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public BroadcastStateEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return BroadcastStateEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("broadcast_state") + private BroadcastStateEnum broadcastState = BroadcastStateEnum.OFF; + @SerializedName("cdn_url") private String cdnUrl = null; @@ -283,6 +339,9 @@ public DeletePackagesEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("enforce_eula") private Boolean enforceEula = null; + @SerializedName("generic_package_index_enabled") + private Boolean genericPackageIndexEnabled = null; + @SerializedName("gpg_keys") private List gpgKeys = null; @@ -435,6 +494,9 @@ public MovePackagesEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("package_count") private java.math.BigInteger packageCount = null; + @SerializedName("package_count_excl_subcomponents") + private java.math.BigInteger packageCountExclSubcomponents = null; + @SerializedName("package_group_count") private java.math.BigInteger packageGroupCount = null; @@ -818,6 +880,24 @@ public ViewStatisticsEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("view_statistics") private ViewStatisticsEnum viewStatistics = ViewStatisticsEnum.READ; + public RepositoryCreate broadcastState(BroadcastStateEnum broadcastState) { + this.broadcastState = broadcastState; + return this; + } + + /** + * Broadcasting status of a repository. + * @return broadcastState + **/ + @ApiModelProperty(value = "Broadcasting status of a repository.") + public BroadcastStateEnum getBroadcastState() { + return broadcastState; + } + + public void setBroadcastState(BroadcastStateEnum broadcastState) { + this.broadcastState = broadcastState; + } + /** * Base URL from which packages and other artifacts are downloaded. * @return cdnUrl @@ -1081,6 +1161,24 @@ public void setEnforceEula(Boolean enforceEula) { this.enforceEula = enforceEula; } + public RepositoryCreate genericPackageIndexEnabled(Boolean genericPackageIndexEnabled) { + this.genericPackageIndexEnabled = genericPackageIndexEnabled; + return this; + } + + /** + * If checked, HTML indexes will be generated that list all available generic packages in the repository. + * @return genericPackageIndexEnabled + **/ + @ApiModelProperty(value = "If checked, HTML indexes will be generated that list all available generic packages in the repository.") + public Boolean isGenericPackageIndexEnabled() { + return genericPackageIndexEnabled; + } + + public void setGenericPackageIndexEnabled(Boolean genericPackageIndexEnabled) { + this.genericPackageIndexEnabled = genericPackageIndexEnabled; + } + /** * Get gpgKeys * @return gpgKeys @@ -1317,6 +1415,15 @@ public java.math.BigInteger getPackageCount() { return packageCount; } + /** + * The number of packages in the repository excluding subcomponents. + * @return packageCountExclSubcomponents + **/ + @ApiModelProperty(value = "The number of packages in the repository excluding subcomponents.") + public java.math.BigInteger getPackageCountExclSubcomponents() { + return packageCountExclSubcomponents; + } + /** * The number of groups in the repository. * @return packageGroupCount @@ -1822,7 +1929,8 @@ public boolean equals(java.lang.Object o) { return false; } RepositoryCreate repositoryCreate = (RepositoryCreate) o; - return Objects.equals(this.cdnUrl, repositoryCreate.cdnUrl) && + return Objects.equals(this.broadcastState, repositoryCreate.broadcastState) && + Objects.equals(this.cdnUrl, repositoryCreate.cdnUrl) && Objects.equals(this.contentKind, repositoryCreate.contentKind) && Objects.equals(this.contextualAuthRealm, repositoryCreate.contextualAuthRealm) && Objects.equals(this.copyOwn, repositoryCreate.copyOwn) && @@ -1838,6 +1946,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.dockerRefreshTokensEnabled, repositoryCreate.dockerRefreshTokensEnabled) && Objects.equals(this.ecdsaKeys, repositoryCreate.ecdsaKeys) && Objects.equals(this.enforceEula, repositoryCreate.enforceEula) && + Objects.equals(this.genericPackageIndexEnabled, repositoryCreate.genericPackageIndexEnabled) && Objects.equals(this.gpgKeys, repositoryCreate.gpgKeys) && Objects.equals(this.indexFiles, repositoryCreate.indexFiles) && Objects.equals(this.isOpenSource, repositoryCreate.isOpenSource) && @@ -1856,6 +1965,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.openSourceLicense, repositoryCreate.openSourceLicense) && Objects.equals(this.openSourceProjectUrl, repositoryCreate.openSourceProjectUrl) && Objects.equals(this.packageCount, repositoryCreate.packageCount) && + Objects.equals(this.packageCountExclSubcomponents, repositoryCreate.packageCountExclSubcomponents) && Objects.equals(this.packageGroupCount, repositoryCreate.packageGroupCount) && Objects.equals(this.proxyNpmjs, repositoryCreate.proxyNpmjs) && Objects.equals(this.proxyPypi, repositoryCreate.proxyPypi) && @@ -1891,7 +2001,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(cdnUrl, contentKind, contextualAuthRealm, copyOwn, copyPackages, cosignSigningEnabled, createdAt, defaultPrivilege, deleteOwn, deletePackages, deletedAt, description, distributes, dockerRefreshTokensEnabled, ecdsaKeys, enforceEula, gpgKeys, indexFiles, isOpenSource, isPrivate, isPublic, manageEntitlementsPrivilege, moveOwn, movePackages, name, namespace, namespaceUrl, nugetNativeSigningEnabled, numDownloads, numPolicyViolatedPackages, numQuarantinedPackages, openSourceLicense, openSourceProjectUrl, packageCount, packageGroupCount, proxyNpmjs, proxyPypi, rawPackageIndexEnabled, rawPackageIndexSignaturesEnabled, replacePackages, replacePackagesByDefault, repositoryType, repositoryTypeStr, resyncOwn, resyncPackages, scanOwn, scanPackages, selfHtmlUrl, selfUrl, showSetupAll, size, sizeStr, slug, slugPerm, storageRegion, strictNpmValidation, tagPreReleasesAsLatest, useDebianLabels, useDefaultCargoUpstream, useEntitlementsPrivilege, useNoarchPackages, useSourcePackages, useVulnerabilityScanning, userEntitlementsEnabled, viewStatistics); + return Objects.hash(broadcastState, cdnUrl, contentKind, contextualAuthRealm, copyOwn, copyPackages, cosignSigningEnabled, createdAt, defaultPrivilege, deleteOwn, deletePackages, deletedAt, description, distributes, dockerRefreshTokensEnabled, ecdsaKeys, enforceEula, genericPackageIndexEnabled, gpgKeys, indexFiles, isOpenSource, isPrivate, isPublic, manageEntitlementsPrivilege, moveOwn, movePackages, name, namespace, namespaceUrl, nugetNativeSigningEnabled, numDownloads, numPolicyViolatedPackages, numQuarantinedPackages, openSourceLicense, openSourceProjectUrl, packageCount, packageCountExclSubcomponents, packageGroupCount, proxyNpmjs, proxyPypi, rawPackageIndexEnabled, rawPackageIndexSignaturesEnabled, replacePackages, replacePackagesByDefault, repositoryType, repositoryTypeStr, resyncOwn, resyncPackages, scanOwn, scanPackages, selfHtmlUrl, selfUrl, showSetupAll, size, sizeStr, slug, slugPerm, storageRegion, strictNpmValidation, tagPreReleasesAsLatest, useDebianLabels, useDefaultCargoUpstream, useEntitlementsPrivilege, useNoarchPackages, useSourcePackages, useVulnerabilityScanning, userEntitlementsEnabled, viewStatistics); } @@ -1900,6 +2010,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RepositoryCreate {\n"); + sb.append(" broadcastState: ").append(toIndentedString(broadcastState)).append("\n"); sb.append(" cdnUrl: ").append(toIndentedString(cdnUrl)).append("\n"); sb.append(" contentKind: ").append(toIndentedString(contentKind)).append("\n"); sb.append(" contextualAuthRealm: ").append(toIndentedString(contextualAuthRealm)).append("\n"); @@ -1916,6 +2027,7 @@ public String toString() { sb.append(" dockerRefreshTokensEnabled: ").append(toIndentedString(dockerRefreshTokensEnabled)).append("\n"); sb.append(" ecdsaKeys: ").append(toIndentedString(ecdsaKeys)).append("\n"); sb.append(" enforceEula: ").append(toIndentedString(enforceEula)).append("\n"); + sb.append(" genericPackageIndexEnabled: ").append(toIndentedString(genericPackageIndexEnabled)).append("\n"); sb.append(" gpgKeys: ").append(toIndentedString(gpgKeys)).append("\n"); sb.append(" indexFiles: ").append(toIndentedString(indexFiles)).append("\n"); sb.append(" isOpenSource: ").append(toIndentedString(isOpenSource)).append("\n"); @@ -1934,6 +2046,7 @@ public String toString() { sb.append(" openSourceLicense: ").append(toIndentedString(openSourceLicense)).append("\n"); sb.append(" openSourceProjectUrl: ").append(toIndentedString(openSourceProjectUrl)).append("\n"); sb.append(" packageCount: ").append(toIndentedString(packageCount)).append("\n"); + sb.append(" packageCountExclSubcomponents: ").append(toIndentedString(packageCountExclSubcomponents)).append("\n"); sb.append(" packageGroupCount: ").append(toIndentedString(packageGroupCount)).append("\n"); sb.append(" proxyNpmjs: ").append(toIndentedString(proxyNpmjs)).append("\n"); sb.append(" proxyPypi: ").append(toIndentedString(proxyPypi)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryCreateRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryCreateRequest.java index 3c766f26..e705e873 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryCreateRequest.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryCreateRequest.java @@ -36,6 +36,62 @@ public class RepositoryCreateRequest implements Serializable { private static final long serialVersionUID = 1L; + /** + * Broadcasting status of a repository. + */ + @JsonAdapter(BroadcastStateEnum.Adapter.class) + public enum BroadcastStateEnum { + OFF("Off"), + + PRIVATE("Private"), + + INTERNAL("Internal"), + + PUBLIC("Public"), + + OPEN_SOURCE("Open-Source"); + + private String value; + + BroadcastStateEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static BroadcastStateEnum fromValue(String text) { + for (BroadcastStateEnum b : BroadcastStateEnum.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 BroadcastStateEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public BroadcastStateEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return BroadcastStateEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("broadcast_state") + private BroadcastStateEnum broadcastState = BroadcastStateEnum.OFF; + /** * The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. */ @@ -268,6 +324,9 @@ public DeletePackagesEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("enforce_eula") private Boolean enforceEula = null; + @SerializedName("generic_package_index_enabled") + private Boolean genericPackageIndexEnabled = null; + @SerializedName("index_files") private Boolean indexFiles = null; @@ -752,6 +811,24 @@ public ViewStatisticsEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("view_statistics") private ViewStatisticsEnum viewStatistics = ViewStatisticsEnum.READ; + public RepositoryCreateRequest broadcastState(BroadcastStateEnum broadcastState) { + this.broadcastState = broadcastState; + return this; + } + + /** + * Broadcasting status of a repository. + * @return broadcastState + **/ + @ApiModelProperty(value = "Broadcasting status of a repository.") + public BroadcastStateEnum getBroadcastState() { + return broadcastState; + } + + public void setBroadcastState(BroadcastStateEnum broadcastState) { + this.broadcastState = broadcastState; + } + public RepositoryCreateRequest contentKind(ContentKindEnum contentKind) { this.contentKind = contentKind; return this; @@ -976,6 +1053,24 @@ public void setEnforceEula(Boolean enforceEula) { this.enforceEula = enforceEula; } + public RepositoryCreateRequest genericPackageIndexEnabled(Boolean genericPackageIndexEnabled) { + this.genericPackageIndexEnabled = genericPackageIndexEnabled; + return this; + } + + /** + * If checked, HTML indexes will be generated that list all available generic packages in the repository. + * @return genericPackageIndexEnabled + **/ + @ApiModelProperty(value = "If checked, HTML indexes will be generated that list all available generic packages in the repository.") + public Boolean isGenericPackageIndexEnabled() { + return genericPackageIndexEnabled; + } + + public void setGenericPackageIndexEnabled(Boolean genericPackageIndexEnabled) { + this.genericPackageIndexEnabled = genericPackageIndexEnabled; + } + public RepositoryCreateRequest indexFiles(Boolean indexFiles) { this.indexFiles = indexFiles; return this; @@ -1563,7 +1658,8 @@ public boolean equals(java.lang.Object o) { return false; } RepositoryCreateRequest repositoryCreateRequest = (RepositoryCreateRequest) o; - return Objects.equals(this.contentKind, repositoryCreateRequest.contentKind) && + return Objects.equals(this.broadcastState, repositoryCreateRequest.broadcastState) && + Objects.equals(this.contentKind, repositoryCreateRequest.contentKind) && Objects.equals(this.contextualAuthRealm, repositoryCreateRequest.contextualAuthRealm) && Objects.equals(this.copyOwn, repositoryCreateRequest.copyOwn) && Objects.equals(this.copyPackages, repositoryCreateRequest.copyPackages) && @@ -1575,6 +1671,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.distributes, repositoryCreateRequest.distributes) && Objects.equals(this.dockerRefreshTokensEnabled, repositoryCreateRequest.dockerRefreshTokensEnabled) && Objects.equals(this.enforceEula, repositoryCreateRequest.enforceEula) && + Objects.equals(this.genericPackageIndexEnabled, repositoryCreateRequest.genericPackageIndexEnabled) && Objects.equals(this.indexFiles, repositoryCreateRequest.indexFiles) && Objects.equals(this.manageEntitlementsPrivilege, repositoryCreateRequest.manageEntitlementsPrivilege) && Objects.equals(this.moveOwn, repositoryCreateRequest.moveOwn) && @@ -1611,7 +1708,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(contentKind, contextualAuthRealm, copyOwn, copyPackages, cosignSigningEnabled, defaultPrivilege, deleteOwn, deletePackages, description, distributes, dockerRefreshTokensEnabled, enforceEula, indexFiles, manageEntitlementsPrivilege, moveOwn, movePackages, name, nugetNativeSigningEnabled, openSourceLicense, openSourceProjectUrl, proxyNpmjs, proxyPypi, rawPackageIndexEnabled, rawPackageIndexSignaturesEnabled, replacePackages, replacePackagesByDefault, repositoryTypeStr, resyncOwn, resyncPackages, scanOwn, scanPackages, showSetupAll, slug, storageRegion, strictNpmValidation, tagPreReleasesAsLatest, useDebianLabels, useDefaultCargoUpstream, useEntitlementsPrivilege, useNoarchPackages, useSourcePackages, useVulnerabilityScanning, userEntitlementsEnabled, viewStatistics); + return Objects.hash(broadcastState, contentKind, contextualAuthRealm, copyOwn, copyPackages, cosignSigningEnabled, defaultPrivilege, deleteOwn, deletePackages, description, distributes, dockerRefreshTokensEnabled, enforceEula, genericPackageIndexEnabled, indexFiles, manageEntitlementsPrivilege, moveOwn, movePackages, name, nugetNativeSigningEnabled, openSourceLicense, openSourceProjectUrl, proxyNpmjs, proxyPypi, rawPackageIndexEnabled, rawPackageIndexSignaturesEnabled, replacePackages, replacePackagesByDefault, repositoryTypeStr, resyncOwn, resyncPackages, scanOwn, scanPackages, showSetupAll, slug, storageRegion, strictNpmValidation, tagPreReleasesAsLatest, useDebianLabels, useDefaultCargoUpstream, useEntitlementsPrivilege, useNoarchPackages, useSourcePackages, useVulnerabilityScanning, userEntitlementsEnabled, viewStatistics); } @@ -1620,6 +1717,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RepositoryCreateRequest {\n"); + sb.append(" broadcastState: ").append(toIndentedString(broadcastState)).append("\n"); sb.append(" contentKind: ").append(toIndentedString(contentKind)).append("\n"); sb.append(" contextualAuthRealm: ").append(toIndentedString(contextualAuthRealm)).append("\n"); sb.append(" copyOwn: ").append(toIndentedString(copyOwn)).append("\n"); @@ -1632,6 +1730,7 @@ public String toString() { sb.append(" distributes: ").append(toIndentedString(distributes)).append("\n"); sb.append(" dockerRefreshTokensEnabled: ").append(toIndentedString(dockerRefreshTokensEnabled)).append("\n"); sb.append(" enforceEula: ").append(toIndentedString(enforceEula)).append("\n"); + sb.append(" genericPackageIndexEnabled: ").append(toIndentedString(genericPackageIndexEnabled)).append("\n"); sb.append(" indexFiles: ").append(toIndentedString(indexFiles)).append("\n"); sb.append(" manageEntitlementsPrivilege: ").append(toIndentedString(manageEntitlementsPrivilege)).append("\n"); sb.append(" moveOwn: ").append(toIndentedString(moveOwn)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryRequestPatch.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryRequestPatch.java index 5c8df451..5537f468 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryRequestPatch.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryRequestPatch.java @@ -36,6 +36,62 @@ public class RepositoryRequestPatch implements Serializable { private static final long serialVersionUID = 1L; + /** + * Broadcasting status of a repository. + */ + @JsonAdapter(BroadcastStateEnum.Adapter.class) + public enum BroadcastStateEnum { + OFF("Off"), + + PRIVATE("Private"), + + INTERNAL("Internal"), + + PUBLIC("Public"), + + OPEN_SOURCE("Open-Source"); + + private String value; + + BroadcastStateEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static BroadcastStateEnum fromValue(String text) { + for (BroadcastStateEnum b : BroadcastStateEnum.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 BroadcastStateEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public BroadcastStateEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return BroadcastStateEnum.fromValue(String.valueOf(value)); + } + } + } + + @SerializedName("broadcast_state") + private BroadcastStateEnum broadcastState = BroadcastStateEnum.OFF; + /** * The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. */ @@ -268,6 +324,9 @@ public DeletePackagesEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("enforce_eula") private Boolean enforceEula = null; + @SerializedName("generic_package_index_enabled") + private Boolean genericPackageIndexEnabled = null; + @SerializedName("index_files") private Boolean indexFiles = null; @@ -749,6 +808,24 @@ public ViewStatisticsEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("view_statistics") private ViewStatisticsEnum viewStatistics = ViewStatisticsEnum.READ; + public RepositoryRequestPatch broadcastState(BroadcastStateEnum broadcastState) { + this.broadcastState = broadcastState; + return this; + } + + /** + * Broadcasting status of a repository. + * @return broadcastState + **/ + @ApiModelProperty(value = "Broadcasting status of a repository.") + public BroadcastStateEnum getBroadcastState() { + return broadcastState; + } + + public void setBroadcastState(BroadcastStateEnum broadcastState) { + this.broadcastState = broadcastState; + } + public RepositoryRequestPatch contentKind(ContentKindEnum contentKind) { this.contentKind = contentKind; return this; @@ -973,6 +1050,24 @@ public void setEnforceEula(Boolean enforceEula) { this.enforceEula = enforceEula; } + public RepositoryRequestPatch genericPackageIndexEnabled(Boolean genericPackageIndexEnabled) { + this.genericPackageIndexEnabled = genericPackageIndexEnabled; + return this; + } + + /** + * If checked, HTML indexes will be generated that list all available generic packages in the repository. + * @return genericPackageIndexEnabled + **/ + @ApiModelProperty(value = "If checked, HTML indexes will be generated that list all available generic packages in the repository.") + public Boolean isGenericPackageIndexEnabled() { + return genericPackageIndexEnabled; + } + + public void setGenericPackageIndexEnabled(Boolean genericPackageIndexEnabled) { + this.genericPackageIndexEnabled = genericPackageIndexEnabled; + } + public RepositoryRequestPatch indexFiles(Boolean indexFiles) { this.indexFiles = indexFiles; return this; @@ -1541,7 +1636,8 @@ public boolean equals(java.lang.Object o) { return false; } RepositoryRequestPatch repositoryRequestPatch = (RepositoryRequestPatch) o; - return Objects.equals(this.contentKind, repositoryRequestPatch.contentKind) && + return Objects.equals(this.broadcastState, repositoryRequestPatch.broadcastState) && + Objects.equals(this.contentKind, repositoryRequestPatch.contentKind) && Objects.equals(this.contextualAuthRealm, repositoryRequestPatch.contextualAuthRealm) && Objects.equals(this.copyOwn, repositoryRequestPatch.copyOwn) && Objects.equals(this.copyPackages, repositoryRequestPatch.copyPackages) && @@ -1553,6 +1649,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.distributes, repositoryRequestPatch.distributes) && Objects.equals(this.dockerRefreshTokensEnabled, repositoryRequestPatch.dockerRefreshTokensEnabled) && Objects.equals(this.enforceEula, repositoryRequestPatch.enforceEula) && + Objects.equals(this.genericPackageIndexEnabled, repositoryRequestPatch.genericPackageIndexEnabled) && Objects.equals(this.indexFiles, repositoryRequestPatch.indexFiles) && Objects.equals(this.manageEntitlementsPrivilege, repositoryRequestPatch.manageEntitlementsPrivilege) && Objects.equals(this.moveOwn, repositoryRequestPatch.moveOwn) && @@ -1588,7 +1685,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(contentKind, contextualAuthRealm, copyOwn, copyPackages, cosignSigningEnabled, defaultPrivilege, deleteOwn, deletePackages, description, distributes, dockerRefreshTokensEnabled, enforceEula, indexFiles, manageEntitlementsPrivilege, moveOwn, movePackages, name, nugetNativeSigningEnabled, openSourceLicense, openSourceProjectUrl, proxyNpmjs, proxyPypi, rawPackageIndexEnabled, rawPackageIndexSignaturesEnabled, replacePackages, replacePackagesByDefault, repositoryTypeStr, resyncOwn, resyncPackages, scanOwn, scanPackages, showSetupAll, slug, strictNpmValidation, tagPreReleasesAsLatest, useDebianLabels, useDefaultCargoUpstream, useEntitlementsPrivilege, useNoarchPackages, useSourcePackages, useVulnerabilityScanning, userEntitlementsEnabled, viewStatistics); + return Objects.hash(broadcastState, contentKind, contextualAuthRealm, copyOwn, copyPackages, cosignSigningEnabled, defaultPrivilege, deleteOwn, deletePackages, description, distributes, dockerRefreshTokensEnabled, enforceEula, genericPackageIndexEnabled, indexFiles, manageEntitlementsPrivilege, moveOwn, movePackages, name, nugetNativeSigningEnabled, openSourceLicense, openSourceProjectUrl, proxyNpmjs, proxyPypi, rawPackageIndexEnabled, rawPackageIndexSignaturesEnabled, replacePackages, replacePackagesByDefault, repositoryTypeStr, resyncOwn, resyncPackages, scanOwn, scanPackages, showSetupAll, slug, strictNpmValidation, tagPreReleasesAsLatest, useDebianLabels, useDefaultCargoUpstream, useEntitlementsPrivilege, useNoarchPackages, useSourcePackages, useVulnerabilityScanning, userEntitlementsEnabled, viewStatistics); } @@ -1597,6 +1694,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RepositoryRequestPatch {\n"); + sb.append(" broadcastState: ").append(toIndentedString(broadcastState)).append("\n"); sb.append(" contentKind: ").append(toIndentedString(contentKind)).append("\n"); sb.append(" contextualAuthRealm: ").append(toIndentedString(contextualAuthRealm)).append("\n"); sb.append(" copyOwn: ").append(toIndentedString(copyOwn)).append("\n"); @@ -1609,6 +1707,7 @@ public String toString() { sb.append(" distributes: ").append(toIndentedString(distributes)).append("\n"); sb.append(" dockerRefreshTokensEnabled: ").append(toIndentedString(dockerRefreshTokensEnabled)).append("\n"); sb.append(" enforceEula: ").append(toIndentedString(enforceEula)).append("\n"); + sb.append(" genericPackageIndexEnabled: ").append(toIndentedString(genericPackageIndexEnabled)).append("\n"); sb.append(" indexFiles: ").append(toIndentedString(indexFiles)).append("\n"); sb.append(" manageEntitlementsPrivilege: ").append(toIndentedString(manageEntitlementsPrivilege)).append("\n"); sb.append(" moveOwn: ").append(toIndentedString(moveOwn)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryToken.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryToken.java index dcfef313..63efba5d 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryToken.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryToken.java @@ -36,6 +36,9 @@ public class RepositoryToken implements Serializable { private static final long serialVersionUID = 1L; + @SerializedName("access_private_broadcasts") + private Boolean accessPrivateBroadcasts = null; + @SerializedName("clients") private java.math.BigInteger clients = null; @@ -275,6 +278,24 @@ public ScheduledResetPeriodEnum read(final JsonReader jsonReader) throws IOExcep @SerializedName("user_url") private String userUrl = null; + public RepositoryToken accessPrivateBroadcasts(Boolean accessPrivateBroadcasts) { + this.accessPrivateBroadcasts = accessPrivateBroadcasts; + return this; + } + + /** + * If enabled, this token can be used for private broadcasts + * @return accessPrivateBroadcasts + **/ + @ApiModelProperty(value = "If enabled, this token can be used for private broadcasts") + public Boolean isAccessPrivateBroadcasts() { + return accessPrivateBroadcasts; + } + + public void setAccessPrivateBroadcasts(Boolean accessPrivateBroadcasts) { + this.accessPrivateBroadcasts = accessPrivateBroadcasts; + } + /** * Get clients * @return clients @@ -794,7 +815,8 @@ public boolean equals(java.lang.Object o) { return false; } RepositoryToken repositoryToken = (RepositoryToken) o; - return Objects.equals(this.clients, repositoryToken.clients) && + return Objects.equals(this.accessPrivateBroadcasts, repositoryToken.accessPrivateBroadcasts) && + Objects.equals(this.clients, repositoryToken.clients) && Objects.equals(this.createdAt, repositoryToken.createdAt) && Objects.equals(this.createdBy, repositoryToken.createdBy) && Objects.equals(this.createdByUrl, repositoryToken.createdByUrl) && @@ -837,7 +859,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(clients, createdAt, createdBy, createdByUrl, _default, disableUrl, downloads, enableUrl, eulaAccepted, eulaAcceptedAt, eulaAcceptedFrom, eulaRequired, hasLimits, identifier, isActive, isLimited, limitBandwidth, limitBandwidthUnit, limitDateRangeFrom, limitDateRangeTo, limitNumClients, limitNumDownloads, limitPackageQuery, limitPathQuery, metadata, name, refreshUrl, resetUrl, scheduledResetAt, scheduledResetPeriod, selfUrl, slugPerm, token, updatedAt, updatedBy, updatedByUrl, usage, user, userUrl); + return Objects.hash(accessPrivateBroadcasts, clients, createdAt, createdBy, createdByUrl, _default, disableUrl, downloads, enableUrl, eulaAccepted, eulaAcceptedAt, eulaAcceptedFrom, eulaRequired, hasLimits, identifier, isActive, isLimited, limitBandwidth, limitBandwidthUnit, limitDateRangeFrom, limitDateRangeTo, limitNumClients, limitNumDownloads, limitPackageQuery, limitPathQuery, metadata, name, refreshUrl, resetUrl, scheduledResetAt, scheduledResetPeriod, selfUrl, slugPerm, token, updatedAt, updatedBy, updatedByUrl, usage, user, userUrl); } @@ -846,6 +868,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RepositoryToken {\n"); + sb.append(" accessPrivateBroadcasts: ").append(toIndentedString(accessPrivateBroadcasts)).append("\n"); sb.append(" clients: ").append(toIndentedString(clients)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRefresh.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRefresh.java index 173325f3..f56446bf 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRefresh.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRefresh.java @@ -36,6 +36,9 @@ public class RepositoryTokenRefresh implements Serializable { private static final long serialVersionUID = 1L; + @SerializedName("access_private_broadcasts") + private Boolean accessPrivateBroadcasts = null; + @SerializedName("clients") private java.math.BigInteger clients = null; @@ -275,6 +278,24 @@ public ScheduledResetPeriodEnum read(final JsonReader jsonReader) throws IOExcep @SerializedName("user_url") private String userUrl = null; + public RepositoryTokenRefresh accessPrivateBroadcasts(Boolean accessPrivateBroadcasts) { + this.accessPrivateBroadcasts = accessPrivateBroadcasts; + return this; + } + + /** + * If enabled, this token can be used for private broadcasts + * @return accessPrivateBroadcasts + **/ + @ApiModelProperty(value = "If enabled, this token can be used for private broadcasts") + public Boolean isAccessPrivateBroadcasts() { + return accessPrivateBroadcasts; + } + + public void setAccessPrivateBroadcasts(Boolean accessPrivateBroadcasts) { + this.accessPrivateBroadcasts = accessPrivateBroadcasts; + } + /** * Get clients * @return clients @@ -784,7 +805,8 @@ public boolean equals(java.lang.Object o) { return false; } RepositoryTokenRefresh repositoryTokenRefresh = (RepositoryTokenRefresh) o; - return Objects.equals(this.clients, repositoryTokenRefresh.clients) && + return Objects.equals(this.accessPrivateBroadcasts, repositoryTokenRefresh.accessPrivateBroadcasts) && + Objects.equals(this.clients, repositoryTokenRefresh.clients) && Objects.equals(this.createdAt, repositoryTokenRefresh.createdAt) && Objects.equals(this.createdBy, repositoryTokenRefresh.createdBy) && Objects.equals(this.createdByUrl, repositoryTokenRefresh.createdByUrl) && @@ -827,7 +849,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(clients, createdAt, createdBy, createdByUrl, _default, disableUrl, downloads, enableUrl, eulaAccepted, eulaAcceptedAt, eulaAcceptedFrom, eulaRequired, hasLimits, identifier, isActive, isLimited, limitBandwidth, limitBandwidthUnit, limitDateRangeFrom, limitDateRangeTo, limitNumClients, limitNumDownloads, limitPackageQuery, limitPathQuery, metadata, name, refreshUrl, resetUrl, scheduledResetAt, scheduledResetPeriod, selfUrl, slugPerm, token, updatedAt, updatedBy, updatedByUrl, usage, user, userUrl); + return Objects.hash(accessPrivateBroadcasts, clients, createdAt, createdBy, createdByUrl, _default, disableUrl, downloads, enableUrl, eulaAccepted, eulaAcceptedAt, eulaAcceptedFrom, eulaRequired, hasLimits, identifier, isActive, isLimited, limitBandwidth, limitBandwidthUnit, limitDateRangeFrom, limitDateRangeTo, limitNumClients, limitNumDownloads, limitPackageQuery, limitPathQuery, metadata, name, refreshUrl, resetUrl, scheduledResetAt, scheduledResetPeriod, selfUrl, slugPerm, token, updatedAt, updatedBy, updatedByUrl, usage, user, userUrl); } @@ -836,6 +858,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RepositoryTokenRefresh {\n"); + sb.append(" accessPrivateBroadcasts: ").append(toIndentedString(accessPrivateBroadcasts)).append("\n"); sb.append(" clients: ").append(toIndentedString(clients)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRefreshRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRefreshRequest.java index 209d8dd1..06f58816 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRefreshRequest.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRefreshRequest.java @@ -35,6 +35,9 @@ public class RepositoryTokenRefreshRequest implements Serializable { private static final long serialVersionUID = 1L; + @SerializedName("access_private_broadcasts") + private Boolean accessPrivateBroadcasts = null; + @SerializedName("eula_required") private Boolean eulaRequired = null; @@ -199,6 +202,24 @@ public ScheduledResetPeriodEnum read(final JsonReader jsonReader) throws IOExcep @SerializedName("token") private String token = null; + public RepositoryTokenRefreshRequest accessPrivateBroadcasts(Boolean accessPrivateBroadcasts) { + this.accessPrivateBroadcasts = accessPrivateBroadcasts; + return this; + } + + /** + * If enabled, this token can be used for private broadcasts + * @return accessPrivateBroadcasts + **/ + @ApiModelProperty(value = "If enabled, this token can be used for private broadcasts") + public Boolean isAccessPrivateBroadcasts() { + return accessPrivateBroadcasts; + } + + public void setAccessPrivateBroadcasts(Boolean accessPrivateBroadcasts) { + this.accessPrivateBroadcasts = accessPrivateBroadcasts; + } + public RepositoryTokenRefreshRequest eulaRequired(Boolean eulaRequired) { this.eulaRequired = eulaRequired; return this; @@ -470,7 +491,8 @@ public boolean equals(java.lang.Object o) { return false; } RepositoryTokenRefreshRequest repositoryTokenRefreshRequest = (RepositoryTokenRefreshRequest) o; - return Objects.equals(this.eulaRequired, repositoryTokenRefreshRequest.eulaRequired) && + return Objects.equals(this.accessPrivateBroadcasts, repositoryTokenRefreshRequest.accessPrivateBroadcasts) && + Objects.equals(this.eulaRequired, repositoryTokenRefreshRequest.eulaRequired) && Objects.equals(this.isActive, repositoryTokenRefreshRequest.isActive) && Objects.equals(this.limitBandwidth, repositoryTokenRefreshRequest.limitBandwidth) && Objects.equals(this.limitBandwidthUnit, repositoryTokenRefreshRequest.limitBandwidthUnit) && @@ -488,7 +510,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(eulaRequired, isActive, limitBandwidth, limitBandwidthUnit, limitDateRangeFrom, limitDateRangeTo, limitNumClients, limitNumDownloads, limitPackageQuery, limitPathQuery, metadata, scheduledResetAt, scheduledResetPeriod, token); + return Objects.hash(accessPrivateBroadcasts, eulaRequired, isActive, limitBandwidth, limitBandwidthUnit, limitDateRangeFrom, limitDateRangeTo, limitNumClients, limitNumDownloads, limitPackageQuery, limitPathQuery, metadata, scheduledResetAt, scheduledResetPeriod, token); } @@ -497,6 +519,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RepositoryTokenRefreshRequest {\n"); + sb.append(" accessPrivateBroadcasts: ").append(toIndentedString(accessPrivateBroadcasts)).append("\n"); sb.append(" eulaRequired: ").append(toIndentedString(eulaRequired)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); sb.append(" limitBandwidth: ").append(toIndentedString(limitBandwidth)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRequest.java index ece93fce..b6a5bad5 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRequest.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRequest.java @@ -35,6 +35,9 @@ public class RepositoryTokenRequest implements Serializable { private static final long serialVersionUID = 1L; + @SerializedName("access_private_broadcasts") + private Boolean accessPrivateBroadcasts = null; + @SerializedName("eula_required") private Boolean eulaRequired = null; @@ -202,6 +205,24 @@ public ScheduledResetPeriodEnum read(final JsonReader jsonReader) throws IOExcep @SerializedName("token") private String token = null; + public RepositoryTokenRequest accessPrivateBroadcasts(Boolean accessPrivateBroadcasts) { + this.accessPrivateBroadcasts = accessPrivateBroadcasts; + return this; + } + + /** + * If enabled, this token can be used for private broadcasts + * @return accessPrivateBroadcasts + **/ + @ApiModelProperty(value = "If enabled, this token can be used for private broadcasts") + public Boolean isAccessPrivateBroadcasts() { + return accessPrivateBroadcasts; + } + + public void setAccessPrivateBroadcasts(Boolean accessPrivateBroadcasts) { + this.accessPrivateBroadcasts = accessPrivateBroadcasts; + } + public RepositoryTokenRequest eulaRequired(Boolean eulaRequired) { this.eulaRequired = eulaRequired; return this; @@ -492,7 +513,8 @@ public boolean equals(java.lang.Object o) { return false; } RepositoryTokenRequest repositoryTokenRequest = (RepositoryTokenRequest) o; - return Objects.equals(this.eulaRequired, repositoryTokenRequest.eulaRequired) && + return Objects.equals(this.accessPrivateBroadcasts, repositoryTokenRequest.accessPrivateBroadcasts) && + Objects.equals(this.eulaRequired, repositoryTokenRequest.eulaRequired) && Objects.equals(this.isActive, repositoryTokenRequest.isActive) && Objects.equals(this.limitBandwidth, repositoryTokenRequest.limitBandwidth) && Objects.equals(this.limitBandwidthUnit, repositoryTokenRequest.limitBandwidthUnit) && @@ -511,7 +533,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(eulaRequired, isActive, limitBandwidth, limitBandwidthUnit, limitDateRangeFrom, limitDateRangeTo, limitNumClients, limitNumDownloads, limitPackageQuery, limitPathQuery, metadata, name, scheduledResetAt, scheduledResetPeriod, token); + return Objects.hash(accessPrivateBroadcasts, eulaRequired, isActive, limitBandwidth, limitBandwidthUnit, limitDateRangeFrom, limitDateRangeTo, limitNumClients, limitNumDownloads, limitPackageQuery, limitPathQuery, metadata, name, scheduledResetAt, scheduledResetPeriod, token); } @@ -520,6 +542,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RepositoryTokenRequest {\n"); + sb.append(" accessPrivateBroadcasts: ").append(toIndentedString(accessPrivateBroadcasts)).append("\n"); sb.append(" eulaRequired: ").append(toIndentedString(eulaRequired)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); sb.append(" limitBandwidth: ").append(toIndentedString(limitBandwidth)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRequestPatch.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRequestPatch.java index e5d9b993..50e42450 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRequestPatch.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryTokenRequestPatch.java @@ -35,6 +35,9 @@ public class RepositoryTokenRequestPatch implements Serializable { private static final long serialVersionUID = 1L; + @SerializedName("access_private_broadcasts") + private Boolean accessPrivateBroadcasts = null; + @SerializedName("eula_required") private Boolean eulaRequired = null; @@ -202,6 +205,24 @@ public ScheduledResetPeriodEnum read(final JsonReader jsonReader) throws IOExcep @SerializedName("token") private String token = null; + public RepositoryTokenRequestPatch accessPrivateBroadcasts(Boolean accessPrivateBroadcasts) { + this.accessPrivateBroadcasts = accessPrivateBroadcasts; + return this; + } + + /** + * If enabled, this token can be used for private broadcasts + * @return accessPrivateBroadcasts + **/ + @ApiModelProperty(value = "If enabled, this token can be used for private broadcasts") + public Boolean isAccessPrivateBroadcasts() { + return accessPrivateBroadcasts; + } + + public void setAccessPrivateBroadcasts(Boolean accessPrivateBroadcasts) { + this.accessPrivateBroadcasts = accessPrivateBroadcasts; + } + public RepositoryTokenRequestPatch eulaRequired(Boolean eulaRequired) { this.eulaRequired = eulaRequired; return this; @@ -491,7 +512,8 @@ public boolean equals(java.lang.Object o) { return false; } RepositoryTokenRequestPatch repositoryTokenRequestPatch = (RepositoryTokenRequestPatch) o; - return Objects.equals(this.eulaRequired, repositoryTokenRequestPatch.eulaRequired) && + return Objects.equals(this.accessPrivateBroadcasts, repositoryTokenRequestPatch.accessPrivateBroadcasts) && + Objects.equals(this.eulaRequired, repositoryTokenRequestPatch.eulaRequired) && Objects.equals(this.isActive, repositoryTokenRequestPatch.isActive) && Objects.equals(this.limitBandwidth, repositoryTokenRequestPatch.limitBandwidth) && Objects.equals(this.limitBandwidthUnit, repositoryTokenRequestPatch.limitBandwidthUnit) && @@ -510,7 +532,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(eulaRequired, isActive, limitBandwidth, limitBandwidthUnit, limitDateRangeFrom, limitDateRangeTo, limitNumClients, limitNumDownloads, limitPackageQuery, limitPathQuery, metadata, name, scheduledResetAt, scheduledResetPeriod, token); + return Objects.hash(accessPrivateBroadcasts, eulaRequired, isActive, limitBandwidth, limitBandwidthUnit, limitDateRangeFrom, limitDateRangeTo, limitNumClients, limitNumDownloads, limitPackageQuery, limitPathQuery, metadata, name, scheduledResetAt, scheduledResetPeriod, token); } @@ -519,6 +541,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RepositoryTokenRequestPatch {\n"); + sb.append(" accessPrivateBroadcasts: ").append(toIndentedString(accessPrivateBroadcasts)).append("\n"); sb.append(" eulaRequired: ").append(toIndentedString(eulaRequired)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); sb.append(" limitBandwidth: ").append(toIndentedString(limitBandwidth)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhook.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhook.java index d6b06d1f..6fed4e89 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhook.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhook.java @@ -455,7 +455,7 @@ public RepositoryWebhook targetUrl(String targetUrl) { * @return targetUrl **/ @NotNull - @Size(min=1,max=255) @ApiModelProperty(required = true, value = "The destination URL that webhook payloads will be POST'ed to.") + @Size(min=1,max=2000) @ApiModelProperty(required = true, value = "The destination URL that webhook payloads will be POST'ed to.") public String getTargetUrl() { return targetUrl; } diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhookRequest.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhookRequest.java index 59b43424..46695740 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhookRequest.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhookRequest.java @@ -318,7 +318,7 @@ public RepositoryWebhookRequest targetUrl(String targetUrl) { * @return targetUrl **/ @NotNull - @Size(min=1,max=255) @ApiModelProperty(required = true, value = "The destination URL that webhook payloads will be POST'ed to.") + @Size(min=1,max=2000) @ApiModelProperty(required = true, value = "The destination URL that webhook payloads will be POST'ed to.") public String getTargetUrl() { return targetUrl; } diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhookRequestPatch.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhookRequestPatch.java index 2bd2bb80..85493a24 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhookRequestPatch.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RepositoryWebhookRequestPatch.java @@ -319,7 +319,7 @@ public RepositoryWebhookRequestPatch targetUrl(String targetUrl) { * The destination URL that webhook payloads will be POST'ed to. * @return targetUrl **/ - @Size(min=1,max=255) @ApiModelProperty(value = "The destination URL that webhook payloads will be POST'ed to.") + @Size(min=1,max=2000) @ApiModelProperty(value = "The destination URL that webhook payloads will be POST'ed to.") public String getTargetUrl() { return targetUrl; } diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RpmPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RpmPackageUpload.java index d91055f0..e4ad2224 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RpmPackageUpload.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RpmPackageUpload.java @@ -185,6 +185,9 @@ public class RpmPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, rpmPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, rpmPackageUpload.packageType) && Objects.equals(this.policyViolated, rpmPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, rpmPackageUpload.rawLicense) && Objects.equals(this.release, rpmPackageUpload.release) && Objects.equals(this.repository, rpmPackageUpload.repository) && Objects.equals(this.repositoryUrl, rpmPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, rpmPackageUpload.size) && Objects.equals(this.slug, rpmPackageUpload.slug) && Objects.equals(this.slugPerm, rpmPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, rpmPackageUpload.spdxLicense) && Objects.equals(this.stage, rpmPackageUpload.stage) && Objects.equals(this.stageStr, rpmPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, rpmPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RpmUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RpmUpstream.java index 29fd83e1..89a4f3b3 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RpmUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RpmUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("distro_version") private String distroVersion = null; @@ -163,6 +172,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("gpg_key_fingerprint_short") + private String gpgKeyFingerprintShort = null; + @SerializedName("gpg_key_inline") private String gpgKeyInline = null; @@ -221,12 +233,24 @@ public GpgVerificationEnum read(final JsonReader jsonReader) throws IOException @SerializedName("gpg_verification") private GpgVerificationEnum gpgVerification = GpgVerificationEnum.ALLOW_ALL; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + @SerializedName("include_sources") private Boolean includeSources = null; + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -406,6 +430,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -425,6 +467,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public RpmUpstream distroVersion(String distroVersion) { this.distroVersion = distroVersion; return this; @@ -516,6 +567,15 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get gpgKeyFingerprintShort + * @return gpgKeyFingerprintShort + **/ + @ApiModelProperty(value = "") + public String getGpgKeyFingerprintShort() { + return gpgKeyFingerprintShort; + } + public RpmUpstream gpgKeyInline(String gpgKeyInline) { this.gpgKeyInline = gpgKeyInline; return this; @@ -570,6 +630,15 @@ public void setGpgVerification(GpgVerificationEnum gpgVerification) { this.gpgVerification = gpgVerification; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + public RpmUpstream includeSources(Boolean includeSources) { this.includeSources = includeSources; return this; @@ -588,6 +657,24 @@ public void setIncludeSources(Boolean includeSources) { this.includeSources = includeSources; } + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public RpmUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -606,6 +693,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public RpmUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -750,18 +846,26 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, rpmUpstream.authMode) && Objects.equals(this.authSecret, rpmUpstream.authSecret) && Objects.equals(this.authUsername, rpmUpstream.authUsername) && + Objects.equals(this.available, rpmUpstream.available) && + Objects.equals(this.canReindex, rpmUpstream.canReindex) && Objects.equals(this.createdAt, rpmUpstream.createdAt) && Objects.equals(this.disableReason, rpmUpstream.disableReason) && + Objects.equals(this.disableReasonText, rpmUpstream.disableReasonText) && Objects.equals(this.distroVersion, rpmUpstream.distroVersion) && Objects.equals(this.extraHeader1, rpmUpstream.extraHeader1) && Objects.equals(this.extraHeader2, rpmUpstream.extraHeader2) && Objects.equals(this.extraValue1, rpmUpstream.extraValue1) && Objects.equals(this.extraValue2, rpmUpstream.extraValue2) && + Objects.equals(this.gpgKeyFingerprintShort, rpmUpstream.gpgKeyFingerprintShort) && Objects.equals(this.gpgKeyInline, rpmUpstream.gpgKeyInline) && Objects.equals(this.gpgKeyUrl, rpmUpstream.gpgKeyUrl) && Objects.equals(this.gpgVerification, rpmUpstream.gpgVerification) && + Objects.equals(this.hasFailedSignatureVerification, rpmUpstream.hasFailedSignatureVerification) && Objects.equals(this.includeSources, rpmUpstream.includeSources) && + Objects.equals(this.indexPackageCount, rpmUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, rpmUpstream.indexStatus) && Objects.equals(this.isActive, rpmUpstream.isActive) && + Objects.equals(this.lastIndexed, rpmUpstream.lastIndexed) && Objects.equals(this.mode, rpmUpstream.mode) && Objects.equals(this.name, rpmUpstream.name) && Objects.equals(this.pendingValidation, rpmUpstream.pendingValidation) && @@ -775,7 +879,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, distroVersion, extraHeader1, extraHeader2, extraValue1, extraValue2, gpgKeyInline, gpgKeyUrl, gpgVerification, includeSources, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verificationStatus, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, distroVersion, extraHeader1, extraHeader2, extraValue1, extraValue2, gpgKeyFingerprintShort, gpgKeyInline, gpgKeyUrl, gpgVerification, hasFailedSignatureVerification, includeSources, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verificationStatus, verifySsl); } @@ -787,18 +891,26 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" distroVersion: ").append(toIndentedString(distroVersion)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" gpgKeyFingerprintShort: ").append(toIndentedString(gpgKeyFingerprintShort)).append("\n"); sb.append(" gpgKeyInline: ").append(toIndentedString(gpgKeyInline)).append("\n"); sb.append(" gpgKeyUrl: ").append(toIndentedString(gpgKeyUrl)).append("\n"); sb.append(" gpgVerification: ").append(toIndentedString(gpgVerification)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); sb.append(" includeSources: ").append(toIndentedString(includeSources)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RubyPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RubyPackageUpload.java index ee596aa4..5f0d0d0c 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RubyPackageUpload.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RubyPackageUpload.java @@ -185,6 +185,9 @@ public class RubyPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, rubyPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, rubyPackageUpload.packageType) && Objects.equals(this.policyViolated, rubyPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, rubyPackageUpload.rawLicense) && Objects.equals(this.release, rubyPackageUpload.release) && Objects.equals(this.repository, rubyPackageUpload.repository) && Objects.equals(this.repositoryUrl, rubyPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, rubyPackageUpload.size) && Objects.equals(this.slug, rubyPackageUpload.slug) && Objects.equals(this.slugPerm, rubyPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, rubyPackageUpload.spdxLicense) && Objects.equals(this.stage, rubyPackageUpload.stage) && Objects.equals(this.stageStr, rubyPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, rubyPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RubyUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RubyUpstream.java index 14f835b2..61a304c7 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/RubyUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/RubyUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public RubyUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public RubyUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public RubyUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, rubyUpstream.authMode) && Objects.equals(this.authSecret, rubyUpstream.authSecret) && Objects.equals(this.authUsername, rubyUpstream.authUsername) && + Objects.equals(this.available, rubyUpstream.available) && + Objects.equals(this.canReindex, rubyUpstream.canReindex) && Objects.equals(this.createdAt, rubyUpstream.createdAt) && Objects.equals(this.disableReason, rubyUpstream.disableReason) && + Objects.equals(this.disableReasonText, rubyUpstream.disableReasonText) && Objects.equals(this.extraHeader1, rubyUpstream.extraHeader1) && Objects.equals(this.extraHeader2, rubyUpstream.extraHeader2) && Objects.equals(this.extraValue1, rubyUpstream.extraValue1) && Objects.equals(this.extraValue2, rubyUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, rubyUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, rubyUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, rubyUpstream.indexStatus) && Objects.equals(this.isActive, rubyUpstream.isActive) && + Objects.equals(this.lastIndexed, rubyUpstream.lastIndexed) && Objects.equals(this.mode, rubyUpstream.mode) && Objects.equals(this.name, rubyUpstream.name) && Objects.equals(this.pendingValidation, rubyUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/StatusBasic.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/StatusBasic.java index f0ecf05d..316f30ee 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/StatusBasic.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/StatusBasic.java @@ -38,7 +38,7 @@ public class StatusBasic implements Serializable { private String detail = "Cloudsmith API is operational."; @SerializedName("version") - private String version = "1.812.0"; + private String version = "1.0"; /** * The message describing the state of the API. diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/SwiftPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/SwiftPackageUpload.java index 45d34b47..565da661 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/SwiftPackageUpload.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/SwiftPackageUpload.java @@ -194,6 +194,9 @@ public class SwiftPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("readme_url") private String readmeUrl = null; @@ -298,6 +301,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -870,6 +876,15 @@ 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; + } + public SwiftPackageUpload readmeUrl(String readmeUrl) { this.readmeUrl = readmeUrl; return this; @@ -1036,6 +1051,15 @@ 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 @@ -1319,6 +1343,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, swiftPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, swiftPackageUpload.packageType) && Objects.equals(this.policyViolated, swiftPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, swiftPackageUpload.rawLicense) && Objects.equals(this.readmeUrl, swiftPackageUpload.readmeUrl) && Objects.equals(this.release, swiftPackageUpload.release) && Objects.equals(this.repository, swiftPackageUpload.repository) && @@ -1334,6 +1359,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, swiftPackageUpload.size) && Objects.equals(this.slug, swiftPackageUpload.slug) && Objects.equals(this.slugPerm, swiftPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, swiftPackageUpload.spdxLicense) && Objects.equals(this.stage, swiftPackageUpload.stage) && Objects.equals(this.stageStr, swiftPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, swiftPackageUpload.stageUpdatedAt) && @@ -1359,7 +1385,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(architectures, authorName, authorOrg, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, licenseUrl, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, readmeUrl, release, repository, repositoryUrl, scope, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, authorName, authorOrg, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, licenseUrl, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, readmeUrl, release, repository, repositoryUrl, scope, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1418,6 +1444,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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(" readmeUrl: ").append(toIndentedString(readmeUrl)).append("\n"); sb.append(" release: ").append(toIndentedString(release)).append("\n"); sb.append(" repository: ").append(toIndentedString(repository)).append("\n"); @@ -1433,6 +1460,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/SwiftUpstream.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/SwiftUpstream.java index e6562c98..a4df1874 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/SwiftUpstream.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/SwiftUpstream.java @@ -91,6 +91,12 @@ public AuthModeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("auth_username") private String authUsername = null; + @SerializedName("available") + private String available = null; + + @SerializedName("can_reindex") + private String canReindex = null; + @SerializedName("created_at") private OffsetDateTime createdAt = null; @@ -148,6 +154,9 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("disable_reason") private DisableReasonEnum disableReason = DisableReasonEnum.N_A; + @SerializedName("disable_reason_text") + private String disableReasonText = null; + @SerializedName("extra_header_1") private String extraHeader1 = null; @@ -160,9 +169,21 @@ public DisableReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("extra_value_2") private String extraValue2 = null; + @SerializedName("has_failed_signature_verification") + private String hasFailedSignatureVerification = null; + + @SerializedName("index_package_count") + private String indexPackageCount = null; + + @SerializedName("index_status") + private String indexStatus = null; + @SerializedName("is_active") private Boolean isActive = null; + @SerializedName("last_indexed") + private String lastIndexed = null; + /** * 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. */ @@ -288,6 +309,24 @@ public void setAuthUsername(String authUsername) { this.authUsername = authUsername; } + /** + * Get available + * @return available + **/ + @ApiModelProperty(value = "") + public String getAvailable() { + return available; + } + + /** + * Get canReindex + * @return canReindex + **/ + @ApiModelProperty(value = "") + public String getCanReindex() { + return canReindex; + } + /** * The datetime the upstream source was created. * @return createdAt @@ -307,6 +346,15 @@ public DisableReasonEnum getDisableReason() { return disableReason; } + /** + * Human-readable explanation of why this upstream is disabled + * @return disableReasonText + **/ + @ApiModelProperty(value = "Human-readable explanation of why this upstream is disabled") + public String getDisableReasonText() { + return disableReasonText; + } + public SwiftUpstream extraHeader1(String extraHeader1) { this.extraHeader1 = extraHeader1; return this; @@ -379,6 +427,33 @@ public void setExtraValue2(String extraValue2) { this.extraValue2 = extraValue2; } + /** + * Get hasFailedSignatureVerification + * @return hasFailedSignatureVerification + **/ + @ApiModelProperty(value = "") + public String getHasFailedSignatureVerification() { + return hasFailedSignatureVerification; + } + + /** + * The number of packages available in this upstream source + * @return indexPackageCount + **/ + @ApiModelProperty(value = "The number of packages available in this upstream source") + public String getIndexPackageCount() { + return indexPackageCount; + } + + /** + * The current indexing status of this upstream source + * @return indexStatus + **/ + @ApiModelProperty(value = "The current indexing status of this upstream source") + public String getIndexStatus() { + return indexStatus; + } + public SwiftUpstream isActive(Boolean isActive) { this.isActive = isActive; return this; @@ -397,6 +472,15 @@ public void setIsActive(Boolean isActive) { this.isActive = isActive; } + /** + * The last time this upstream source was indexed + * @return lastIndexed + **/ + @ApiModelProperty(value = "The last time this upstream source was indexed") + public String getLastIndexed() { + return lastIndexed; + } + public SwiftUpstream mode(ModeEnum mode) { this.mode = mode; return this; @@ -532,13 +616,20 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.authMode, swiftUpstream.authMode) && Objects.equals(this.authSecret, swiftUpstream.authSecret) && Objects.equals(this.authUsername, swiftUpstream.authUsername) && + Objects.equals(this.available, swiftUpstream.available) && + Objects.equals(this.canReindex, swiftUpstream.canReindex) && Objects.equals(this.createdAt, swiftUpstream.createdAt) && Objects.equals(this.disableReason, swiftUpstream.disableReason) && + Objects.equals(this.disableReasonText, swiftUpstream.disableReasonText) && Objects.equals(this.extraHeader1, swiftUpstream.extraHeader1) && Objects.equals(this.extraHeader2, swiftUpstream.extraHeader2) && Objects.equals(this.extraValue1, swiftUpstream.extraValue1) && Objects.equals(this.extraValue2, swiftUpstream.extraValue2) && + Objects.equals(this.hasFailedSignatureVerification, swiftUpstream.hasFailedSignatureVerification) && + Objects.equals(this.indexPackageCount, swiftUpstream.indexPackageCount) && + Objects.equals(this.indexStatus, swiftUpstream.indexStatus) && Objects.equals(this.isActive, swiftUpstream.isActive) && + Objects.equals(this.lastIndexed, swiftUpstream.lastIndexed) && Objects.equals(this.mode, swiftUpstream.mode) && Objects.equals(this.name, swiftUpstream.name) && Objects.equals(this.pendingValidation, swiftUpstream.pendingValidation) && @@ -551,7 +642,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(authMode, authSecret, authUsername, createdAt, disableReason, extraHeader1, extraHeader2, extraValue1, extraValue2, isActive, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); + return Objects.hash(authMode, authSecret, authUsername, available, canReindex, createdAt, disableReason, disableReasonText, extraHeader1, extraHeader2, extraValue1, extraValue2, hasFailedSignatureVerification, indexPackageCount, indexStatus, isActive, lastIndexed, mode, name, pendingValidation, priority, slugPerm, updatedAt, upstreamUrl, verifySsl); } @@ -563,13 +654,20 @@ public String toString() { sb.append(" authMode: ").append(toIndentedString(authMode)).append("\n"); sb.append(" authSecret: ").append(toIndentedString(authSecret)).append("\n"); sb.append(" authUsername: ").append(toIndentedString(authUsername)).append("\n"); + sb.append(" available: ").append(toIndentedString(available)).append("\n"); + sb.append(" canReindex: ").append(toIndentedString(canReindex)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" disableReason: ").append(toIndentedString(disableReason)).append("\n"); + sb.append(" disableReasonText: ").append(toIndentedString(disableReasonText)).append("\n"); sb.append(" extraHeader1: ").append(toIndentedString(extraHeader1)).append("\n"); sb.append(" extraHeader2: ").append(toIndentedString(extraHeader2)).append("\n"); sb.append(" extraValue1: ").append(toIndentedString(extraValue1)).append("\n"); sb.append(" extraValue2: ").append(toIndentedString(extraValue2)).append("\n"); + sb.append(" hasFailedSignatureVerification: ").append(toIndentedString(hasFailedSignatureVerification)).append("\n"); + sb.append(" indexPackageCount: ").append(toIndentedString(indexPackageCount)).append("\n"); + sb.append(" indexStatus: ").append(toIndentedString(indexStatus)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" lastIndexed: ").append(toIndentedString(lastIndexed)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" pendingValidation: ").append(toIndentedString(pendingValidation)).append("\n"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/TerraformPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/TerraformPackageUpload.java index bf8a7ceb..727411d7 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/TerraformPackageUpload.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/TerraformPackageUpload.java @@ -185,6 +185,9 @@ public class TerraformPackageUpload implements Serializable { @SerializedName("policy_violated") private Boolean policyViolated = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -283,6 +286,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -791,6 +797,15 @@ 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 @@ -911,6 +926,15 @@ 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 @@ -1181,6 +1205,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.originRepositoryUrl, terraformPackageUpload.originRepositoryUrl) && Objects.equals(this.packageType, terraformPackageUpload.packageType) && Objects.equals(this.policyViolated, terraformPackageUpload.policyViolated) && + Objects.equals(this.rawLicense, terraformPackageUpload.rawLicense) && Objects.equals(this.release, terraformPackageUpload.release) && Objects.equals(this.repository, terraformPackageUpload.repository) && Objects.equals(this.repositoryUrl, terraformPackageUpload.repositoryUrl) && @@ -1194,6 +1219,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, terraformPackageUpload.size) && Objects.equals(this.slug, terraformPackageUpload.slug) && Objects.equals(this.slugPerm, terraformPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, terraformPackageUpload.spdxLicense) && Objects.equals(this.stage, terraformPackageUpload.stage) && Objects.equals(this.stageStr, terraformPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, terraformPackageUpload.stageUpdatedAt) && @@ -1219,7 +1245,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1275,6 +1301,7 @@ public String toString() { sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).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"); @@ -1288,6 +1315,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/models/VagrantPackageUpload.java b/bindings/java/src/src/main/java/io/cloudsmith/api/models/VagrantPackageUpload.java index 3df50d99..02f650e5 100644 --- a/bindings/java/src/src/main/java/io/cloudsmith/api/models/VagrantPackageUpload.java +++ b/bindings/java/src/src/main/java/io/cloudsmith/api/models/VagrantPackageUpload.java @@ -188,6 +188,9 @@ public class VagrantPackageUpload implements Serializable { @SerializedName("provider") private String provider = null; + @SerializedName("raw_license") + private String rawLicense = null; + @SerializedName("release") private String release = null; @@ -286,6 +289,9 @@ public SecurityScanStatusEnum read(final JsonReader jsonReader) throws IOExcepti @SerializedName("slug_perm") private String slugPerm = null; + @SerializedName("spdx_license") + private String spdxLicense = null; + @SerializedName("stage") private java.math.BigInteger stage = null; @@ -823,6 +829,15 @@ public void setProvider(String provider) { this.provider = provider; } + /** + * 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 @@ -943,6 +958,15 @@ 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 @@ -1224,6 +1248,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.packageType, vagrantPackageUpload.packageType) && Objects.equals(this.policyViolated, vagrantPackageUpload.policyViolated) && Objects.equals(this.provider, vagrantPackageUpload.provider) && + Objects.equals(this.rawLicense, vagrantPackageUpload.rawLicense) && Objects.equals(this.release, vagrantPackageUpload.release) && Objects.equals(this.repository, vagrantPackageUpload.repository) && Objects.equals(this.repositoryUrl, vagrantPackageUpload.repositoryUrl) && @@ -1237,6 +1262,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.size, vagrantPackageUpload.size) && Objects.equals(this.slug, vagrantPackageUpload.slug) && Objects.equals(this.slugPerm, vagrantPackageUpload.slugPerm) && + Objects.equals(this.spdxLicense, vagrantPackageUpload.spdxLicense) && Objects.equals(this.stage, vagrantPackageUpload.stage) && Objects.equals(this.stageStr, vagrantPackageUpload.stageStr) && Objects.equals(this.stageUpdatedAt, vagrantPackageUpload.stageUpdatedAt) && @@ -1262,7 +1288,7 @@ public boolean equals(java.lang.Object o) { @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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, provider, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, 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, isMoveable, isQuarantinable, isQuarantined, isResyncable, isSecurityScannable, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, policyViolated, provider, rawLicense, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, 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); } @@ -1319,6 +1345,7 @@ public String toString() { sb.append(" packageType: ").append(toIndentedString(packageType)).append("\n"); sb.append(" policyViolated: ").append(toIndentedString(policyViolated)).append("\n"); sb.append(" provider: ").append(toIndentedString(provider)).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"); @@ -1332,6 +1359,7 @@ public String toString() { 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"); diff --git a/bindings/java/src/src/test/java/io/cloudsmith/api/apis/BroadcastsApiTest.java b/bindings/java/src/src/test/java/io/cloudsmith/api/apis/BroadcastsApiTest.java new file mode 100644 index 00000000..20cb3674 --- /dev/null +++ b/bindings/java/src/src/test/java/io/cloudsmith/api/apis/BroadcastsApiTest.java @@ -0,0 +1,54 @@ +/* + * 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.apis; + +import io.cloudsmith.api.models.BroadcastToken; +import io.cloudsmith.api.models.BroadcastTokenInput; +import io.cloudsmith.api.models.ErrorDetail; +import org.junit.Test; +import org.junit.Ignore; + + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for BroadcastsApi + */ +@Ignore +public class BroadcastsApiTest { + + private final BroadcastsApi api = new BroadcastsApi(); + + + /** + * Create a broadcast token. + * + * Create a broadcast token. + * + * @throws Exception + * if the Api call fails + */ + @Test + public void broadcastsCreateBroadcastTokenTest() throws Exception { + String org = null; + BroadcastTokenInput data = null; + BroadcastToken response = api.broadcastsCreateBroadcastToken(org, data); + + // TODO: test validations + } + +} diff --git a/bindings/python/src/.swagger-codegen/VERSION b/bindings/python/src/.swagger-codegen/VERSION index 24ade4ad..ba6a94ac 100644 --- a/bindings/python/src/.swagger-codegen/VERSION +++ b/bindings/python/src/.swagger-codegen/VERSION @@ -1 +1 @@ -2.4.43 \ No newline at end of file +2.4.50 \ No newline at end of file diff --git a/bindings/python/src/README.md b/bindings/python/src/README.md index 458d8fc4..fcd46b78 100644 --- a/bindings/python/src/README.md +++ b/bindings/python/src/README.md @@ -4,7 +4,7 @@ The API to the Cloudsmith Service This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: v1 -- Package version: 2.0.22 +- Package version: 2.0.23 - Build package: io.swagger.codegen.languages.PythonClientCodegen For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io) @@ -87,6 +87,7 @@ Class | Method | HTTP request | Description *AuditLogApi* | [**audit_log_namespace_list**](docs/AuditLogApi.md#audit_log_namespace_list) | **GET** /audit-log/{owner}/ | Lists audit log entries for a specific namespace. *AuditLogApi* | [**audit_log_repo_list**](docs/AuditLogApi.md#audit_log_repo_list) | **GET** /audit-log/{owner}/{repo}/ | Lists audit log entries for a specific repository. *BadgesApi* | [**badges_version_list**](docs/BadgesApi.md#badges_version_list) | **GET** /badges/version/{owner}/{repo}/{package_format}/{package_name}/{package_version}/{package_identifiers}/ | Get latest package version for a package or package group. +*BroadcastsApi* | [**broadcasts_create_broadcast_token**](docs/BroadcastsApi.md#broadcasts_create_broadcast_token) | **POST** /broadcasts/{org}/broadcast-token/ | Create a broadcast token. *DistrosApi* | [**distros_list**](docs/DistrosApi.md#distros_list) | **GET** /distros/ | Get a list of all supported distributions. *DistrosApi* | [**distros_read**](docs/DistrosApi.md#distros_read) | **GET** /distros/{slug}/ | View for viewing/listing distributions. *EntitlementsApi* | [**entitlements_create**](docs/EntitlementsApi.md#entitlements_create) | **POST** /entitlements/{owner}/{repo}/ | Create a specific entitlement in a repository. @@ -419,6 +420,8 @@ Class | Method | HTTP request | Description - [AlpinePackageUpload](docs/AlpinePackageUpload.md) - [AlpinePackageUploadRequest](docs/AlpinePackageUploadRequest.md) - [Architecture](docs/Architecture.md) + - [BroadcastToken](docs/BroadcastToken.md) + - [BroadcastTokenInput](docs/BroadcastTokenInput.md) - [CargoPackageUpload](docs/CargoPackageUpload.md) - [CargoPackageUploadRequest](docs/CargoPackageUploadRequest.md) - [CargoUpstream](docs/CargoUpstream.md) diff --git a/bindings/python/src/build.json b/bindings/python/src/build.json index 375298aa..ff15bd15 100644 --- a/bindings/python/src/build.json +++ b/bindings/python/src/build.json @@ -2,7 +2,7 @@ "hideGenerationTimestamp": true, "packageName": "cloudsmith_api", "projectName": "cloudsmith_api", - "packageVersion": "2.0.22", + "packageVersion": "2.0.23", "packageUrl": "https://api.cloudsmith.io/?format=openapi", "sortParamsByRequiredFlag": true } diff --git a/bindings/python/src/cloudsmith_api/__init__.py b/bindings/python/src/cloudsmith_api/__init__.py index 2a3b1aaf..bb841ad2 100644 --- a/bindings/python/src/cloudsmith_api/__init__.py +++ b/bindings/python/src/cloudsmith_api/__init__.py @@ -18,6 +18,7 @@ # import apis into sdk package from cloudsmith_api.api.audit_log_api import AuditLogApi from cloudsmith_api.api.badges_api import BadgesApi +from cloudsmith_api.api.broadcasts_api import BroadcastsApi from cloudsmith_api.api.distros_api import DistrosApi from cloudsmith_api.api.entitlements_api import EntitlementsApi from cloudsmith_api.api.files_api import FilesApi @@ -45,6 +46,8 @@ from cloudsmith_api.models.alpine_package_upload import AlpinePackageUpload from cloudsmith_api.models.alpine_package_upload_request import AlpinePackageUploadRequest from cloudsmith_api.models.architecture import Architecture +from cloudsmith_api.models.broadcast_token import BroadcastToken +from cloudsmith_api.models.broadcast_token_input import BroadcastTokenInput from cloudsmith_api.models.cargo_package_upload import CargoPackageUpload from cloudsmith_api.models.cargo_package_upload_request import CargoPackageUploadRequest from cloudsmith_api.models.cargo_upstream import CargoUpstream diff --git a/bindings/python/src/cloudsmith_api/api/__init__.py b/bindings/python/src/cloudsmith_api/api/__init__.py index d7278be2..46f1a2d6 100644 --- a/bindings/python/src/cloudsmith_api/api/__init__.py +++ b/bindings/python/src/cloudsmith_api/api/__init__.py @@ -5,6 +5,7 @@ # import apis into api package from cloudsmith_api.api.audit_log_api import AuditLogApi from cloudsmith_api.api.badges_api import BadgesApi +from cloudsmith_api.api.broadcasts_api import BroadcastsApi from cloudsmith_api.api.distros_api import DistrosApi from cloudsmith_api.api.entitlements_api import EntitlementsApi from cloudsmith_api.api.files_api import FilesApi diff --git a/bindings/python/src/cloudsmith_api/api/broadcasts_api.py b/bindings/python/src/cloudsmith_api/api/broadcasts_api.py new file mode 100644 index 00000000..ec4335b0 --- /dev/null +++ b/bindings/python/src/cloudsmith_api/api/broadcasts_api.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + Cloudsmith API (v1) + + The API to the Cloudsmith Service # noqa: E501 + + OpenAPI spec version: v1 + Contact: support@cloudsmith.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from cloudsmith_api.api_client import ApiClient + + +class BroadcastsApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def broadcasts_create_broadcast_token(self, org, **kwargs): # noqa: E501 + """Create a broadcast token. # noqa: E501 + + Create a broadcast token. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.broadcasts_create_broadcast_token(org, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str org: (required) + :param BroadcastTokenInput data: + :return: BroadcastToken + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.broadcasts_create_broadcast_token_with_http_info(org, **kwargs) # noqa: E501 + else: + (data) = self.broadcasts_create_broadcast_token_with_http_info(org, **kwargs) # noqa: E501 + return data + + def broadcasts_create_broadcast_token_with_http_info(self, org, **kwargs): # noqa: E501 + """Create a broadcast token. # noqa: E501 + + Create a broadcast token. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.broadcasts_create_broadcast_token_with_http_info(org, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str org: (required) + :param BroadcastTokenInput data: + :return: BroadcastToken + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['org', 'data'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method broadcasts_create_broadcast_token" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'org' is set + if self.api_client.client_side_validation and ('org' not in params or + params['org'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `org` when calling `broadcasts_create_broadcast_token`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'org' in params: + path_params['org'] = params['org'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'data' in params: + body_params = params['data'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['apikey', 'basic'] # noqa: E501 + + return self.api_client.call_api( + '/broadcasts/{org}/broadcast-token/', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='BroadcastToken', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/bindings/python/src/cloudsmith_api/api_client.py b/bindings/python/src/cloudsmith_api/api_client.py index 77db933b..01baccff 100644 --- a/bindings/python/src/cloudsmith_api/api_client.py +++ b/bindings/python/src/cloudsmith_api/api_client.py @@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/2.0.22/python' + self.user_agent = 'Swagger-Codegen/2.0.23/python' self.client_side_validation = configuration.client_side_validation def __del__(self): diff --git a/bindings/python/src/cloudsmith_api/configuration.py b/bindings/python/src/cloudsmith_api/configuration.py index 6f8d08e2..70ef947d 100644 --- a/bindings/python/src/cloudsmith_api/configuration.py +++ b/bindings/python/src/cloudsmith_api/configuration.py @@ -62,8 +62,6 @@ def __init__(self): self.logger["urllib3_logger"] = logging.getLogger("urllib3") # Log format self.logger_format = '%(asctime)s %(levelname)s %(message)s' - # Log stream handler - self.logger_stream_handler = None # Log file handler self.logger_file_handler = None # Debug file location @@ -107,9 +105,6 @@ def set_default(cls, default): def logger_file(self): """The logger file. - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - :param value: The logger_file path. :type: str """ @@ -119,29 +114,22 @@ def logger_file(self): def logger_file(self, value): """The logger file. - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. + If the logger_file is None, then remove file + handler. Otherwise, add file handler. :param value: The logger_file path. :type: str """ self.__logger_file = value if self.__logger_file: - # If set logging file, - # then add file handler and remove stream handler. + # If set logging file, then add file handler. self.logger_file_handler = logging.FileHandler(self.__logger_file) self.logger_file_handler.setFormatter(self.logger_formatter) for _, logger in six.iteritems(self.logger): logger.addHandler(self.logger_file_handler) - if self.logger_stream_handler: - logger.removeHandler(self.logger_stream_handler) else: - # If not set logging file, - # then add stream handler and remove file handler. - self.logger_stream_handler = logging.StreamHandler() - self.logger_stream_handler.setFormatter(self.logger_formatter) + # If not, remove file handler. for _, logger in six.iteritems(self.logger): - logger.addHandler(self.logger_stream_handler) if self.logger_file_handler: logger.removeHandler(self.logger_file_handler) @@ -261,5 +249,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v1\n"\ - "SDK Package Version: 2.0.22".\ + "SDK Package Version: 2.0.23".\ format(env=sys.platform, pyversion=sys.version) diff --git a/bindings/python/src/cloudsmith_api/models/__init__.py b/bindings/python/src/cloudsmith_api/models/__init__.py index e1ecf68d..275dbfa0 100644 --- a/bindings/python/src/cloudsmith_api/models/__init__.py +++ b/bindings/python/src/cloudsmith_api/models/__init__.py @@ -20,6 +20,8 @@ from cloudsmith_api.models.alpine_package_upload import AlpinePackageUpload from cloudsmith_api.models.alpine_package_upload_request import AlpinePackageUploadRequest from cloudsmith_api.models.architecture import Architecture +from cloudsmith_api.models.broadcast_token import BroadcastToken +from cloudsmith_api.models.broadcast_token_input import BroadcastTokenInput from cloudsmith_api.models.cargo_package_upload import CargoPackageUpload from cloudsmith_api.models.cargo_package_upload_request import CargoPackageUploadRequest from cloudsmith_api.models.cargo_upstream import CargoUpstream diff --git a/bindings/python/src/cloudsmith_api/models/alpine_package_upload.py b/bindings/python/src/cloudsmith_api/models/alpine_package_upload.py index e08ba50e..6922b4dc 100644 --- a/bindings/python/src/cloudsmith_api/models/alpine_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/alpine_package_upload.py @@ -80,6 +80,7 @@ class AlpinePackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class AlpinePackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class AlpinePackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class AlpinePackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class AlpinePackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """AlpinePackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this AlpinePackageUpload. + + The raw license string. + + :return: The raw_license of this AlpinePackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this AlpinePackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this AlpinePackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this AlpinePackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this AlpinePackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this AlpinePackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this AlpinePackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this AlpinePackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this AlpinePackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/architecture.py b/bindings/python/src/cloudsmith_api/models/architecture.py index 4d91f8de..f39a1b5f 100644 --- a/bindings/python/src/cloudsmith_api/models/architecture.py +++ b/bindings/python/src/cloudsmith_api/models/architecture.py @@ -101,8 +101,8 @@ def name(self, name): if self._configuration.client_side_validation and name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and len(name) > 32): - raise ValueError("Invalid value for `name`, length must be less than or equal to `32`") # noqa: E501 + name is not None and len(name) > 128): + raise ValueError("Invalid value for `name`, length must be less than or equal to `128`") # noqa: E501 if (self._configuration.client_side_validation and name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 diff --git a/bindings/python/src/cloudsmith_api/models/broadcast_token.py b/bindings/python/src/cloudsmith_api/models/broadcast_token.py new file mode 100644 index 00000000..3ae434bd --- /dev/null +++ b/bindings/python/src/cloudsmith_api/models/broadcast_token.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Cloudsmith API (v1) + + The API to the Cloudsmith Service # noqa: E501 + + OpenAPI spec version: v1 + Contact: support@cloudsmith.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from cloudsmith_api.configuration import Configuration + + +class BroadcastToken(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'expires_at': 'datetime', + 'token': 'str' + } + + attribute_map = { + 'expires_at': 'expires_at', + 'token': 'token' + } + + def __init__(self, expires_at=None, token=None, _configuration=None): # noqa: E501 + """BroadcastToken - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._expires_at = None + self._token = None + self.discriminator = None + + if expires_at is not None: + self.expires_at = expires_at + if token is not None: + self.token = token + + @property + def expires_at(self): + """Gets the expires_at of this BroadcastToken. + + + :return: The expires_at of this BroadcastToken. + :rtype: datetime + """ + return self._expires_at + + @expires_at.setter + def expires_at(self, expires_at): + """Sets the expires_at of this BroadcastToken. + + + :param expires_at: The expires_at of this BroadcastToken. + :type: datetime + """ + + self._expires_at = expires_at + + @property + def token(self): + """Gets the token of this BroadcastToken. + + + :return: The token of this BroadcastToken. + :rtype: str + """ + return self._token + + @token.setter + def token(self, token): + """Sets the token of this BroadcastToken. + + + :param token: The token of this BroadcastToken. + :type: str + """ + if (self._configuration.client_side_validation and + token is not None and len(token) < 1): + raise ValueError("Invalid value for `token`, length must be greater than or equal to `1`") # noqa: E501 + + self._token = token + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(BroadcastToken, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BroadcastToken): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, BroadcastToken): + return True + + return self.to_dict() != other.to_dict() + diff --git a/bindings/python/src/cloudsmith_api/models/broadcast_token_input.py b/bindings/python/src/cloudsmith_api/models/broadcast_token_input.py new file mode 100644 index 00000000..906231cf --- /dev/null +++ b/bindings/python/src/cloudsmith_api/models/broadcast_token_input.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + Cloudsmith API (v1) + + The API to the Cloudsmith Service # noqa: E501 + + OpenAPI spec version: v1 + Contact: support@cloudsmith.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from cloudsmith_api.configuration import Configuration + + +class BroadcastTokenInput(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'entitlement_token': 'str', + 'expires_in': 'int' + } + + attribute_map = { + 'entitlement_token': 'entitlement_token', + 'expires_in': 'expires_in' + } + + def __init__(self, entitlement_token=None, expires_in=None, _configuration=None): # noqa: E501 + """BroadcastTokenInput - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._entitlement_token = None + self._expires_in = None + self.discriminator = None + + self.entitlement_token = entitlement_token + if expires_in is not None: + self.expires_in = expires_in + + @property + def entitlement_token(self): + """Gets the entitlement_token of this BroadcastTokenInput. + + Repository entitlement token used to authorize the creation of a broadcast token + + :return: The entitlement_token of this BroadcastTokenInput. + :rtype: str + """ + return self._entitlement_token + + @entitlement_token.setter + def entitlement_token(self, entitlement_token): + """Sets the entitlement_token of this BroadcastTokenInput. + + Repository entitlement token used to authorize the creation of a broadcast token + + :param entitlement_token: The entitlement_token of this BroadcastTokenInput. + :type: str + """ + if self._configuration.client_side_validation and entitlement_token is None: + raise ValueError("Invalid value for `entitlement_token`, must not be `None`") # noqa: E501 + if (self._configuration.client_side_validation and + entitlement_token is not None and len(entitlement_token) < 1): + raise ValueError("Invalid value for `entitlement_token`, length must be greater than or equal to `1`") # noqa: E501 + + self._entitlement_token = entitlement_token + + @property + def expires_in(self): + """Gets the expires_in of this BroadcastTokenInput. + + Token expiry time in seconds (optional, defaults to 3600 seconds) + + :return: The expires_in of this BroadcastTokenInput. + :rtype: int + """ + return self._expires_in + + @expires_in.setter + def expires_in(self, expires_in): + """Sets the expires_in of this BroadcastTokenInput. + + Token expiry time in seconds (optional, defaults to 3600 seconds) + + :param expires_in: The expires_in of this BroadcastTokenInput. + :type: int + """ + if (self._configuration.client_side_validation and + expires_in is not None and expires_in < 1): # noqa: E501 + raise ValueError("Invalid value for `expires_in`, must be a value greater than or equal to `1`") # noqa: E501 + + self._expires_in = expires_in + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(BroadcastTokenInput, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BroadcastTokenInput): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, BroadcastTokenInput): + return True + + return self.to_dict() != other.to_dict() + diff --git a/bindings/python/src/cloudsmith_api/models/cargo_package_upload.py b/bindings/python/src/cloudsmith_api/models/cargo_package_upload.py index 15548680..c63c97a5 100644 --- a/bindings/python/src/cloudsmith_api/models/cargo_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/cargo_package_upload.py @@ -80,6 +80,7 @@ class CargoPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class CargoPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class CargoPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class CargoPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class CargoPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """CargoPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this CargoPackageUpload. + + The raw license string. + + :return: The raw_license of this CargoPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this CargoPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this CargoPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this CargoPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this CargoPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this CargoPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this CargoPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this CargoPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this CargoPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/cargo_upstream.py b/bindings/python/src/cloudsmith_api/models/cargo_upstream.py index a1cb178d..316d8787 100644 --- a/bindings/python/src/cloudsmith_api/models/cargo_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/cargo_upstream.py @@ -36,13 +36,20 @@ class CargoUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class CargoUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class CargoUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """CargoUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this CargoUpstream. + + + :return: The available of this CargoUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this CargoUpstream. + + + :param available: The available of this CargoUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this CargoUpstream. + + + :return: The can_reindex of this CargoUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this CargoUpstream. + + + :param can_reindex: The can_reindex of this CargoUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this CargoUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this CargoUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this CargoUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this CargoUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this CargoUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this CargoUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this CargoUpstream. + + + :return: The has_failed_signature_verification of this CargoUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this CargoUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this CargoUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this CargoUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this CargoUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this CargoUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this CargoUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this CargoUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this CargoUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this CargoUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this CargoUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this CargoUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this CargoUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this CargoUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this CargoUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this CargoUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this CargoUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/cargo_upstream_request.py b/bindings/python/src/cloudsmith_api/models/cargo_upstream_request.py index d712128c..d950cd4c 100644 --- a/bindings/python/src/cloudsmith_api/models/cargo_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/cargo_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/cargo_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/cargo_upstream_request_patch.py index 5d11417c..c36e601d 100644 --- a/bindings/python/src/cloudsmith_api/models/cargo_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/cargo_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/cocoapods_package_upload.py b/bindings/python/src/cloudsmith_api/models/cocoapods_package_upload.py index ac342bb6..b7c40a6b 100644 --- a/bindings/python/src/cloudsmith_api/models/cocoapods_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/cocoapods_package_upload.py @@ -80,6 +80,7 @@ class CocoapodsPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class CocoapodsPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class CocoapodsPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class CocoapodsPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class CocoapodsPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """CocoapodsPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this CocoapodsPackageUpload. + + The raw license string. + + :return: The raw_license of this CocoapodsPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this CocoapodsPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this CocoapodsPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this CocoapodsPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this CocoapodsPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this CocoapodsPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this CocoapodsPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this CocoapodsPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this CocoapodsPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/composer_package_upload.py b/bindings/python/src/cloudsmith_api/models/composer_package_upload.py index a0867c8a..6c1c0805 100644 --- a/bindings/python/src/cloudsmith_api/models/composer_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/composer_package_upload.py @@ -80,6 +80,7 @@ class ComposerPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class ComposerPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class ComposerPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class ComposerPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class ComposerPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """ComposerPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this ComposerPackageUpload. + + The raw license string. + + :return: The raw_license of this ComposerPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this ComposerPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this ComposerPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this ComposerPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this ComposerPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this ComposerPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this ComposerPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this ComposerPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this ComposerPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/composer_upstream.py b/bindings/python/src/cloudsmith_api/models/composer_upstream.py index 4be50637..8df36843 100644 --- a/bindings/python/src/cloudsmith_api/models/composer_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/composer_upstream.py @@ -36,13 +36,20 @@ class ComposerUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class ComposerUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class ComposerUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """ComposerUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this ComposerUpstream. + + + :return: The available of this ComposerUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this ComposerUpstream. + + + :param available: The available of this ComposerUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this ComposerUpstream. + + + :return: The can_reindex of this ComposerUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this ComposerUpstream. + + + :param can_reindex: The can_reindex of this ComposerUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this ComposerUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this ComposerUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this ComposerUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this ComposerUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this ComposerUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this ComposerUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this ComposerUpstream. + + + :return: The has_failed_signature_verification of this ComposerUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this ComposerUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this ComposerUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this ComposerUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this ComposerUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this ComposerUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this ComposerUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this ComposerUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this ComposerUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this ComposerUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this ComposerUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this ComposerUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this ComposerUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this ComposerUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this ComposerUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this ComposerUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this ComposerUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/composer_upstream_request.py b/bindings/python/src/cloudsmith_api/models/composer_upstream_request.py index fecd58b6..e10915b7 100644 --- a/bindings/python/src/cloudsmith_api/models/composer_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/composer_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/composer_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/composer_upstream_request_patch.py index cac85264..4bbbf2e9 100644 --- a/bindings/python/src/cloudsmith_api/models/composer_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/composer_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/conan_package_upload.py b/bindings/python/src/cloudsmith_api/models/conan_package_upload.py index 99264f21..3f3989de 100644 --- a/bindings/python/src/cloudsmith_api/models/conan_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/conan_package_upload.py @@ -82,6 +82,7 @@ class ConanPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -95,6 +96,7 @@ class ConanPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -168,6 +170,7 @@ class ConanPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -181,6 +184,7 @@ class ConanPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -204,7 +208,7 @@ class ConanPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, conan_channel=None, conan_prefix=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, conan_channel=None, conan_prefix=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """ConanPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -259,6 +263,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -272,6 +277,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -393,6 +399,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -419,6 +427,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1548,6 +1558,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this ConanPackageUpload. + + The raw license string. + + :return: The raw_license of this ConanPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this ConanPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this ConanPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this ConanPackageUpload. @@ -1858,6 +1894,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this ConanPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this ConanPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this ConanPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this ConanPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this ConanPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/conda_package_upload.py b/bindings/python/src/cloudsmith_api/models/conda_package_upload.py index edbd54eb..134442a0 100644 --- a/bindings/python/src/cloudsmith_api/models/conda_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/conda_package_upload.py @@ -80,6 +80,7 @@ class CondaPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class CondaPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class CondaPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class CondaPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class CondaPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """CondaPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this CondaPackageUpload. + + The raw license string. + + :return: The raw_license of this CondaPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this CondaPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this CondaPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this CondaPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this CondaPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this CondaPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this CondaPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this CondaPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this CondaPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/conda_upstream.py b/bindings/python/src/cloudsmith_api/models/conda_upstream.py index e48d2e34..b654f472 100644 --- a/bindings/python/src/cloudsmith_api/models/conda_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/conda_upstream.py @@ -36,13 +36,20 @@ class CondaUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class CondaUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class CondaUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """CondaUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this CondaUpstream. + + + :return: The available of this CondaUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this CondaUpstream. + + + :param available: The available of this CondaUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this CondaUpstream. + + + :return: The can_reindex of this CondaUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this CondaUpstream. + + + :param can_reindex: The can_reindex of this CondaUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this CondaUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this CondaUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this CondaUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this CondaUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this CondaUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this CondaUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this CondaUpstream. + + + :return: The has_failed_signature_verification of this CondaUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this CondaUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this CondaUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this CondaUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this CondaUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this CondaUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this CondaUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this CondaUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this CondaUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this CondaUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this CondaUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this CondaUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this CondaUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this CondaUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this CondaUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this CondaUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this CondaUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/conda_upstream_request.py b/bindings/python/src/cloudsmith_api/models/conda_upstream_request.py index f14bedbf..e03af589 100644 --- a/bindings/python/src/cloudsmith_api/models/conda_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/conda_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/conda_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/conda_upstream_request_patch.py index 8bd40d04..18384c0b 100644 --- a/bindings/python/src/cloudsmith_api/models/conda_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/conda_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/cran_package_upload.py b/bindings/python/src/cloudsmith_api/models/cran_package_upload.py index 2b5cb147..03d58e7a 100644 --- a/bindings/python/src/cloudsmith_api/models/cran_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/cran_package_upload.py @@ -81,6 +81,7 @@ class CranPackageUpload(object): 'package_type': 'int', 'policy_violated': 'bool', 'r_version': 'str', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -94,6 +95,7 @@ class CranPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -166,6 +168,7 @@ class CranPackageUpload(object): 'package_type': 'package_type', 'policy_violated': 'policy_violated', 'r_version': 'r_version', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -179,6 +182,7 @@ class CranPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -202,7 +206,7 @@ class CranPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, r_version=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, r_version=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """CranPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -256,6 +260,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._package_type = None self._policy_violated = None self._r_version = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -269,6 +274,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -388,6 +394,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.policy_violated = policy_violated if r_version is not None: self.r_version = r_version + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -414,6 +422,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1511,6 +1521,32 @@ def r_version(self, r_version): self._r_version = r_version + @property + def raw_license(self): + """Gets the raw_license of this CranPackageUpload. + + The raw license string. + + :return: The raw_license of this CranPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this CranPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this CranPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this CranPackageUpload. @@ -1821,6 +1857,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this CranPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this CranPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this CranPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this CranPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this CranPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/cran_upstream.py b/bindings/python/src/cloudsmith_api/models/cran_upstream.py index 6d9f74cd..4ed00cda 100644 --- a/bindings/python/src/cloudsmith_api/models/cran_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/cran_upstream.py @@ -36,13 +36,20 @@ class CranUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class CranUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class CranUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """CranUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this CranUpstream. + + + :return: The available of this CranUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this CranUpstream. + + + :param available: The available of this CranUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this CranUpstream. + + + :return: The can_reindex of this CranUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this CranUpstream. + + + :param can_reindex: The can_reindex of this CranUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this CranUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this CranUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this CranUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this CranUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this CranUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this CranUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this CranUpstream. + + + :return: The has_failed_signature_verification of this CranUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this CranUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this CranUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this CranUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this CranUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this CranUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this CranUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this CranUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this CranUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this CranUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this CranUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this CranUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this CranUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this CranUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this CranUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this CranUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this CranUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/cran_upstream_request.py b/bindings/python/src/cloudsmith_api/models/cran_upstream_request.py index 307af8ed..211eac3c 100644 --- a/bindings/python/src/cloudsmith_api/models/cran_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/cran_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/cran_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/cran_upstream_request_patch.py index 2f00162a..673d17b7 100644 --- a/bindings/python/src/cloudsmith_api/models/cran_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/cran_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/dart_package_upload.py b/bindings/python/src/cloudsmith_api/models/dart_package_upload.py index 15ca0f6e..c1df51eb 100644 --- a/bindings/python/src/cloudsmith_api/models/dart_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/dart_package_upload.py @@ -80,6 +80,7 @@ class DartPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class DartPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class DartPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class DartPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class DartPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """DartPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this DartPackageUpload. + + The raw license string. + + :return: The raw_license of this DartPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this DartPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this DartPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this DartPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this DartPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this DartPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this DartPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this DartPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this DartPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/dart_upstream.py b/bindings/python/src/cloudsmith_api/models/dart_upstream.py index 1094c467..acfee482 100644 --- a/bindings/python/src/cloudsmith_api/models/dart_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/dart_upstream.py @@ -36,13 +36,20 @@ class DartUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class DartUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class DartUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """DartUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this DartUpstream. + + + :return: The available of this DartUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this DartUpstream. + + + :param available: The available of this DartUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this DartUpstream. + + + :return: The can_reindex of this DartUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this DartUpstream. + + + :param can_reindex: The can_reindex of this DartUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this DartUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this DartUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this DartUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this DartUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this DartUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this DartUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this DartUpstream. + + + :return: The has_failed_signature_verification of this DartUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this DartUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this DartUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this DartUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this DartUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this DartUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this DartUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this DartUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this DartUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this DartUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this DartUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this DartUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this DartUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this DartUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this DartUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this DartUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this DartUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/dart_upstream_request.py b/bindings/python/src/cloudsmith_api/models/dart_upstream_request.py index c67c33b9..ec305c91 100644 --- a/bindings/python/src/cloudsmith_api/models/dart_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/dart_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/dart_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/dart_upstream_request_patch.py index 0938fa3b..4555fb6d 100644 --- a/bindings/python/src/cloudsmith_api/models/dart_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/dart_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/deb_package_upload.py b/bindings/python/src/cloudsmith_api/models/deb_package_upload.py index ce04297a..4b35a9cd 100644 --- a/bindings/python/src/cloudsmith_api/models/deb_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/deb_package_upload.py @@ -80,6 +80,7 @@ class DebPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class DebPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class DebPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class DebPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class DebPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """DebPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this DebPackageUpload. + + The raw license string. + + :return: The raw_license of this DebPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this DebPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this DebPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this DebPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this DebPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this DebPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this DebPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this DebPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this DebPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/deb_upstream.py b/bindings/python/src/cloudsmith_api/models/deb_upstream.py index f4381c1c..638b4765 100644 --- a/bindings/python/src/cloudsmith_api/models/deb_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/deb_upstream.py @@ -36,19 +36,27 @@ class DebUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'component': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'distro_versions': 'list[str]', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'gpg_key_fingerprint_short': 'str', 'gpg_key_inline': 'str', 'gpg_key_url': 'str', 'gpg_verification': 'str', + 'has_failed_signature_verification': 'str', 'include_sources': 'bool', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -65,19 +73,27 @@ class DebUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'component': 'component', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'distro_versions': 'distro_versions', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'gpg_key_fingerprint_short': 'gpg_key_fingerprint_short', 'gpg_key_inline': 'gpg_key_inline', 'gpg_key_url': 'gpg_key_url', 'gpg_verification': 'gpg_verification', + 'has_failed_signature_verification': 'has_failed_signature_verification', 'include_sources': 'include_sources', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -90,7 +106,7 @@ class DebUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, component=None, created_at=None, disable_reason='N/A', distro_versions=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, gpg_key_inline=None, gpg_key_url=None, gpg_verification='Allow All', include_sources=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_distribution=None, upstream_url=None, verification_status='Unknown', verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, component=None, created_at=None, disable_reason='N/A', disable_reason_text=None, distro_versions=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, gpg_key_fingerprint_short=None, gpg_key_inline=None, gpg_key_url=None, gpg_verification='Allow All', has_failed_signature_verification=None, include_sources=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_distribution=None, upstream_url=None, verification_status='Unknown', verify_ssl=None, _configuration=None): # noqa: E501 """DebUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -99,19 +115,27 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, compo self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._component = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._distro_versions = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._gpg_key_fingerprint_short = None self._gpg_key_inline = None self._gpg_key_url = None self._gpg_verification = None + self._has_failed_signature_verification = None self._include_sources = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -130,12 +154,18 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, compo self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if component is not None: self.component = component if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text self.distro_versions = distro_versions if extra_header_1 is not None: self.extra_header_1 = extra_header_1 @@ -145,16 +175,26 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, compo self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if gpg_key_fingerprint_short is not None: + self.gpg_key_fingerprint_short = gpg_key_fingerprint_short if gpg_key_inline is not None: self.gpg_key_inline = gpg_key_inline if gpg_key_url is not None: self.gpg_key_url = gpg_key_url if gpg_verification is not None: self.gpg_verification = gpg_verification + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification if include_sources is not None: self.include_sources = include_sources + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -256,6 +296,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this DebUpstream. + + + :return: The available of this DebUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this DebUpstream. + + + :param available: The available of this DebUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this DebUpstream. + + + :return: The can_reindex of this DebUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this DebUpstream. + + + :param can_reindex: The can_reindex of this DebUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def component(self): """Gets the component of this DebUpstream. @@ -336,6 +418,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this DebUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this DebUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this DebUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this DebUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def distro_versions(self): """Gets the distro_versions of this DebUpstream. @@ -477,6 +582,27 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def gpg_key_fingerprint_short(self): + """Gets the gpg_key_fingerprint_short of this DebUpstream. + + + :return: The gpg_key_fingerprint_short of this DebUpstream. + :rtype: str + """ + return self._gpg_key_fingerprint_short + + @gpg_key_fingerprint_short.setter + def gpg_key_fingerprint_short(self, gpg_key_fingerprint_short): + """Sets the gpg_key_fingerprint_short of this DebUpstream. + + + :param gpg_key_fingerprint_short: The gpg_key_fingerprint_short of this DebUpstream. + :type: str + """ + + self._gpg_key_fingerprint_short = gpg_key_fingerprint_short + @property def gpg_key_inline(self): """Gets the gpg_key_inline of this DebUpstream. @@ -556,6 +682,27 @@ def gpg_verification(self, gpg_verification): self._gpg_verification = gpg_verification + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this DebUpstream. + + + :return: The has_failed_signature_verification of this DebUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this DebUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this DebUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + @property def include_sources(self): """Gets the include_sources of this DebUpstream. @@ -579,6 +726,52 @@ def include_sources(self, include_sources): self._include_sources = include_sources + @property + def index_package_count(self): + """Gets the index_package_count of this DebUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this DebUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this DebUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this DebUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this DebUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this DebUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this DebUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this DebUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this DebUpstream. @@ -602,6 +795,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this DebUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this DebUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this DebUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this DebUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this DebUpstream. @@ -661,7 +877,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/deb_upstream_request.py b/bindings/python/src/cloudsmith_api/models/deb_upstream_request.py index ebc61c1f..fd1548bb 100644 --- a/bindings/python/src/cloudsmith_api/models/deb_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/deb_upstream_request.py @@ -580,7 +580,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/deb_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/deb_upstream_request_patch.py index 779ca8b1..409f4257 100644 --- a/bindings/python/src/cloudsmith_api/models/deb_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/deb_upstream_request_patch.py @@ -579,7 +579,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/docker_package_upload.py b/bindings/python/src/cloudsmith_api/models/docker_package_upload.py index ba2a5895..55319a7d 100644 --- a/bindings/python/src/cloudsmith_api/models/docker_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/docker_package_upload.py @@ -80,6 +80,7 @@ class DockerPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class DockerPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class DockerPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class DockerPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class DockerPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """DockerPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this DockerPackageUpload. + + The raw license string. + + :return: The raw_license of this DockerPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this DockerPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this DockerPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this DockerPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this DockerPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this DockerPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this DockerPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this DockerPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this DockerPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/docker_upstream.py b/bindings/python/src/cloudsmith_api/models/docker_upstream.py index c9477fc3..b7d64f75 100644 --- a/bindings/python/src/cloudsmith_api/models/docker_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/docker_upstream.py @@ -36,12 +36,15 @@ class DockerUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', 'is_active': 'bool', 'mode': 'str', 'name': 'str', @@ -57,12 +60,15 @@ class DockerUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', 'is_active': 'is_active', 'mode': 'mode', 'name': 'name', @@ -74,7 +80,7 @@ class DockerUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """DockerUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,12 +89,15 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None self._is_active = None self._mode = None self._name = None @@ -106,10 +115,14 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,6 +131,8 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification if is_active is not None: self.is_active = is_active if mode is not None: @@ -217,6 +232,27 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this DockerUpstream. + + + :return: The available of this DockerUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this DockerUpstream. + + + :param available: The available of this DockerUpstream. + :type: str + """ + + self._available = available + @property def created_at(self): """Gets the created_at of this DockerUpstream. @@ -268,6 +304,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this DockerUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this DockerUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this DockerUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this DockerUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this DockerUpstream. @@ -384,6 +443,27 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this DockerUpstream. + + + :return: The has_failed_signature_verification of this DockerUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this DockerUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this DockerUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + @property def is_active(self): """Gets the is_active of this DockerUpstream. @@ -466,7 +546,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/docker_upstream_request.py b/bindings/python/src/cloudsmith_api/models/docker_upstream_request.py index 9ed94791..1da946ac 100644 --- a/bindings/python/src/cloudsmith_api/models/docker_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/docker_upstream_request.py @@ -452,7 +452,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/docker_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/docker_upstream_request_patch.py index 08e4b225..ca3bb379 100644 --- a/bindings/python/src/cloudsmith_api/models/docker_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/docker_upstream_request_patch.py @@ -452,7 +452,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/go_package_upload.py b/bindings/python/src/cloudsmith_api/models/go_package_upload.py index bd860216..010aac03 100644 --- a/bindings/python/src/cloudsmith_api/models/go_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/go_package_upload.py @@ -80,6 +80,7 @@ class GoPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class GoPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class GoPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class GoPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class GoPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """GoPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this GoPackageUpload. + + The raw license string. + + :return: The raw_license of this GoPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this GoPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this GoPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this GoPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this GoPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this GoPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this GoPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this GoPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this GoPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/go_upstream.py b/bindings/python/src/cloudsmith_api/models/go_upstream.py index 8414f000..83f72649 100644 --- a/bindings/python/src/cloudsmith_api/models/go_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/go_upstream.py @@ -36,13 +36,20 @@ class GoUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class GoUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class GoUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """GoUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this GoUpstream. + + + :return: The available of this GoUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this GoUpstream. + + + :param available: The available of this GoUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this GoUpstream. + + + :return: The can_reindex of this GoUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this GoUpstream. + + + :param can_reindex: The can_reindex of this GoUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this GoUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this GoUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this GoUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this GoUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this GoUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this GoUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this GoUpstream. + + + :return: The has_failed_signature_verification of this GoUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this GoUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this GoUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this GoUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this GoUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this GoUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this GoUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this GoUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this GoUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this GoUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this GoUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this GoUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this GoUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this GoUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this GoUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this GoUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this GoUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/go_upstream_request.py b/bindings/python/src/cloudsmith_api/models/go_upstream_request.py index 7f46697b..7a59b632 100644 --- a/bindings/python/src/cloudsmith_api/models/go_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/go_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/go_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/go_upstream_request_patch.py index b4df5e33..59e3809a 100644 --- a/bindings/python/src/cloudsmith_api/models/go_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/go_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/helm_package_upload.py b/bindings/python/src/cloudsmith_api/models/helm_package_upload.py index d2daac95..f425b8b7 100644 --- a/bindings/python/src/cloudsmith_api/models/helm_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/helm_package_upload.py @@ -80,6 +80,7 @@ class HelmPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class HelmPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class HelmPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class HelmPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class HelmPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """HelmPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this HelmPackageUpload. + + The raw license string. + + :return: The raw_license of this HelmPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this HelmPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this HelmPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this HelmPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this HelmPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this HelmPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this HelmPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this HelmPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this HelmPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/helm_upstream.py b/bindings/python/src/cloudsmith_api/models/helm_upstream.py index 741c5a4d..4b554d0d 100644 --- a/bindings/python/src/cloudsmith_api/models/helm_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/helm_upstream.py @@ -36,13 +36,20 @@ class HelmUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class HelmUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class HelmUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """HelmUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this HelmUpstream. + + + :return: The available of this HelmUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this HelmUpstream. + + + :param available: The available of this HelmUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this HelmUpstream. + + + :return: The can_reindex of this HelmUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this HelmUpstream. + + + :param can_reindex: The can_reindex of this HelmUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this HelmUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this HelmUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this HelmUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this HelmUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this HelmUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this HelmUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this HelmUpstream. + + + :return: The has_failed_signature_verification of this HelmUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this HelmUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this HelmUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this HelmUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this HelmUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this HelmUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this HelmUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this HelmUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this HelmUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this HelmUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this HelmUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this HelmUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this HelmUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this HelmUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this HelmUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this HelmUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this HelmUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/helm_upstream_request.py b/bindings/python/src/cloudsmith_api/models/helm_upstream_request.py index 8635ebf3..dd3a5d3e 100644 --- a/bindings/python/src/cloudsmith_api/models/helm_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/helm_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/helm_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/helm_upstream_request_patch.py index b76eb29a..6e4afef3 100644 --- a/bindings/python/src/cloudsmith_api/models/helm_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/helm_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/hex_package_upload.py b/bindings/python/src/cloudsmith_api/models/hex_package_upload.py index 054f9b0b..b9899046 100644 --- a/bindings/python/src/cloudsmith_api/models/hex_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/hex_package_upload.py @@ -80,6 +80,7 @@ class HexPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class HexPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class HexPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class HexPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class HexPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """HexPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this HexPackageUpload. + + The raw license string. + + :return: The raw_license of this HexPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this HexPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this HexPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this HexPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this HexPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this HexPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this HexPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this HexPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this HexPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/hex_upstream.py b/bindings/python/src/cloudsmith_api/models/hex_upstream.py index 0833b1a7..0fb87ba2 100644 --- a/bindings/python/src/cloudsmith_api/models/hex_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/hex_upstream.py @@ -36,13 +36,20 @@ class HexUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class HexUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class HexUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """HexUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this HexUpstream. + + + :return: The available of this HexUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this HexUpstream. + + + :param available: The available of this HexUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this HexUpstream. + + + :return: The can_reindex of this HexUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this HexUpstream. + + + :param can_reindex: The can_reindex of this HexUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this HexUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this HexUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this HexUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this HexUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this HexUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this HexUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this HexUpstream. + + + :return: The has_failed_signature_verification of this HexUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this HexUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this HexUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this HexUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this HexUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this HexUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this HexUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this HexUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this HexUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this HexUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this HexUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this HexUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this HexUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this HexUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this HexUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this HexUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this HexUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/hex_upstream_request.py b/bindings/python/src/cloudsmith_api/models/hex_upstream_request.py index c1411326..64036d1c 100644 --- a/bindings/python/src/cloudsmith_api/models/hex_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/hex_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/hex_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/hex_upstream_request_patch.py index 4998abb6..b589e642 100644 --- a/bindings/python/src/cloudsmith_api/models/hex_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/hex_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/huggingface_package_upload.py b/bindings/python/src/cloudsmith_api/models/huggingface_package_upload.py index ca496b8d..06fcb7b0 100644 --- a/bindings/python/src/cloudsmith_api/models/huggingface_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/huggingface_package_upload.py @@ -80,6 +80,7 @@ class HuggingfacePackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class HuggingfacePackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class HuggingfacePackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class HuggingfacePackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class HuggingfacePackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """HuggingfacePackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this HuggingfacePackageUpload. + + The raw license string. + + :return: The raw_license of this HuggingfacePackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this HuggingfacePackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this HuggingfacePackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this HuggingfacePackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this HuggingfacePackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this HuggingfacePackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this HuggingfacePackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this HuggingfacePackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this HuggingfacePackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/huggingface_upstream.py b/bindings/python/src/cloudsmith_api/models/huggingface_upstream.py index 3f2c16e0..e8e1425a 100644 --- a/bindings/python/src/cloudsmith_api/models/huggingface_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/huggingface_upstream.py @@ -36,13 +36,20 @@ class HuggingfaceUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class HuggingfaceUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class HuggingfaceUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """HuggingfaceUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this HuggingfaceUpstream. + + + :return: The available of this HuggingfaceUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this HuggingfaceUpstream. + + + :param available: The available of this HuggingfaceUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this HuggingfaceUpstream. + + + :return: The can_reindex of this HuggingfaceUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this HuggingfaceUpstream. + + + :param can_reindex: The can_reindex of this HuggingfaceUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this HuggingfaceUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this HuggingfaceUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this HuggingfaceUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this HuggingfaceUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this HuggingfaceUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this HuggingfaceUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this HuggingfaceUpstream. + + + :return: The has_failed_signature_verification of this HuggingfaceUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this HuggingfaceUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this HuggingfaceUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this HuggingfaceUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this HuggingfaceUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this HuggingfaceUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this HuggingfaceUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this HuggingfaceUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this HuggingfaceUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this HuggingfaceUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this HuggingfaceUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this HuggingfaceUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this HuggingfaceUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this HuggingfaceUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this HuggingfaceUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this HuggingfaceUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this HuggingfaceUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request.py b/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request.py index aa8de7fa..32a8cad3 100644 --- a/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request_patch.py index c5196501..cfc9e0ef 100644 --- a/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/luarocks_package_upload.py b/bindings/python/src/cloudsmith_api/models/luarocks_package_upload.py index 360166c9..0f725da1 100644 --- a/bindings/python/src/cloudsmith_api/models/luarocks_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/luarocks_package_upload.py @@ -80,6 +80,7 @@ class LuarocksPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class LuarocksPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class LuarocksPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class LuarocksPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class LuarocksPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """LuarocksPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this LuarocksPackageUpload. + + The raw license string. + + :return: The raw_license of this LuarocksPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this LuarocksPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this LuarocksPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this LuarocksPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this LuarocksPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this LuarocksPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this LuarocksPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this LuarocksPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this LuarocksPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/maven_package_upload.py b/bindings/python/src/cloudsmith_api/models/maven_package_upload.py index e7bc263a..1cedde35 100644 --- a/bindings/python/src/cloudsmith_api/models/maven_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/maven_package_upload.py @@ -83,6 +83,7 @@ class MavenPackageUpload(object): 'package_type': 'int', 'packaging': 'str', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -98,6 +99,7 @@ class MavenPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -172,6 +174,7 @@ class MavenPackageUpload(object): 'package_type': 'package_type', 'packaging': 'packaging', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -187,6 +190,7 @@ class MavenPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -210,7 +214,7 @@ class MavenPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, artifact_id=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, group_id=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, packaging=None, policy_violated=None, release=None, repository=None, repository_url=None, sbt_version=None, scala_version=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, artifact_id=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, group_id=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, packaging=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, sbt_version=None, scala_version=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """MavenPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -266,6 +270,7 @@ def __init__(self, architectures=None, artifact_id=None, cdn_url=None, checksum_ self._package_type = None self._packaging = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -281,6 +286,7 @@ def __init__(self, architectures=None, artifact_id=None, cdn_url=None, checksum_ self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -404,6 +410,8 @@ def __init__(self, architectures=None, artifact_id=None, cdn_url=None, checksum_ self.packaging = packaging if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -434,6 +442,8 @@ def __init__(self, architectures=None, artifact_id=None, cdn_url=None, checksum_ self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1580,6 +1590,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this MavenPackageUpload. + + The raw license string. + + :return: The raw_license of this MavenPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this MavenPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this MavenPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this MavenPackageUpload. @@ -1938,6 +1974,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this MavenPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this MavenPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this MavenPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this MavenPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this MavenPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/maven_upstream.py b/bindings/python/src/cloudsmith_api/models/maven_upstream.py index 965d6b97..8a55b738 100644 --- a/bindings/python/src/cloudsmith_api/models/maven_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/maven_upstream.py @@ -36,16 +36,24 @@ class MavenUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'gpg_key_fingerprint_short': 'str', 'gpg_key_inline': 'str', 'gpg_key_url': 'str', 'gpg_verification': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -61,16 +69,24 @@ class MavenUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'gpg_key_fingerprint_short': 'gpg_key_fingerprint_short', 'gpg_key_inline': 'gpg_key_inline', 'gpg_key_url': 'gpg_key_url', 'gpg_verification': 'gpg_verification', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -82,7 +98,7 @@ class MavenUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, gpg_key_inline=None, gpg_key_url=None, gpg_verification='Allow All', is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verification_status='Unknown', verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, gpg_key_fingerprint_short=None, gpg_key_inline=None, gpg_key_url=None, gpg_verification='Allow All', has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verification_status='Unknown', verify_ssl=None, _configuration=None): # noqa: E501 """MavenUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -91,16 +107,24 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._gpg_key_fingerprint_short = None self._gpg_key_inline = None self._gpg_key_url = None self._gpg_verification = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -118,10 +142,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -130,14 +160,24 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if gpg_key_fingerprint_short is not None: + self.gpg_key_fingerprint_short = gpg_key_fingerprint_short if gpg_key_inline is not None: self.gpg_key_inline = gpg_key_inline if gpg_key_url is not None: self.gpg_key_url = gpg_key_url if gpg_verification is not None: self.gpg_verification = gpg_verification + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -237,6 +277,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this MavenUpstream. + + + :return: The available of this MavenUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this MavenUpstream. + + + :param available: The available of this MavenUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this MavenUpstream. + + + :return: The can_reindex of this MavenUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this MavenUpstream. + + + :param can_reindex: The can_reindex of this MavenUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this MavenUpstream. @@ -288,6 +370,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this MavenUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this MavenUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this MavenUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this MavenUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this MavenUpstream. @@ -404,6 +509,27 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def gpg_key_fingerprint_short(self): + """Gets the gpg_key_fingerprint_short of this MavenUpstream. + + + :return: The gpg_key_fingerprint_short of this MavenUpstream. + :rtype: str + """ + return self._gpg_key_fingerprint_short + + @gpg_key_fingerprint_short.setter + def gpg_key_fingerprint_short(self, gpg_key_fingerprint_short): + """Sets the gpg_key_fingerprint_short of this MavenUpstream. + + + :param gpg_key_fingerprint_short: The gpg_key_fingerprint_short of this MavenUpstream. + :type: str + """ + + self._gpg_key_fingerprint_short = gpg_key_fingerprint_short + @property def gpg_key_inline(self): """Gets the gpg_key_inline of this MavenUpstream. @@ -483,6 +609,73 @@ def gpg_verification(self, gpg_verification): self._gpg_verification = gpg_verification + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this MavenUpstream. + + + :return: The has_failed_signature_verification of this MavenUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this MavenUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this MavenUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this MavenUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this MavenUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this MavenUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this MavenUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this MavenUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this MavenUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this MavenUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this MavenUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this MavenUpstream. @@ -506,6 +699,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this MavenUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this MavenUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this MavenUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this MavenUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this MavenUpstream. @@ -565,7 +781,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/maven_upstream_request.py b/bindings/python/src/cloudsmith_api/models/maven_upstream_request.py index 321be509..f1c1f3e4 100644 --- a/bindings/python/src/cloudsmith_api/models/maven_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/maven_upstream_request.py @@ -484,7 +484,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/maven_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/maven_upstream_request_patch.py index 80b08818..af1fdc3a 100644 --- a/bindings/python/src/cloudsmith_api/models/maven_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/maven_upstream_request_patch.py @@ -484,7 +484,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/npm_package_upload.py b/bindings/python/src/cloudsmith_api/models/npm_package_upload.py index b095b4ba..b41a061f 100644 --- a/bindings/python/src/cloudsmith_api/models/npm_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/npm_package_upload.py @@ -80,6 +80,7 @@ class NpmPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class NpmPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class NpmPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class NpmPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class NpmPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """NpmPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this NpmPackageUpload. + + The raw license string. + + :return: The raw_license of this NpmPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this NpmPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this NpmPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this NpmPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this NpmPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this NpmPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this NpmPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this NpmPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this NpmPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/npm_upstream.py b/bindings/python/src/cloudsmith_api/models/npm_upstream.py index cea6d0bd..cfbbd49f 100644 --- a/bindings/python/src/cloudsmith_api/models/npm_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/npm_upstream.py @@ -36,13 +36,20 @@ class NpmUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class NpmUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class NpmUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """NpmUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this NpmUpstream. + + + :return: The available of this NpmUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this NpmUpstream. + + + :param available: The available of this NpmUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this NpmUpstream. + + + :return: The can_reindex of this NpmUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this NpmUpstream. + + + :param can_reindex: The can_reindex of this NpmUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this NpmUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this NpmUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this NpmUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this NpmUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this NpmUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this NpmUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this NpmUpstream. + + + :return: The has_failed_signature_verification of this NpmUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this NpmUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this NpmUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this NpmUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this NpmUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this NpmUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this NpmUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this NpmUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this NpmUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this NpmUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this NpmUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this NpmUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this NpmUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this NpmUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this NpmUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this NpmUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this NpmUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/npm_upstream_request.py b/bindings/python/src/cloudsmith_api/models/npm_upstream_request.py index 2e3fc951..e3fb6c1f 100644 --- a/bindings/python/src/cloudsmith_api/models/npm_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/npm_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/npm_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/npm_upstream_request_patch.py index fc3793e4..a6a72031 100644 --- a/bindings/python/src/cloudsmith_api/models/npm_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/npm_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/nuget_package_upload.py b/bindings/python/src/cloudsmith_api/models/nuget_package_upload.py index f2604285..5b9f8668 100644 --- a/bindings/python/src/cloudsmith_api/models/nuget_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/nuget_package_upload.py @@ -80,6 +80,7 @@ class NugetPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class NugetPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class NugetPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class NugetPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class NugetPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """NugetPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this NugetPackageUpload. + + The raw license string. + + :return: The raw_license of this NugetPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this NugetPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this NugetPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this NugetPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this NugetPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this NugetPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this NugetPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this NugetPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this NugetPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/nuget_upstream.py b/bindings/python/src/cloudsmith_api/models/nuget_upstream.py index b4ad272a..7d41898d 100644 --- a/bindings/python/src/cloudsmith_api/models/nuget_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/nuget_upstream.py @@ -36,13 +36,20 @@ class NugetUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class NugetUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class NugetUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """NugetUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this NugetUpstream. + + + :return: The available of this NugetUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this NugetUpstream. + + + :param available: The available of this NugetUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this NugetUpstream. + + + :return: The can_reindex of this NugetUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this NugetUpstream. + + + :param can_reindex: The can_reindex of this NugetUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this NugetUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this NugetUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this NugetUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this NugetUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this NugetUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this NugetUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this NugetUpstream. + + + :return: The has_failed_signature_verification of this NugetUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this NugetUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this NugetUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this NugetUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this NugetUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this NugetUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this NugetUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this NugetUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this NugetUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this NugetUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this NugetUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this NugetUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this NugetUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this NugetUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this NugetUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this NugetUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this NugetUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/nuget_upstream_request.py b/bindings/python/src/cloudsmith_api/models/nuget_upstream_request.py index fb7d2dae..9b8a8c65 100644 --- a/bindings/python/src/cloudsmith_api/models/nuget_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/nuget_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/nuget_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/nuget_upstream_request_patch.py index 67eafadb..101e4437 100644 --- a/bindings/python/src/cloudsmith_api/models/nuget_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/nuget_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/organization_team.py b/bindings/python/src/cloudsmith_api/models/organization_team.py index 0cc4f73d..8ff0eeb7 100644 --- a/bindings/python/src/cloudsmith_api/models/organization_team.py +++ b/bindings/python/src/cloudsmith_api/models/organization_team.py @@ -102,6 +102,7 @@ def description(self, description): def name(self): """Gets the name of this OrganizationTeam. + A descriptive name for the team. :return: The name of this OrganizationTeam. :rtype: str @@ -112,15 +113,22 @@ def name(self): def name(self, name): """Sets the name of this OrganizationTeam. + A descriptive name for the team. :param name: The name of this OrganizationTeam. :type: str """ if self._configuration.client_side_validation and name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self._configuration.client_side_validation and + name is not None and len(name) > 200): + raise ValueError("Invalid value for `name`, length must be less than or equal to `200`") # noqa: E501 if (self._configuration.client_side_validation and name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + if (self._configuration.client_side_validation and + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/organization_team_request.py b/bindings/python/src/cloudsmith_api/models/organization_team_request.py index eed454eb..c65cd2f0 100644 --- a/bindings/python/src/cloudsmith_api/models/organization_team_request.py +++ b/bindings/python/src/cloudsmith_api/models/organization_team_request.py @@ -97,6 +97,7 @@ def description(self, description): def name(self): """Gets the name of this OrganizationTeamRequest. + A descriptive name for the team. :return: The name of this OrganizationTeamRequest. :rtype: str @@ -107,15 +108,22 @@ def name(self): def name(self, name): """Sets the name of this OrganizationTeamRequest. + A descriptive name for the team. :param name: The name of this OrganizationTeamRequest. :type: str """ if self._configuration.client_side_validation and name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + if (self._configuration.client_side_validation and + name is not None and len(name) > 200): + raise ValueError("Invalid value for `name`, length must be less than or equal to `200`") # noqa: E501 if (self._configuration.client_side_validation and name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + if (self._configuration.client_side_validation and + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/organization_team_request_patch.py b/bindings/python/src/cloudsmith_api/models/organization_team_request_patch.py index 3edee175..eede7880 100644 --- a/bindings/python/src/cloudsmith_api/models/organization_team_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/organization_team_request_patch.py @@ -98,6 +98,7 @@ def description(self, description): def name(self): """Gets the name of this OrganizationTeamRequestPatch. + A descriptive name for the team. :return: The name of this OrganizationTeamRequestPatch. :rtype: str @@ -108,13 +109,20 @@ def name(self): def name(self, name): """Sets the name of this OrganizationTeamRequestPatch. + A descriptive name for the team. :param name: The name of this OrganizationTeamRequestPatch. :type: str """ + if (self._configuration.client_side_validation and + name is not None and len(name) > 200): + raise ValueError("Invalid value for `name`, length must be less than or equal to `200`") # noqa: E501 if (self._configuration.client_side_validation and name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 + if (self._configuration.client_side_validation and + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/p2_package_upload.py b/bindings/python/src/cloudsmith_api/models/p2_package_upload.py index 29f2336e..861f6fc5 100644 --- a/bindings/python/src/cloudsmith_api/models/p2_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/p2_package_upload.py @@ -80,6 +80,7 @@ class P2PackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class P2PackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class P2PackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class P2PackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class P2PackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """P2PackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this P2PackageUpload. + + The raw license string. + + :return: The raw_license of this P2PackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this P2PackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this P2PackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this P2PackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this P2PackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this P2PackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this P2PackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this P2PackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this P2PackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/package.py b/bindings/python/src/cloudsmith_api/models/package.py index bd70f371..55f07e81 100644 --- a/bindings/python/src/cloudsmith_api/models/package.py +++ b/bindings/python/src/cloudsmith_api/models/package.py @@ -80,6 +80,7 @@ class Package(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class Package(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -165,6 +167,7 @@ class Package(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -178,6 +181,7 @@ class Package(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -202,7 +206,7 @@ class Package(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """Package - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -255,6 +259,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -268,6 +273,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -386,6 +392,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -412,6 +420,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1482,6 +1492,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this Package. + + The raw license string. + + :return: The raw_license of this Package. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this Package. + + The raw license string. + + :param raw_license: The raw_license of this Package. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this Package. @@ -1792,6 +1828,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this Package. + + The SPDX license identifier for this package. + + :return: The spdx_license of this Package. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this Package. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this Package. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this Package. diff --git a/bindings/python/src/cloudsmith_api/models/package_copy.py b/bindings/python/src/cloudsmith_api/models/package_copy.py index 31e697fd..850d2922 100644 --- a/bindings/python/src/cloudsmith_api/models/package_copy.py +++ b/bindings/python/src/cloudsmith_api/models/package_copy.py @@ -80,6 +80,7 @@ class PackageCopy(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class PackageCopy(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -165,6 +167,7 @@ class PackageCopy(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -178,6 +181,7 @@ class PackageCopy(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -202,7 +206,7 @@ class PackageCopy(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """PackageCopy - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -255,6 +259,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -268,6 +273,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -386,6 +392,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -412,6 +420,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1482,6 +1492,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this PackageCopy. + + The raw license string. + + :return: The raw_license of this PackageCopy. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this PackageCopy. + + The raw license string. + + :param raw_license: The raw_license of this PackageCopy. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this PackageCopy. @@ -1794,6 +1830,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this PackageCopy. + + The SPDX license identifier for this package. + + :return: The spdx_license of this PackageCopy. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this PackageCopy. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this PackageCopy. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this PackageCopy. diff --git a/bindings/python/src/cloudsmith_api/models/package_move.py b/bindings/python/src/cloudsmith_api/models/package_move.py index 1549eb03..267e15be 100644 --- a/bindings/python/src/cloudsmith_api/models/package_move.py +++ b/bindings/python/src/cloudsmith_api/models/package_move.py @@ -80,6 +80,7 @@ class PackageMove(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class PackageMove(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -165,6 +167,7 @@ class PackageMove(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -178,6 +181,7 @@ class PackageMove(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -202,7 +206,7 @@ class PackageMove(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """PackageMove - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -255,6 +259,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -268,6 +273,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -386,6 +392,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -412,6 +420,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1482,6 +1492,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this PackageMove. + + The raw license string. + + :return: The raw_license of this PackageMove. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this PackageMove. + + The raw license string. + + :param raw_license: The raw_license of this PackageMove. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this PackageMove. @@ -1794,6 +1830,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this PackageMove. + + The SPDX license identifier for this package. + + :return: The spdx_license of this PackageMove. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this PackageMove. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this PackageMove. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this PackageMove. diff --git a/bindings/python/src/cloudsmith_api/models/package_quarantine.py b/bindings/python/src/cloudsmith_api/models/package_quarantine.py index 0b5639b8..6e7cba9c 100644 --- a/bindings/python/src/cloudsmith_api/models/package_quarantine.py +++ b/bindings/python/src/cloudsmith_api/models/package_quarantine.py @@ -80,6 +80,7 @@ class PackageQuarantine(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'repository': 'str', 'repository_url': 'str', 'security_scan_completed_at': 'datetime', @@ -92,6 +93,7 @@ class PackageQuarantine(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class PackageQuarantine(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'repository': 'repository', 'repository_url': 'repository_url', 'security_scan_completed_at': 'security_scan_completed_at', @@ -176,6 +179,7 @@ class PackageQuarantine(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class PackageQuarantine(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """PackageQuarantine - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._repository = None self._repository_url = None self._security_scan_completed_at = None @@ -265,6 +270,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if repository is not None: self.repository = repository if repository_url is not None: @@ -407,6 +415,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this PackageQuarantine. + + The raw license string. + + :return: The raw_license of this PackageQuarantine. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this PackageQuarantine. + + The raw license string. + + :param raw_license: The raw_license of this PackageQuarantine. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def repository(self): """Gets the repository of this PackageQuarantine. @@ -1764,6 +1800,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this PackageQuarantine. + + The SPDX license identifier for this package. + + :return: The spdx_license of this PackageQuarantine. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this PackageQuarantine. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this PackageQuarantine. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this PackageQuarantine. diff --git a/bindings/python/src/cloudsmith_api/models/package_resync.py b/bindings/python/src/cloudsmith_api/models/package_resync.py index 4ff820bf..43e3efcc 100644 --- a/bindings/python/src/cloudsmith_api/models/package_resync.py +++ b/bindings/python/src/cloudsmith_api/models/package_resync.py @@ -80,6 +80,7 @@ class PackageResync(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class PackageResync(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -165,6 +167,7 @@ class PackageResync(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -178,6 +181,7 @@ class PackageResync(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -202,7 +206,7 @@ class PackageResync(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """PackageResync - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -255,6 +259,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -268,6 +273,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -386,6 +392,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -412,6 +420,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1482,6 +1492,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this PackageResync. + + The raw license string. + + :return: The raw_license of this PackageResync. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this PackageResync. + + The raw license string. + + :param raw_license: The raw_license of this PackageResync. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this PackageResync. @@ -1792,6 +1828,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this PackageResync. + + The SPDX license identifier for this package. + + :return: The spdx_license of this PackageResync. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this PackageResync. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this PackageResync. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this PackageResync. diff --git a/bindings/python/src/cloudsmith_api/models/package_tag.py b/bindings/python/src/cloudsmith_api/models/package_tag.py index 37357c4d..3a047c57 100644 --- a/bindings/python/src/cloudsmith_api/models/package_tag.py +++ b/bindings/python/src/cloudsmith_api/models/package_tag.py @@ -81,6 +81,7 @@ class PackageTag(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -94,6 +95,7 @@ class PackageTag(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -166,6 +168,7 @@ class PackageTag(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -179,6 +182,7 @@ class PackageTag(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -202,7 +206,7 @@ class PackageTag(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_immutable=False, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_immutable=False, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """PackageTag - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -256,6 +260,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -269,6 +274,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -388,6 +394,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -414,6 +422,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1505,6 +1515,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this PackageTag. + + The raw license string. + + :return: The raw_license of this PackageTag. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this PackageTag. + + The raw license string. + + :param raw_license: The raw_license of this PackageTag. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this PackageTag. @@ -1815,6 +1851,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this PackageTag. + + The SPDX license identifier for this package. + + :return: The spdx_license of this PackageTag. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this PackageTag. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this PackageTag. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this PackageTag. diff --git a/bindings/python/src/cloudsmith_api/models/python_package_upload.py b/bindings/python/src/cloudsmith_api/models/python_package_upload.py index cbc46db6..4394ca7a 100644 --- a/bindings/python/src/cloudsmith_api/models/python_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/python_package_upload.py @@ -80,6 +80,7 @@ class PythonPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class PythonPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class PythonPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class PythonPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class PythonPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """PythonPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this PythonPackageUpload. + + The raw license string. + + :return: The raw_license of this PythonPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this PythonPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this PythonPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this PythonPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this PythonPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this PythonPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this PythonPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this PythonPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this PythonPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/python_upstream.py b/bindings/python/src/cloudsmith_api/models/python_upstream.py index b6610843..cf9d9448 100644 --- a/bindings/python/src/cloudsmith_api/models/python_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/python_upstream.py @@ -36,18 +36,26 @@ class PythonUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', 'priority': 'int', 'slug_perm': 'str', + 'trust_level': 'str', 'updated_at': 'datetime', 'upstream_url': 'str', 'verify_ssl': 'bool' @@ -57,24 +65,32 @@ class PythonUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', 'priority': 'priority', 'slug_perm': 'slug_perm', + 'trust_level': 'trust_level', 'updated_at': 'updated_at', 'upstream_url': 'upstream_url', 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, trust_level='Trusted', updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """PythonUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,18 +99,26 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None self._priority = None self._slug_perm = None + self._trust_level = None self._updated_at = None self._upstream_url = None self._verify_ssl = None @@ -106,10 +130,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +148,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -129,6 +167,8 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.priority = priority if slug_perm is not None: self.slug_perm = slug_perm + if trust_level is not None: + self.trust_level = trust_level if updated_at is not None: self.updated_at = updated_at self.upstream_url = upstream_url @@ -217,6 +257,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this PythonUpstream. + + + :return: The available of this PythonUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this PythonUpstream. + + + :param available: The available of this PythonUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this PythonUpstream. + + + :return: The can_reindex of this PythonUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this PythonUpstream. + + + :param can_reindex: The can_reindex of this PythonUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this PythonUpstream. @@ -268,6 +350,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this PythonUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this PythonUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this PythonUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this PythonUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this PythonUpstream. @@ -384,6 +489,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this PythonUpstream. + + + :return: The has_failed_signature_verification of this PythonUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this PythonUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this PythonUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this PythonUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this PythonUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this PythonUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this PythonUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this PythonUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this PythonUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this PythonUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this PythonUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this PythonUpstream. @@ -407,6 +579,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this PythonUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this PythonUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this PythonUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this PythonUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this PythonUpstream. @@ -466,7 +661,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name @@ -550,6 +745,36 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def trust_level(self): + """Gets the trust_level of this PythonUpstream. + + Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + + :return: The trust_level of this PythonUpstream. + :rtype: str + """ + return self._trust_level + + @trust_level.setter + def trust_level(self, trust_level): + """Sets the trust_level of this PythonUpstream. + + Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + + :param trust_level: The trust_level of this PythonUpstream. + :type: str + """ + allowed_values = ["Trusted", "Untrusted"] # noqa: E501 + if (self._configuration.client_side_validation and + trust_level not in allowed_values): + raise ValueError( + "Invalid value for `trust_level` ({0}), must be one of {1}" # noqa: E501 + .format(trust_level, allowed_values) + ) + + self._trust_level = trust_level + @property def updated_at(self): """Gets the updated_at of this PythonUpstream. diff --git a/bindings/python/src/cloudsmith_api/models/python_upstream_request.py b/bindings/python/src/cloudsmith_api/models/python_upstream_request.py index 3e586529..9d20ba35 100644 --- a/bindings/python/src/cloudsmith_api/models/python_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/python_upstream_request.py @@ -44,6 +44,7 @@ class PythonUpstreamRequest(object): 'mode': 'str', 'name': 'str', 'priority': 'int', + 'trust_level': 'str', 'upstream_url': 'str', 'verify_ssl': 'bool' } @@ -60,11 +61,12 @@ class PythonUpstreamRequest(object): 'mode': 'mode', 'name': 'name', 'priority': 'priority', + 'trust_level': 'trust_level', 'upstream_url': 'upstream_url', 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, priority=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, priority=None, trust_level='Trusted', upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """PythonUpstreamRequest - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -81,6 +83,7 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, extra self._mode = None self._name = None self._priority = None + self._trust_level = None self._upstream_url = None self._verify_ssl = None self.discriminator = None @@ -106,6 +109,8 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, extra self.name = name if priority is not None: self.priority = priority + if trust_level is not None: + self.trust_level = trust_level self.upstream_url = upstream_url if verify_ssl is not None: self.verify_ssl = verify_ssl @@ -390,7 +395,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name @@ -424,6 +429,36 @@ def priority(self, priority): self._priority = priority + @property + def trust_level(self): + """Gets the trust_level of this PythonUpstreamRequest. + + Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + + :return: The trust_level of this PythonUpstreamRequest. + :rtype: str + """ + return self._trust_level + + @trust_level.setter + def trust_level(self, trust_level): + """Sets the trust_level of this PythonUpstreamRequest. + + Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + + :param trust_level: The trust_level of this PythonUpstreamRequest. + :type: str + """ + allowed_values = ["Trusted", "Untrusted"] # noqa: E501 + if (self._configuration.client_side_validation and + trust_level not in allowed_values): + raise ValueError( + "Invalid value for `trust_level` ({0}), must be one of {1}" # noqa: E501 + .format(trust_level, allowed_values) + ) + + self._trust_level = trust_level + @property def upstream_url(self): """Gets the upstream_url of this PythonUpstreamRequest. diff --git a/bindings/python/src/cloudsmith_api/models/python_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/python_upstream_request_patch.py index ea221b2e..ec29e369 100644 --- a/bindings/python/src/cloudsmith_api/models/python_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/python_upstream_request_patch.py @@ -44,6 +44,7 @@ class PythonUpstreamRequestPatch(object): 'mode': 'str', 'name': 'str', 'priority': 'int', + 'trust_level': 'str', 'upstream_url': 'str', 'verify_ssl': 'bool' } @@ -60,11 +61,12 @@ class PythonUpstreamRequestPatch(object): 'mode': 'mode', 'name': 'name', 'priority': 'priority', + 'trust_level': 'trust_level', 'upstream_url': 'upstream_url', 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, priority=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, priority=None, trust_level='Trusted', upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """PythonUpstreamRequestPatch - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -81,6 +83,7 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, extra self._mode = None self._name = None self._priority = None + self._trust_level = None self._upstream_url = None self._verify_ssl = None self.discriminator = None @@ -107,6 +110,8 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, extra self.name = name if priority is not None: self.priority = priority + if trust_level is not None: + self.trust_level = trust_level if upstream_url is not None: self.upstream_url = upstream_url if verify_ssl is not None: @@ -390,7 +395,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name @@ -424,6 +429,36 @@ def priority(self, priority): self._priority = priority + @property + def trust_level(self): + """Gets the trust_level of this PythonUpstreamRequestPatch. + + Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + + :return: The trust_level of this PythonUpstreamRequestPatch. + :rtype: str + """ + return self._trust_level + + @trust_level.setter + def trust_level(self, trust_level): + """Sets the trust_level of this PythonUpstreamRequestPatch. + + Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + + :param trust_level: The trust_level of this PythonUpstreamRequestPatch. + :type: str + """ + allowed_values = ["Trusted", "Untrusted"] # noqa: E501 + if (self._configuration.client_side_validation and + trust_level not in allowed_values): + raise ValueError( + "Invalid value for `trust_level` ({0}), must be one of {1}" # noqa: E501 + .format(trust_level, allowed_values) + ) + + self._trust_level = trust_level + @property def upstream_url(self): """Gets the upstream_url of this PythonUpstreamRequestPatch. diff --git a/bindings/python/src/cloudsmith_api/models/raw_package_upload.py b/bindings/python/src/cloudsmith_api/models/raw_package_upload.py index 9bdcdbbd..bbc62215 100644 --- a/bindings/python/src/cloudsmith_api/models/raw_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/raw_package_upload.py @@ -80,6 +80,7 @@ class RawPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class RawPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class RawPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class RawPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class RawPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """RawPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1483,6 +1493,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this RawPackageUpload. + + The raw license string. + + :return: The raw_license of this RawPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this RawPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this RawPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this RawPackageUpload. @@ -1793,6 +1829,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this RawPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this RawPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this RawPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this RawPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this RawPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/repository.py b/bindings/python/src/cloudsmith_api/models/repository.py index 049bd329..7a5f5564 100644 --- a/bindings/python/src/cloudsmith_api/models/repository.py +++ b/bindings/python/src/cloudsmith_api/models/repository.py @@ -33,6 +33,7 @@ class Repository(object): and the value is json key in definition. """ swagger_types = { + 'broadcast_state': 'str', 'cdn_url': 'str', 'content_kind': 'str', 'contextual_auth_realm': 'bool', @@ -49,6 +50,7 @@ class Repository(object): 'docker_refresh_tokens_enabled': 'bool', 'ecdsa_keys': 'list[RepositoryEcdsaKey]', 'enforce_eula': 'bool', + 'generic_package_index_enabled': 'bool', 'gpg_keys': 'list[RepositoryGpgKey]', 'index_files': 'bool', 'is_open_source': 'bool', @@ -67,6 +69,7 @@ class Repository(object): 'open_source_license': 'str', 'open_source_project_url': 'str', 'package_count': 'int', + 'package_count_excl_subcomponents': 'int', 'package_group_count': 'int', 'proxy_npmjs': 'bool', 'proxy_pypi': 'bool', @@ -101,6 +104,7 @@ class Repository(object): } attribute_map = { + 'broadcast_state': 'broadcast_state', 'cdn_url': 'cdn_url', 'content_kind': 'content_kind', 'contextual_auth_realm': 'contextual_auth_realm', @@ -117,6 +121,7 @@ class Repository(object): 'docker_refresh_tokens_enabled': 'docker_refresh_tokens_enabled', 'ecdsa_keys': 'ecdsa_keys', 'enforce_eula': 'enforce_eula', + 'generic_package_index_enabled': 'generic_package_index_enabled', 'gpg_keys': 'gpg_keys', 'index_files': 'index_files', 'is_open_source': 'is_open_source', @@ -135,6 +140,7 @@ class Repository(object): 'open_source_license': 'open_source_license', 'open_source_project_url': 'open_source_project_url', 'package_count': 'package_count', + 'package_count_excl_subcomponents': 'package_count_excl_subcomponents', 'package_group_count': 'package_group_count', 'proxy_npmjs': 'proxy_npmjs', 'proxy_pypi': 'proxy_pypi', @@ -168,12 +174,13 @@ class Repository(object): 'view_statistics': 'view_statistics' } - def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm=None, copy_own=None, copy_packages='Read', cosign_signing_enabled=None, created_at=None, default_privilege='None', delete_own=None, delete_packages='Admin', deleted_at=None, description=None, distributes=None, docker_refresh_tokens_enabled=None, ecdsa_keys=None, enforce_eula=None, gpg_keys=None, index_files=None, is_open_source=None, is_private=None, is_public=None, manage_entitlements_privilege='Admin', move_own=None, move_packages='Admin', name=None, namespace=None, namespace_url=None, nuget_native_signing_enabled=None, num_downloads=None, num_policy_violated_packages=None, num_quarantined_packages=None, open_source_license=None, open_source_project_url=None, package_count=None, package_group_count=None, proxy_npmjs=None, proxy_pypi=None, raw_package_index_enabled=None, raw_package_index_signatures_enabled=None, replace_packages='Write', replace_packages_by_default=None, repository_type=None, repository_type_str='Public', resync_own=None, resync_packages='Admin', scan_own=None, scan_packages='Read', self_html_url=None, self_url=None, show_setup_all=None, size=None, size_str=None, slug=None, slug_perm=None, storage_region='default', strict_npm_validation=None, tag_pre_releases_as_latest=None, use_debian_labels=None, use_default_cargo_upstream=None, use_entitlements_privilege='Read', use_noarch_packages=None, use_source_packages=None, use_vulnerability_scanning=None, user_entitlements_enabled=None, view_statistics='Read', _configuration=None): # noqa: E501 + def __init__(self, broadcast_state='Off', cdn_url=None, content_kind='Standard', contextual_auth_realm=None, copy_own=None, copy_packages='Read', cosign_signing_enabled=None, created_at=None, default_privilege='None', delete_own=None, delete_packages='Admin', deleted_at=None, description=None, distributes=None, docker_refresh_tokens_enabled=None, ecdsa_keys=None, enforce_eula=None, generic_package_index_enabled=None, gpg_keys=None, index_files=None, is_open_source=None, is_private=None, is_public=None, manage_entitlements_privilege='Admin', move_own=None, move_packages='Admin', name=None, namespace=None, namespace_url=None, nuget_native_signing_enabled=None, num_downloads=None, num_policy_violated_packages=None, num_quarantined_packages=None, open_source_license=None, open_source_project_url=None, package_count=None, package_count_excl_subcomponents=None, package_group_count=None, proxy_npmjs=None, proxy_pypi=None, raw_package_index_enabled=None, raw_package_index_signatures_enabled=None, replace_packages='Write', replace_packages_by_default=None, repository_type=None, repository_type_str='Public', resync_own=None, resync_packages='Admin', scan_own=None, scan_packages='Read', self_html_url=None, self_url=None, show_setup_all=None, size=None, size_str=None, slug=None, slug_perm=None, storage_region='default', strict_npm_validation=None, tag_pre_releases_as_latest=None, use_debian_labels=None, use_default_cargo_upstream=None, use_entitlements_privilege='Read', use_noarch_packages=None, use_source_packages=None, use_vulnerability_scanning=None, user_entitlements_enabled=None, view_statistics='Read', _configuration=None): # noqa: E501 """Repository - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._broadcast_state = None self._cdn_url = None self._content_kind = None self._contextual_auth_realm = None @@ -190,6 +197,7 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= self._docker_refresh_tokens_enabled = None self._ecdsa_keys = None self._enforce_eula = None + self._generic_package_index_enabled = None self._gpg_keys = None self._index_files = None self._is_open_source = None @@ -208,6 +216,7 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= self._open_source_license = None self._open_source_project_url = None self._package_count = None + self._package_count_excl_subcomponents = None self._package_group_count = None self._proxy_npmjs = None self._proxy_pypi = None @@ -241,6 +250,8 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= self._view_statistics = None self.discriminator = None + if broadcast_state is not None: + self.broadcast_state = broadcast_state if cdn_url is not None: self.cdn_url = cdn_url if content_kind is not None: @@ -273,6 +284,8 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= self.ecdsa_keys = ecdsa_keys if enforce_eula is not None: self.enforce_eula = enforce_eula + if generic_package_index_enabled is not None: + self.generic_package_index_enabled = generic_package_index_enabled if gpg_keys is not None: self.gpg_keys = gpg_keys if index_files is not None: @@ -308,6 +321,8 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= self.open_source_project_url = open_source_project_url if package_count is not None: self.package_count = package_count + if package_count_excl_subcomponents is not None: + self.package_count_excl_subcomponents = package_count_excl_subcomponents if package_group_count is not None: self.package_group_count = package_group_count if proxy_npmjs is not None: @@ -371,6 +386,36 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= if view_statistics is not None: self.view_statistics = view_statistics + @property + def broadcast_state(self): + """Gets the broadcast_state of this Repository. + + Broadcasting status of a repository. + + :return: The broadcast_state of this Repository. + :rtype: str + """ + return self._broadcast_state + + @broadcast_state.setter + def broadcast_state(self, broadcast_state): + """Sets the broadcast_state of this Repository. + + Broadcasting status of a repository. + + :param broadcast_state: The broadcast_state of this Repository. + :type: str + """ + allowed_values = ["Off", "Private", "Internal", "Public", "Open-Source"] # noqa: E501 + if (self._configuration.client_side_validation and + broadcast_state not in allowed_values): + raise ValueError( + "Invalid value for `broadcast_state` ({0}), must be one of {1}" # noqa: E501 + .format(broadcast_state, allowed_values) + ) + + self._broadcast_state = broadcast_state + @property def cdn_url(self): """Gets the cdn_url of this Repository. @@ -763,6 +808,29 @@ def enforce_eula(self, enforce_eula): self._enforce_eula = enforce_eula + @property + def generic_package_index_enabled(self): + """Gets the generic_package_index_enabled of this Repository. + + If checked, HTML indexes will be generated that list all available generic packages in the repository. + + :return: The generic_package_index_enabled of this Repository. + :rtype: bool + """ + return self._generic_package_index_enabled + + @generic_package_index_enabled.setter + def generic_package_index_enabled(self, generic_package_index_enabled): + """Sets the generic_package_index_enabled of this Repository. + + If checked, HTML indexes will be generated that list all available generic packages in the repository. + + :param generic_package_index_enabled: The generic_package_index_enabled of this Repository. + :type: bool + """ + + self._generic_package_index_enabled = generic_package_index_enabled + @property def gpg_keys(self): """Gets the gpg_keys of this Repository. @@ -982,7 +1050,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name @@ -1200,6 +1268,29 @@ def package_count(self, package_count): self._package_count = package_count + @property + def package_count_excl_subcomponents(self): + """Gets the package_count_excl_subcomponents of this Repository. + + The number of packages in the repository excluding subcomponents. + + :return: The package_count_excl_subcomponents of this Repository. + :rtype: int + """ + return self._package_count_excl_subcomponents + + @package_count_excl_subcomponents.setter + def package_count_excl_subcomponents(self, package_count_excl_subcomponents): + """Sets the package_count_excl_subcomponents of this Repository. + + The number of packages in the repository excluding subcomponents. + + :param package_count_excl_subcomponents: The package_count_excl_subcomponents of this Repository. + :type: int + """ + + self._package_count_excl_subcomponents = package_count_excl_subcomponents + @property def package_group_count(self): """Gets the package_group_count of this Repository. diff --git a/bindings/python/src/cloudsmith_api/models/repository_create.py b/bindings/python/src/cloudsmith_api/models/repository_create.py index 6aba222c..9798c57b 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_create.py +++ b/bindings/python/src/cloudsmith_api/models/repository_create.py @@ -33,6 +33,7 @@ class RepositoryCreate(object): and the value is json key in definition. """ swagger_types = { + 'broadcast_state': 'str', 'cdn_url': 'str', 'content_kind': 'str', 'contextual_auth_realm': 'bool', @@ -49,6 +50,7 @@ class RepositoryCreate(object): 'docker_refresh_tokens_enabled': 'bool', 'ecdsa_keys': 'list[RepositoryEcdsaKey]', 'enforce_eula': 'bool', + 'generic_package_index_enabled': 'bool', 'gpg_keys': 'list[RepositoryGpgKey]', 'index_files': 'bool', 'is_open_source': 'bool', @@ -67,6 +69,7 @@ class RepositoryCreate(object): 'open_source_license': 'str', 'open_source_project_url': 'str', 'package_count': 'int', + 'package_count_excl_subcomponents': 'int', 'package_group_count': 'int', 'proxy_npmjs': 'bool', 'proxy_pypi': 'bool', @@ -101,6 +104,7 @@ class RepositoryCreate(object): } attribute_map = { + 'broadcast_state': 'broadcast_state', 'cdn_url': 'cdn_url', 'content_kind': 'content_kind', 'contextual_auth_realm': 'contextual_auth_realm', @@ -117,6 +121,7 @@ class RepositoryCreate(object): 'docker_refresh_tokens_enabled': 'docker_refresh_tokens_enabled', 'ecdsa_keys': 'ecdsa_keys', 'enforce_eula': 'enforce_eula', + 'generic_package_index_enabled': 'generic_package_index_enabled', 'gpg_keys': 'gpg_keys', 'index_files': 'index_files', 'is_open_source': 'is_open_source', @@ -135,6 +140,7 @@ class RepositoryCreate(object): 'open_source_license': 'open_source_license', 'open_source_project_url': 'open_source_project_url', 'package_count': 'package_count', + 'package_count_excl_subcomponents': 'package_count_excl_subcomponents', 'package_group_count': 'package_group_count', 'proxy_npmjs': 'proxy_npmjs', 'proxy_pypi': 'proxy_pypi', @@ -168,12 +174,13 @@ class RepositoryCreate(object): 'view_statistics': 'view_statistics' } - def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm=None, copy_own=None, copy_packages='Read', cosign_signing_enabled=None, created_at=None, default_privilege='None', delete_own=None, delete_packages='Admin', deleted_at=None, description=None, distributes=None, docker_refresh_tokens_enabled=None, ecdsa_keys=None, enforce_eula=None, gpg_keys=None, index_files=None, is_open_source=None, is_private=None, is_public=None, manage_entitlements_privilege='Admin', move_own=None, move_packages='Admin', name=None, namespace=None, namespace_url=None, nuget_native_signing_enabled=None, num_downloads=None, num_policy_violated_packages=None, num_quarantined_packages=None, open_source_license=None, open_source_project_url=None, package_count=None, package_group_count=None, proxy_npmjs=None, proxy_pypi=None, raw_package_index_enabled=None, raw_package_index_signatures_enabled=None, replace_packages='Write', replace_packages_by_default=None, repository_type=None, repository_type_str='Public', resync_own=None, resync_packages='Admin', scan_own=None, scan_packages='Read', self_html_url=None, self_url=None, show_setup_all=None, size=None, size_str=None, slug=None, slug_perm=None, storage_region='default', strict_npm_validation=None, tag_pre_releases_as_latest=None, use_debian_labels=None, use_default_cargo_upstream=None, use_entitlements_privilege='Read', use_noarch_packages=None, use_source_packages=None, use_vulnerability_scanning=None, user_entitlements_enabled=None, view_statistics='Read', _configuration=None): # noqa: E501 + def __init__(self, broadcast_state='Off', cdn_url=None, content_kind='Standard', contextual_auth_realm=None, copy_own=None, copy_packages='Read', cosign_signing_enabled=None, created_at=None, default_privilege='None', delete_own=None, delete_packages='Admin', deleted_at=None, description=None, distributes=None, docker_refresh_tokens_enabled=None, ecdsa_keys=None, enforce_eula=None, generic_package_index_enabled=None, gpg_keys=None, index_files=None, is_open_source=None, is_private=None, is_public=None, manage_entitlements_privilege='Admin', move_own=None, move_packages='Admin', name=None, namespace=None, namespace_url=None, nuget_native_signing_enabled=None, num_downloads=None, num_policy_violated_packages=None, num_quarantined_packages=None, open_source_license=None, open_source_project_url=None, package_count=None, package_count_excl_subcomponents=None, package_group_count=None, proxy_npmjs=None, proxy_pypi=None, raw_package_index_enabled=None, raw_package_index_signatures_enabled=None, replace_packages='Write', replace_packages_by_default=None, repository_type=None, repository_type_str='Public', resync_own=None, resync_packages='Admin', scan_own=None, scan_packages='Read', self_html_url=None, self_url=None, show_setup_all=None, size=None, size_str=None, slug=None, slug_perm=None, storage_region='default', strict_npm_validation=None, tag_pre_releases_as_latest=None, use_debian_labels=None, use_default_cargo_upstream=None, use_entitlements_privilege='Read', use_noarch_packages=None, use_source_packages=None, use_vulnerability_scanning=None, user_entitlements_enabled=None, view_statistics='Read', _configuration=None): # noqa: E501 """RepositoryCreate - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._broadcast_state = None self._cdn_url = None self._content_kind = None self._contextual_auth_realm = None @@ -190,6 +197,7 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= self._docker_refresh_tokens_enabled = None self._ecdsa_keys = None self._enforce_eula = None + self._generic_package_index_enabled = None self._gpg_keys = None self._index_files = None self._is_open_source = None @@ -208,6 +216,7 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= self._open_source_license = None self._open_source_project_url = None self._package_count = None + self._package_count_excl_subcomponents = None self._package_group_count = None self._proxy_npmjs = None self._proxy_pypi = None @@ -241,6 +250,8 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= self._view_statistics = None self.discriminator = None + if broadcast_state is not None: + self.broadcast_state = broadcast_state if cdn_url is not None: self.cdn_url = cdn_url if content_kind is not None: @@ -273,6 +284,8 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= self.ecdsa_keys = ecdsa_keys if enforce_eula is not None: self.enforce_eula = enforce_eula + if generic_package_index_enabled is not None: + self.generic_package_index_enabled = generic_package_index_enabled if gpg_keys is not None: self.gpg_keys = gpg_keys if index_files is not None: @@ -308,6 +321,8 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= self.open_source_project_url = open_source_project_url if package_count is not None: self.package_count = package_count + if package_count_excl_subcomponents is not None: + self.package_count_excl_subcomponents = package_count_excl_subcomponents if package_group_count is not None: self.package_group_count = package_group_count if proxy_npmjs is not None: @@ -371,6 +386,36 @@ def __init__(self, cdn_url=None, content_kind='Standard', contextual_auth_realm= if view_statistics is not None: self.view_statistics = view_statistics + @property + def broadcast_state(self): + """Gets the broadcast_state of this RepositoryCreate. + + Broadcasting status of a repository. + + :return: The broadcast_state of this RepositoryCreate. + :rtype: str + """ + return self._broadcast_state + + @broadcast_state.setter + def broadcast_state(self, broadcast_state): + """Sets the broadcast_state of this RepositoryCreate. + + Broadcasting status of a repository. + + :param broadcast_state: The broadcast_state of this RepositoryCreate. + :type: str + """ + allowed_values = ["Off", "Private", "Internal", "Public", "Open-Source"] # noqa: E501 + if (self._configuration.client_side_validation and + broadcast_state not in allowed_values): + raise ValueError( + "Invalid value for `broadcast_state` ({0}), must be one of {1}" # noqa: E501 + .format(broadcast_state, allowed_values) + ) + + self._broadcast_state = broadcast_state + @property def cdn_url(self): """Gets the cdn_url of this RepositoryCreate. @@ -763,6 +808,29 @@ def enforce_eula(self, enforce_eula): self._enforce_eula = enforce_eula + @property + def generic_package_index_enabled(self): + """Gets the generic_package_index_enabled of this RepositoryCreate. + + If checked, HTML indexes will be generated that list all available generic packages in the repository. + + :return: The generic_package_index_enabled of this RepositoryCreate. + :rtype: bool + """ + return self._generic_package_index_enabled + + @generic_package_index_enabled.setter + def generic_package_index_enabled(self, generic_package_index_enabled): + """Sets the generic_package_index_enabled of this RepositoryCreate. + + If checked, HTML indexes will be generated that list all available generic packages in the repository. + + :param generic_package_index_enabled: The generic_package_index_enabled of this RepositoryCreate. + :type: bool + """ + + self._generic_package_index_enabled = generic_package_index_enabled + @property def gpg_keys(self): """Gets the gpg_keys of this RepositoryCreate. @@ -982,7 +1050,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name @@ -1200,6 +1268,29 @@ def package_count(self, package_count): self._package_count = package_count + @property + def package_count_excl_subcomponents(self): + """Gets the package_count_excl_subcomponents of this RepositoryCreate. + + The number of packages in the repository excluding subcomponents. + + :return: The package_count_excl_subcomponents of this RepositoryCreate. + :rtype: int + """ + return self._package_count_excl_subcomponents + + @package_count_excl_subcomponents.setter + def package_count_excl_subcomponents(self, package_count_excl_subcomponents): + """Sets the package_count_excl_subcomponents of this RepositoryCreate. + + The number of packages in the repository excluding subcomponents. + + :param package_count_excl_subcomponents: The package_count_excl_subcomponents of this RepositoryCreate. + :type: int + """ + + self._package_count_excl_subcomponents = package_count_excl_subcomponents + @property def package_group_count(self): """Gets the package_group_count of this RepositoryCreate. diff --git a/bindings/python/src/cloudsmith_api/models/repository_create_request.py b/bindings/python/src/cloudsmith_api/models/repository_create_request.py index 6ced6748..f9a7557c 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_create_request.py +++ b/bindings/python/src/cloudsmith_api/models/repository_create_request.py @@ -33,6 +33,7 @@ class RepositoryCreateRequest(object): and the value is json key in definition. """ swagger_types = { + 'broadcast_state': 'str', 'content_kind': 'str', 'contextual_auth_realm': 'bool', 'copy_own': 'bool', @@ -45,6 +46,7 @@ class RepositoryCreateRequest(object): 'distributes': 'list[str]', 'docker_refresh_tokens_enabled': 'bool', 'enforce_eula': 'bool', + 'generic_package_index_enabled': 'bool', 'index_files': 'bool', 'manage_entitlements_privilege': 'str', 'move_own': 'bool', @@ -80,6 +82,7 @@ class RepositoryCreateRequest(object): } attribute_map = { + 'broadcast_state': 'broadcast_state', 'content_kind': 'content_kind', 'contextual_auth_realm': 'contextual_auth_realm', 'copy_own': 'copy_own', @@ -92,6 +95,7 @@ class RepositoryCreateRequest(object): 'distributes': 'distributes', 'docker_refresh_tokens_enabled': 'docker_refresh_tokens_enabled', 'enforce_eula': 'enforce_eula', + 'generic_package_index_enabled': 'generic_package_index_enabled', 'index_files': 'index_files', 'manage_entitlements_privilege': 'manage_entitlements_privilege', 'move_own': 'move_own', @@ -126,12 +130,13 @@ class RepositoryCreateRequest(object): 'view_statistics': 'view_statistics' } - def __init__(self, content_kind='Standard', contextual_auth_realm=None, copy_own=None, copy_packages='Read', cosign_signing_enabled=None, default_privilege='None', delete_own=None, delete_packages='Admin', description=None, distributes=None, docker_refresh_tokens_enabled=None, enforce_eula=None, index_files=None, manage_entitlements_privilege='Admin', move_own=None, move_packages='Admin', name=None, nuget_native_signing_enabled=None, open_source_license=None, open_source_project_url=None, proxy_npmjs=None, proxy_pypi=None, raw_package_index_enabled=None, raw_package_index_signatures_enabled=None, replace_packages='Write', replace_packages_by_default=None, repository_type_str='Public', resync_own=None, resync_packages='Admin', scan_own=None, scan_packages='Read', show_setup_all=None, slug=None, storage_region='default', strict_npm_validation=None, tag_pre_releases_as_latest=None, use_debian_labels=None, use_default_cargo_upstream=None, use_entitlements_privilege='Read', use_noarch_packages=None, use_source_packages=None, use_vulnerability_scanning=None, user_entitlements_enabled=None, view_statistics='Read', _configuration=None): # noqa: E501 + def __init__(self, broadcast_state='Off', content_kind='Standard', contextual_auth_realm=None, copy_own=None, copy_packages='Read', cosign_signing_enabled=None, default_privilege='None', delete_own=None, delete_packages='Admin', description=None, distributes=None, docker_refresh_tokens_enabled=None, enforce_eula=None, generic_package_index_enabled=None, index_files=None, manage_entitlements_privilege='Admin', move_own=None, move_packages='Admin', name=None, nuget_native_signing_enabled=None, open_source_license=None, open_source_project_url=None, proxy_npmjs=None, proxy_pypi=None, raw_package_index_enabled=None, raw_package_index_signatures_enabled=None, replace_packages='Write', replace_packages_by_default=None, repository_type_str='Public', resync_own=None, resync_packages='Admin', scan_own=None, scan_packages='Read', show_setup_all=None, slug=None, storage_region='default', strict_npm_validation=None, tag_pre_releases_as_latest=None, use_debian_labels=None, use_default_cargo_upstream=None, use_entitlements_privilege='Read', use_noarch_packages=None, use_source_packages=None, use_vulnerability_scanning=None, user_entitlements_enabled=None, view_statistics='Read', _configuration=None): # noqa: E501 """RepositoryCreateRequest - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._broadcast_state = None self._content_kind = None self._contextual_auth_realm = None self._copy_own = None @@ -144,6 +149,7 @@ def __init__(self, content_kind='Standard', contextual_auth_realm=None, copy_own self._distributes = None self._docker_refresh_tokens_enabled = None self._enforce_eula = None + self._generic_package_index_enabled = None self._index_files = None self._manage_entitlements_privilege = None self._move_own = None @@ -178,6 +184,8 @@ def __init__(self, content_kind='Standard', contextual_auth_realm=None, copy_own self._view_statistics = None self.discriminator = None + if broadcast_state is not None: + self.broadcast_state = broadcast_state if content_kind is not None: self.content_kind = content_kind if contextual_auth_realm is not None: @@ -202,6 +210,8 @@ def __init__(self, content_kind='Standard', contextual_auth_realm=None, copy_own self.docker_refresh_tokens_enabled = docker_refresh_tokens_enabled if enforce_eula is not None: self.enforce_eula = enforce_eula + if generic_package_index_enabled is not None: + self.generic_package_index_enabled = generic_package_index_enabled if index_files is not None: self.index_files = index_files if manage_entitlements_privilege is not None: @@ -266,6 +276,36 @@ def __init__(self, content_kind='Standard', contextual_auth_realm=None, copy_own if view_statistics is not None: self.view_statistics = view_statistics + @property + def broadcast_state(self): + """Gets the broadcast_state of this RepositoryCreateRequest. + + Broadcasting status of a repository. + + :return: The broadcast_state of this RepositoryCreateRequest. + :rtype: str + """ + return self._broadcast_state + + @broadcast_state.setter + def broadcast_state(self, broadcast_state): + """Sets the broadcast_state of this RepositoryCreateRequest. + + Broadcasting status of a repository. + + :param broadcast_state: The broadcast_state of this RepositoryCreateRequest. + :type: str + """ + allowed_values = ["Off", "Private", "Internal", "Public", "Open-Source"] # noqa: E501 + if (self._configuration.client_side_validation and + broadcast_state not in allowed_values): + raise ValueError( + "Invalid value for `broadcast_state` ({0}), must be one of {1}" # noqa: E501 + .format(broadcast_state, allowed_values) + ) + + self._broadcast_state = broadcast_state + @property def content_kind(self): """Gets the content_kind of this RepositoryCreateRequest. @@ -570,6 +610,29 @@ def enforce_eula(self, enforce_eula): self._enforce_eula = enforce_eula + @property + def generic_package_index_enabled(self): + """Gets the generic_package_index_enabled of this RepositoryCreateRequest. + + If checked, HTML indexes will be generated that list all available generic packages in the repository. + + :return: The generic_package_index_enabled of this RepositoryCreateRequest. + :rtype: bool + """ + return self._generic_package_index_enabled + + @generic_package_index_enabled.setter + def generic_package_index_enabled(self, generic_package_index_enabled): + """Sets the generic_package_index_enabled of this RepositoryCreateRequest. + + If checked, HTML indexes will be generated that list all available generic packages in the repository. + + :param generic_package_index_enabled: The generic_package_index_enabled of this RepositoryCreateRequest. + :type: bool + """ + + self._generic_package_index_enabled = generic_package_index_enabled + @property def index_files(self): """Gets the index_files of this RepositoryCreateRequest. @@ -705,7 +768,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/repository_request_patch.py b/bindings/python/src/cloudsmith_api/models/repository_request_patch.py index 397d24cd..a12703cb 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/repository_request_patch.py @@ -33,6 +33,7 @@ class RepositoryRequestPatch(object): and the value is json key in definition. """ swagger_types = { + 'broadcast_state': 'str', 'content_kind': 'str', 'contextual_auth_realm': 'bool', 'copy_own': 'bool', @@ -45,6 +46,7 @@ class RepositoryRequestPatch(object): 'distributes': 'list[str]', 'docker_refresh_tokens_enabled': 'bool', 'enforce_eula': 'bool', + 'generic_package_index_enabled': 'bool', 'index_files': 'bool', 'manage_entitlements_privilege': 'str', 'move_own': 'bool', @@ -79,6 +81,7 @@ class RepositoryRequestPatch(object): } attribute_map = { + 'broadcast_state': 'broadcast_state', 'content_kind': 'content_kind', 'contextual_auth_realm': 'contextual_auth_realm', 'copy_own': 'copy_own', @@ -91,6 +94,7 @@ class RepositoryRequestPatch(object): 'distributes': 'distributes', 'docker_refresh_tokens_enabled': 'docker_refresh_tokens_enabled', 'enforce_eula': 'enforce_eula', + 'generic_package_index_enabled': 'generic_package_index_enabled', 'index_files': 'index_files', 'manage_entitlements_privilege': 'manage_entitlements_privilege', 'move_own': 'move_own', @@ -124,12 +128,13 @@ class RepositoryRequestPatch(object): 'view_statistics': 'view_statistics' } - def __init__(self, content_kind='Standard', contextual_auth_realm=None, copy_own=None, copy_packages='Read', cosign_signing_enabled=None, default_privilege='None', delete_own=None, delete_packages='Admin', description=None, distributes=None, docker_refresh_tokens_enabled=None, enforce_eula=None, index_files=None, manage_entitlements_privilege='Admin', move_own=None, move_packages='Admin', name=None, nuget_native_signing_enabled=None, open_source_license=None, open_source_project_url=None, proxy_npmjs=None, proxy_pypi=None, raw_package_index_enabled=None, raw_package_index_signatures_enabled=None, replace_packages='Write', replace_packages_by_default=None, repository_type_str='Public', resync_own=None, resync_packages='Admin', scan_own=None, scan_packages='Read', show_setup_all=None, slug=None, strict_npm_validation=None, tag_pre_releases_as_latest=None, use_debian_labels=None, use_default_cargo_upstream=None, use_entitlements_privilege='Read', use_noarch_packages=None, use_source_packages=None, use_vulnerability_scanning=None, user_entitlements_enabled=None, view_statistics='Read', _configuration=None): # noqa: E501 + def __init__(self, broadcast_state='Off', content_kind='Standard', contextual_auth_realm=None, copy_own=None, copy_packages='Read', cosign_signing_enabled=None, default_privilege='None', delete_own=None, delete_packages='Admin', description=None, distributes=None, docker_refresh_tokens_enabled=None, enforce_eula=None, generic_package_index_enabled=None, index_files=None, manage_entitlements_privilege='Admin', move_own=None, move_packages='Admin', name=None, nuget_native_signing_enabled=None, open_source_license=None, open_source_project_url=None, proxy_npmjs=None, proxy_pypi=None, raw_package_index_enabled=None, raw_package_index_signatures_enabled=None, replace_packages='Write', replace_packages_by_default=None, repository_type_str='Public', resync_own=None, resync_packages='Admin', scan_own=None, scan_packages='Read', show_setup_all=None, slug=None, strict_npm_validation=None, tag_pre_releases_as_latest=None, use_debian_labels=None, use_default_cargo_upstream=None, use_entitlements_privilege='Read', use_noarch_packages=None, use_source_packages=None, use_vulnerability_scanning=None, user_entitlements_enabled=None, view_statistics='Read', _configuration=None): # noqa: E501 """RepositoryRequestPatch - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._broadcast_state = None self._content_kind = None self._contextual_auth_realm = None self._copy_own = None @@ -142,6 +147,7 @@ def __init__(self, content_kind='Standard', contextual_auth_realm=None, copy_own self._distributes = None self._docker_refresh_tokens_enabled = None self._enforce_eula = None + self._generic_package_index_enabled = None self._index_files = None self._manage_entitlements_privilege = None self._move_own = None @@ -175,6 +181,8 @@ def __init__(self, content_kind='Standard', contextual_auth_realm=None, copy_own self._view_statistics = None self.discriminator = None + if broadcast_state is not None: + self.broadcast_state = broadcast_state if content_kind is not None: self.content_kind = content_kind if contextual_auth_realm is not None: @@ -199,6 +207,8 @@ def __init__(self, content_kind='Standard', contextual_auth_realm=None, copy_own self.docker_refresh_tokens_enabled = docker_refresh_tokens_enabled if enforce_eula is not None: self.enforce_eula = enforce_eula + if generic_package_index_enabled is not None: + self.generic_package_index_enabled = generic_package_index_enabled if index_files is not None: self.index_files = index_files if manage_entitlements_privilege is not None: @@ -262,6 +272,36 @@ def __init__(self, content_kind='Standard', contextual_auth_realm=None, copy_own if view_statistics is not None: self.view_statistics = view_statistics + @property + def broadcast_state(self): + """Gets the broadcast_state of this RepositoryRequestPatch. + + Broadcasting status of a repository. + + :return: The broadcast_state of this RepositoryRequestPatch. + :rtype: str + """ + return self._broadcast_state + + @broadcast_state.setter + def broadcast_state(self, broadcast_state): + """Sets the broadcast_state of this RepositoryRequestPatch. + + Broadcasting status of a repository. + + :param broadcast_state: The broadcast_state of this RepositoryRequestPatch. + :type: str + """ + allowed_values = ["Off", "Private", "Internal", "Public", "Open-Source"] # noqa: E501 + if (self._configuration.client_side_validation and + broadcast_state not in allowed_values): + raise ValueError( + "Invalid value for `broadcast_state` ({0}), must be one of {1}" # noqa: E501 + .format(broadcast_state, allowed_values) + ) + + self._broadcast_state = broadcast_state + @property def content_kind(self): """Gets the content_kind of this RepositoryRequestPatch. @@ -566,6 +606,29 @@ def enforce_eula(self, enforce_eula): self._enforce_eula = enforce_eula + @property + def generic_package_index_enabled(self): + """Gets the generic_package_index_enabled of this RepositoryRequestPatch. + + If checked, HTML indexes will be generated that list all available generic packages in the repository. + + :return: The generic_package_index_enabled of this RepositoryRequestPatch. + :rtype: bool + """ + return self._generic_package_index_enabled + + @generic_package_index_enabled.setter + def generic_package_index_enabled(self, generic_package_index_enabled): + """Sets the generic_package_index_enabled of this RepositoryRequestPatch. + + If checked, HTML indexes will be generated that list all available generic packages in the repository. + + :param generic_package_index_enabled: The generic_package_index_enabled of this RepositoryRequestPatch. + :type: bool + """ + + self._generic_package_index_enabled = generic_package_index_enabled + @property def index_files(self): """Gets the index_files of this RepositoryRequestPatch. @@ -699,7 +762,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/repository_token.py b/bindings/python/src/cloudsmith_api/models/repository_token.py index e039a296..4207cb07 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_token.py +++ b/bindings/python/src/cloudsmith_api/models/repository_token.py @@ -33,6 +33,7 @@ class RepositoryToken(object): and the value is json key in definition. """ swagger_types = { + 'access_private_broadcasts': 'bool', 'clients': 'int', 'created_at': 'datetime', 'created_by': 'str', @@ -75,6 +76,7 @@ class RepositoryToken(object): } attribute_map = { + 'access_private_broadcasts': 'access_private_broadcasts', 'clients': 'clients', 'created_at': 'created_at', 'created_by': 'created_by', @@ -116,12 +118,13 @@ class RepositoryToken(object): 'user_url': 'user_url' } - def __init__(self, clients=None, created_at=None, created_by=None, created_by_url=None, default=None, disable_url=None, downloads=None, enable_url=None, eula_accepted=None, eula_accepted_at=None, eula_accepted_from=None, eula_required=None, has_limits=None, identifier=None, is_active=None, is_limited=None, limit_bandwidth=None, limit_bandwidth_unit='Byte', limit_date_range_from=None, limit_date_range_to=None, limit_num_clients=None, limit_num_downloads=None, limit_package_query=None, limit_path_query=None, metadata=None, name=None, refresh_url=None, reset_url=None, scheduled_reset_at=None, scheduled_reset_period='Never Reset', self_url=None, slug_perm=None, token=None, updated_at=None, updated_by=None, updated_by_url=None, usage=None, user=None, user_url=None, _configuration=None): # noqa: E501 + def __init__(self, access_private_broadcasts=None, clients=None, created_at=None, created_by=None, created_by_url=None, default=None, disable_url=None, downloads=None, enable_url=None, eula_accepted=None, eula_accepted_at=None, eula_accepted_from=None, eula_required=None, has_limits=None, identifier=None, is_active=None, is_limited=None, limit_bandwidth=None, limit_bandwidth_unit='Byte', limit_date_range_from=None, limit_date_range_to=None, limit_num_clients=None, limit_num_downloads=None, limit_package_query=None, limit_path_query=None, metadata=None, name=None, refresh_url=None, reset_url=None, scheduled_reset_at=None, scheduled_reset_period='Never Reset', self_url=None, slug_perm=None, token=None, updated_at=None, updated_by=None, updated_by_url=None, usage=None, user=None, user_url=None, _configuration=None): # noqa: E501 """RepositoryToken - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._access_private_broadcasts = None self._clients = None self._created_at = None self._created_by = None @@ -163,6 +166,8 @@ def __init__(self, clients=None, created_at=None, created_by=None, created_by_ur self._user_url = None self.discriminator = None + if access_private_broadcasts is not None: + self.access_private_broadcasts = access_private_broadcasts if clients is not None: self.clients = clients if created_at is not None: @@ -241,6 +246,29 @@ def __init__(self, clients=None, created_at=None, created_by=None, created_by_ur if user_url is not None: self.user_url = user_url + @property + def access_private_broadcasts(self): + """Gets the access_private_broadcasts of this RepositoryToken. + + If enabled, this token can be used for private broadcasts + + :return: The access_private_broadcasts of this RepositoryToken. + :rtype: bool + """ + return self._access_private_broadcasts + + @access_private_broadcasts.setter + def access_private_broadcasts(self, access_private_broadcasts): + """Sets the access_private_broadcasts of this RepositoryToken. + + If enabled, this token can be used for private broadcasts + + :param access_private_broadcasts: The access_private_broadcasts of this RepositoryToken. + :type: bool + """ + + self._access_private_broadcasts = access_private_broadcasts + @property def clients(self): """Gets the clients of this RepositoryToken. diff --git a/bindings/python/src/cloudsmith_api/models/repository_token_refresh.py b/bindings/python/src/cloudsmith_api/models/repository_token_refresh.py index 6cebf796..249bbaad 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_token_refresh.py +++ b/bindings/python/src/cloudsmith_api/models/repository_token_refresh.py @@ -33,6 +33,7 @@ class RepositoryTokenRefresh(object): and the value is json key in definition. """ swagger_types = { + 'access_private_broadcasts': 'bool', 'clients': 'int', 'created_at': 'datetime', 'created_by': 'str', @@ -75,6 +76,7 @@ class RepositoryTokenRefresh(object): } attribute_map = { + 'access_private_broadcasts': 'access_private_broadcasts', 'clients': 'clients', 'created_at': 'created_at', 'created_by': 'created_by', @@ -116,12 +118,13 @@ class RepositoryTokenRefresh(object): 'user_url': 'user_url' } - def __init__(self, clients=None, created_at=None, created_by=None, created_by_url=None, default=None, disable_url=None, downloads=None, enable_url=None, eula_accepted=None, eula_accepted_at=None, eula_accepted_from=None, eula_required=None, has_limits=None, identifier=None, is_active=None, is_limited=None, limit_bandwidth=None, limit_bandwidth_unit='Byte', limit_date_range_from=None, limit_date_range_to=None, limit_num_clients=None, limit_num_downloads=None, limit_package_query=None, limit_path_query=None, metadata=None, name=None, refresh_url=None, reset_url=None, scheduled_reset_at=None, scheduled_reset_period='Never Reset', self_url=None, slug_perm=None, token=None, updated_at=None, updated_by=None, updated_by_url=None, usage=None, user=None, user_url=None, _configuration=None): # noqa: E501 + def __init__(self, access_private_broadcasts=None, clients=None, created_at=None, created_by=None, created_by_url=None, default=None, disable_url=None, downloads=None, enable_url=None, eula_accepted=None, eula_accepted_at=None, eula_accepted_from=None, eula_required=None, has_limits=None, identifier=None, is_active=None, is_limited=None, limit_bandwidth=None, limit_bandwidth_unit='Byte', limit_date_range_from=None, limit_date_range_to=None, limit_num_clients=None, limit_num_downloads=None, limit_package_query=None, limit_path_query=None, metadata=None, name=None, refresh_url=None, reset_url=None, scheduled_reset_at=None, scheduled_reset_period='Never Reset', self_url=None, slug_perm=None, token=None, updated_at=None, updated_by=None, updated_by_url=None, usage=None, user=None, user_url=None, _configuration=None): # noqa: E501 """RepositoryTokenRefresh - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._access_private_broadcasts = None self._clients = None self._created_at = None self._created_by = None @@ -163,6 +166,8 @@ def __init__(self, clients=None, created_at=None, created_by=None, created_by_ur self._user_url = None self.discriminator = None + if access_private_broadcasts is not None: + self.access_private_broadcasts = access_private_broadcasts if clients is not None: self.clients = clients if created_at is not None: @@ -242,6 +247,29 @@ def __init__(self, clients=None, created_at=None, created_by=None, created_by_ur if user_url is not None: self.user_url = user_url + @property + def access_private_broadcasts(self): + """Gets the access_private_broadcasts of this RepositoryTokenRefresh. + + If enabled, this token can be used for private broadcasts + + :return: The access_private_broadcasts of this RepositoryTokenRefresh. + :rtype: bool + """ + return self._access_private_broadcasts + + @access_private_broadcasts.setter + def access_private_broadcasts(self, access_private_broadcasts): + """Sets the access_private_broadcasts of this RepositoryTokenRefresh. + + If enabled, this token can be used for private broadcasts + + :param access_private_broadcasts: The access_private_broadcasts of this RepositoryTokenRefresh. + :type: bool + """ + + self._access_private_broadcasts = access_private_broadcasts + @property def clients(self): """Gets the clients of this RepositoryTokenRefresh. diff --git a/bindings/python/src/cloudsmith_api/models/repository_token_refresh_request.py b/bindings/python/src/cloudsmith_api/models/repository_token_refresh_request.py index 6ab40462..75556097 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_token_refresh_request.py +++ b/bindings/python/src/cloudsmith_api/models/repository_token_refresh_request.py @@ -33,6 +33,7 @@ class RepositoryTokenRefreshRequest(object): and the value is json key in definition. """ swagger_types = { + 'access_private_broadcasts': 'bool', 'eula_required': 'bool', 'is_active': 'bool', 'limit_bandwidth': 'int', @@ -50,6 +51,7 @@ class RepositoryTokenRefreshRequest(object): } attribute_map = { + 'access_private_broadcasts': 'access_private_broadcasts', 'eula_required': 'eula_required', 'is_active': 'is_active', 'limit_bandwidth': 'limit_bandwidth', @@ -66,12 +68,13 @@ class RepositoryTokenRefreshRequest(object): 'token': 'token' } - def __init__(self, eula_required=None, is_active=None, limit_bandwidth=None, limit_bandwidth_unit='Byte', limit_date_range_from=None, limit_date_range_to=None, limit_num_clients=None, limit_num_downloads=None, limit_package_query=None, limit_path_query=None, metadata=None, scheduled_reset_at=None, scheduled_reset_period='Never Reset', token=None, _configuration=None): # noqa: E501 + def __init__(self, access_private_broadcasts=None, eula_required=None, is_active=None, limit_bandwidth=None, limit_bandwidth_unit='Byte', limit_date_range_from=None, limit_date_range_to=None, limit_num_clients=None, limit_num_downloads=None, limit_package_query=None, limit_path_query=None, metadata=None, scheduled_reset_at=None, scheduled_reset_period='Never Reset', token=None, _configuration=None): # noqa: E501 """RepositoryTokenRefreshRequest - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._access_private_broadcasts = None self._eula_required = None self._is_active = None self._limit_bandwidth = None @@ -88,6 +91,8 @@ def __init__(self, eula_required=None, is_active=None, limit_bandwidth=None, lim self._token = None self.discriminator = None + if access_private_broadcasts is not None: + self.access_private_broadcasts = access_private_broadcasts if eula_required is not None: self.eula_required = eula_required if is_active is not None: @@ -117,6 +122,29 @@ def __init__(self, eula_required=None, is_active=None, limit_bandwidth=None, lim if token is not None: self.token = token + @property + def access_private_broadcasts(self): + """Gets the access_private_broadcasts of this RepositoryTokenRefreshRequest. + + If enabled, this token can be used for private broadcasts + + :return: The access_private_broadcasts of this RepositoryTokenRefreshRequest. + :rtype: bool + """ + return self._access_private_broadcasts + + @access_private_broadcasts.setter + def access_private_broadcasts(self, access_private_broadcasts): + """Sets the access_private_broadcasts of this RepositoryTokenRefreshRequest. + + If enabled, this token can be used for private broadcasts + + :param access_private_broadcasts: The access_private_broadcasts of this RepositoryTokenRefreshRequest. + :type: bool + """ + + self._access_private_broadcasts = access_private_broadcasts + @property def eula_required(self): """Gets the eula_required of this RepositoryTokenRefreshRequest. diff --git a/bindings/python/src/cloudsmith_api/models/repository_token_request.py b/bindings/python/src/cloudsmith_api/models/repository_token_request.py index ab095bea..a51dd51b 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_token_request.py +++ b/bindings/python/src/cloudsmith_api/models/repository_token_request.py @@ -33,6 +33,7 @@ class RepositoryTokenRequest(object): and the value is json key in definition. """ swagger_types = { + 'access_private_broadcasts': 'bool', 'eula_required': 'bool', 'is_active': 'bool', 'limit_bandwidth': 'int', @@ -51,6 +52,7 @@ class RepositoryTokenRequest(object): } attribute_map = { + 'access_private_broadcasts': 'access_private_broadcasts', 'eula_required': 'eula_required', 'is_active': 'is_active', 'limit_bandwidth': 'limit_bandwidth', @@ -68,12 +70,13 @@ class RepositoryTokenRequest(object): 'token': 'token' } - def __init__(self, eula_required=None, is_active=None, limit_bandwidth=None, limit_bandwidth_unit='Byte', limit_date_range_from=None, limit_date_range_to=None, limit_num_clients=None, limit_num_downloads=None, limit_package_query=None, limit_path_query=None, metadata=None, name=None, scheduled_reset_at=None, scheduled_reset_period='Never Reset', token=None, _configuration=None): # noqa: E501 + def __init__(self, access_private_broadcasts=None, eula_required=None, is_active=None, limit_bandwidth=None, limit_bandwidth_unit='Byte', limit_date_range_from=None, limit_date_range_to=None, limit_num_clients=None, limit_num_downloads=None, limit_package_query=None, limit_path_query=None, metadata=None, name=None, scheduled_reset_at=None, scheduled_reset_period='Never Reset', token=None, _configuration=None): # noqa: E501 """RepositoryTokenRequest - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._access_private_broadcasts = None self._eula_required = None self._is_active = None self._limit_bandwidth = None @@ -91,6 +94,8 @@ def __init__(self, eula_required=None, is_active=None, limit_bandwidth=None, lim self._token = None self.discriminator = None + if access_private_broadcasts is not None: + self.access_private_broadcasts = access_private_broadcasts if eula_required is not None: self.eula_required = eula_required if is_active is not None: @@ -121,6 +126,29 @@ def __init__(self, eula_required=None, is_active=None, limit_bandwidth=None, lim if token is not None: self.token = token + @property + def access_private_broadcasts(self): + """Gets the access_private_broadcasts of this RepositoryTokenRequest. + + If enabled, this token can be used for private broadcasts + + :return: The access_private_broadcasts of this RepositoryTokenRequest. + :rtype: bool + """ + return self._access_private_broadcasts + + @access_private_broadcasts.setter + def access_private_broadcasts(self, access_private_broadcasts): + """Sets the access_private_broadcasts of this RepositoryTokenRequest. + + If enabled, this token can be used for private broadcasts + + :param access_private_broadcasts: The access_private_broadcasts of this RepositoryTokenRequest. + :type: bool + """ + + self._access_private_broadcasts = access_private_broadcasts + @property def eula_required(self): """Gets the eula_required of this RepositoryTokenRequest. diff --git a/bindings/python/src/cloudsmith_api/models/repository_token_request_patch.py b/bindings/python/src/cloudsmith_api/models/repository_token_request_patch.py index 7f97e32d..2be47229 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_token_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/repository_token_request_patch.py @@ -33,6 +33,7 @@ class RepositoryTokenRequestPatch(object): and the value is json key in definition. """ swagger_types = { + 'access_private_broadcasts': 'bool', 'eula_required': 'bool', 'is_active': 'bool', 'limit_bandwidth': 'int', @@ -51,6 +52,7 @@ class RepositoryTokenRequestPatch(object): } attribute_map = { + 'access_private_broadcasts': 'access_private_broadcasts', 'eula_required': 'eula_required', 'is_active': 'is_active', 'limit_bandwidth': 'limit_bandwidth', @@ -68,12 +70,13 @@ class RepositoryTokenRequestPatch(object): 'token': 'token' } - def __init__(self, eula_required=None, is_active=None, limit_bandwidth=None, limit_bandwidth_unit='Byte', limit_date_range_from=None, limit_date_range_to=None, limit_num_clients=None, limit_num_downloads=None, limit_package_query=None, limit_path_query=None, metadata=None, name=None, scheduled_reset_at=None, scheduled_reset_period='Never Reset', token=None, _configuration=None): # noqa: E501 + def __init__(self, access_private_broadcasts=None, eula_required=None, is_active=None, limit_bandwidth=None, limit_bandwidth_unit='Byte', limit_date_range_from=None, limit_date_range_to=None, limit_num_clients=None, limit_num_downloads=None, limit_package_query=None, limit_path_query=None, metadata=None, name=None, scheduled_reset_at=None, scheduled_reset_period='Never Reset', token=None, _configuration=None): # noqa: E501 """RepositoryTokenRequestPatch - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._access_private_broadcasts = None self._eula_required = None self._is_active = None self._limit_bandwidth = None @@ -91,6 +94,8 @@ def __init__(self, eula_required=None, is_active=None, limit_bandwidth=None, lim self._token = None self.discriminator = None + if access_private_broadcasts is not None: + self.access_private_broadcasts = access_private_broadcasts if eula_required is not None: self.eula_required = eula_required if is_active is not None: @@ -122,6 +127,29 @@ def __init__(self, eula_required=None, is_active=None, limit_bandwidth=None, lim if token is not None: self.token = token + @property + def access_private_broadcasts(self): + """Gets the access_private_broadcasts of this RepositoryTokenRequestPatch. + + If enabled, this token can be used for private broadcasts + + :return: The access_private_broadcasts of this RepositoryTokenRequestPatch. + :rtype: bool + """ + return self._access_private_broadcasts + + @access_private_broadcasts.setter + def access_private_broadcasts(self, access_private_broadcasts): + """Sets the access_private_broadcasts of this RepositoryTokenRequestPatch. + + If enabled, this token can be used for private broadcasts + + :param access_private_broadcasts: The access_private_broadcasts of this RepositoryTokenRequestPatch. + :type: bool + """ + + self._access_private_broadcasts = access_private_broadcasts + @property def eula_required(self): """Gets the eula_required of this RepositoryTokenRequestPatch. diff --git a/bindings/python/src/cloudsmith_api/models/repository_webhook.py b/bindings/python/src/cloudsmith_api/models/repository_webhook.py index 4483dacc..a3286d23 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_webhook.py +++ b/bindings/python/src/cloudsmith_api/models/repository_webhook.py @@ -700,8 +700,8 @@ def target_url(self, target_url): if self._configuration.client_side_validation and target_url is None: raise ValueError("Invalid value for `target_url`, must not be `None`") # noqa: E501 if (self._configuration.client_side_validation and - target_url is not None and len(target_url) > 255): - raise ValueError("Invalid value for `target_url`, length must be less than or equal to `255`") # noqa: E501 + target_url is not None and len(target_url) > 2000): + raise ValueError("Invalid value for `target_url`, length must be less than or equal to `2000`") # noqa: E501 if (self._configuration.client_side_validation and target_url is not None and len(target_url) < 1): raise ValueError("Invalid value for `target_url`, length must be greater than or equal to `1`") # noqa: E501 diff --git a/bindings/python/src/cloudsmith_api/models/repository_webhook_request.py b/bindings/python/src/cloudsmith_api/models/repository_webhook_request.py index f2398f5b..f3c5b4c9 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_webhook_request.py +++ b/bindings/python/src/cloudsmith_api/models/repository_webhook_request.py @@ -366,8 +366,8 @@ def target_url(self, target_url): if self._configuration.client_side_validation and target_url is None: raise ValueError("Invalid value for `target_url`, must not be `None`") # noqa: E501 if (self._configuration.client_side_validation and - target_url is not None and len(target_url) > 255): - raise ValueError("Invalid value for `target_url`, length must be less than or equal to `255`") # noqa: E501 + target_url is not None and len(target_url) > 2000): + raise ValueError("Invalid value for `target_url`, length must be less than or equal to `2000`") # noqa: E501 if (self._configuration.client_side_validation and target_url is not None and len(target_url) < 1): raise ValueError("Invalid value for `target_url`, length must be greater than or equal to `1`") # noqa: E501 diff --git a/bindings/python/src/cloudsmith_api/models/repository_webhook_request_patch.py b/bindings/python/src/cloudsmith_api/models/repository_webhook_request_patch.py index 7261c408..b17b9418 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_webhook_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/repository_webhook_request_patch.py @@ -365,8 +365,8 @@ def target_url(self, target_url): :type: str """ if (self._configuration.client_side_validation and - target_url is not None and len(target_url) > 255): - raise ValueError("Invalid value for `target_url`, length must be less than or equal to `255`") # noqa: E501 + target_url is not None and len(target_url) > 2000): + raise ValueError("Invalid value for `target_url`, length must be less than or equal to `2000`") # noqa: E501 if (self._configuration.client_side_validation and target_url is not None and len(target_url) < 1): raise ValueError("Invalid value for `target_url`, length must be greater than or equal to `1`") # noqa: E501 diff --git a/bindings/python/src/cloudsmith_api/models/rpm_package_upload.py b/bindings/python/src/cloudsmith_api/models/rpm_package_upload.py index 99dffac0..3c494f22 100644 --- a/bindings/python/src/cloudsmith_api/models/rpm_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/rpm_package_upload.py @@ -80,6 +80,7 @@ class RpmPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class RpmPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class RpmPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class RpmPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class RpmPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """RpmPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this RpmPackageUpload. + + The raw license string. + + :return: The raw_license of this RpmPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this RpmPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this RpmPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this RpmPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this RpmPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this RpmPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this RpmPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this RpmPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this RpmPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/rpm_upstream.py b/bindings/python/src/cloudsmith_api/models/rpm_upstream.py index 87a1ac27..b41887d3 100644 --- a/bindings/python/src/cloudsmith_api/models/rpm_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/rpm_upstream.py @@ -36,18 +36,26 @@ class RpmUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'distro_version': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'gpg_key_fingerprint_short': 'str', 'gpg_key_inline': 'str', 'gpg_key_url': 'str', 'gpg_verification': 'str', + 'has_failed_signature_verification': 'str', 'include_sources': 'bool', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -63,18 +71,26 @@ class RpmUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'distro_version': 'distro_version', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'gpg_key_fingerprint_short': 'gpg_key_fingerprint_short', 'gpg_key_inline': 'gpg_key_inline', 'gpg_key_url': 'gpg_key_url', 'gpg_verification': 'gpg_verification', + 'has_failed_signature_verification': 'has_failed_signature_verification', 'include_sources': 'include_sources', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -86,7 +102,7 @@ class RpmUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', distro_version=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, gpg_key_inline=None, gpg_key_url=None, gpg_verification='Allow All', include_sources=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verification_status='Unknown', verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, distro_version=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, gpg_key_fingerprint_short=None, gpg_key_inline=None, gpg_key_url=None, gpg_verification='Allow All', has_failed_signature_verification=None, include_sources=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verification_status='Unknown', verify_ssl=None, _configuration=None): # noqa: E501 """RpmUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -95,18 +111,26 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._distro_version = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._gpg_key_fingerprint_short = None self._gpg_key_inline = None self._gpg_key_url = None self._gpg_verification = None + self._has_failed_signature_verification = None self._include_sources = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -124,10 +148,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text self.distro_version = distro_version if extra_header_1 is not None: self.extra_header_1 = extra_header_1 @@ -137,16 +167,26 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if gpg_key_fingerprint_short is not None: + self.gpg_key_fingerprint_short = gpg_key_fingerprint_short if gpg_key_inline is not None: self.gpg_key_inline = gpg_key_inline if gpg_key_url is not None: self.gpg_key_url = gpg_key_url if gpg_verification is not None: self.gpg_verification = gpg_verification + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification if include_sources is not None: self.include_sources = include_sources + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -246,6 +286,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this RpmUpstream. + + + :return: The available of this RpmUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this RpmUpstream. + + + :param available: The available of this RpmUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this RpmUpstream. + + + :return: The can_reindex of this RpmUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this RpmUpstream. + + + :param can_reindex: The can_reindex of this RpmUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this RpmUpstream. @@ -297,6 +379,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this RpmUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this RpmUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this RpmUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this RpmUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def distro_version(self): """Gets the distro_version of this RpmUpstream. @@ -438,6 +543,27 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def gpg_key_fingerprint_short(self): + """Gets the gpg_key_fingerprint_short of this RpmUpstream. + + + :return: The gpg_key_fingerprint_short of this RpmUpstream. + :rtype: str + """ + return self._gpg_key_fingerprint_short + + @gpg_key_fingerprint_short.setter + def gpg_key_fingerprint_short(self, gpg_key_fingerprint_short): + """Sets the gpg_key_fingerprint_short of this RpmUpstream. + + + :param gpg_key_fingerprint_short: The gpg_key_fingerprint_short of this RpmUpstream. + :type: str + """ + + self._gpg_key_fingerprint_short = gpg_key_fingerprint_short + @property def gpg_key_inline(self): """Gets the gpg_key_inline of this RpmUpstream. @@ -517,6 +643,27 @@ def gpg_verification(self, gpg_verification): self._gpg_verification = gpg_verification + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this RpmUpstream. + + + :return: The has_failed_signature_verification of this RpmUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this RpmUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this RpmUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + @property def include_sources(self): """Gets the include_sources of this RpmUpstream. @@ -540,6 +687,52 @@ def include_sources(self, include_sources): self._include_sources = include_sources + @property + def index_package_count(self): + """Gets the index_package_count of this RpmUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this RpmUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this RpmUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this RpmUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this RpmUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this RpmUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this RpmUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this RpmUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this RpmUpstream. @@ -563,6 +756,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this RpmUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this RpmUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this RpmUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this RpmUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this RpmUpstream. @@ -622,7 +838,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/rpm_upstream_request.py b/bindings/python/src/cloudsmith_api/models/rpm_upstream_request.py index 8fd416ce..19ef7d14 100644 --- a/bindings/python/src/cloudsmith_api/models/rpm_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/rpm_upstream_request.py @@ -541,7 +541,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/rpm_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/rpm_upstream_request_patch.py index 4cb65bba..4c5f7aa1 100644 --- a/bindings/python/src/cloudsmith_api/models/rpm_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/rpm_upstream_request_patch.py @@ -540,7 +540,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/ruby_package_upload.py b/bindings/python/src/cloudsmith_api/models/ruby_package_upload.py index b485a391..81e29a90 100644 --- a/bindings/python/src/cloudsmith_api/models/ruby_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/ruby_package_upload.py @@ -80,6 +80,7 @@ class RubyPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class RubyPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class RubyPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class RubyPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class RubyPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """RubyPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this RubyPackageUpload. + + The raw license string. + + :return: The raw_license of this RubyPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this RubyPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this RubyPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this RubyPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this RubyPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this RubyPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this RubyPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this RubyPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this RubyPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/ruby_upstream.py b/bindings/python/src/cloudsmith_api/models/ruby_upstream.py index f0940477..58025455 100644 --- a/bindings/python/src/cloudsmith_api/models/ruby_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/ruby_upstream.py @@ -36,13 +36,20 @@ class RubyUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class RubyUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class RubyUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """RubyUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this RubyUpstream. + + + :return: The available of this RubyUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this RubyUpstream. + + + :param available: The available of this RubyUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this RubyUpstream. + + + :return: The can_reindex of this RubyUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this RubyUpstream. + + + :param can_reindex: The can_reindex of this RubyUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this RubyUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this RubyUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this RubyUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this RubyUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this RubyUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this RubyUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this RubyUpstream. + + + :return: The has_failed_signature_verification of this RubyUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this RubyUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this RubyUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this RubyUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this RubyUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this RubyUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this RubyUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this RubyUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this RubyUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this RubyUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this RubyUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this RubyUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this RubyUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this RubyUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this RubyUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this RubyUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this RubyUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/ruby_upstream_request.py b/bindings/python/src/cloudsmith_api/models/ruby_upstream_request.py index e5ba3cfd..a1045011 100644 --- a/bindings/python/src/cloudsmith_api/models/ruby_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/ruby_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/ruby_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/ruby_upstream_request_patch.py index b32279c6..92016299 100644 --- a/bindings/python/src/cloudsmith_api/models/ruby_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/ruby_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/status_basic.py b/bindings/python/src/cloudsmith_api/models/status_basic.py index a94c3193..7f4990cc 100644 --- a/bindings/python/src/cloudsmith_api/models/status_basic.py +++ b/bindings/python/src/cloudsmith_api/models/status_basic.py @@ -42,7 +42,7 @@ class StatusBasic(object): 'version': 'version' } - def __init__(self, detail='Cloudsmith API is operational.', version='1.812.0', _configuration=None): # noqa: E501 + def __init__(self, detail='Cloudsmith API is operational.', version='1.0', _configuration=None): # noqa: E501 """StatusBasic - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() diff --git a/bindings/python/src/cloudsmith_api/models/swift_package_upload.py b/bindings/python/src/cloudsmith_api/models/swift_package_upload.py index 0c261a98..e00386dc 100644 --- a/bindings/python/src/cloudsmith_api/models/swift_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/swift_package_upload.py @@ -83,6 +83,7 @@ class SwiftPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'readme_url': 'str', 'release': 'str', 'repository': 'str', @@ -98,6 +99,7 @@ class SwiftPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -172,6 +174,7 @@ class SwiftPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'readme_url': 'readme_url', 'release': 'release', 'repository': 'repository', @@ -187,6 +190,7 @@ class SwiftPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -210,7 +214,7 @@ class SwiftPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, author_name=None, author_org=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, license_url=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, readme_url=None, release=None, repository=None, repository_url=None, scope=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, author_name=None, author_org=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, license_url=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, readme_url=None, release=None, repository=None, repository_url=None, scope=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """SwiftPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -266,6 +270,7 @@ def __init__(self, architectures=None, author_name=None, author_org=None, cdn_ur self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._readme_url = None self._release = None self._repository = None @@ -281,6 +286,7 @@ def __init__(self, architectures=None, author_name=None, author_org=None, cdn_ur self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -403,6 +409,8 @@ def __init__(self, architectures=None, author_name=None, author_org=None, cdn_ur self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if readme_url is not None: self.readme_url = readme_url if release is not None: @@ -432,6 +440,8 @@ def __init__(self, architectures=None, author_name=None, author_org=None, cdn_ur self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1582,6 +1592,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this SwiftPackageUpload. + + The raw license string. + + :return: The raw_license of this SwiftPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this SwiftPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this SwiftPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def readme_url(self): """Gets the readme_url of this SwiftPackageUpload. @@ -1954,6 +1990,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this SwiftPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this SwiftPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this SwiftPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this SwiftPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this SwiftPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/swift_upstream.py b/bindings/python/src/cloudsmith_api/models/swift_upstream.py index f3f47dc5..990d0d4d 100644 --- a/bindings/python/src/cloudsmith_api/models/swift_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/swift_upstream.py @@ -36,13 +36,20 @@ class SwiftUpstream(object): 'auth_mode': 'str', 'auth_secret': 'str', 'auth_username': 'str', + 'available': 'str', + 'can_reindex': 'str', 'created_at': 'datetime', 'disable_reason': 'str', + 'disable_reason_text': 'str', 'extra_header_1': 'str', 'extra_header_2': 'str', 'extra_value_1': 'str', 'extra_value_2': 'str', + 'has_failed_signature_verification': 'str', + 'index_package_count': 'str', + 'index_status': 'str', 'is_active': 'bool', + 'last_indexed': 'str', 'mode': 'str', 'name': 'str', 'pending_validation': 'bool', @@ -57,13 +64,20 @@ class SwiftUpstream(object): 'auth_mode': 'auth_mode', 'auth_secret': 'auth_secret', 'auth_username': 'auth_username', + 'available': 'available', + 'can_reindex': 'can_reindex', 'created_at': 'created_at', 'disable_reason': 'disable_reason', + 'disable_reason_text': 'disable_reason_text', 'extra_header_1': 'extra_header_1', 'extra_header_2': 'extra_header_2', 'extra_value_1': 'extra_value_1', 'extra_value_2': 'extra_value_2', + 'has_failed_signature_verification': 'has_failed_signature_verification', + 'index_package_count': 'index_package_count', + 'index_status': 'index_status', 'is_active': 'is_active', + 'last_indexed': 'last_indexed', 'mode': 'mode', 'name': 'name', 'pending_validation': 'pending_validation', @@ -74,7 +88,7 @@ class SwiftUpstream(object): 'verify_ssl': 'verify_ssl' } - def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, created_at=None, disable_reason='N/A', extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, is_active=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 + def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, available=None, can_reindex=None, created_at=None, disable_reason='N/A', disable_reason_text=None, extra_header_1=None, extra_header_2=None, extra_value_1=None, extra_value_2=None, has_failed_signature_verification=None, index_package_count=None, index_status=None, is_active=None, last_indexed=None, mode='Proxy Only', name=None, pending_validation=None, priority=None, slug_perm=None, updated_at=None, upstream_url=None, verify_ssl=None, _configuration=None): # noqa: E501 """SwiftUpstream - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -83,13 +97,20 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self._auth_mode = None self._auth_secret = None self._auth_username = None + self._available = None + self._can_reindex = None self._created_at = None self._disable_reason = None + self._disable_reason_text = None self._extra_header_1 = None self._extra_header_2 = None self._extra_value_1 = None self._extra_value_2 = None + self._has_failed_signature_verification = None + self._index_package_count = None + self._index_status = None self._is_active = None + self._last_indexed = None self._mode = None self._name = None self._pending_validation = None @@ -106,10 +127,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.auth_secret = auth_secret if auth_username is not None: self.auth_username = auth_username + if available is not None: + self.available = available + if can_reindex is not None: + self.can_reindex = can_reindex if created_at is not None: self.created_at = created_at if disable_reason is not None: self.disable_reason = disable_reason + if disable_reason_text is not None: + self.disable_reason_text = disable_reason_text if extra_header_1 is not None: self.extra_header_1 = extra_header_1 if extra_header_2 is not None: @@ -118,8 +145,16 @@ def __init__(self, auth_mode='None', auth_secret=None, auth_username=None, creat self.extra_value_1 = extra_value_1 if extra_value_2 is not None: self.extra_value_2 = extra_value_2 + if has_failed_signature_verification is not None: + self.has_failed_signature_verification = has_failed_signature_verification + if index_package_count is not None: + self.index_package_count = index_package_count + if index_status is not None: + self.index_status = index_status if is_active is not None: self.is_active = is_active + if last_indexed is not None: + self.last_indexed = last_indexed if mode is not None: self.mode = mode self.name = name @@ -217,6 +252,48 @@ def auth_username(self, auth_username): self._auth_username = auth_username + @property + def available(self): + """Gets the available of this SwiftUpstream. + + + :return: The available of this SwiftUpstream. + :rtype: str + """ + return self._available + + @available.setter + def available(self, available): + """Sets the available of this SwiftUpstream. + + + :param available: The available of this SwiftUpstream. + :type: str + """ + + self._available = available + + @property + def can_reindex(self): + """Gets the can_reindex of this SwiftUpstream. + + + :return: The can_reindex of this SwiftUpstream. + :rtype: str + """ + return self._can_reindex + + @can_reindex.setter + def can_reindex(self, can_reindex): + """Sets the can_reindex of this SwiftUpstream. + + + :param can_reindex: The can_reindex of this SwiftUpstream. + :type: str + """ + + self._can_reindex = can_reindex + @property def created_at(self): """Gets the created_at of this SwiftUpstream. @@ -268,6 +345,29 @@ def disable_reason(self, disable_reason): self._disable_reason = disable_reason + @property + def disable_reason_text(self): + """Gets the disable_reason_text of this SwiftUpstream. + + Human-readable explanation of why this upstream is disabled + + :return: The disable_reason_text of this SwiftUpstream. + :rtype: str + """ + return self._disable_reason_text + + @disable_reason_text.setter + def disable_reason_text(self, disable_reason_text): + """Sets the disable_reason_text of this SwiftUpstream. + + Human-readable explanation of why this upstream is disabled + + :param disable_reason_text: The disable_reason_text of this SwiftUpstream. + :type: str + """ + + self._disable_reason_text = disable_reason_text + @property def extra_header_1(self): """Gets the extra_header_1 of this SwiftUpstream. @@ -384,6 +484,73 @@ def extra_value_2(self, extra_value_2): self._extra_value_2 = extra_value_2 + @property + def has_failed_signature_verification(self): + """Gets the has_failed_signature_verification of this SwiftUpstream. + + + :return: The has_failed_signature_verification of this SwiftUpstream. + :rtype: str + """ + return self._has_failed_signature_verification + + @has_failed_signature_verification.setter + def has_failed_signature_verification(self, has_failed_signature_verification): + """Sets the has_failed_signature_verification of this SwiftUpstream. + + + :param has_failed_signature_verification: The has_failed_signature_verification of this SwiftUpstream. + :type: str + """ + + self._has_failed_signature_verification = has_failed_signature_verification + + @property + def index_package_count(self): + """Gets the index_package_count of this SwiftUpstream. + + The number of packages available in this upstream source + + :return: The index_package_count of this SwiftUpstream. + :rtype: str + """ + return self._index_package_count + + @index_package_count.setter + def index_package_count(self, index_package_count): + """Sets the index_package_count of this SwiftUpstream. + + The number of packages available in this upstream source + + :param index_package_count: The index_package_count of this SwiftUpstream. + :type: str + """ + + self._index_package_count = index_package_count + + @property + def index_status(self): + """Gets the index_status of this SwiftUpstream. + + The current indexing status of this upstream source + + :return: The index_status of this SwiftUpstream. + :rtype: str + """ + return self._index_status + + @index_status.setter + def index_status(self, index_status): + """Sets the index_status of this SwiftUpstream. + + The current indexing status of this upstream source + + :param index_status: The index_status of this SwiftUpstream. + :type: str + """ + + self._index_status = index_status + @property def is_active(self): """Gets the is_active of this SwiftUpstream. @@ -407,6 +574,29 @@ def is_active(self, is_active): self._is_active = is_active + @property + def last_indexed(self): + """Gets the last_indexed of this SwiftUpstream. + + The last time this upstream source was indexed + + :return: The last_indexed of this SwiftUpstream. + :rtype: str + """ + return self._last_indexed + + @last_indexed.setter + def last_indexed(self, last_indexed): + """Sets the last_indexed of this SwiftUpstream. + + The last time this upstream source was indexed + + :param last_indexed: The last_indexed of this SwiftUpstream. + :type: str + """ + + self._last_indexed = last_indexed + @property def mode(self): """Gets the mode of this SwiftUpstream. @@ -466,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/swift_upstream_request.py b/bindings/python/src/cloudsmith_api/models/swift_upstream_request.py index 951a9c66..b557d518 100644 --- a/bindings/python/src/cloudsmith_api/models/swift_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/swift_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/swift_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/swift_upstream_request_patch.py index 746ef6fd..209c1a18 100644 --- a/bindings/python/src/cloudsmith_api/models/swift_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/swift_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/terraform_package_upload.py b/bindings/python/src/cloudsmith_api/models/terraform_package_upload.py index 1a22318d..b0964c04 100644 --- a/bindings/python/src/cloudsmith_api/models/terraform_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/terraform_package_upload.py @@ -80,6 +80,7 @@ class TerraformPackageUpload(object): 'origin_repository_url': 'str', 'package_type': 'int', 'policy_violated': 'bool', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -93,6 +94,7 @@ class TerraformPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -164,6 +166,7 @@ class TerraformPackageUpload(object): 'origin_repository_url': 'origin_repository_url', 'package_type': 'package_type', 'policy_violated': 'policy_violated', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -177,6 +180,7 @@ class TerraformPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -200,7 +204,7 @@ class TerraformPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """TerraformPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -253,6 +257,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._origin_repository_url = None self._package_type = None self._policy_violated = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -266,6 +271,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -383,6 +389,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.package_type = package_type if policy_violated is not None: self.policy_violated = policy_violated + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -409,6 +417,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1477,6 +1487,32 @@ def policy_violated(self, policy_violated): self._policy_violated = policy_violated + @property + def raw_license(self): + """Gets the raw_license of this TerraformPackageUpload. + + The raw license string. + + :return: The raw_license of this TerraformPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this TerraformPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this TerraformPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this TerraformPackageUpload. @@ -1787,6 +1823,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this TerraformPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this TerraformPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this TerraformPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this TerraformPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this TerraformPackageUpload. diff --git a/bindings/python/src/cloudsmith_api/models/vagrant_package_upload.py b/bindings/python/src/cloudsmith_api/models/vagrant_package_upload.py index 9ac568f0..ab0ededc 100644 --- a/bindings/python/src/cloudsmith_api/models/vagrant_package_upload.py +++ b/bindings/python/src/cloudsmith_api/models/vagrant_package_upload.py @@ -81,6 +81,7 @@ class VagrantPackageUpload(object): 'package_type': 'int', 'policy_violated': 'bool', 'provider': 'str', + 'raw_license': 'str', 'release': 'str', 'repository': 'str', 'repository_url': 'str', @@ -94,6 +95,7 @@ class VagrantPackageUpload(object): 'size': 'int', 'slug': 'str', 'slug_perm': 'str', + 'spdx_license': 'str', 'stage': 'int', 'stage_str': 'str', 'stage_updated_at': 'datetime', @@ -166,6 +168,7 @@ class VagrantPackageUpload(object): 'package_type': 'package_type', 'policy_violated': 'policy_violated', 'provider': 'provider', + 'raw_license': 'raw_license', 'release': 'release', 'repository': 'repository', 'repository_url': 'repository_url', @@ -179,6 +182,7 @@ class VagrantPackageUpload(object): 'size': 'size', 'slug': 'slug', 'slug_perm': 'slug_perm', + 'spdx_license': 'spdx_license', 'stage': 'stage', 'stage_str': 'stage_str', 'stage_updated_at': 'stage_updated_at', @@ -202,7 +206,7 @@ class VagrantPackageUpload(object): 'vulnerability_scan_results_url': 'vulnerability_scan_results_url' } - def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, provider=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 + def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, package_type=None, policy_violated=None, provider=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags_automatic=None, tags_immutable=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501 """VagrantPackageUpload - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -256,6 +260,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._package_type = None self._policy_violated = None self._provider = None + self._raw_license = None self._release = None self._repository = None self._repository_url = None @@ -269,6 +274,7 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self._size = None self._slug = None self._slug_perm = None + self._spdx_license = None self._stage = None self._stage_str = None self._stage_updated_at = None @@ -386,6 +392,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum if policy_violated is not None: self.policy_violated = policy_violated self.provider = provider + if raw_license is not None: + self.raw_license = raw_license if release is not None: self.release = release if repository is not None: @@ -412,6 +420,8 @@ def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum self.slug = slug if slug_perm is not None: self.slug_perm = slug_perm + if spdx_license is not None: + self.spdx_license = spdx_license if stage is not None: self.stage = stage if stage_str is not None: @@ -1512,6 +1522,32 @@ def provider(self, provider): self._provider = provider + @property + def raw_license(self): + """Gets the raw_license of this VagrantPackageUpload. + + The raw license string. + + :return: The raw_license of this VagrantPackageUpload. + :rtype: str + """ + return self._raw_license + + @raw_license.setter + def raw_license(self, raw_license): + """Sets the raw_license of this VagrantPackageUpload. + + The raw license string. + + :param raw_license: The raw_license of this VagrantPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + raw_license is not None and len(raw_license) < 1): + raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._raw_license = raw_license + @property def release(self): """Gets the release of this VagrantPackageUpload. @@ -1822,6 +1858,32 @@ def slug_perm(self, slug_perm): self._slug_perm = slug_perm + @property + def spdx_license(self): + """Gets the spdx_license of this VagrantPackageUpload. + + The SPDX license identifier for this package. + + :return: The spdx_license of this VagrantPackageUpload. + :rtype: str + """ + return self._spdx_license + + @spdx_license.setter + def spdx_license(self, spdx_license): + """Sets the spdx_license of this VagrantPackageUpload. + + The SPDX license identifier for this package. + + :param spdx_license: The spdx_license of this VagrantPackageUpload. + :type: str + """ + if (self._configuration.client_side_validation and + spdx_license is not None and len(spdx_license) < 1): + raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501 + + self._spdx_license = spdx_license + @property def stage(self): """Gets the stage of this VagrantPackageUpload. diff --git a/bindings/python/src/docs/AlpinePackageUpload.md b/bindings/python/src/docs/AlpinePackageUpload.md index 4c949b2a..fa691d0a 100644 --- a/bindings/python/src/docs/AlpinePackageUpload.md +++ b/bindings/python/src/docs/AlpinePackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/BroadcastToken.md b/bindings/python/src/docs/BroadcastToken.md new file mode 100644 index 00000000..17ff44a4 --- /dev/null +++ b/bindings/python/src/docs/BroadcastToken.md @@ -0,0 +1,11 @@ +# BroadcastToken + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**expires_at** | **datetime** | | [optional] +**token** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/bindings/python/src/docs/BroadcastTokenInput.md b/bindings/python/src/docs/BroadcastTokenInput.md new file mode 100644 index 00000000..62615005 --- /dev/null +++ b/bindings/python/src/docs/BroadcastTokenInput.md @@ -0,0 +1,11 @@ +# BroadcastTokenInput + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**entitlement_token** | **str** | Repository entitlement token used to authorize the creation of a broadcast token | +**expires_in** | **int** | Token expiry time in seconds (optional, defaults to 3600 seconds) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/bindings/python/src/docs/BroadcastsApi.md b/bindings/python/src/docs/BroadcastsApi.md new file mode 100644 index 00000000..b4b76dfc --- /dev/null +++ b/bindings/python/src/docs/BroadcastsApi.md @@ -0,0 +1,69 @@ +# cloudsmith_api.BroadcastsApi + +All URIs are relative to *https://api.cloudsmith.io* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**broadcasts_create_broadcast_token**](BroadcastsApi.md#broadcasts_create_broadcast_token) | **POST** /broadcasts/{org}/broadcast-token/ | Create a broadcast token. + + +# **broadcasts_create_broadcast_token** +> BroadcastToken broadcasts_create_broadcast_token(org, data=data) + +Create a broadcast token. + +Create a broadcast token. + +### Example +```python +from __future__ import print_function +import time +import cloudsmith_api +from cloudsmith_api.rest import ApiException +from pprint import pprint + +# Configure API key authorization: apikey +configuration = cloudsmith_api.Configuration() +configuration.api_key['X-Api-Key'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-Api-Key'] = 'Bearer' +# Configure HTTP basic authorization: basic +configuration = cloudsmith_api.Configuration() +configuration.username = 'YOUR_USERNAME' +configuration.password = 'YOUR_PASSWORD' + +# create an instance of the API class +api_instance = cloudsmith_api.BroadcastsApi(cloudsmith_api.ApiClient(configuration)) +org = 'org_example' # str | +data = cloudsmith_api.BroadcastTokenInput() # BroadcastTokenInput | (optional) + +try: + # Create a broadcast token. + api_response = api_instance.broadcasts_create_broadcast_token(org, data=data) + pprint(api_response) +except ApiException as e: + print("Exception when calling BroadcastsApi->broadcasts_create_broadcast_token: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **org** | **str**| | + **data** | [**BroadcastTokenInput**](BroadcastTokenInput.md)| | [optional] + +### Return type + +[**BroadcastToken**](BroadcastToken.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/bindings/python/src/docs/CargoPackageUpload.md b/bindings/python/src/docs/CargoPackageUpload.md index f23566e2..abfb5e6b 100644 --- a/bindings/python/src/docs/CargoPackageUpload.md +++ b/bindings/python/src/docs/CargoPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/CargoUpstream.md b/bindings/python/src/docs/CargoUpstream.md index 5ee51555..2aea673b 100644 --- a/bindings/python/src/docs/CargoUpstream.md +++ b/bindings/python/src/docs/CargoUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/CocoapodsPackageUpload.md b/bindings/python/src/docs/CocoapodsPackageUpload.md index 7fdabf2b..4d0d88d0 100644 --- a/bindings/python/src/docs/CocoapodsPackageUpload.md +++ b/bindings/python/src/docs/CocoapodsPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/ComposerPackageUpload.md b/bindings/python/src/docs/ComposerPackageUpload.md index 5d40d09b..7eadc35c 100644 --- a/bindings/python/src/docs/ComposerPackageUpload.md +++ b/bindings/python/src/docs/ComposerPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/ComposerUpstream.md b/bindings/python/src/docs/ComposerUpstream.md index 76b27a6d..32b5b119 100644 --- a/bindings/python/src/docs/ComposerUpstream.md +++ b/bindings/python/src/docs/ComposerUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/ConanPackageUpload.md b/bindings/python/src/docs/ConanPackageUpload.md index 2aba7933..4771be14 100644 --- a/bindings/python/src/docs/ConanPackageUpload.md +++ b/bindings/python/src/docs/ConanPackageUpload.md @@ -52,6 +52,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -65,6 +66,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/CondaPackageUpload.md b/bindings/python/src/docs/CondaPackageUpload.md index bc0a559e..5512131b 100644 --- a/bindings/python/src/docs/CondaPackageUpload.md +++ b/bindings/python/src/docs/CondaPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/CondaUpstream.md b/bindings/python/src/docs/CondaUpstream.md index d39019f5..b4121da2 100644 --- a/bindings/python/src/docs/CondaUpstream.md +++ b/bindings/python/src/docs/CondaUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/CranPackageUpload.md b/bindings/python/src/docs/CranPackageUpload.md index 7da978c4..771cdb0e 100644 --- a/bindings/python/src/docs/CranPackageUpload.md +++ b/bindings/python/src/docs/CranPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] **r_version** | **str** | Binary package uploads should specify the version of R they were built for. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/CranUpstream.md b/bindings/python/src/docs/CranUpstream.md index b5438254..08e4993e 100644 --- a/bindings/python/src/docs/CranUpstream.md +++ b/bindings/python/src/docs/CranUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/DartPackageUpload.md b/bindings/python/src/docs/DartPackageUpload.md index 4ddf9b3c..02c33c9a 100644 --- a/bindings/python/src/docs/DartPackageUpload.md +++ b/bindings/python/src/docs/DartPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/DartUpstream.md b/bindings/python/src/docs/DartUpstream.md index bf9368ed..19dee4b3 100644 --- a/bindings/python/src/docs/DartUpstream.md +++ b/bindings/python/src/docs/DartUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/DebPackageUpload.md b/bindings/python/src/docs/DebPackageUpload.md index 17a26701..ade1b7cc 100644 --- a/bindings/python/src/docs/DebPackageUpload.md +++ b/bindings/python/src/docs/DebPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/DebUpstream.md b/bindings/python/src/docs/DebUpstream.md index 5f4bffdd..9d276a87 100644 --- a/bindings/python/src/docs/DebUpstream.md +++ b/bindings/python/src/docs/DebUpstream.md @@ -6,19 +6,27 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **component** | **str** | The component to fetch from the upstream | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **distro_versions** | **list[str]** | The distribution version that packages found on this upstream could be associated with. | **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**gpg_key_fingerprint_short** | **str** | | [optional] **gpg_key_inline** | **str** | A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_key_url** | **str** | When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_verification** | **str** | The GPG signature verification mode for this upstream. | [optional] [default to 'Allow All'] +**has_failed_signature_verification** | **str** | | [optional] **include_sources** | **bool** | When true, source packages will be available from this upstream. | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/DockerPackageUpload.md b/bindings/python/src/docs/DockerPackageUpload.md index 4b40142a..7622a47c 100644 --- a/bindings/python/src/docs/DockerPackageUpload.md +++ b/bindings/python/src/docs/DockerPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/DockerUpstream.md b/bindings/python/src/docs/DockerUpstream.md index da8a2dc1..dee143f2 100644 --- a/bindings/python/src/docs/DockerUpstream.md +++ b/bindings/python/src/docs/DockerUpstream.md @@ -6,12 +6,15 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | diff --git a/bindings/python/src/docs/GoPackageUpload.md b/bindings/python/src/docs/GoPackageUpload.md index 5828ec68..71f7c504 100644 --- a/bindings/python/src/docs/GoPackageUpload.md +++ b/bindings/python/src/docs/GoPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/GoUpstream.md b/bindings/python/src/docs/GoUpstream.md index 30f445ad..1ab65278 100644 --- a/bindings/python/src/docs/GoUpstream.md +++ b/bindings/python/src/docs/GoUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/HelmPackageUpload.md b/bindings/python/src/docs/HelmPackageUpload.md index 8174072a..57fabd84 100644 --- a/bindings/python/src/docs/HelmPackageUpload.md +++ b/bindings/python/src/docs/HelmPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/HelmUpstream.md b/bindings/python/src/docs/HelmUpstream.md index 71df79cd..ee14c87b 100644 --- a/bindings/python/src/docs/HelmUpstream.md +++ b/bindings/python/src/docs/HelmUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/HexPackageUpload.md b/bindings/python/src/docs/HexPackageUpload.md index 164b22e8..6ede8d4b 100644 --- a/bindings/python/src/docs/HexPackageUpload.md +++ b/bindings/python/src/docs/HexPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/HexUpstream.md b/bindings/python/src/docs/HexUpstream.md index 87e1cbfd..b5b77515 100644 --- a/bindings/python/src/docs/HexUpstream.md +++ b/bindings/python/src/docs/HexUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/HuggingfacePackageUpload.md b/bindings/python/src/docs/HuggingfacePackageUpload.md index a9eaa766..af98667b 100644 --- a/bindings/python/src/docs/HuggingfacePackageUpload.md +++ b/bindings/python/src/docs/HuggingfacePackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/HuggingfaceUpstream.md b/bindings/python/src/docs/HuggingfaceUpstream.md index c206fd75..e8035bdf 100644 --- a/bindings/python/src/docs/HuggingfaceUpstream.md +++ b/bindings/python/src/docs/HuggingfaceUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/LuarocksPackageUpload.md b/bindings/python/src/docs/LuarocksPackageUpload.md index 0f1723f5..7d5ba939 100644 --- a/bindings/python/src/docs/LuarocksPackageUpload.md +++ b/bindings/python/src/docs/LuarocksPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/MavenPackageUpload.md b/bindings/python/src/docs/MavenPackageUpload.md index 973abf48..03e3b82d 100644 --- a/bindings/python/src/docs/MavenPackageUpload.md +++ b/bindings/python/src/docs/MavenPackageUpload.md @@ -53,6 +53,7 @@ Name | Type | Description | Notes **package_type** | **int** | The type of package contents. | [optional] **packaging** | **str** | Artifact's Maven packaging type. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -68,6 +69,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/MavenUpstream.md b/bindings/python/src/docs/MavenUpstream.md index 25a0222d..a5c1d3fa 100644 --- a/bindings/python/src/docs/MavenUpstream.md +++ b/bindings/python/src/docs/MavenUpstream.md @@ -6,16 +6,24 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**gpg_key_fingerprint_short** | **str** | | [optional] **gpg_key_inline** | **str** | A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_key_url** | **str** | When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_verification** | **str** | The GPG signature verification mode for this upstream. | [optional] [default to 'Allow All'] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/NpmPackageUpload.md b/bindings/python/src/docs/NpmPackageUpload.md index 1d8c0444..f8378734 100644 --- a/bindings/python/src/docs/NpmPackageUpload.md +++ b/bindings/python/src/docs/NpmPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/NpmUpstream.md b/bindings/python/src/docs/NpmUpstream.md index 08d5fa68..160848da 100644 --- a/bindings/python/src/docs/NpmUpstream.md +++ b/bindings/python/src/docs/NpmUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/NugetPackageUpload.md b/bindings/python/src/docs/NugetPackageUpload.md index 8beb2050..9c61303d 100644 --- a/bindings/python/src/docs/NugetPackageUpload.md +++ b/bindings/python/src/docs/NugetPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/NugetUpstream.md b/bindings/python/src/docs/NugetUpstream.md index 7a43942d..1f7d864e 100644 --- a/bindings/python/src/docs/NugetUpstream.md +++ b/bindings/python/src/docs/NugetUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/OrganizationTeam.md b/bindings/python/src/docs/OrganizationTeam.md index 2665909e..16a5c054 100644 --- a/bindings/python/src/docs/OrganizationTeam.md +++ b/bindings/python/src/docs/OrganizationTeam.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **str** | | [optional] -**name** | **str** | | +**name** | **str** | A descriptive name for the team. | **slug** | **str** | | [optional] **slug_perm** | **str** | | [optional] **visibility** | **str** | | [optional] [default to 'Visible'] diff --git a/bindings/python/src/docs/OrganizationTeamRequest.md b/bindings/python/src/docs/OrganizationTeamRequest.md index 70e843c7..eece20db 100644 --- a/bindings/python/src/docs/OrganizationTeamRequest.md +++ b/bindings/python/src/docs/OrganizationTeamRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **str** | | [optional] -**name** | **str** | | +**name** | **str** | A descriptive name for the team. | **slug** | **str** | | [optional] **visibility** | **str** | | [optional] [default to 'Visible'] diff --git a/bindings/python/src/docs/OrganizationTeamRequestPatch.md b/bindings/python/src/docs/OrganizationTeamRequestPatch.md index ce072b62..5d03ec78 100644 --- a/bindings/python/src/docs/OrganizationTeamRequestPatch.md +++ b/bindings/python/src/docs/OrganizationTeamRequestPatch.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **str** | | [optional] -**name** | **str** | | [optional] +**name** | **str** | A descriptive name for the team. | [optional] **slug** | **str** | | [optional] **visibility** | **str** | | [optional] [default to 'Visible'] diff --git a/bindings/python/src/docs/P2PackageUpload.md b/bindings/python/src/docs/P2PackageUpload.md index c6cef00e..9e42ac95 100644 --- a/bindings/python/src/docs/P2PackageUpload.md +++ b/bindings/python/src/docs/P2PackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/Package.md b/bindings/python/src/docs/Package.md index cf03a26b..5f048322 100644 --- a/bindings/python/src/docs/Package.md +++ b/bindings/python/src/docs/Package.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/PackageCopy.md b/bindings/python/src/docs/PackageCopy.md index 224eb28c..4e4a9350 100644 --- a/bindings/python/src/docs/PackageCopy.md +++ b/bindings/python/src/docs/PackageCopy.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | The repository the package will be copied to. | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/PackageMove.md b/bindings/python/src/docs/PackageMove.md index 8e1e064e..129e6232 100644 --- a/bindings/python/src/docs/PackageMove.md +++ b/bindings/python/src/docs/PackageMove.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | The repository the package will be moved to. | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/PackageQuarantine.md b/bindings/python/src/docs/PackageQuarantine.md index 3e030575..23131296 100644 --- a/bindings/python/src/docs/PackageQuarantine.md +++ b/bindings/python/src/docs/PackageQuarantine.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] **security_scan_completed_at** | **datetime** | The datetime the security scanning was completed. | [optional] @@ -62,6 +63,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/PackageResync.md b/bindings/python/src/docs/PackageResync.md index 21a34775..1664460e 100644 --- a/bindings/python/src/docs/PackageResync.md +++ b/bindings/python/src/docs/PackageResync.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/PackageTag.md b/bindings/python/src/docs/PackageTag.md index 1567cf7d..24d508dd 100644 --- a/bindings/python/src/docs/PackageTag.md +++ b/bindings/python/src/docs/PackageTag.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/PythonPackageUpload.md b/bindings/python/src/docs/PythonPackageUpload.md index 20ac7343..0565a684 100644 --- a/bindings/python/src/docs/PythonPackageUpload.md +++ b/bindings/python/src/docs/PythonPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/PythonUpstream.md b/bindings/python/src/docs/PythonUpstream.md index c8bca274..2a047b4c 100644 --- a/bindings/python/src/docs/PythonUpstream.md +++ b/bindings/python/src/docs/PythonUpstream.md @@ -6,18 +6,26 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] **priority** | **int** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] **slug_perm** | **str** | | [optional] +**trust_level** | **str** | Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. | [optional] [default to 'Trusted'] **updated_at** | **datetime** | | [optional] **upstream_url** | **str** | 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. | **verify_ssl** | **bool** | 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] diff --git a/bindings/python/src/docs/PythonUpstreamRequest.md b/bindings/python/src/docs/PythonUpstreamRequest.md index bc1cc524..10108d42 100644 --- a/bindings/python/src/docs/PythonUpstreamRequest.md +++ b/bindings/python/src/docs/PythonUpstreamRequest.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | 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** | **int** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**trust_level** | **str** | Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. | [optional] [default to 'Trusted'] **upstream_url** | **str** | 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. | **verify_ssl** | **bool** | 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] diff --git a/bindings/python/src/docs/PythonUpstreamRequestPatch.md b/bindings/python/src/docs/PythonUpstreamRequestPatch.md index 93989853..a4339e48 100644 --- a/bindings/python/src/docs/PythonUpstreamRequestPatch.md +++ b/bindings/python/src/docs/PythonUpstreamRequestPatch.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | 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** | **int** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**trust_level** | **str** | Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. | [optional] [default to 'Trusted'] **upstream_url** | **str** | 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] **verify_ssl** | **bool** | 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] diff --git a/bindings/python/src/docs/RawPackageUpload.md b/bindings/python/src/docs/RawPackageUpload.md index 40156255..bc45b676 100644 --- a/bindings/python/src/docs/RawPackageUpload.md +++ b/bindings/python/src/docs/RawPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/Repository.md b/bindings/python/src/docs/Repository.md index 5df851ee..9341beb8 100644 --- a/bindings/python/src/docs/Repository.md +++ b/bindings/python/src/docs/Repository.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcast_state** | **str** | Broadcasting status of a repository. | [optional] [default to 'Off'] **cdn_url** | **str** | Base URL from which packages and other artifacts are downloaded. | [optional] **content_kind** | **str** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to 'Standard'] **contextual_auth_realm** | **bool** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] @@ -19,6 +20,7 @@ Name | Type | Description | Notes **docker_refresh_tokens_enabled** | **bool** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **ecdsa_keys** | [**list[RepositoryEcdsaKey]**](RepositoryEcdsaKey.md) | | [optional] **enforce_eula** | **bool** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**generic_package_index_enabled** | **bool** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **gpg_keys** | [**list[RepositoryGpgKey]**](RepositoryGpgKey.md) | | [optional] **index_files** | **bool** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **is_open_source** | **bool** | | [optional] @@ -37,6 +39,7 @@ Name | Type | Description | Notes **open_source_license** | **str** | The SPDX identifier of the open source license. | [optional] **open_source_project_url** | **str** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional] **package_count** | **int** | The number of packages in the repository. | [optional] +**package_count_excl_subcomponents** | **int** | The number of packages in the repository excluding subcomponents. | [optional] **package_group_count** | **int** | The number of groups in the repository. | [optional] **proxy_npmjs** | **bool** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **proxy_pypi** | **bool** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional] diff --git a/bindings/python/src/docs/RepositoryCreate.md b/bindings/python/src/docs/RepositoryCreate.md index 266dbac3..6f34a84c 100644 --- a/bindings/python/src/docs/RepositoryCreate.md +++ b/bindings/python/src/docs/RepositoryCreate.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcast_state** | **str** | Broadcasting status of a repository. | [optional] [default to 'Off'] **cdn_url** | **str** | Base URL from which packages and other artifacts are downloaded. | [optional] **content_kind** | **str** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to 'Standard'] **contextual_auth_realm** | **bool** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] @@ -19,6 +20,7 @@ Name | Type | Description | Notes **docker_refresh_tokens_enabled** | **bool** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **ecdsa_keys** | [**list[RepositoryEcdsaKey]**](RepositoryEcdsaKey.md) | | [optional] **enforce_eula** | **bool** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**generic_package_index_enabled** | **bool** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **gpg_keys** | [**list[RepositoryGpgKey]**](RepositoryGpgKey.md) | | [optional] **index_files** | **bool** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **is_open_source** | **bool** | | [optional] @@ -37,6 +39,7 @@ Name | Type | Description | Notes **open_source_license** | **str** | The SPDX identifier of the open source license. | [optional] **open_source_project_url** | **str** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional] **package_count** | **int** | The number of packages in the repository. | [optional] +**package_count_excl_subcomponents** | **int** | The number of packages in the repository excluding subcomponents. | [optional] **package_group_count** | **int** | The number of groups in the repository. | [optional] **proxy_npmjs** | **bool** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **proxy_pypi** | **bool** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional] diff --git a/bindings/python/src/docs/RepositoryCreateRequest.md b/bindings/python/src/docs/RepositoryCreateRequest.md index 81cbaf07..80ef173b 100644 --- a/bindings/python/src/docs/RepositoryCreateRequest.md +++ b/bindings/python/src/docs/RepositoryCreateRequest.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcast_state** | **str** | Broadcasting status of a repository. | [optional] [default to 'Off'] **content_kind** | **str** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to 'Standard'] **contextual_auth_realm** | **bool** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] **copy_own** | **bool** | If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] @@ -15,6 +16,7 @@ Name | Type | Description | Notes **distributes** | **list[str]** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **docker_refresh_tokens_enabled** | **bool** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **enforce_eula** | **bool** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**generic_package_index_enabled** | **bool** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **index_files** | **bool** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **manage_entitlements_privilege** | **str** | This defines the minimum level of privilege required for a user to manage entitlement tokens with private repositories. Management is the ability to create, alter, enable, disable or delete all tokens without a repository. | [optional] [default to 'Admin'] **move_own** | **bool** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] diff --git a/bindings/python/src/docs/RepositoryRequestPatch.md b/bindings/python/src/docs/RepositoryRequestPatch.md index 6f094628..bc1af981 100644 --- a/bindings/python/src/docs/RepositoryRequestPatch.md +++ b/bindings/python/src/docs/RepositoryRequestPatch.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcast_state** | **str** | Broadcasting status of a repository. | [optional] [default to 'Off'] **content_kind** | **str** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to 'Standard'] **contextual_auth_realm** | **bool** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] **copy_own** | **bool** | If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] @@ -15,6 +16,7 @@ Name | Type | Description | Notes **distributes** | **list[str]** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **docker_refresh_tokens_enabled** | **bool** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **enforce_eula** | **bool** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**generic_package_index_enabled** | **bool** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **index_files** | **bool** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **manage_entitlements_privilege** | **str** | This defines the minimum level of privilege required for a user to manage entitlement tokens with private repositories. Management is the ability to create, alter, enable, disable or delete all tokens without a repository. | [optional] [default to 'Admin'] **move_own** | **bool** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] diff --git a/bindings/python/src/docs/RepositoryToken.md b/bindings/python/src/docs/RepositoryToken.md index 0ea28354..e2c0617d 100644 --- a/bindings/python/src/docs/RepositoryToken.md +++ b/bindings/python/src/docs/RepositoryToken.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**access_private_broadcasts** | **bool** | If enabled, this token can be used for private broadcasts | [optional] **clients** | **int** | | [optional] **created_at** | **datetime** | The datetime the token was updated at. | [optional] **created_by** | **str** | | [optional] diff --git a/bindings/python/src/docs/RepositoryTokenRefresh.md b/bindings/python/src/docs/RepositoryTokenRefresh.md index 6ef8515d..e984c967 100644 --- a/bindings/python/src/docs/RepositoryTokenRefresh.md +++ b/bindings/python/src/docs/RepositoryTokenRefresh.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**access_private_broadcasts** | **bool** | If enabled, this token can be used for private broadcasts | [optional] **clients** | **int** | | [optional] **created_at** | **datetime** | The datetime the token was updated at. | [optional] **created_by** | **str** | | [optional] diff --git a/bindings/python/src/docs/RepositoryTokenRefreshRequest.md b/bindings/python/src/docs/RepositoryTokenRefreshRequest.md index bbd581c5..af47d4e9 100644 --- a/bindings/python/src/docs/RepositoryTokenRefreshRequest.md +++ b/bindings/python/src/docs/RepositoryTokenRefreshRequest.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**access_private_broadcasts** | **bool** | If enabled, this token can be used for private broadcasts | [optional] **eula_required** | **bool** | If checked, a EULA acceptance is required for this token. | [optional] **is_active** | **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] **limit_bandwidth** | **int** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] diff --git a/bindings/python/src/docs/RepositoryTokenRequest.md b/bindings/python/src/docs/RepositoryTokenRequest.md index 3af1d577..5383cb46 100644 --- a/bindings/python/src/docs/RepositoryTokenRequest.md +++ b/bindings/python/src/docs/RepositoryTokenRequest.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**access_private_broadcasts** | **bool** | If enabled, this token can be used for private broadcasts | [optional] **eula_required** | **bool** | If checked, a EULA acceptance is required for this token. | [optional] **is_active** | **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] **limit_bandwidth** | **int** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] diff --git a/bindings/python/src/docs/RepositoryTokenRequestPatch.md b/bindings/python/src/docs/RepositoryTokenRequestPatch.md index f5dcbefa..345cc5ae 100644 --- a/bindings/python/src/docs/RepositoryTokenRequestPatch.md +++ b/bindings/python/src/docs/RepositoryTokenRequestPatch.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**access_private_broadcasts** | **bool** | If enabled, this token can be used for private broadcasts | [optional] **eula_required** | **bool** | If checked, a EULA acceptance is required for this token. | [optional] **is_active** | **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] **limit_bandwidth** | **int** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] diff --git a/bindings/python/src/docs/RpmPackageUpload.md b/bindings/python/src/docs/RpmPackageUpload.md index 5c57989a..123c522b 100644 --- a/bindings/python/src/docs/RpmPackageUpload.md +++ b/bindings/python/src/docs/RpmPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/RpmUpstream.md b/bindings/python/src/docs/RpmUpstream.md index 3b32c729..25995efa 100644 --- a/bindings/python/src/docs/RpmUpstream.md +++ b/bindings/python/src/docs/RpmUpstream.md @@ -6,18 +6,26 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **distro_version** | **str** | The distribution version that packages found on this upstream will be associated with. | **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**gpg_key_fingerprint_short** | **str** | | [optional] **gpg_key_inline** | **str** | A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_key_url** | **str** | When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_verification** | **str** | The GPG signature verification mode for this upstream. | [optional] [default to 'Allow All'] +**has_failed_signature_verification** | **str** | | [optional] **include_sources** | **bool** | When checked, source packages will be available from this upstream. | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/RubyPackageUpload.md b/bindings/python/src/docs/RubyPackageUpload.md index 2c25ff59..5360505f 100644 --- a/bindings/python/src/docs/RubyPackageUpload.md +++ b/bindings/python/src/docs/RubyPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/RubyUpstream.md b/bindings/python/src/docs/RubyUpstream.md index fed5e36b..63711f67 100644 --- a/bindings/python/src/docs/RubyUpstream.md +++ b/bindings/python/src/docs/RubyUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/StatusBasic.md b/bindings/python/src/docs/StatusBasic.md index 4636fc4d..136e8d26 100644 --- a/bindings/python/src/docs/StatusBasic.md +++ b/bindings/python/src/docs/StatusBasic.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **detail** | **str** | The message describing the state of the API. | [optional] [default to 'Cloudsmith API is operational.'] -**version** | **str** | The current version for the Cloudsmith service. | [optional] [default to '1.812.0'] +**version** | **str** | The current version for the Cloudsmith service. | [optional] [default to '1.0'] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/bindings/python/src/docs/SwiftPackageUpload.md b/bindings/python/src/docs/SwiftPackageUpload.md index 1cc7c7c6..7e23b94e 100644 --- a/bindings/python/src/docs/SwiftPackageUpload.md +++ b/bindings/python/src/docs/SwiftPackageUpload.md @@ -53,6 +53,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **readme_url** | **str** | The URL of the readme for the package. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] @@ -68,6 +69,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/SwiftUpstream.md b/bindings/python/src/docs/SwiftUpstream.md index f961c6fc..d95c1179 100644 --- a/bindings/python/src/docs/SwiftUpstream.md +++ b/bindings/python/src/docs/SwiftUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **str** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **str** | Secret to provide with requests to upstream. | [optional] **auth_username** | **str** | Username to provide with requests to upstream. | [optional] +**available** | **str** | | [optional] +**can_reindex** | **str** | | [optional] **created_at** | **datetime** | The datetime the upstream source was created. | [optional] **disable_reason** | **str** | | [optional] [default to 'N/A'] +**disable_reason_text** | **str** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **str** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **str** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **str** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **str** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **str** | | [optional] +**index_package_count** | **str** | The number of packages available in this upstream source | [optional] +**index_status** | **str** | The current indexing status of this upstream source | [optional] **is_active** | **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **str** | The last time this upstream source was indexed | [optional] **mode** | **str** | 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] [default to 'Proxy Only'] **name** | **str** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | **pending_validation** | **bool** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/python/src/docs/TerraformPackageUpload.md b/bindings/python/src/docs/TerraformPackageUpload.md index 9bb8a8a7..fa650c61 100644 --- a/bindings/python/src/docs/TerraformPackageUpload.md +++ b/bindings/python/src/docs/TerraformPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **str** | | [optional] **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/docs/VagrantPackageUpload.md b/bindings/python/src/docs/VagrantPackageUpload.md index 18d18763..fe4cc659 100644 --- a/bindings/python/src/docs/VagrantPackageUpload.md +++ b/bindings/python/src/docs/VagrantPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **package_type** | **int** | The type of package contents. | [optional] **policy_violated** | **bool** | Whether or not the package has violated any policy. | [optional] **provider** | **str** | The virtual machine provider for the box. | +**raw_license** | **str** | The raw license string. | [optional] **release** | **str** | The release of the package version (if any). | [optional] **repository** | **str** | | [optional] **repository_url** | **str** | | [optional] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **size** | **int** | The calculated size of the package. | [optional] **slug** | **str** | The public unique identifier for the package. | [optional] **slug_perm** | **str** | | [optional] +**spdx_license** | **str** | The SPDX license identifier for this package. | [optional] **stage** | **int** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **str** | | [optional] **stage_updated_at** | **datetime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/python/src/setup.py b/bindings/python/src/setup.py index 8625b2bf..f1574ea6 100644 --- a/bindings/python/src/setup.py +++ b/bindings/python/src/setup.py @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "cloudsmith_api" -VERSION = "2.0.22" +VERSION = "2.0.23" # To install the library, run the following # # python setup.py install diff --git a/bindings/python/src/test/test_broadcast_token.py b/bindings/python/src/test/test_broadcast_token.py new file mode 100644 index 00000000..80674d54 --- /dev/null +++ b/bindings/python/src/test/test_broadcast_token.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Cloudsmith API (v1) + + The API to the Cloudsmith Service # noqa: E501 + + OpenAPI spec version: v1 + Contact: support@cloudsmith.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import cloudsmith_api +from cloudsmith_api.models.broadcast_token import BroadcastToken # noqa: E501 +from cloudsmith_api.rest import ApiException + + +class TestBroadcastToken(unittest.TestCase): + """BroadcastToken unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBroadcastToken(self): + """Test BroadcastToken""" + # FIXME: construct object with mandatory attributes with example values + # model = cloudsmith_api.models.broadcast_token.BroadcastToken() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/bindings/python/src/test/test_broadcast_token_input.py b/bindings/python/src/test/test_broadcast_token_input.py new file mode 100644 index 00000000..eb60b1e2 --- /dev/null +++ b/bindings/python/src/test/test_broadcast_token_input.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Cloudsmith API (v1) + + The API to the Cloudsmith Service # noqa: E501 + + OpenAPI spec version: v1 + Contact: support@cloudsmith.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import cloudsmith_api +from cloudsmith_api.models.broadcast_token_input import BroadcastTokenInput # noqa: E501 +from cloudsmith_api.rest import ApiException + + +class TestBroadcastTokenInput(unittest.TestCase): + """BroadcastTokenInput unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBroadcastTokenInput(self): + """Test BroadcastTokenInput""" + # FIXME: construct object with mandatory attributes with example values + # model = cloudsmith_api.models.broadcast_token_input.BroadcastTokenInput() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/bindings/python/src/test/test_broadcasts_api.py b/bindings/python/src/test/test_broadcasts_api.py new file mode 100644 index 00000000..47eb2651 --- /dev/null +++ b/bindings/python/src/test/test_broadcasts_api.py @@ -0,0 +1,41 @@ +# coding: utf-8 + +""" + Cloudsmith API (v1) + + The API to the Cloudsmith Service # noqa: E501 + + OpenAPI spec version: v1 + Contact: support@cloudsmith.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import cloudsmith_api +from cloudsmith_api.api.broadcasts_api import BroadcastsApi # noqa: E501 +from cloudsmith_api.rest import ApiException + + +class TestBroadcastsApi(unittest.TestCase): + """BroadcastsApi unit test stubs""" + + def setUp(self): + self.api = cloudsmith_api.api.broadcasts_api.BroadcastsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_broadcasts_create_broadcast_token(self): + """Test case for broadcasts_create_broadcast_token + + Create a broadcast token. # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/bindings/ruby/src/.swagger-codegen/VERSION b/bindings/ruby/src/.swagger-codegen/VERSION index 24ade4ad..ba6a94ac 100644 --- a/bindings/ruby/src/.swagger-codegen/VERSION +++ b/bindings/ruby/src/.swagger-codegen/VERSION @@ -1 +1 @@ -2.4.43 \ No newline at end of file +2.4.50 \ No newline at end of file diff --git a/bindings/ruby/src/README.md b/bindings/ruby/src/README.md index f29d21ef..1a88bd2a 100644 --- a/bindings/ruby/src/README.md +++ b/bindings/ruby/src/README.md @@ -7,7 +7,7 @@ The API to the Cloudsmith Service This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: v1 -- Package version: 2.0.22 +- Package version: 2.0.23 - Build package: io.swagger.codegen.languages.RubyClientCodegen For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io) @@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec Then either install the gem locally: ```shell -gem install ./cloudsmith-api-2.0.22.gem +gem install ./cloudsmith-api-2.0.23.gem ``` -(for development, run `gem install --dev ./cloudsmith-api-2.0.22.gem` to install the development dependencies) +(for development, run `gem install --dev ./cloudsmith-api-2.0.23.gem` to install the development dependencies) or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/). Finally add this to the Gemfile: - gem 'cloudsmith-api', '~> 2.0.22' + gem 'cloudsmith-api', '~> 2.0.23' ### Install from Git @@ -96,6 +96,7 @@ Class | Method | HTTP request | Description *CloudsmithApi::AuditLogApi* | [**audit_log_namespace_list**](docs/AuditLogApi.md#audit_log_namespace_list) | **GET** /audit-log/{owner}/ | Lists audit log entries for a specific namespace. *CloudsmithApi::AuditLogApi* | [**audit_log_repo_list**](docs/AuditLogApi.md#audit_log_repo_list) | **GET** /audit-log/{owner}/{repo}/ | Lists audit log entries for a specific repository. *CloudsmithApi::BadgesApi* | [**badges_version_list**](docs/BadgesApi.md#badges_version_list) | **GET** /badges/version/{owner}/{repo}/{package_format}/{package_name}/{package_version}/{package_identifiers}/ | Get latest package version for a package or package group. +*CloudsmithApi::BroadcastsApi* | [**broadcasts_create_broadcast_token**](docs/BroadcastsApi.md#broadcasts_create_broadcast_token) | **POST** /broadcasts/{org}/broadcast-token/ | Create a broadcast token. *CloudsmithApi::DistrosApi* | [**distros_list**](docs/DistrosApi.md#distros_list) | **GET** /distros/ | Get a list of all supported distributions. *CloudsmithApi::DistrosApi* | [**distros_read**](docs/DistrosApi.md#distros_read) | **GET** /distros/{slug}/ | View for viewing/listing distributions. *CloudsmithApi::EntitlementsApi* | [**entitlements_create**](docs/EntitlementsApi.md#entitlements_create) | **POST** /entitlements/{owner}/{repo}/ | Create a specific entitlement in a repository. @@ -428,6 +429,8 @@ Class | Method | HTTP request | Description - [CloudsmithApi::AlpinePackageUpload](docs/AlpinePackageUpload.md) - [CloudsmithApi::AlpinePackageUploadRequest](docs/AlpinePackageUploadRequest.md) - [CloudsmithApi::Architecture](docs/Architecture.md) + - [CloudsmithApi::BroadcastToken](docs/BroadcastToken.md) + - [CloudsmithApi::BroadcastTokenInput](docs/BroadcastTokenInput.md) - [CloudsmithApi::CargoPackageUpload](docs/CargoPackageUpload.md) - [CloudsmithApi::CargoPackageUploadRequest](docs/CargoPackageUploadRequest.md) - [CloudsmithApi::CargoUpstream](docs/CargoUpstream.md) diff --git a/bindings/ruby/src/build.json b/bindings/ruby/src/build.json index 8fabfd45..955c00e5 100644 --- a/bindings/ruby/src/build.json +++ b/bindings/ruby/src/build.json @@ -8,7 +8,7 @@ "gemName": "cloudsmith-api", "gemRequiredRubyVersion": ">= 1.9", "gemSummary": "Cloudsmith API", - "gemVersion": "2.0.22", + "gemVersion": "2.0.23", "hideGenerationTimestamp": true, "moduleName": "CloudsmithApi", "sortParamsByRequiredFlag": true diff --git a/bindings/ruby/src/cloudsmith-api.gemspec b/bindings/ruby/src/cloudsmith-api.gemspec index 145c0f1f..e00e9f90 100644 --- a/bindings/ruby/src/cloudsmith-api.gemspec +++ b/bindings/ruby/src/cloudsmith-api.gemspec @@ -8,7 +8,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/docs/AlpinePackageUpload.md b/bindings/ruby/src/docs/AlpinePackageUpload.md index 8e47c2fb..f1b93e27 100644 --- a/bindings/ruby/src/docs/AlpinePackageUpload.md +++ b/bindings/ruby/src/docs/AlpinePackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/BroadcastToken.md b/bindings/ruby/src/docs/BroadcastToken.md new file mode 100644 index 00000000..36aa4aa3 --- /dev/null +++ b/bindings/ruby/src/docs/BroadcastToken.md @@ -0,0 +1,9 @@ +# CloudsmithApi::BroadcastToken + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**expires_at** | **DateTime** | | [optional] +**token** | **String** | | [optional] + + diff --git a/bindings/ruby/src/docs/BroadcastTokenInput.md b/bindings/ruby/src/docs/BroadcastTokenInput.md new file mode 100644 index 00000000..fecb8968 --- /dev/null +++ b/bindings/ruby/src/docs/BroadcastTokenInput.md @@ -0,0 +1,9 @@ +# CloudsmithApi::BroadcastTokenInput + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**entitlement_token** | **String** | Repository entitlement token used to authorize the creation of a broadcast token | +**expires_in** | **Integer** | Token expiry time in seconds (optional, defaults to 3600 seconds) | [optional] + + diff --git a/bindings/ruby/src/docs/BroadcastsApi.md b/bindings/ruby/src/docs/BroadcastsApi.md new file mode 100644 index 00000000..3c8797ab --- /dev/null +++ b/bindings/ruby/src/docs/BroadcastsApi.md @@ -0,0 +1,71 @@ +# CloudsmithApi::BroadcastsApi + +All URIs are relative to *https://api.cloudsmith.io* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**broadcasts_create_broadcast_token**](BroadcastsApi.md#broadcasts_create_broadcast_token) | **POST** /broadcasts/{org}/broadcast-token/ | Create a broadcast token. + + +# **broadcasts_create_broadcast_token** +> BroadcastToken broadcasts_create_broadcast_token(org, opts) + +Create a broadcast token. + +Create a broadcast token. + +### Example +```ruby +# load the gem +require 'cloudsmith-api' +# setup authorization +CloudsmithApi.configure do |config| + # Configure API key authorization: apikey + config.api_key['X-Api-Key'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['X-Api-Key'] = 'Bearer' + + # Configure HTTP basic authorization: basic + config.username = 'YOUR USERNAME' + config.password = 'YOUR PASSWORD' +end + +api_instance = CloudsmithApi::BroadcastsApi.new + +org = 'org_example' # String | + +opts = { + data: CloudsmithApi::BroadcastTokenInput.new # BroadcastTokenInput | +} + +begin + #Create a broadcast token. + result = api_instance.broadcasts_create_broadcast_token(org, opts) + p result +rescue CloudsmithApi::ApiError => e + puts "Exception when calling BroadcastsApi->broadcasts_create_broadcast_token: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **org** | **String**| | + **data** | [**BroadcastTokenInput**](BroadcastTokenInput.md)| | [optional] + +### Return type + +[**BroadcastToken**](BroadcastToken.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + + diff --git a/bindings/ruby/src/docs/CargoPackageUpload.md b/bindings/ruby/src/docs/CargoPackageUpload.md index 985033df..d66dddec 100644 --- a/bindings/ruby/src/docs/CargoPackageUpload.md +++ b/bindings/ruby/src/docs/CargoPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/CargoUpstream.md b/bindings/ruby/src/docs/CargoUpstream.md index 68fed446..5d4c1730 100644 --- a/bindings/ruby/src/docs/CargoUpstream.md +++ b/bindings/ruby/src/docs/CargoUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/CocoapodsPackageUpload.md b/bindings/ruby/src/docs/CocoapodsPackageUpload.md index 790dd372..a7c60f6f 100644 --- a/bindings/ruby/src/docs/CocoapodsPackageUpload.md +++ b/bindings/ruby/src/docs/CocoapodsPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/ComposerPackageUpload.md b/bindings/ruby/src/docs/ComposerPackageUpload.md index 0050d90b..c9f8fea1 100644 --- a/bindings/ruby/src/docs/ComposerPackageUpload.md +++ b/bindings/ruby/src/docs/ComposerPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/ComposerUpstream.md b/bindings/ruby/src/docs/ComposerUpstream.md index 1925e234..dbe6365c 100644 --- a/bindings/ruby/src/docs/ComposerUpstream.md +++ b/bindings/ruby/src/docs/ComposerUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/ConanPackageUpload.md b/bindings/ruby/src/docs/ConanPackageUpload.md index 6d3d112e..71c2cd4b 100644 --- a/bindings/ruby/src/docs/ConanPackageUpload.md +++ b/bindings/ruby/src/docs/ConanPackageUpload.md @@ -52,6 +52,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -65,6 +66,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/CondaPackageUpload.md b/bindings/ruby/src/docs/CondaPackageUpload.md index eae6a1b5..220eb113 100644 --- a/bindings/ruby/src/docs/CondaPackageUpload.md +++ b/bindings/ruby/src/docs/CondaPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/CondaUpstream.md b/bindings/ruby/src/docs/CondaUpstream.md index 71eeb2b1..85c0c8ce 100644 --- a/bindings/ruby/src/docs/CondaUpstream.md +++ b/bindings/ruby/src/docs/CondaUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/CranPackageUpload.md b/bindings/ruby/src/docs/CranPackageUpload.md index be7f93c4..dec3508e 100644 --- a/bindings/ruby/src/docs/CranPackageUpload.md +++ b/bindings/ruby/src/docs/CranPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] **r_version** | **String** | Binary package uploads should specify the version of R they were built for. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/CranUpstream.md b/bindings/ruby/src/docs/CranUpstream.md index d850e543..8f98b189 100644 --- a/bindings/ruby/src/docs/CranUpstream.md +++ b/bindings/ruby/src/docs/CranUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/DartPackageUpload.md b/bindings/ruby/src/docs/DartPackageUpload.md index c55a044a..d4e65d12 100644 --- a/bindings/ruby/src/docs/DartPackageUpload.md +++ b/bindings/ruby/src/docs/DartPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/DartUpstream.md b/bindings/ruby/src/docs/DartUpstream.md index 6d00e46f..b511bcfd 100644 --- a/bindings/ruby/src/docs/DartUpstream.md +++ b/bindings/ruby/src/docs/DartUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/DebPackageUpload.md b/bindings/ruby/src/docs/DebPackageUpload.md index 6d2395dd..1ed875c1 100644 --- a/bindings/ruby/src/docs/DebPackageUpload.md +++ b/bindings/ruby/src/docs/DebPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/DebUpstream.md b/bindings/ruby/src/docs/DebUpstream.md index c8d283bb..362a51eb 100644 --- a/bindings/ruby/src/docs/DebUpstream.md +++ b/bindings/ruby/src/docs/DebUpstream.md @@ -6,19 +6,27 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **component** | **String** | The component to fetch from the upstream | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **distro_versions** | **Array<String>** | The distribution version that packages found on this upstream could be associated with. | **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**gpg_key_fingerprint_short** | **String** | | [optional] **gpg_key_inline** | **String** | A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_key_url** | **String** | When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_verification** | **String** | The GPG signature verification mode for this upstream. | [optional] [default to 'Allow All'] +**has_failed_signature_verification** | **String** | | [optional] **include_sources** | **BOOLEAN** | When true, source packages will be available from this upstream. | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/DockerPackageUpload.md b/bindings/ruby/src/docs/DockerPackageUpload.md index bbc2e401..799bed9c 100644 --- a/bindings/ruby/src/docs/DockerPackageUpload.md +++ b/bindings/ruby/src/docs/DockerPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/DockerUpstream.md b/bindings/ruby/src/docs/DockerUpstream.md index 0fdb0611..01c02f3b 100644 --- a/bindings/ruby/src/docs/DockerUpstream.md +++ b/bindings/ruby/src/docs/DockerUpstream.md @@ -6,12 +6,15 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | diff --git a/bindings/ruby/src/docs/GoPackageUpload.md b/bindings/ruby/src/docs/GoPackageUpload.md index f9418fc6..22f501e5 100644 --- a/bindings/ruby/src/docs/GoPackageUpload.md +++ b/bindings/ruby/src/docs/GoPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/GoUpstream.md b/bindings/ruby/src/docs/GoUpstream.md index 196ea603..bc137033 100644 --- a/bindings/ruby/src/docs/GoUpstream.md +++ b/bindings/ruby/src/docs/GoUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/HelmPackageUpload.md b/bindings/ruby/src/docs/HelmPackageUpload.md index eaa6d07a..0faa93e1 100644 --- a/bindings/ruby/src/docs/HelmPackageUpload.md +++ b/bindings/ruby/src/docs/HelmPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/HelmUpstream.md b/bindings/ruby/src/docs/HelmUpstream.md index 0dc973c5..6b8e2231 100644 --- a/bindings/ruby/src/docs/HelmUpstream.md +++ b/bindings/ruby/src/docs/HelmUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/HexPackageUpload.md b/bindings/ruby/src/docs/HexPackageUpload.md index 7c9919c5..f9af96a7 100644 --- a/bindings/ruby/src/docs/HexPackageUpload.md +++ b/bindings/ruby/src/docs/HexPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/HexUpstream.md b/bindings/ruby/src/docs/HexUpstream.md index 87b314a4..192df93d 100644 --- a/bindings/ruby/src/docs/HexUpstream.md +++ b/bindings/ruby/src/docs/HexUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/HuggingfacePackageUpload.md b/bindings/ruby/src/docs/HuggingfacePackageUpload.md index ec88838f..ff44be70 100644 --- a/bindings/ruby/src/docs/HuggingfacePackageUpload.md +++ b/bindings/ruby/src/docs/HuggingfacePackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/HuggingfaceUpstream.md b/bindings/ruby/src/docs/HuggingfaceUpstream.md index ba62327d..8beb317c 100644 --- a/bindings/ruby/src/docs/HuggingfaceUpstream.md +++ b/bindings/ruby/src/docs/HuggingfaceUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/LuarocksPackageUpload.md b/bindings/ruby/src/docs/LuarocksPackageUpload.md index bfc9fac8..23f97333 100644 --- a/bindings/ruby/src/docs/LuarocksPackageUpload.md +++ b/bindings/ruby/src/docs/LuarocksPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/MavenPackageUpload.md b/bindings/ruby/src/docs/MavenPackageUpload.md index ccc77e70..0eb3da42 100644 --- a/bindings/ruby/src/docs/MavenPackageUpload.md +++ b/bindings/ruby/src/docs/MavenPackageUpload.md @@ -53,6 +53,7 @@ Name | Type | Description | Notes **package_type** | **Integer** | The type of package contents. | [optional] **packaging** | **String** | Artifact's Maven packaging type. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -68,6 +69,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/MavenUpstream.md b/bindings/ruby/src/docs/MavenUpstream.md index 3655fdb5..dadb64ad 100644 --- a/bindings/ruby/src/docs/MavenUpstream.md +++ b/bindings/ruby/src/docs/MavenUpstream.md @@ -6,16 +6,24 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**gpg_key_fingerprint_short** | **String** | | [optional] **gpg_key_inline** | **String** | A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_key_url** | **String** | When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_verification** | **String** | The GPG signature verification mode for this upstream. | [optional] [default to 'Allow All'] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/NpmPackageUpload.md b/bindings/ruby/src/docs/NpmPackageUpload.md index 176b607f..153718e4 100644 --- a/bindings/ruby/src/docs/NpmPackageUpload.md +++ b/bindings/ruby/src/docs/NpmPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/NpmUpstream.md b/bindings/ruby/src/docs/NpmUpstream.md index 77df29b7..65491512 100644 --- a/bindings/ruby/src/docs/NpmUpstream.md +++ b/bindings/ruby/src/docs/NpmUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/NugetPackageUpload.md b/bindings/ruby/src/docs/NugetPackageUpload.md index f395f6e9..abfca097 100644 --- a/bindings/ruby/src/docs/NugetPackageUpload.md +++ b/bindings/ruby/src/docs/NugetPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/NugetUpstream.md b/bindings/ruby/src/docs/NugetUpstream.md index fd55b68d..6de45ba7 100644 --- a/bindings/ruby/src/docs/NugetUpstream.md +++ b/bindings/ruby/src/docs/NugetUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/OrganizationTeam.md b/bindings/ruby/src/docs/OrganizationTeam.md index 19fcb90e..56c949db 100644 --- a/bindings/ruby/src/docs/OrganizationTeam.md +++ b/bindings/ruby/src/docs/OrganizationTeam.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **String** | | [optional] -**name** | **String** | | +**name** | **String** | A descriptive name for the team. | **slug** | **String** | | [optional] **slug_perm** | **String** | | [optional] **visibility** | **String** | | [optional] [default to 'Visible'] diff --git a/bindings/ruby/src/docs/OrganizationTeamRequest.md b/bindings/ruby/src/docs/OrganizationTeamRequest.md index 426d0ad2..8f7e3f1c 100644 --- a/bindings/ruby/src/docs/OrganizationTeamRequest.md +++ b/bindings/ruby/src/docs/OrganizationTeamRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **String** | | [optional] -**name** | **String** | | +**name** | **String** | A descriptive name for the team. | **slug** | **String** | | [optional] **visibility** | **String** | | [optional] [default to 'Visible'] diff --git a/bindings/ruby/src/docs/OrganizationTeamRequestPatch.md b/bindings/ruby/src/docs/OrganizationTeamRequestPatch.md index 5b8b8122..2e3cb083 100644 --- a/bindings/ruby/src/docs/OrganizationTeamRequestPatch.md +++ b/bindings/ruby/src/docs/OrganizationTeamRequestPatch.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **String** | | [optional] -**name** | **String** | | [optional] +**name** | **String** | A descriptive name for the team. | [optional] **slug** | **String** | | [optional] **visibility** | **String** | | [optional] [default to 'Visible'] diff --git a/bindings/ruby/src/docs/P2PackageUpload.md b/bindings/ruby/src/docs/P2PackageUpload.md index c5cc0466..a22c9fa2 100644 --- a/bindings/ruby/src/docs/P2PackageUpload.md +++ b/bindings/ruby/src/docs/P2PackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/Package.md b/bindings/ruby/src/docs/Package.md index 98b5a68d..1cbc4954 100644 --- a/bindings/ruby/src/docs/Package.md +++ b/bindings/ruby/src/docs/Package.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/PackageCopy.md b/bindings/ruby/src/docs/PackageCopy.md index 421d4074..6eaec515 100644 --- a/bindings/ruby/src/docs/PackageCopy.md +++ b/bindings/ruby/src/docs/PackageCopy.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | The repository the package will be copied to. | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/PackageMove.md b/bindings/ruby/src/docs/PackageMove.md index 54db102b..a264ff99 100644 --- a/bindings/ruby/src/docs/PackageMove.md +++ b/bindings/ruby/src/docs/PackageMove.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | The repository the package will be moved to. | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/PackageQuarantine.md b/bindings/ruby/src/docs/PackageQuarantine.md index 0a4ebd1e..655bb6a0 100644 --- a/bindings/ruby/src/docs/PackageQuarantine.md +++ b/bindings/ruby/src/docs/PackageQuarantine.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] **security_scan_completed_at** | **DateTime** | The datetime the security scanning was completed. | [optional] @@ -62,6 +63,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/PackageResync.md b/bindings/ruby/src/docs/PackageResync.md index cf24f442..05a6a784 100644 --- a/bindings/ruby/src/docs/PackageResync.md +++ b/bindings/ruby/src/docs/PackageResync.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/PackageTag.md b/bindings/ruby/src/docs/PackageTag.md index f65ea4b8..ebd32116 100644 --- a/bindings/ruby/src/docs/PackageTag.md +++ b/bindings/ruby/src/docs/PackageTag.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/PythonPackageUpload.md b/bindings/ruby/src/docs/PythonPackageUpload.md index 2ca08621..27369d41 100644 --- a/bindings/ruby/src/docs/PythonPackageUpload.md +++ b/bindings/ruby/src/docs/PythonPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/PythonUpstream.md b/bindings/ruby/src/docs/PythonUpstream.md index 87e122b5..b400b9a6 100644 --- a/bindings/ruby/src/docs/PythonUpstream.md +++ b/bindings/ruby/src/docs/PythonUpstream.md @@ -6,18 +6,26 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] **slug_perm** | **String** | | [optional] +**trust_level** | **String** | Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. | [optional] [default to 'Trusted'] **updated_at** | **DateTime** | | [optional] **upstream_url** | **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. | **verify_ssl** | **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] diff --git a/bindings/ruby/src/docs/PythonUpstreamRequest.md b/bindings/ruby/src/docs/PythonUpstreamRequest.md index 06c91f02..fe9ef82f 100644 --- a/bindings/ruby/src/docs/PythonUpstreamRequest.md +++ b/bindings/ruby/src/docs/PythonUpstreamRequest.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **mode** | **String** | 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] [default to 'Proxy Only'] **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** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**trust_level** | **String** | Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. | [optional] [default to 'Trusted'] **upstream_url** | **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. | **verify_ssl** | **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] diff --git a/bindings/ruby/src/docs/PythonUpstreamRequestPatch.md b/bindings/ruby/src/docs/PythonUpstreamRequestPatch.md index 1e068509..3d3b69ba 100644 --- a/bindings/ruby/src/docs/PythonUpstreamRequestPatch.md +++ b/bindings/ruby/src/docs/PythonUpstreamRequestPatch.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **mode** | **String** | 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] [default to 'Proxy Only'] **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** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**trust_level** | **String** | Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. | [optional] [default to 'Trusted'] **upstream_url** | **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] **verify_ssl** | **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] diff --git a/bindings/ruby/src/docs/RawPackageUpload.md b/bindings/ruby/src/docs/RawPackageUpload.md index ab87bee3..49af0762 100644 --- a/bindings/ruby/src/docs/RawPackageUpload.md +++ b/bindings/ruby/src/docs/RawPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/Repository.md b/bindings/ruby/src/docs/Repository.md index caca9df8..605c1dff 100644 --- a/bindings/ruby/src/docs/Repository.md +++ b/bindings/ruby/src/docs/Repository.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcast_state** | **String** | Broadcasting status of a repository. | [optional] [default to 'Off'] **cdn_url** | **String** | Base URL from which packages and other artifacts are downloaded. | [optional] **content_kind** | **String** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to 'Standard'] **contextual_auth_realm** | **BOOLEAN** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] @@ -19,6 +20,7 @@ Name | Type | Description | Notes **docker_refresh_tokens_enabled** | **BOOLEAN** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **ecdsa_keys** | [**Array<RepositoryEcdsaKey>**](RepositoryEcdsaKey.md) | | [optional] **enforce_eula** | **BOOLEAN** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**generic_package_index_enabled** | **BOOLEAN** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **gpg_keys** | [**Array<RepositoryGpgKey>**](RepositoryGpgKey.md) | | [optional] **index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **is_open_source** | **BOOLEAN** | | [optional] @@ -37,6 +39,7 @@ Name | Type | Description | Notes **open_source_license** | **String** | The SPDX identifier of the open source license. | [optional] **open_source_project_url** | **String** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional] **package_count** | **Integer** | The number of packages in the repository. | [optional] +**package_count_excl_subcomponents** | **Integer** | The number of packages in the repository excluding subcomponents. | [optional] **package_group_count** | **Integer** | The number of groups in the repository. | [optional] **proxy_npmjs** | **BOOLEAN** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **proxy_pypi** | **BOOLEAN** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional] diff --git a/bindings/ruby/src/docs/RepositoryCreate.md b/bindings/ruby/src/docs/RepositoryCreate.md index 04825829..c319f9bf 100644 --- a/bindings/ruby/src/docs/RepositoryCreate.md +++ b/bindings/ruby/src/docs/RepositoryCreate.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcast_state** | **String** | Broadcasting status of a repository. | [optional] [default to 'Off'] **cdn_url** | **String** | Base URL from which packages and other artifacts are downloaded. | [optional] **content_kind** | **String** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to 'Standard'] **contextual_auth_realm** | **BOOLEAN** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] @@ -19,6 +20,7 @@ Name | Type | Description | Notes **docker_refresh_tokens_enabled** | **BOOLEAN** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **ecdsa_keys** | [**Array<RepositoryEcdsaKey>**](RepositoryEcdsaKey.md) | | [optional] **enforce_eula** | **BOOLEAN** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**generic_package_index_enabled** | **BOOLEAN** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **gpg_keys** | [**Array<RepositoryGpgKey>**](RepositoryGpgKey.md) | | [optional] **index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **is_open_source** | **BOOLEAN** | | [optional] @@ -37,6 +39,7 @@ Name | Type | Description | Notes **open_source_license** | **String** | The SPDX identifier of the open source license. | [optional] **open_source_project_url** | **String** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional] **package_count** | **Integer** | The number of packages in the repository. | [optional] +**package_count_excl_subcomponents** | **Integer** | The number of packages in the repository excluding subcomponents. | [optional] **package_group_count** | **Integer** | The number of groups in the repository. | [optional] **proxy_npmjs** | **BOOLEAN** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **proxy_pypi** | **BOOLEAN** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional] diff --git a/bindings/ruby/src/docs/RepositoryCreateRequest.md b/bindings/ruby/src/docs/RepositoryCreateRequest.md index ff8b5bd8..6ffa0673 100644 --- a/bindings/ruby/src/docs/RepositoryCreateRequest.md +++ b/bindings/ruby/src/docs/RepositoryCreateRequest.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcast_state** | **String** | Broadcasting status of a repository. | [optional] [default to 'Off'] **content_kind** | **String** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to 'Standard'] **contextual_auth_realm** | **BOOLEAN** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] **copy_own** | **BOOLEAN** | If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] @@ -15,6 +16,7 @@ Name | Type | Description | Notes **distributes** | **Array<String>** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **docker_refresh_tokens_enabled** | **BOOLEAN** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **enforce_eula** | **BOOLEAN** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**generic_package_index_enabled** | **BOOLEAN** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **manage_entitlements_privilege** | **String** | This defines the minimum level of privilege required for a user to manage entitlement tokens with private repositories. Management is the ability to create, alter, enable, disable or delete all tokens without a repository. | [optional] [default to 'Admin'] **move_own** | **BOOLEAN** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] diff --git a/bindings/ruby/src/docs/RepositoryRequestPatch.md b/bindings/ruby/src/docs/RepositoryRequestPatch.md index d8ca4a2c..602bb316 100644 --- a/bindings/ruby/src/docs/RepositoryRequestPatch.md +++ b/bindings/ruby/src/docs/RepositoryRequestPatch.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**broadcast_state** | **String** | Broadcasting status of a repository. | [optional] [default to 'Off'] **content_kind** | **String** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to 'Standard'] **contextual_auth_realm** | **BOOLEAN** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] **copy_own** | **BOOLEAN** | If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] @@ -15,6 +16,7 @@ Name | Type | Description | Notes **distributes** | **Array<String>** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **docker_refresh_tokens_enabled** | **BOOLEAN** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **enforce_eula** | **BOOLEAN** | If checked, downloads will explicitly require acceptance of an EULA. | [optional] +**generic_package_index_enabled** | **BOOLEAN** | If checked, HTML indexes will be generated that list all available generic packages in the repository. | [optional] **index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **manage_entitlements_privilege** | **String** | This defines the minimum level of privilege required for a user to manage entitlement tokens with private repositories. Management is the ability to create, alter, enable, disable or delete all tokens without a repository. | [optional] [default to 'Admin'] **move_own** | **BOOLEAN** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] diff --git a/bindings/ruby/src/docs/RepositoryToken.md b/bindings/ruby/src/docs/RepositoryToken.md index 958d45e0..09ae9253 100644 --- a/bindings/ruby/src/docs/RepositoryToken.md +++ b/bindings/ruby/src/docs/RepositoryToken.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**access_private_broadcasts** | **BOOLEAN** | If enabled, this token can be used for private broadcasts | [optional] **clients** | **Integer** | | [optional] **created_at** | **DateTime** | The datetime the token was updated at. | [optional] **created_by** | **String** | | [optional] diff --git a/bindings/ruby/src/docs/RepositoryTokenRefresh.md b/bindings/ruby/src/docs/RepositoryTokenRefresh.md index da868b99..1d60a26c 100644 --- a/bindings/ruby/src/docs/RepositoryTokenRefresh.md +++ b/bindings/ruby/src/docs/RepositoryTokenRefresh.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**access_private_broadcasts** | **BOOLEAN** | If enabled, this token can be used for private broadcasts | [optional] **clients** | **Integer** | | [optional] **created_at** | **DateTime** | The datetime the token was updated at. | [optional] **created_by** | **String** | | [optional] diff --git a/bindings/ruby/src/docs/RepositoryTokenRefreshRequest.md b/bindings/ruby/src/docs/RepositoryTokenRefreshRequest.md index f4131cc3..d48ffb24 100644 --- a/bindings/ruby/src/docs/RepositoryTokenRefreshRequest.md +++ b/bindings/ruby/src/docs/RepositoryTokenRefreshRequest.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**access_private_broadcasts** | **BOOLEAN** | If enabled, this token can be used for private broadcasts | [optional] **eula_required** | **BOOLEAN** | If checked, a EULA acceptance is required for this token. | [optional] **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] diff --git a/bindings/ruby/src/docs/RepositoryTokenRequest.md b/bindings/ruby/src/docs/RepositoryTokenRequest.md index 94ac6c76..bdc8db11 100644 --- a/bindings/ruby/src/docs/RepositoryTokenRequest.md +++ b/bindings/ruby/src/docs/RepositoryTokenRequest.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**access_private_broadcasts** | **BOOLEAN** | If enabled, this token can be used for private broadcasts | [optional] **eula_required** | **BOOLEAN** | If checked, a EULA acceptance is required for this token. | [optional] **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] diff --git a/bindings/ruby/src/docs/RepositoryTokenRequestPatch.md b/bindings/ruby/src/docs/RepositoryTokenRequestPatch.md index 83f20775..db98264a 100644 --- a/bindings/ruby/src/docs/RepositoryTokenRequestPatch.md +++ b/bindings/ruby/src/docs/RepositoryTokenRequestPatch.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**access_private_broadcasts** | **BOOLEAN** | If enabled, this token can be used for private broadcasts | [optional] **eula_required** | **BOOLEAN** | If checked, a EULA acceptance is required for this token. | [optional] **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] diff --git a/bindings/ruby/src/docs/RpmPackageUpload.md b/bindings/ruby/src/docs/RpmPackageUpload.md index 5b398976..8da57291 100644 --- a/bindings/ruby/src/docs/RpmPackageUpload.md +++ b/bindings/ruby/src/docs/RpmPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/RpmUpstream.md b/bindings/ruby/src/docs/RpmUpstream.md index 28850a03..1309db84 100644 --- a/bindings/ruby/src/docs/RpmUpstream.md +++ b/bindings/ruby/src/docs/RpmUpstream.md @@ -6,18 +6,26 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **distro_version** | **String** | The distribution version that packages found on this upstream will be associated with. | **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**gpg_key_fingerprint_short** | **String** | | [optional] **gpg_key_inline** | **String** | A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_key_url** | **String** | When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. | [optional] **gpg_verification** | **String** | The GPG signature verification mode for this upstream. | [optional] [default to 'Allow All'] +**has_failed_signature_verification** | **String** | | [optional] **include_sources** | **BOOLEAN** | When checked, source packages will be available from this upstream. | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/RubyPackageUpload.md b/bindings/ruby/src/docs/RubyPackageUpload.md index 0319427a..4068fd8f 100644 --- a/bindings/ruby/src/docs/RubyPackageUpload.md +++ b/bindings/ruby/src/docs/RubyPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/RubyUpstream.md b/bindings/ruby/src/docs/RubyUpstream.md index 786e769e..30acec0d 100644 --- a/bindings/ruby/src/docs/RubyUpstream.md +++ b/bindings/ruby/src/docs/RubyUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/StatusBasic.md b/bindings/ruby/src/docs/StatusBasic.md index e399afab..8333241c 100644 --- a/bindings/ruby/src/docs/StatusBasic.md +++ b/bindings/ruby/src/docs/StatusBasic.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **detail** | **String** | The message describing the state of the API. | [optional] [default to 'Cloudsmith API is operational.'] -**version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.812.0'] +**version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.0'] diff --git a/bindings/ruby/src/docs/SwiftPackageUpload.md b/bindings/ruby/src/docs/SwiftPackageUpload.md index 6c93fe68..d2b155db 100644 --- a/bindings/ruby/src/docs/SwiftPackageUpload.md +++ b/bindings/ruby/src/docs/SwiftPackageUpload.md @@ -53,6 +53,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **readme_url** | **String** | The URL of the readme for the package. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] @@ -68,6 +69,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/SwiftUpstream.md b/bindings/ruby/src/docs/SwiftUpstream.md index 2f2b1fb3..6535dbff 100644 --- a/bindings/ruby/src/docs/SwiftUpstream.md +++ b/bindings/ruby/src/docs/SwiftUpstream.md @@ -6,13 +6,20 @@ Name | Type | Description | Notes **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None'] **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional] **auth_username** | **String** | Username to provide with requests to upstream. | [optional] +**available** | **String** | | [optional] +**can_reindex** | **String** | | [optional] **created_at** | **DateTime** | The datetime the upstream source was created. | [optional] **disable_reason** | **String** | | [optional] [default to 'N/A'] +**disable_reason_text** | **String** | Human-readable explanation of why this upstream is disabled | [optional] **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional] **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional] **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**has_failed_signature_verification** | **String** | | [optional] +**index_package_count** | **String** | The number of packages available in this upstream source | [optional] +**index_status** | **String** | The current indexing status of this upstream source | [optional] **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional] +**last_indexed** | **String** | The last time this upstream source was indexed | [optional] **mode** | **String** | 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] [default to 'Proxy Only'] **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. | **pending_validation** | **BOOLEAN** | When true, this upstream source is pending validation. | [optional] diff --git a/bindings/ruby/src/docs/TerraformPackageUpload.md b/bindings/ruby/src/docs/TerraformPackageUpload.md index c140a2ad..8f526356 100644 --- a/bindings/ruby/src/docs/TerraformPackageUpload.md +++ b/bindings/ruby/src/docs/TerraformPackageUpload.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **origin_repository_url** | **String** | | [optional] **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -63,6 +64,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/docs/VagrantPackageUpload.md b/bindings/ruby/src/docs/VagrantPackageUpload.md index d4576101..b8e7d425 100644 --- a/bindings/ruby/src/docs/VagrantPackageUpload.md +++ b/bindings/ruby/src/docs/VagrantPackageUpload.md @@ -51,6 +51,7 @@ Name | Type | Description | Notes **package_type** | **Integer** | The type of package contents. | [optional] **policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional] **provider** | **String** | The virtual machine provider for the box. | +**raw_license** | **String** | The raw license string. | [optional] **release** | **String** | The release of the package version (if any). | [optional] **repository** | **String** | | [optional] **repository_url** | **String** | | [optional] @@ -64,6 +65,7 @@ Name | Type | Description | Notes **size** | **Integer** | The calculated size of the package. | [optional] **slug** | **String** | The public unique identifier for the package. | [optional] **slug_perm** | **String** | | [optional] +**spdx_license** | **String** | The SPDX license identifier for this package. | [optional] **stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional] **stage_str** | **String** | | [optional] **stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional] diff --git a/bindings/ruby/src/lib/cloudsmith-api.rb b/bindings/ruby/src/lib/cloudsmith-api.rb index 78eb9886..2d5e5a35 100644 --- a/bindings/ruby/src/lib/cloudsmith-api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -22,6 +22,8 @@ require 'cloudsmith-api/models/alpine_package_upload' require 'cloudsmith-api/models/alpine_package_upload_request' require 'cloudsmith-api/models/architecture' +require 'cloudsmith-api/models/broadcast_token' +require 'cloudsmith-api/models/broadcast_token_input' require 'cloudsmith-api/models/cargo_package_upload' require 'cloudsmith-api/models/cargo_package_upload_request' require 'cloudsmith-api/models/cargo_upstream' @@ -297,6 +299,7 @@ # APIs require 'cloudsmith-api/api/audit_log_api' require 'cloudsmith-api/api/badges_api' +require 'cloudsmith-api/api/broadcasts_api' require 'cloudsmith-api/api/distros_api' require 'cloudsmith-api/api/entitlements_api' require 'cloudsmith-api/api/files_api' diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/audit_log_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/audit_log_api.rb index 6bb258be..d3fef1fb 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/audit_log_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/audit_log_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/badges_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/badges_api.rb index 5886ac55..ae982731 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/badges_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/badges_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/broadcasts_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/broadcasts_api.rb new file mode 100644 index 00000000..d471e6e9 --- /dev/null +++ b/bindings/ruby/src/lib/cloudsmith-api/api/broadcasts_api.rb @@ -0,0 +1,79 @@ +=begin +#Cloudsmith API (v1) + +#The API to the Cloudsmith Service + +OpenAPI spec version: v1 +Contact: support@cloudsmith.io +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.50 + +=end + +require 'uri' + +module CloudsmithApi + class BroadcastsApi + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + # Create a broadcast token. + # Create a broadcast token. + # @param org + # @param [Hash] opts the optional parameters + # @option opts [BroadcastTokenInput] :data + # @return [BroadcastToken] + def broadcasts_create_broadcast_token(org, opts = {}) + data, _status_code, _headers = broadcasts_create_broadcast_token_with_http_info(org, opts) + data + end + + # Create a broadcast token. + # Create a broadcast token. + # @param org + # @param [Hash] opts the optional parameters + # @option opts [BroadcastTokenInput] :data + # @return [Array<(BroadcastToken, Fixnum, Hash)>] BroadcastToken data, response status code and response headers + def broadcasts_create_broadcast_token_with_http_info(org, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: BroadcastsApi.broadcasts_create_broadcast_token ...' + end + # verify the required parameter 'org' is set + if @api_client.config.client_side_validation && org.nil? + fail ArgumentError, "Missing the required parameter 'org' when calling BroadcastsApi.broadcasts_create_broadcast_token" + end + # resource path + local_var_path = '/broadcasts/{org}/broadcast-token/'.sub('{' + 'org' + '}', org.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'data']) + auth_names = ['apikey', 'basic'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'BroadcastToken') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: BroadcastsApi#broadcasts_create_broadcast_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/distros_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/distros_api.rb index ce8b1807..0db7cf88 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/distros_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/distros_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/entitlements_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/entitlements_api.rb index b875eead..4a257d73 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/entitlements_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/entitlements_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/files_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/files_api.rb index a8c9d9f2..92009986 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/files_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/files_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/formats_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/formats_api.rb index a5a58f17..e273442b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/formats_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/formats_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/metrics_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/metrics_api.rb index 377eca57..0949cca4 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/metrics_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/metrics_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/namespaces_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/namespaces_api.rb index 02d024d1..873d9c7c 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/namespaces_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/namespaces_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/orgs_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/orgs_api.rb index 572e7d6c..571e2052 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/orgs_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/orgs_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/packages_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/packages_api.rb index 3057943b..627f74cd 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/packages_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/packages_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/quota_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/quota_api.rb index fda7ca3d..b938cd89 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/quota_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/quota_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/rates_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/rates_api.rb index 64d9e1ab..bddc00ed 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/rates_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/rates_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/repos_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/repos_api.rb index 54082b86..35bf42f7 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/repos_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/repos_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/status_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/status_api.rb index af7b02b5..ed938685 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/status_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/status_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/storage_regions_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/storage_regions_api.rb index afdb23a8..b74d5b32 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/storage_regions_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/storage_regions_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/user_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/user_api.rb index 953c569d..c460f262 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/user_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/user_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/users_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/users_api.rb index 7fa233c7..368f46ea 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/users_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/users_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/vulnerabilities_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/vulnerabilities_api.rb index cf99f8ce..ea428214 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/vulnerabilities_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/vulnerabilities_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api/webhooks_api.rb b/bindings/ruby/src/lib/cloudsmith-api/api/webhooks_api.rb index 140c4584..1d08351d 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api/webhooks_api.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api/webhooks_api.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api_client.rb b/bindings/ruby/src/lib/cloudsmith-api/api_client.rb index 346b20d4..94e3c315 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api_client.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api_client.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/api_error.rb b/bindings/ruby/src/lib/cloudsmith-api/api_error.rb index 9fe7c0f8..e607d2bc 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/api_error.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/api_error.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/configuration.rb b/bindings/ruby/src/lib/cloudsmith-api/configuration.rb index 890318ad..39754d4e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/configuration.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/configuration.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/allocated_limit.rb b/bindings/ruby/src/lib/cloudsmith-api/models/allocated_limit.rb index 21a3499a..1c3ee9cb 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/allocated_limit.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/allocated_limit.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/allocated_limit_raw.rb b/bindings/ruby/src/lib/cloudsmith-api/models/allocated_limit_raw.rb index e0735490..072cd96c 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/allocated_limit_raw.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/allocated_limit_raw.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/alpine_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/alpine_package_upload.rb index 4ec1886d..b9f94c21 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/alpine_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/alpine_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class AlpinePackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class AlpinePackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/alpine_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/alpine_package_upload_request.rb index 21e08461..67c25135 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/alpine_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/alpine_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/architecture.rb b/bindings/ruby/src/lib/cloudsmith-api/models/architecture.rb index 74bb0555..a40645aa 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/architecture.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/architecture.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/broadcast_token.rb b/bindings/ruby/src/lib/cloudsmith-api/models/broadcast_token.rb new file mode 100644 index 00000000..e18bea53 --- /dev/null +++ b/bindings/ruby/src/lib/cloudsmith-api/models/broadcast_token.rb @@ -0,0 +1,193 @@ +=begin +#Cloudsmith API (v1) + +#The API to the Cloudsmith Service + +OpenAPI spec version: v1 +Contact: support@cloudsmith.io +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.50 + +=end + +require 'date' + +module CloudsmithApi +class BroadcastToken + attr_accessor :expires_at + + attr_accessor :token + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'expires_at' => :'expires_at', + :'token' => :'token' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'expires_at' => :'DateTime', + :'token' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + + if attributes.has_key?(:'expires_at') + self.expires_at = attributes[:'expires_at'] + end + + if attributes.has_key?(:'token') + self.token = attributes[:'token'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + expires_at == o.expires_at && + token == o.token + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [expires_at, token].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = CloudsmithApi.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + +end +end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/broadcast_token_input.rb b/bindings/ruby/src/lib/cloudsmith-api/models/broadcast_token_input.rb new file mode 100644 index 00000000..28011759 --- /dev/null +++ b/bindings/ruby/src/lib/cloudsmith-api/models/broadcast_token_input.rb @@ -0,0 +1,200 @@ +=begin +#Cloudsmith API (v1) + +#The API to the Cloudsmith Service + +OpenAPI spec version: v1 +Contact: support@cloudsmith.io +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.50 + +=end + +require 'date' + +module CloudsmithApi +class BroadcastTokenInput + # Repository entitlement token used to authorize the creation of a broadcast token + attr_accessor :entitlement_token + + # Token expiry time in seconds (optional, defaults to 3600 seconds) + attr_accessor :expires_in + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'entitlement_token' => :'entitlement_token', + :'expires_in' => :'expires_in' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'entitlement_token' => :'String', + :'expires_in' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + + if attributes.has_key?(:'entitlement_token') + self.entitlement_token = attributes[:'entitlement_token'] + end + + if attributes.has_key?(:'expires_in') + self.expires_in = attributes[:'expires_in'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @entitlement_token.nil? + invalid_properties.push('invalid value for "entitlement_token", entitlement_token cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @entitlement_token.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + entitlement_token == o.entitlement_token && + expires_in == o.expires_in + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [entitlement_token, expires_in].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = CloudsmithApi.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + +end +end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cargo_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cargo_package_upload.rb index f1d026ad..50800b4a 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cargo_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cargo_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class CargoPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class CargoPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cargo_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cargo_package_upload_request.rb index fc7054e0..94b1712b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cargo_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cargo_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream.rb index af4d188b..85e00fac 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class CargoUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class CargoUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream_request.rb index 706f5a3f..f435b4f9 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream_request_patch.rb index 25cbaafa..b3e1bbb2 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cargo_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cocoapods_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cocoapods_package_upload.rb index 15662147..8ce22af6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cocoapods_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cocoapods_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class CocoapodsPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class CocoapodsPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb index e01f0f72..6402fcf8 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/common_bandwidth_metrics.rb b/bindings/ruby/src/lib/cloudsmith-api/models/common_bandwidth_metrics.rb index 69508e29..d7bc758a 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/common_bandwidth_metrics.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/common_bandwidth_metrics.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/common_bandwidth_metrics_value.rb b/bindings/ruby/src/lib/cloudsmith-api/models/common_bandwidth_metrics_value.rb index bc3efa62..b85bdb75 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/common_bandwidth_metrics_value.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/common_bandwidth_metrics_value.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/common_downloads_metrics.rb b/bindings/ruby/src/lib/cloudsmith-api/models/common_downloads_metrics.rb index 02f8b6aa..9b2755a2 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/common_downloads_metrics.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/common_downloads_metrics.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/common_downloads_metrics_value.rb b/bindings/ruby/src/lib/cloudsmith-api/models/common_downloads_metrics_value.rb index 284632a0..cec6a169 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/common_downloads_metrics_value.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/common_downloads_metrics_value.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/common_metrics.rb b/bindings/ruby/src/lib/cloudsmith-api/models/common_metrics.rb index 4051eb23..5f871525 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/common_metrics.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/common_metrics.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/composer_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/composer_package_upload.rb index 3bc13a9a..20aa237e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/composer_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/composer_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class ComposerPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class ComposerPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/composer_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/composer_package_upload_request.rb index 1e638382..0e20133f 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/composer_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/composer_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream.rb index 810654a4..3725d243 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class ComposerUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class ComposerUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream_request.rb index 4946d5e3..0609baf9 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream_request_patch.rb index 0d55078c..d2844c86 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/composer_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/conan_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/conan_package_upload.rb index f0446ab4..5edb3ca6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/conan_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/conan_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -124,6 +124,9 @@ class ConanPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -156,6 +159,9 @@ class ConanPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -282,6 +288,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -295,6 +302,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -371,6 +379,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -384,6 +393,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -618,6 +628,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -672,6 +686,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -836,6 +854,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -849,6 +868,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -881,7 +901,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, conan_channel, conan_prefix, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, conan_channel, conan_prefix, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/conan_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/conan_package_upload_request.rb index 9c9401e2..fb50c78b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/conan_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/conan_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/conda_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/conda_package_upload.rb index eebb6891..0303e977 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/conda_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/conda_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class CondaPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class CondaPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/conda_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/conda_package_upload_request.rb index db2a54b6..583cbedb 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/conda_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/conda_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream.rb index e249109d..51e56d38 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class CondaUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class CondaUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream_request.rb index 32e18edf..dfadb828 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream_request_patch.rb index 917a11c9..2cfebc45 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/conda_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cran_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cran_package_upload.rb index 6479747f..f778def1 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cran_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cran_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -121,6 +121,9 @@ class CranPackageUpload # Binary package uploads should specify the version of R they were built for. attr_accessor :r_version + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -153,6 +156,9 @@ class CranPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -278,6 +284,7 @@ def self.attribute_map :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', :'r_version' => :'r_version', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -291,6 +298,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -366,6 +374,7 @@ def self.swagger_types :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', :'r_version' => :'String', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -379,6 +388,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -609,6 +619,10 @@ def initialize(attributes = {}) self.r_version = attributes[:'r_version'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -663,6 +677,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -826,6 +844,7 @@ def ==(o) package_type == o.package_type && policy_violated == o.policy_violated && r_version == o.r_version && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -839,6 +858,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -871,7 +891,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, r_version, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, r_version, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cran_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cran_package_upload_request.rb index e623c4cf..473a0af8 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cran_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cran_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream.rb index e1e92220..2b2d7812 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class CranUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class CranUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream_request.rb index 04017f42..ece1b3e2 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream_request_patch.rb index 9c563a02..438a1984 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/cran_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/dart_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/dart_package_upload.rb index 677edc43..a1817753 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/dart_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/dart_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class DartPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class DartPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/dart_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/dart_package_upload_request.rb index 9d6ebf59..43332f46 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/dart_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/dart_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream.rb index 09091c65..971c55e1 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class DartUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class DartUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream_request.rb index 0754c0b5..8ee6c12a 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream_request_patch.rb index 42e581b9..e14db194 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/dart_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/deb_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/deb_package_upload.rb index 562e7397..1972c8c1 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/deb_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/deb_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class DebPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class DebPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/deb_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/deb_package_upload_request.rb index 1d17443d..cc5ba04a 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/deb_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/deb_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream.rb index f1c9ba61..02bef2ac 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,6 +23,10 @@ class DebUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The component to fetch from the upstream attr_accessor :component @@ -31,6 +35,9 @@ class DebUpstream attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The distribution version that packages found on this upstream could be associated with. attr_accessor :distro_versions @@ -46,6 +53,8 @@ class DebUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :gpg_key_fingerprint_short + # A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. attr_accessor :gpg_key_inline @@ -55,12 +64,23 @@ class DebUpstream # The GPG signature verification mode for this upstream. attr_accessor :gpg_verification + attr_accessor :has_failed_signature_verification + # When true, source packages will be available from this upstream. attr_accessor :include_sources + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -117,19 +137,27 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'component' => :'component', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'distro_versions' => :'distro_versions', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'gpg_key_fingerprint_short' => :'gpg_key_fingerprint_short', :'gpg_key_inline' => :'gpg_key_inline', :'gpg_key_url' => :'gpg_key_url', :'gpg_verification' => :'gpg_verification', + :'has_failed_signature_verification' => :'has_failed_signature_verification', :'include_sources' => :'include_sources', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -149,19 +177,27 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'component' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'distro_versions' => :'Array', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'gpg_key_fingerprint_short' => :'String', :'gpg_key_inline' => :'String', :'gpg_key_url' => :'String', :'gpg_verification' => :'String', + :'has_failed_signature_verification' => :'String', :'include_sources' => :'BOOLEAN', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -197,6 +233,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'component') self.component = attributes[:'component'] end @@ -211,6 +255,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'distro_versions') if (value = attributes[:'distro_versions']).is_a?(Array) self.distro_versions = value @@ -233,6 +281,10 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'gpg_key_fingerprint_short') + self.gpg_key_fingerprint_short = attributes[:'gpg_key_fingerprint_short'] + end + if attributes.has_key?(:'gpg_key_inline') self.gpg_key_inline = attributes[:'gpg_key_inline'] end @@ -247,14 +299,30 @@ def initialize(attributes = {}) self.gpg_verification = 'Allow All' end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + if attributes.has_key?(:'include_sources') self.include_sources = attributes[:'include_sources'] end + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -396,19 +464,27 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && component == o.component && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && distro_versions == o.distro_versions && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + gpg_key_fingerprint_short == o.gpg_key_fingerprint_short && gpg_key_inline == o.gpg_key_inline && gpg_key_url == o.gpg_key_url && gpg_verification == o.gpg_verification && + has_failed_signature_verification == o.has_failed_signature_verification && include_sources == o.include_sources && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -430,7 +506,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, component, created_at, disable_reason, distro_versions, extra_header_1, extra_header_2, extra_value_1, extra_value_2, gpg_key_inline, gpg_key_url, gpg_verification, include_sources, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_distribution, upstream_url, verification_status, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, component, created_at, disable_reason, disable_reason_text, distro_versions, extra_header_1, extra_header_2, extra_value_1, extra_value_2, gpg_key_fingerprint_short, gpg_key_inline, gpg_key_url, gpg_verification, has_failed_signature_verification, include_sources, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_distribution, upstream_url, verification_status, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream_request.rb index a80be0c9..606ceda3 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream_request_patch.rb index 0c60c61b..662b0fea 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/deb_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/distribution.rb b/bindings/ruby/src/lib/cloudsmith-api/models/distribution.rb index d2aba07e..4232a72f 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/distribution.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/distribution.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/distribution_full.rb b/bindings/ruby/src/lib/cloudsmith-api/models/distribution_full.rb index 3e5d41c5..547e6087 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/distribution_full.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/distribution_full.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/distribution_version.rb b/bindings/ruby/src/lib/cloudsmith-api/models/distribution_version.rb index d5735214..4ff4718b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/distribution_version.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/distribution_version.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/docker_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/docker_package_upload.rb index 4fa33ced..29135c8c 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/docker_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/docker_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class DockerPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class DockerPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/docker_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/docker_package_upload_request.rb index 1a190436..8f86a6a7 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/docker_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/docker_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream.rb index 763f7fd3..2c2e2359 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,16 @@ class DockerUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,6 +45,8 @@ class DockerUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active @@ -93,12 +100,15 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', :'is_active' => :'is_active', :'mode' => :'mode', :'name' => :'name', @@ -117,12 +127,15 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', :'is_active' => :'BOOLEAN', :'mode' => :'String', :'name' => :'String', @@ -157,6 +170,10 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +184,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,6 +204,10 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end @@ -289,12 +314,15 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && is_active == o.is_active && mode == o.mode && name == o.name && @@ -315,7 +343,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream_request.rb index 51b7aed8..ef8491d6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream_request_patch.rb index d856b807..266a59c7 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/docker_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/dynamic_mapping.rb b/bindings/ruby/src/lib/cloudsmith-api/models/dynamic_mapping.rb index d8ad0310..f7668c4f 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/dynamic_mapping.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/dynamic_mapping.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/entitlement_usage_metrics.rb b/bindings/ruby/src/lib/cloudsmith-api/models/entitlement_usage_metrics.rb index 79ce1d38..1a24b3d8 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/entitlement_usage_metrics.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/entitlement_usage_metrics.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/error_detail.rb b/bindings/ruby/src/lib/cloudsmith-api/models/error_detail.rb index 5c2c8fdd..be81c621 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/error_detail.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/error_detail.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/eula.rb b/bindings/ruby/src/lib/cloudsmith-api/models/eula.rb index 2e92cc44..6bd6d01d 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/eula.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/eula.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/format.rb b/bindings/ruby/src/lib/cloudsmith-api/models/format.rb index 576fec2e..fec0b3bc 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/format.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/format.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/format_support.rb b/bindings/ruby/src/lib/cloudsmith-api/models/format_support.rb index 9b978e22..8fe2f2aa 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/format_support.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/format_support.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/format_support_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/format_support_upstream.rb index 4361bd7d..7d1d73fe 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/format_support_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/format_support_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/geo_ip_location.rb b/bindings/ruby/src/lib/cloudsmith-api/models/geo_ip_location.rb index b5baaebd..d830c7e2 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/geo_ip_location.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/geo_ip_location.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/go_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/go_package_upload.rb index a967a476..6713a23f 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/go_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/go_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class GoPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class GoPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/go_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/go_package_upload_request.rb index 6efc39dc..1fa593fb 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/go_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/go_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream.rb index 2294ff62..f6ff6654 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class GoUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class GoUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream_request.rb index d5f1530e..e20a3d9b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream_request_patch.rb index 3a71c347..a5a017e3 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/go_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/helm_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/helm_package_upload.rb index 9d7674ba..4d0806a9 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/helm_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/helm_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class HelmPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class HelmPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/helm_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/helm_package_upload_request.rb index 8a8277b1..9c5ab9c6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/helm_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/helm_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream.rb index 058585c1..ffba4b93 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class HelmUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class HelmUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream_request.rb index 7f42d208..f8b29074 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream_request_patch.rb index 32e92dcd..6cce1acb 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/helm_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/hex_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/hex_package_upload.rb index b0fe58f6..99e0f442 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/hex_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/hex_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class HexPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class HexPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/hex_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/hex_package_upload_request.rb index da02fa2b..eafbbe6f 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/hex_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/hex_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream.rb index f8e00c3e..e713079e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class HexUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class HexUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream_request.rb index ecbd7101..c5b6816b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream_request_patch.rb index ad16aa17..58827a38 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/hex_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/history.rb b/bindings/ruby/src/lib/cloudsmith-api/models/history.rb index 712bb051..a8cd8145 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/history.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/history.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/history_fieldset.rb b/bindings/ruby/src/lib/cloudsmith-api/models/history_fieldset.rb index 7f7a529e..fee6e36b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/history_fieldset.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/history_fieldset.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/history_fieldset_raw.rb b/bindings/ruby/src/lib/cloudsmith-api/models/history_fieldset_raw.rb index 328ddcc3..9bf6c8c6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/history_fieldset_raw.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/history_fieldset_raw.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_package_upload.rb index d62b12bd..e3aea160 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class HuggingfacePackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class HuggingfacePackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_package_upload_request.rb index 6fb250ab..46ebe25c 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream.rb index 4efdae08..ee7de60e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class HuggingfaceUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class HuggingfaceUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream_request.rb index 7cccb31b..9c6f2335 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream_request_patch.rb index d68f19ab..0cf40ba0 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/huggingface_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/inline_response_200.rb b/bindings/ruby/src/lib/cloudsmith-api/models/inline_response_200.rb index 3e2a79df..c31821d1 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/inline_response_200.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/inline_response_200.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/inline_response_200_1.rb b/bindings/ruby/src/lib/cloudsmith-api/models/inline_response_200_1.rb index 0ad31c3a..a57e5c72 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/inline_response_200_1.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/inline_response_200_1.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/luarocks_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/luarocks_package_upload.rb index e58dee28..4f1a98c4 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/luarocks_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/luarocks_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class LuarocksPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class LuarocksPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/luarocks_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/luarocks_package_upload_request.rb index 74b3e62d..3af112f6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/luarocks_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/luarocks_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/maven_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/maven_package_upload.rb index fc8a70a4..c132c0fc 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/maven_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/maven_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -127,6 +127,9 @@ class MavenPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -163,6 +166,9 @@ class MavenPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -290,6 +296,7 @@ def self.attribute_map :'package_type' => :'package_type', :'packaging' => :'packaging', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -305,6 +312,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -382,6 +390,7 @@ def self.swagger_types :'package_type' => :'Integer', :'packaging' => :'String', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -397,6 +406,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -635,6 +645,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -697,6 +711,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -862,6 +880,7 @@ def ==(o) package_type == o.package_type && packaging == o.packaging && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -877,6 +896,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -909,7 +929,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, artifact_id, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, group_id, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, packaging, policy_violated, release, repository, repository_url, sbt_version, scala_version, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, artifact_id, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, group_id, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, packaging, policy_violated, raw_license, release, repository, repository_url, sbt_version, scala_version, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/maven_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/maven_package_upload_request.rb index dd00de3d..cdc25493 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/maven_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/maven_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream.rb index 3fe397c0..d55ee6f4 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class MavenUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,6 +47,8 @@ class MavenUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :gpg_key_fingerprint_short + # A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. attr_accessor :gpg_key_inline @@ -49,9 +58,20 @@ class MavenUpstream # The GPG signature verification mode for this upstream. attr_accessor :gpg_verification + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -105,16 +125,24 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'gpg_key_fingerprint_short' => :'gpg_key_fingerprint_short', :'gpg_key_inline' => :'gpg_key_inline', :'gpg_key_url' => :'gpg_key_url', :'gpg_verification' => :'gpg_verification', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -133,16 +161,24 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'gpg_key_fingerprint_short' => :'String', :'gpg_key_inline' => :'String', :'gpg_key_url' => :'String', :'gpg_verification' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -177,6 +213,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -187,6 +231,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -203,6 +251,10 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'gpg_key_fingerprint_short') + self.gpg_key_fingerprint_short = attributes[:'gpg_key_fingerprint_short'] + end + if attributes.has_key?(:'gpg_key_inline') self.gpg_key_inline = attributes[:'gpg_key_inline'] end @@ -217,10 +269,26 @@ def initialize(attributes = {}) self.gpg_verification = 'Allow All' end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -353,16 +421,24 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + gpg_key_fingerprint_short == o.gpg_key_fingerprint_short && gpg_key_inline == o.gpg_key_inline && gpg_key_url == o.gpg_key_url && gpg_verification == o.gpg_verification && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -383,7 +459,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, gpg_key_inline, gpg_key_url, gpg_verification, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verification_status, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, gpg_key_fingerprint_short, gpg_key_inline, gpg_key_url, gpg_verification, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verification_status, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream_request.rb index 4e96b38e..22d6589d 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream_request_patch.rb index 8bb423d8..7f7514e7 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/maven_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/namespace.rb b/bindings/ruby/src/lib/cloudsmith-api/models/namespace.rb index be428eda..d41d2ebf 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/namespace.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/namespace.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/namespace_audit_log.rb b/bindings/ruby/src/lib/cloudsmith-api/models/namespace_audit_log.rb index 532fceb4..effd96de 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/namespace_audit_log.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/namespace_audit_log.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/nested_license_policy.rb b/bindings/ruby/src/lib/cloudsmith-api/models/nested_license_policy.rb index 41a96e56..fe6a373e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/nested_license_policy.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/nested_license_policy.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/nested_vulnerability_policy.rb b/bindings/ruby/src/lib/cloudsmith-api/models/nested_vulnerability_policy.rb index 79e4ec98..b2fda01e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/nested_vulnerability_policy.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/nested_vulnerability_policy.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb b/bindings/ruby/src/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb index 6432cd3c..3d4ec88d 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/npm_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/npm_package_upload.rb index 4aae8daa..81ab17d5 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/npm_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/npm_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class NpmPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class NpmPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/npm_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/npm_package_upload_request.rb index 9bb36f74..cc7c9362 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/npm_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/npm_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream.rb index a3fd30b8..f3c7f70b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class NpmUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class NpmUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream_request.rb index d075d279..8eb864d8 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream_request_patch.rb index ec27d363..13f72d9e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/npm_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/nuget_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/nuget_package_upload.rb index cb6d1c7e..b6b2992c 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/nuget_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/nuget_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class NugetPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class NugetPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/nuget_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/nuget_package_upload_request.rb index 6472f1c9..ed1f8939 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/nuget_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/nuget_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream.rb index 43b44e73..31f15e48 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class NugetUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class NugetUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream_request.rb index 113797c0..3969f529 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb index c278f8f2..f847fb3f 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization.rb index ac8b8049..f9d06911 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync.rb index ee8a6b79..d35046f8 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync_request.rb index f6c15d87..a049dfbc 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync_status.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync_status.rb index eda7f1eb..9e04fee1 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync_status.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_group_sync_status.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite.rb index ab005416..408e78de 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_extend.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_extend.rb index baa35d6a..30d5401f 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_extend.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_extend.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_request.rb index 6d53ef49..a7eeea52 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_update.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_update.rb index ee403c1e..9f3a2f85 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_update.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_update.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_update_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_update_request_patch.rb index a969a438..52e7fd57 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_update_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_invite_update_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership.rb index 7bdb5a91..c601d9a0 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_request_patch.rb index 316bfc43..459cdbb1 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_role_update.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_role_update.rb index a36c62e1..b8a87d70 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_role_update.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_role_update.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_role_update_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_role_update_request_patch.rb index 9190e99a..7f4ecccf 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_role_update_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_role_update_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_visibility_update.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_visibility_update.rb index ad448117..c17ac4c9 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_visibility_update.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_visibility_update.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_visibility_update_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_visibility_update_request_patch.rb index ef7025c9..0644592c 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_visibility_update_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_membership_visibility_update_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy.rb index a6c547ad..836f9b2b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy_request.rb index 391fa1f9..4f8d17d5 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb index 3648e112..f23ebf73 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb index c387a2fb..623cd69b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb index ad8cd1d2..5a4a0767 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb index eec66b2d..e06b6dd9 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_saml_auth.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_saml_auth.rb index e4961e65..1d734d99 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_saml_auth.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_saml_auth.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_saml_auth_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_saml_auth_request_patch.rb index 1c719291..8f484643 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_saml_auth_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_saml_auth_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team.rb index 2b20c08e..d539e706 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -16,6 +16,7 @@ module CloudsmithApi class OrganizationTeam attr_accessor :description + # A descriptive name for the team. attr_accessor :name attr_accessor :slug diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_invite.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_invite.rb index 77aff784..0f9c4e71 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_invite.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_invite.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_members.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_members.rb index 30eccbf1..0a82f2d9 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_members.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_members.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_membership.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_membership.rb index 0481d8f8..75f95bc4 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_membership.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_membership.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_request.rb index 66e8945e..0b6c6079 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -16,6 +16,7 @@ module CloudsmithApi class OrganizationTeamRequest attr_accessor :description + # A descriptive name for the team. attr_accessor :name attr_accessor :slug diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_request_patch.rb index 11e76d7a..ff77e78e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/organization_team_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -16,6 +16,7 @@ module CloudsmithApi class OrganizationTeamRequestPatch attr_accessor :description + # A descriptive name for the team. attr_accessor :name attr_accessor :slug diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/p2_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/p2_package_upload.rb index f8bbc5bf..55dbe499 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/p2_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/p2_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class P2PackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class P2PackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/p2_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/p2_package_upload_request.rb index fdc3c2b8..1a02d8d3 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/p2_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/p2_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package.rb index a451a3a2..601bd155 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class Package # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class Package attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -276,6 +282,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -289,6 +296,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -364,6 +372,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -377,6 +386,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -604,6 +614,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -658,6 +672,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -824,6 +842,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -837,6 +856,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -870,7 +890,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_copy.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_copy.rb index 84757736..2267b792 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_copy.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_copy.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class PackageCopy # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -151,6 +154,9 @@ class PackageCopy attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -277,6 +283,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -290,6 +297,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -365,6 +373,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -378,6 +387,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -605,6 +615,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -659,6 +673,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -825,6 +843,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -838,6 +857,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -871,7 +891,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_copy_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_copy_request.rb index c22b5359..71b7eb07 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_copy_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_copy_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy.rb index 14341750..61156e66 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy_request.rb index 8e3c473c..da692308 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy_request_patch.rb index 58784999..d072d044 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_deny_policy_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_dependencies.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_dependencies.rb index 38beebe0..99fd8ea8 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_dependencies.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_dependencies.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_dependency.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_dependency.rb index 8c410a40..e239a720 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_dependency.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_dependency.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_file.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_file.rb index e1f36a84..2f522cb7 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_file.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_file.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_file_parts_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_file_parts_upload.rb index 5244a338..0d6f7cf6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_file_parts_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_file_parts_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_file_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_file_upload.rb index 78bbdaa1..6ca1f176 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_file_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_file_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_file_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_file_upload_request.rb index 773487f9..9ebc3861 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_file_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_file_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_group.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_group.rb index d3afef5e..2491bc0a 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_group.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_group.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_license.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_license.rb index 94cdc592..23fd45e3 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_license.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_license.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_evaluation_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_evaluation_request.rb index 5a99de77..7ec0944b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_evaluation_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_evaluation_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_evaluation_request_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_evaluation_request_request.rb index ad87e220..d77b41f2 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_evaluation_request_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_evaluation_request_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_violation_log.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_violation_log.rb index 03582fde..c2cf32c3 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_violation_log.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_violation_log.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_violation_log_cursor_page.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_violation_log_cursor_page.rb index 3ea1ade7..03823421 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_violation_log_cursor_page.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_license_policy_violation_log_cursor_page.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_license_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_license_request_patch.rb index a6ea1d5b..a6805449 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_license_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_license_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_move.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_move.rb index 82a1ec9f..2eaecd79 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_move.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_move.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class PackageMove # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -151,6 +154,9 @@ class PackageMove attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -277,6 +283,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -290,6 +297,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -365,6 +373,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -378,6 +387,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -605,6 +615,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -659,6 +673,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -825,6 +843,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -838,6 +857,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -871,7 +891,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_move_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_move_request.rb index 4bfd4f6f..a16ac07e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_move_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_move_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_quarantine.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_quarantine.rb index c66f50e1..86f839b5 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_quarantine.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_quarantine.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class PackageQuarantine # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + attr_accessor :repository attr_accessor :repository_url @@ -147,6 +150,9 @@ class PackageQuarantine attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -273,6 +279,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'repository' => :'repository', :'repository_url' => :'repository_url', :'security_scan_completed_at' => :'security_scan_completed_at', @@ -285,6 +292,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -360,6 +368,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'repository' => :'String', :'repository_url' => :'String', :'security_scan_completed_at' => :'DateTime', @@ -372,6 +381,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -599,6 +609,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'repository') self.repository = attributes[:'repository'] end @@ -649,6 +663,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -815,6 +833,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && repository == o.repository && repository_url == o.repository_url && security_scan_completed_at == o.security_scan_completed_at && @@ -827,6 +846,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -860,7 +880,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_quarantine_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_quarantine_request.rb index 705f6cd7..d6c853e7 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_quarantine_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_quarantine_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_resync.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_resync.rb index c8289fcb..262607c7 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_resync.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_resync.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class PackageResync # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class PackageResync attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -276,6 +282,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -289,6 +296,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -364,6 +372,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -377,6 +386,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -604,6 +614,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -658,6 +672,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -824,6 +842,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -837,6 +856,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -870,7 +890,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_status.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_status.rb index f6b0b69c..53af8d45 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_status.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_status.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_tag.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_tag.rb index 578ae836..b8edf234 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_tag.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_tag.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -121,6 +121,9 @@ class PackageTag # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -153,6 +156,9 @@ class PackageTag attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -278,6 +284,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -291,6 +298,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -366,6 +374,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -379,6 +388,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -611,6 +621,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -665,6 +679,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -828,6 +846,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -841,6 +860,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -873,7 +893,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_immutable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_immutable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_tag_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_tag_request.rb index 8a7bd654..a561a14b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_tag_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_tag_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_usage_metrics.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_usage_metrics.rb index f60a8923..4dc73e51 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_usage_metrics.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_usage_metrics.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_version_badge.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_version_badge.rb index b245c11d..94a2fd59 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_version_badge.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_version_badge.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability.rb index a5778066..6151ebde 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request.rb index e4ff0957..25ce60b6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request_request.rb index 623cf554..bd9aee93 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log.rb index 3a12263c..c8a979c6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log_cursor_page.rb b/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log_cursor_page.rb index 97660cb0..84f564f8 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log_cursor_page.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log_cursor_page.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings.rb b/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings.rb index 00b79529..8d64037b 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write.rb b/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write.rb index 5f1b42af..9c687d1c 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write_request.rb index 19606b12..142889a9 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write_request_patch.rb index 3cc3f605..a5cbdbd9 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/provider_settings_write_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/python_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/python_package_upload.rb index d62c2c5e..c7b39664 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/python_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/python_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class PythonPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class PythonPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/python_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/python_package_upload_request.rb index 4431768c..dc1bcf91 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/python_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/python_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream.rb index 7fc06cd3..0497a032 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class PythonUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class PythonUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -57,6 +75,9 @@ class PythonUpstream attr_accessor :slug_perm + # Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + attr_accessor :trust_level + attr_accessor :updated_at # 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. @@ -93,18 +114,26 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', :'priority' => :'priority', :'slug_perm' => :'slug_perm', + :'trust_level' => :'trust_level', :'updated_at' => :'updated_at', :'upstream_url' => :'upstream_url', :'verify_ssl' => :'verify_ssl' @@ -117,18 +146,26 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', :'priority' => :'Integer', :'slug_perm' => :'String', + :'trust_level' => :'String', :'updated_at' => :'DateTime', :'upstream_url' => :'String', :'verify_ssl' => :'BOOLEAN' @@ -157,6 +194,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +212,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +232,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -209,6 +274,12 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'trust_level') + self.trust_level = attributes[:'trust_level'] + else + self.trust_level = 'Trusted' + end + if attributes.has_key?(:'updated_at') self.updated_at = attributes[:'updated_at'] end @@ -247,6 +318,8 @@ def valid? mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy']) return false unless mode_validator.valid?(@mode) return false if @name.nil? + trust_level_validator = EnumAttributeValidator.new('String', ['Trusted', 'Untrusted']) + return false unless trust_level_validator.valid?(@trust_level) return false if @upstream_url.nil? true end @@ -281,6 +354,16 @@ def mode=(mode) @mode = mode end + # Custom attribute writer method checking allowed values (enum). + # @param [Object] trust_level Object to be assigned + def trust_level=(trust_level) + validator = EnumAttributeValidator.new('String', ['Trusted', 'Untrusted']) + unless validator.valid?(trust_level) + fail ArgumentError, 'invalid value for "trust_level", must be one of #{validator.allowable_values}.' + end + @trust_level = trust_level + end + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) @@ -289,18 +372,26 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && priority == o.priority && slug_perm == o.slug_perm && + trust_level == o.trust_level && updated_at == o.updated_at && upstream_url == o.upstream_url && verify_ssl == o.verify_ssl @@ -315,7 +406,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, trust_level, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream_request.rb index c3041239..e80e16cc 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -47,6 +47,9 @@ class PythonUpstreamRequest # Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. attr_accessor :priority + # Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + attr_accessor :trust_level + # 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. attr_accessor :upstream_url @@ -89,6 +92,7 @@ def self.attribute_map :'mode' => :'mode', :'name' => :'name', :'priority' => :'priority', + :'trust_level' => :'trust_level', :'upstream_url' => :'upstream_url', :'verify_ssl' => :'verify_ssl' } @@ -108,6 +112,7 @@ def self.swagger_types :'mode' => :'String', :'name' => :'String', :'priority' => :'Integer', + :'trust_level' => :'String', :'upstream_url' => :'String', :'verify_ssl' => :'BOOLEAN' } @@ -169,6 +174,12 @@ def initialize(attributes = {}) self.priority = attributes[:'priority'] end + if attributes.has_key?(:'trust_level') + self.trust_level = attributes[:'trust_level'] + else + self.trust_level = 'Trusted' + end + if attributes.has_key?(:'upstream_url') self.upstream_url = attributes[:'upstream_url'] end @@ -201,6 +212,8 @@ def valid? mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy']) return false unless mode_validator.valid?(@mode) return false if @name.nil? + trust_level_validator = EnumAttributeValidator.new('String', ['Trusted', 'Untrusted']) + return false unless trust_level_validator.valid?(@trust_level) return false if @upstream_url.nil? true end @@ -225,6 +238,16 @@ def mode=(mode) @mode = mode end + # Custom attribute writer method checking allowed values (enum). + # @param [Object] trust_level Object to be assigned + def trust_level=(trust_level) + validator = EnumAttributeValidator.new('String', ['Trusted', 'Untrusted']) + unless validator.valid?(trust_level) + fail ArgumentError, 'invalid value for "trust_level", must be one of #{validator.allowable_values}.' + end + @trust_level = trust_level + end + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) @@ -241,6 +264,7 @@ def ==(o) mode == o.mode && name == o.name && priority == o.priority && + trust_level == o.trust_level && upstream_url == o.upstream_url && verify_ssl == o.verify_ssl end @@ -254,7 +278,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, priority, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, priority, trust_level, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream_request_patch.rb index 248798f7..42619d4e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/python_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -47,6 +47,9 @@ class PythonUpstreamRequestPatch # Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. attr_accessor :priority + # Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. + attr_accessor :trust_level + # 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. attr_accessor :upstream_url @@ -89,6 +92,7 @@ def self.attribute_map :'mode' => :'mode', :'name' => :'name', :'priority' => :'priority', + :'trust_level' => :'trust_level', :'upstream_url' => :'upstream_url', :'verify_ssl' => :'verify_ssl' } @@ -108,6 +112,7 @@ def self.swagger_types :'mode' => :'String', :'name' => :'String', :'priority' => :'Integer', + :'trust_level' => :'String', :'upstream_url' => :'String', :'verify_ssl' => :'BOOLEAN' } @@ -169,6 +174,12 @@ def initialize(attributes = {}) self.priority = attributes[:'priority'] end + if attributes.has_key?(:'trust_level') + self.trust_level = attributes[:'trust_level'] + else + self.trust_level = 'Trusted' + end + if attributes.has_key?(:'upstream_url') self.upstream_url = attributes[:'upstream_url'] end @@ -192,6 +203,8 @@ def valid? return false unless auth_mode_validator.valid?(@auth_mode) mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy']) return false unless mode_validator.valid?(@mode) + trust_level_validator = EnumAttributeValidator.new('String', ['Trusted', 'Untrusted']) + return false unless trust_level_validator.valid?(@trust_level) true end @@ -215,6 +228,16 @@ def mode=(mode) @mode = mode end + # Custom attribute writer method checking allowed values (enum). + # @param [Object] trust_level Object to be assigned + def trust_level=(trust_level) + validator = EnumAttributeValidator.new('String', ['Trusted', 'Untrusted']) + unless validator.valid?(trust_level) + fail ArgumentError, 'invalid value for "trust_level", must be one of #{validator.allowable_values}.' + end + @trust_level = trust_level + end + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) @@ -231,6 +254,7 @@ def ==(o) mode == o.mode && name == o.name && priority == o.priority && + trust_level == o.trust_level && upstream_url == o.upstream_url && verify_ssl == o.verify_ssl end @@ -244,7 +268,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, priority, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, priority, trust_level, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/quota.rb b/bindings/ruby/src/lib/cloudsmith-api/models/quota.rb index e7f2d1cd..60660805 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/quota.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/quota.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/quota_history.rb b/bindings/ruby/src/lib/cloudsmith-api/models/quota_history.rb index 156de1ce..3b517e27 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/quota_history.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/quota_history.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/rate_check.rb b/bindings/ruby/src/lib/cloudsmith-api/models/rate_check.rb index 4f38daa0..5f1348bb 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/rate_check.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/rate_check.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/raw_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/raw_package_upload.rb index 8b8ac10e..8166e9f8 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/raw_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/raw_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class RawPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class RawPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/raw_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/raw_package_upload_request.rb index 13761c9d..d3031305 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/raw_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/raw_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository.rb index acd7af79..0ffeb2bd 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -14,6 +14,9 @@ module CloudsmithApi class Repository + # Broadcasting status of a repository. + attr_accessor :broadcast_state + # Base URL from which packages and other artifacts are downloaded. attr_accessor :cdn_url @@ -60,6 +63,9 @@ class Repository # If checked, downloads will explicitly require acceptance of an EULA. attr_accessor :enforce_eula + # If checked, HTML indexes will be generated that list all available generic packages in the repository. + attr_accessor :generic_package_index_enabled + attr_accessor :gpg_keys # If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. @@ -110,6 +116,9 @@ class Repository # The number of packages in the repository. attr_accessor :package_count + # The number of packages in the repository excluding subcomponents. + attr_accessor :package_count_excl_subcomponents + # The number of groups in the repository. attr_accessor :package_group_count @@ -228,6 +237,7 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'broadcast_state' => :'broadcast_state', :'cdn_url' => :'cdn_url', :'content_kind' => :'content_kind', :'contextual_auth_realm' => :'contextual_auth_realm', @@ -244,6 +254,7 @@ def self.attribute_map :'docker_refresh_tokens_enabled' => :'docker_refresh_tokens_enabled', :'ecdsa_keys' => :'ecdsa_keys', :'enforce_eula' => :'enforce_eula', + :'generic_package_index_enabled' => :'generic_package_index_enabled', :'gpg_keys' => :'gpg_keys', :'index_files' => :'index_files', :'is_open_source' => :'is_open_source', @@ -262,6 +273,7 @@ def self.attribute_map :'open_source_license' => :'open_source_license', :'open_source_project_url' => :'open_source_project_url', :'package_count' => :'package_count', + :'package_count_excl_subcomponents' => :'package_count_excl_subcomponents', :'package_group_count' => :'package_group_count', :'proxy_npmjs' => :'proxy_npmjs', :'proxy_pypi' => :'proxy_pypi', @@ -299,6 +311,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'broadcast_state' => :'String', :'cdn_url' => :'String', :'content_kind' => :'String', :'contextual_auth_realm' => :'BOOLEAN', @@ -315,6 +328,7 @@ def self.swagger_types :'docker_refresh_tokens_enabled' => :'BOOLEAN', :'ecdsa_keys' => :'Array', :'enforce_eula' => :'BOOLEAN', + :'generic_package_index_enabled' => :'BOOLEAN', :'gpg_keys' => :'Array', :'index_files' => :'BOOLEAN', :'is_open_source' => :'BOOLEAN', @@ -333,6 +347,7 @@ def self.swagger_types :'open_source_license' => :'String', :'open_source_project_url' => :'String', :'package_count' => :'Integer', + :'package_count_excl_subcomponents' => :'Integer', :'package_group_count' => :'Integer', :'proxy_npmjs' => :'BOOLEAN', :'proxy_pypi' => :'BOOLEAN', @@ -375,6 +390,12 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + if attributes.has_key?(:'broadcast_state') + self.broadcast_state = attributes[:'broadcast_state'] + else + self.broadcast_state = 'Off' + end + if attributes.has_key?(:'cdn_url') self.cdn_url = attributes[:'cdn_url'] end @@ -451,6 +472,10 @@ def initialize(attributes = {}) self.enforce_eula = attributes[:'enforce_eula'] end + if attributes.has_key?(:'generic_package_index_enabled') + self.generic_package_index_enabled = attributes[:'generic_package_index_enabled'] + end + if attributes.has_key?(:'gpg_keys') if (value = attributes[:'gpg_keys']).is_a?(Array) self.gpg_keys = value @@ -529,6 +554,10 @@ def initialize(attributes = {}) self.package_count = attributes[:'package_count'] end + if attributes.has_key?(:'package_count_excl_subcomponents') + self.package_count_excl_subcomponents = attributes[:'package_count_excl_subcomponents'] + end + if attributes.has_key?(:'package_group_count') self.package_group_count = attributes[:'package_group_count'] end @@ -682,6 +711,8 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + broadcast_state_validator = EnumAttributeValidator.new('String', ['Off', 'Private', 'Internal', 'Public', 'Open-Source']) + return false unless broadcast_state_validator.valid?(@broadcast_state) content_kind_validator = EnumAttributeValidator.new('String', ['Standard', 'Distribution', 'Upstream']) return false unless content_kind_validator.valid?(@content_kind) copy_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read']) @@ -710,6 +741,16 @@ def valid? true end + # Custom attribute writer method checking allowed values (enum). + # @param [Object] broadcast_state Object to be assigned + def broadcast_state=(broadcast_state) + validator = EnumAttributeValidator.new('String', ['Off', 'Private', 'Internal', 'Public', 'Open-Source']) + unless validator.valid?(broadcast_state) + fail ArgumentError, 'invalid value for "broadcast_state", must be one of #{validator.allowable_values}.' + end + @broadcast_state = broadcast_state + end + # Custom attribute writer method checking allowed values (enum). # @param [Object] content_kind Object to be assigned def content_kind=(content_kind) @@ -835,6 +876,7 @@ def view_statistics=(view_statistics) def ==(o) return true if self.equal?(o) self.class == o.class && + broadcast_state == o.broadcast_state && cdn_url == o.cdn_url && content_kind == o.content_kind && contextual_auth_realm == o.contextual_auth_realm && @@ -851,6 +893,7 @@ def ==(o) docker_refresh_tokens_enabled == o.docker_refresh_tokens_enabled && ecdsa_keys == o.ecdsa_keys && enforce_eula == o.enforce_eula && + generic_package_index_enabled == o.generic_package_index_enabled && gpg_keys == o.gpg_keys && index_files == o.index_files && is_open_source == o.is_open_source && @@ -869,6 +912,7 @@ def ==(o) open_source_license == o.open_source_license && open_source_project_url == o.open_source_project_url && package_count == o.package_count && + package_count_excl_subcomponents == o.package_count_excl_subcomponents && package_group_count == o.package_group_count && proxy_npmjs == o.proxy_npmjs && proxy_pypi == o.proxy_pypi && @@ -911,7 +955,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [cdn_url, content_kind, contextual_auth_realm, copy_own, copy_packages, cosign_signing_enabled, created_at, default_privilege, delete_own, delete_packages, deleted_at, description, distributes, docker_refresh_tokens_enabled, ecdsa_keys, enforce_eula, gpg_keys, index_files, is_open_source, is_private, is_public, manage_entitlements_privilege, move_own, move_packages, name, namespace, namespace_url, nuget_native_signing_enabled, num_downloads, num_policy_violated_packages, num_quarantined_packages, open_source_license, open_source_project_url, package_count, package_group_count, proxy_npmjs, proxy_pypi, raw_package_index_enabled, raw_package_index_signatures_enabled, replace_packages, replace_packages_by_default, repository_type, repository_type_str, resync_own, resync_packages, scan_own, scan_packages, self_html_url, self_url, show_setup_all, size, size_str, slug, slug_perm, storage_region, strict_npm_validation, tag_pre_releases_as_latest, use_debian_labels, use_default_cargo_upstream, use_entitlements_privilege, use_noarch_packages, use_source_packages, use_vulnerability_scanning, user_entitlements_enabled, view_statistics].hash + [broadcast_state, cdn_url, content_kind, contextual_auth_realm, copy_own, copy_packages, cosign_signing_enabled, created_at, default_privilege, delete_own, delete_packages, deleted_at, description, distributes, docker_refresh_tokens_enabled, ecdsa_keys, enforce_eula, generic_package_index_enabled, gpg_keys, index_files, is_open_source, is_private, is_public, manage_entitlements_privilege, move_own, move_packages, name, namespace, namespace_url, nuget_native_signing_enabled, num_downloads, num_policy_violated_packages, num_quarantined_packages, open_source_license, open_source_project_url, package_count, package_count_excl_subcomponents, package_group_count, proxy_npmjs, proxy_pypi, raw_package_index_enabled, raw_package_index_signatures_enabled, replace_packages, replace_packages_by_default, repository_type, repository_type_str, resync_own, resync_packages, scan_own, scan_packages, self_html_url, self_url, show_setup_all, size, size_str, slug, slug_perm, storage_region, strict_npm_validation, tag_pre_releases_as_latest, use_debian_labels, use_default_cargo_upstream, use_entitlements_privilege, use_noarch_packages, use_source_packages, use_vulnerability_scanning, user_entitlements_enabled, view_statistics].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_audit_log.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_audit_log.rb index 36a2c28f..66988c32 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_audit_log.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_audit_log.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_create.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_create.rb index 11e62be5..1291c984 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_create.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_create.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -14,6 +14,9 @@ module CloudsmithApi class RepositoryCreate + # Broadcasting status of a repository. + attr_accessor :broadcast_state + # Base URL from which packages and other artifacts are downloaded. attr_accessor :cdn_url @@ -60,6 +63,9 @@ class RepositoryCreate # If checked, downloads will explicitly require acceptance of an EULA. attr_accessor :enforce_eula + # If checked, HTML indexes will be generated that list all available generic packages in the repository. + attr_accessor :generic_package_index_enabled + attr_accessor :gpg_keys # If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. @@ -110,6 +116,9 @@ class RepositoryCreate # The number of packages in the repository. attr_accessor :package_count + # The number of packages in the repository excluding subcomponents. + attr_accessor :package_count_excl_subcomponents + # The number of groups in the repository. attr_accessor :package_group_count @@ -228,6 +237,7 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'broadcast_state' => :'broadcast_state', :'cdn_url' => :'cdn_url', :'content_kind' => :'content_kind', :'contextual_auth_realm' => :'contextual_auth_realm', @@ -244,6 +254,7 @@ def self.attribute_map :'docker_refresh_tokens_enabled' => :'docker_refresh_tokens_enabled', :'ecdsa_keys' => :'ecdsa_keys', :'enforce_eula' => :'enforce_eula', + :'generic_package_index_enabled' => :'generic_package_index_enabled', :'gpg_keys' => :'gpg_keys', :'index_files' => :'index_files', :'is_open_source' => :'is_open_source', @@ -262,6 +273,7 @@ def self.attribute_map :'open_source_license' => :'open_source_license', :'open_source_project_url' => :'open_source_project_url', :'package_count' => :'package_count', + :'package_count_excl_subcomponents' => :'package_count_excl_subcomponents', :'package_group_count' => :'package_group_count', :'proxy_npmjs' => :'proxy_npmjs', :'proxy_pypi' => :'proxy_pypi', @@ -299,6 +311,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'broadcast_state' => :'String', :'cdn_url' => :'String', :'content_kind' => :'String', :'contextual_auth_realm' => :'BOOLEAN', @@ -315,6 +328,7 @@ def self.swagger_types :'docker_refresh_tokens_enabled' => :'BOOLEAN', :'ecdsa_keys' => :'Array', :'enforce_eula' => :'BOOLEAN', + :'generic_package_index_enabled' => :'BOOLEAN', :'gpg_keys' => :'Array', :'index_files' => :'BOOLEAN', :'is_open_source' => :'BOOLEAN', @@ -333,6 +347,7 @@ def self.swagger_types :'open_source_license' => :'String', :'open_source_project_url' => :'String', :'package_count' => :'Integer', + :'package_count_excl_subcomponents' => :'Integer', :'package_group_count' => :'Integer', :'proxy_npmjs' => :'BOOLEAN', :'proxy_pypi' => :'BOOLEAN', @@ -375,6 +390,12 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + if attributes.has_key?(:'broadcast_state') + self.broadcast_state = attributes[:'broadcast_state'] + else + self.broadcast_state = 'Off' + end + if attributes.has_key?(:'cdn_url') self.cdn_url = attributes[:'cdn_url'] end @@ -451,6 +472,10 @@ def initialize(attributes = {}) self.enforce_eula = attributes[:'enforce_eula'] end + if attributes.has_key?(:'generic_package_index_enabled') + self.generic_package_index_enabled = attributes[:'generic_package_index_enabled'] + end + if attributes.has_key?(:'gpg_keys') if (value = attributes[:'gpg_keys']).is_a?(Array) self.gpg_keys = value @@ -529,6 +554,10 @@ def initialize(attributes = {}) self.package_count = attributes[:'package_count'] end + if attributes.has_key?(:'package_count_excl_subcomponents') + self.package_count_excl_subcomponents = attributes[:'package_count_excl_subcomponents'] + end + if attributes.has_key?(:'package_group_count') self.package_group_count = attributes[:'package_group_count'] end @@ -682,6 +711,8 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + broadcast_state_validator = EnumAttributeValidator.new('String', ['Off', 'Private', 'Internal', 'Public', 'Open-Source']) + return false unless broadcast_state_validator.valid?(@broadcast_state) content_kind_validator = EnumAttributeValidator.new('String', ['Standard', 'Distribution', 'Upstream']) return false unless content_kind_validator.valid?(@content_kind) copy_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read']) @@ -710,6 +741,16 @@ def valid? true end + # Custom attribute writer method checking allowed values (enum). + # @param [Object] broadcast_state Object to be assigned + def broadcast_state=(broadcast_state) + validator = EnumAttributeValidator.new('String', ['Off', 'Private', 'Internal', 'Public', 'Open-Source']) + unless validator.valid?(broadcast_state) + fail ArgumentError, 'invalid value for "broadcast_state", must be one of #{validator.allowable_values}.' + end + @broadcast_state = broadcast_state + end + # Custom attribute writer method checking allowed values (enum). # @param [Object] content_kind Object to be assigned def content_kind=(content_kind) @@ -835,6 +876,7 @@ def view_statistics=(view_statistics) def ==(o) return true if self.equal?(o) self.class == o.class && + broadcast_state == o.broadcast_state && cdn_url == o.cdn_url && content_kind == o.content_kind && contextual_auth_realm == o.contextual_auth_realm && @@ -851,6 +893,7 @@ def ==(o) docker_refresh_tokens_enabled == o.docker_refresh_tokens_enabled && ecdsa_keys == o.ecdsa_keys && enforce_eula == o.enforce_eula && + generic_package_index_enabled == o.generic_package_index_enabled && gpg_keys == o.gpg_keys && index_files == o.index_files && is_open_source == o.is_open_source && @@ -869,6 +912,7 @@ def ==(o) open_source_license == o.open_source_license && open_source_project_url == o.open_source_project_url && package_count == o.package_count && + package_count_excl_subcomponents == o.package_count_excl_subcomponents && package_group_count == o.package_group_count && proxy_npmjs == o.proxy_npmjs && proxy_pypi == o.proxy_pypi && @@ -911,7 +955,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [cdn_url, content_kind, contextual_auth_realm, copy_own, copy_packages, cosign_signing_enabled, created_at, default_privilege, delete_own, delete_packages, deleted_at, description, distributes, docker_refresh_tokens_enabled, ecdsa_keys, enforce_eula, gpg_keys, index_files, is_open_source, is_private, is_public, manage_entitlements_privilege, move_own, move_packages, name, namespace, namespace_url, nuget_native_signing_enabled, num_downloads, num_policy_violated_packages, num_quarantined_packages, open_source_license, open_source_project_url, package_count, package_group_count, proxy_npmjs, proxy_pypi, raw_package_index_enabled, raw_package_index_signatures_enabled, replace_packages, replace_packages_by_default, repository_type, repository_type_str, resync_own, resync_packages, scan_own, scan_packages, self_html_url, self_url, show_setup_all, size, size_str, slug, slug_perm, storage_region, strict_npm_validation, tag_pre_releases_as_latest, use_debian_labels, use_default_cargo_upstream, use_entitlements_privilege, use_noarch_packages, use_source_packages, use_vulnerability_scanning, user_entitlements_enabled, view_statistics].hash + [broadcast_state, cdn_url, content_kind, contextual_auth_realm, copy_own, copy_packages, cosign_signing_enabled, created_at, default_privilege, delete_own, delete_packages, deleted_at, description, distributes, docker_refresh_tokens_enabled, ecdsa_keys, enforce_eula, generic_package_index_enabled, gpg_keys, index_files, is_open_source, is_private, is_public, manage_entitlements_privilege, move_own, move_packages, name, namespace, namespace_url, nuget_native_signing_enabled, num_downloads, num_policy_violated_packages, num_quarantined_packages, open_source_license, open_source_project_url, package_count, package_count_excl_subcomponents, package_group_count, proxy_npmjs, proxy_pypi, raw_package_index_enabled, raw_package_index_signatures_enabled, replace_packages, replace_packages_by_default, repository_type, repository_type_str, resync_own, resync_packages, scan_own, scan_packages, self_html_url, self_url, show_setup_all, size, size_str, slug, slug_perm, storage_region, strict_npm_validation, tag_pre_releases_as_latest, use_debian_labels, use_default_cargo_upstream, use_entitlements_privilege, use_noarch_packages, use_source_packages, use_vulnerability_scanning, user_entitlements_enabled, view_statistics].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_create_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_create_request.rb index d8a0d72a..26d3ad0e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_create_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_create_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -14,6 +14,9 @@ module CloudsmithApi class RepositoryCreateRequest + # Broadcasting status of a repository. + attr_accessor :broadcast_state + # The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. attr_accessor :content_kind @@ -50,6 +53,9 @@ class RepositoryCreateRequest # If checked, downloads will explicitly require acceptance of an EULA. attr_accessor :enforce_eula + # If checked, HTML indexes will be generated that list all available generic packages in the repository. + attr_accessor :generic_package_index_enabled + # If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. attr_accessor :index_files @@ -171,6 +177,7 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'broadcast_state' => :'broadcast_state', :'content_kind' => :'content_kind', :'contextual_auth_realm' => :'contextual_auth_realm', :'copy_own' => :'copy_own', @@ -183,6 +190,7 @@ def self.attribute_map :'distributes' => :'distributes', :'docker_refresh_tokens_enabled' => :'docker_refresh_tokens_enabled', :'enforce_eula' => :'enforce_eula', + :'generic_package_index_enabled' => :'generic_package_index_enabled', :'index_files' => :'index_files', :'manage_entitlements_privilege' => :'manage_entitlements_privilege', :'move_own' => :'move_own', @@ -221,6 +229,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'broadcast_state' => :'String', :'content_kind' => :'String', :'contextual_auth_realm' => :'BOOLEAN', :'copy_own' => :'BOOLEAN', @@ -233,6 +242,7 @@ def self.swagger_types :'distributes' => :'Array', :'docker_refresh_tokens_enabled' => :'BOOLEAN', :'enforce_eula' => :'BOOLEAN', + :'generic_package_index_enabled' => :'BOOLEAN', :'index_files' => :'BOOLEAN', :'manage_entitlements_privilege' => :'String', :'move_own' => :'BOOLEAN', @@ -276,6 +286,12 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + if attributes.has_key?(:'broadcast_state') + self.broadcast_state = attributes[:'broadcast_state'] + else + self.broadcast_state = 'Off' + end + if attributes.has_key?(:'content_kind') self.content_kind = attributes[:'content_kind'] else @@ -334,6 +350,10 @@ def initialize(attributes = {}) self.enforce_eula = attributes[:'enforce_eula'] end + if attributes.has_key?(:'generic_package_index_enabled') + self.generic_package_index_enabled = attributes[:'generic_package_index_enabled'] + end + if attributes.has_key?(:'index_files') self.index_files = attributes[:'index_files'] end @@ -495,6 +515,8 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + broadcast_state_validator = EnumAttributeValidator.new('String', ['Off', 'Private', 'Internal', 'Public', 'Open-Source']) + return false unless broadcast_state_validator.valid?(@broadcast_state) content_kind_validator = EnumAttributeValidator.new('String', ['Standard', 'Distribution', 'Upstream']) return false unless content_kind_validator.valid?(@content_kind) copy_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read']) @@ -523,6 +545,16 @@ def valid? true end + # Custom attribute writer method checking allowed values (enum). + # @param [Object] broadcast_state Object to be assigned + def broadcast_state=(broadcast_state) + validator = EnumAttributeValidator.new('String', ['Off', 'Private', 'Internal', 'Public', 'Open-Source']) + unless validator.valid?(broadcast_state) + fail ArgumentError, 'invalid value for "broadcast_state", must be one of #{validator.allowable_values}.' + end + @broadcast_state = broadcast_state + end + # Custom attribute writer method checking allowed values (enum). # @param [Object] content_kind Object to be assigned def content_kind=(content_kind) @@ -648,6 +680,7 @@ def view_statistics=(view_statistics) def ==(o) return true if self.equal?(o) self.class == o.class && + broadcast_state == o.broadcast_state && content_kind == o.content_kind && contextual_auth_realm == o.contextual_auth_realm && copy_own == o.copy_own && @@ -660,6 +693,7 @@ def ==(o) distributes == o.distributes && docker_refresh_tokens_enabled == o.docker_refresh_tokens_enabled && enforce_eula == o.enforce_eula && + generic_package_index_enabled == o.generic_package_index_enabled && index_files == o.index_files && manage_entitlements_privilege == o.manage_entitlements_privilege && move_own == o.move_own && @@ -703,7 +737,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [content_kind, contextual_auth_realm, copy_own, copy_packages, cosign_signing_enabled, default_privilege, delete_own, delete_packages, description, distributes, docker_refresh_tokens_enabled, enforce_eula, index_files, manage_entitlements_privilege, move_own, move_packages, name, nuget_native_signing_enabled, open_source_license, open_source_project_url, proxy_npmjs, proxy_pypi, raw_package_index_enabled, raw_package_index_signatures_enabled, replace_packages, replace_packages_by_default, repository_type_str, resync_own, resync_packages, scan_own, scan_packages, show_setup_all, slug, storage_region, strict_npm_validation, tag_pre_releases_as_latest, use_debian_labels, use_default_cargo_upstream, use_entitlements_privilege, use_noarch_packages, use_source_packages, use_vulnerability_scanning, user_entitlements_enabled, view_statistics].hash + [broadcast_state, content_kind, contextual_auth_realm, copy_own, copy_packages, cosign_signing_enabled, default_privilege, delete_own, delete_packages, description, distributes, docker_refresh_tokens_enabled, enforce_eula, generic_package_index_enabled, index_files, manage_entitlements_privilege, move_own, move_packages, name, nuget_native_signing_enabled, open_source_license, open_source_project_url, proxy_npmjs, proxy_pypi, raw_package_index_enabled, raw_package_index_signatures_enabled, replace_packages, replace_packages_by_default, repository_type_str, resync_own, resync_packages, scan_own, scan_packages, show_setup_all, slug, storage_region, strict_npm_validation, tag_pre_releases_as_latest, use_debian_labels, use_default_cargo_upstream, use_entitlements_privilege, use_noarch_packages, use_source_packages, use_vulnerability_scanning, user_entitlements_enabled, view_statistics].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_ecdsa_key.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_ecdsa_key.rb index 75e175f0..66aca985 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_ecdsa_key.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_ecdsa_key.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_ecdsa_key_create.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_ecdsa_key_create.rb index 0e7ce189..b771b03e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_ecdsa_key_create.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_ecdsa_key_create.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_cidr.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_cidr.rb index f39e7c3a..f7e63006 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_cidr.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_cidr.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_country_code.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_country_code.rb index 6084b457..ac3be738 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_country_code.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_country_code.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules.rb index c514f302..9f4734a7 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules_request.rb index 816c0041..260be3ce 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules_request_patch.rb index 4b093744..06b3f50a 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_rules_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_status.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_status.rb index 29ffbfe6..f15e5c63 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_status.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_status.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address.rb index 56f482d4..bc8b4684 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address_response.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address_response.rb index cad8f703..9fc1c0b6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address_response.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address_response.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address_response_dict.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address_response_dict.rb index 82d78a2e..e2c38b03 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address_response_dict.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_geo_ip_test_address_response_dict.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_gpg_key.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_gpg_key.rb index 0b6d1d6e..32e9a2fd 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_gpg_key.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_gpg_key.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_gpg_key_create.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_gpg_key_create.rb index d14a32b2..76cd3b67 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_gpg_key_create.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_gpg_key_create.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_dict.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_dict.rb index 27b226f9..a51a5c75 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_dict.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_dict.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input.rb index 199de779..8dd8d971 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input_request.rb index 45d315f2..207f1809 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input_request_patch.rb index 89a4890e..d5ff3133 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_privilege_input_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_request_patch.rb index 2f589d24..eb56d386 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -14,6 +14,9 @@ module CloudsmithApi class RepositoryRequestPatch + # Broadcasting status of a repository. + attr_accessor :broadcast_state + # The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. attr_accessor :content_kind @@ -50,6 +53,9 @@ class RepositoryRequestPatch # If checked, downloads will explicitly require acceptance of an EULA. attr_accessor :enforce_eula + # If checked, HTML indexes will be generated that list all available generic packages in the repository. + attr_accessor :generic_package_index_enabled + # If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. attr_accessor :index_files @@ -168,6 +174,7 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'broadcast_state' => :'broadcast_state', :'content_kind' => :'content_kind', :'contextual_auth_realm' => :'contextual_auth_realm', :'copy_own' => :'copy_own', @@ -180,6 +187,7 @@ def self.attribute_map :'distributes' => :'distributes', :'docker_refresh_tokens_enabled' => :'docker_refresh_tokens_enabled', :'enforce_eula' => :'enforce_eula', + :'generic_package_index_enabled' => :'generic_package_index_enabled', :'index_files' => :'index_files', :'manage_entitlements_privilege' => :'manage_entitlements_privilege', :'move_own' => :'move_own', @@ -217,6 +225,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'broadcast_state' => :'String', :'content_kind' => :'String', :'contextual_auth_realm' => :'BOOLEAN', :'copy_own' => :'BOOLEAN', @@ -229,6 +238,7 @@ def self.swagger_types :'distributes' => :'Array', :'docker_refresh_tokens_enabled' => :'BOOLEAN', :'enforce_eula' => :'BOOLEAN', + :'generic_package_index_enabled' => :'BOOLEAN', :'index_files' => :'BOOLEAN', :'manage_entitlements_privilege' => :'String', :'move_own' => :'BOOLEAN', @@ -271,6 +281,12 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + if attributes.has_key?(:'broadcast_state') + self.broadcast_state = attributes[:'broadcast_state'] + else + self.broadcast_state = 'Off' + end + if attributes.has_key?(:'content_kind') self.content_kind = attributes[:'content_kind'] else @@ -329,6 +345,10 @@ def initialize(attributes = {}) self.enforce_eula = attributes[:'enforce_eula'] end + if attributes.has_key?(:'generic_package_index_enabled') + self.generic_package_index_enabled = attributes[:'generic_package_index_enabled'] + end + if attributes.has_key?(:'index_files') self.index_files = attributes[:'index_files'] end @@ -480,6 +500,8 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + broadcast_state_validator = EnumAttributeValidator.new('String', ['Off', 'Private', 'Internal', 'Public', 'Open-Source']) + return false unless broadcast_state_validator.valid?(@broadcast_state) content_kind_validator = EnumAttributeValidator.new('String', ['Standard', 'Distribution', 'Upstream']) return false unless content_kind_validator.valid?(@content_kind) copy_packages_validator = EnumAttributeValidator.new('String', ['Admin', 'Write', 'Read']) @@ -507,6 +529,16 @@ def valid? true end + # Custom attribute writer method checking allowed values (enum). + # @param [Object] broadcast_state Object to be assigned + def broadcast_state=(broadcast_state) + validator = EnumAttributeValidator.new('String', ['Off', 'Private', 'Internal', 'Public', 'Open-Source']) + unless validator.valid?(broadcast_state) + fail ArgumentError, 'invalid value for "broadcast_state", must be one of #{validator.allowable_values}.' + end + @broadcast_state = broadcast_state + end + # Custom attribute writer method checking allowed values (enum). # @param [Object] content_kind Object to be assigned def content_kind=(content_kind) @@ -632,6 +664,7 @@ def view_statistics=(view_statistics) def ==(o) return true if self.equal?(o) self.class == o.class && + broadcast_state == o.broadcast_state && content_kind == o.content_kind && contextual_auth_realm == o.contextual_auth_realm && copy_own == o.copy_own && @@ -644,6 +677,7 @@ def ==(o) distributes == o.distributes && docker_refresh_tokens_enabled == o.docker_refresh_tokens_enabled && enforce_eula == o.enforce_eula && + generic_package_index_enabled == o.generic_package_index_enabled && index_files == o.index_files && manage_entitlements_privilege == o.manage_entitlements_privilege && move_own == o.move_own && @@ -686,7 +720,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [content_kind, contextual_auth_realm, copy_own, copy_packages, cosign_signing_enabled, default_privilege, delete_own, delete_packages, description, distributes, docker_refresh_tokens_enabled, enforce_eula, index_files, manage_entitlements_privilege, move_own, move_packages, name, nuget_native_signing_enabled, open_source_license, open_source_project_url, proxy_npmjs, proxy_pypi, raw_package_index_enabled, raw_package_index_signatures_enabled, replace_packages, replace_packages_by_default, repository_type_str, resync_own, resync_packages, scan_own, scan_packages, show_setup_all, slug, strict_npm_validation, tag_pre_releases_as_latest, use_debian_labels, use_default_cargo_upstream, use_entitlements_privilege, use_noarch_packages, use_source_packages, use_vulnerability_scanning, user_entitlements_enabled, view_statistics].hash + [broadcast_state, content_kind, contextual_auth_realm, copy_own, copy_packages, cosign_signing_enabled, default_privilege, delete_own, delete_packages, description, distributes, docker_refresh_tokens_enabled, enforce_eula, generic_package_index_enabled, index_files, manage_entitlements_privilege, move_own, move_packages, name, nuget_native_signing_enabled, open_source_license, open_source_project_url, proxy_npmjs, proxy_pypi, raw_package_index_enabled, raw_package_index_signatures_enabled, replace_packages, replace_packages_by_default, repository_type_str, resync_own, resync_packages, scan_own, scan_packages, show_setup_all, slug, strict_npm_validation, tag_pre_releases_as_latest, use_debian_labels, use_default_cargo_upstream, use_entitlements_privilege, use_noarch_packages, use_source_packages, use_vulnerability_scanning, user_entitlements_enabled, view_statistics].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_retention_rules.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_retention_rules.rb index c51c0593..f044734c 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_retention_rules.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_retention_rules.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_retention_rules_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_retention_rules_request_patch.rb index b92e4f0f..fabf0432 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_retention_rules_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_retention_rules_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_rsa_key.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_rsa_key.rb index 50c69781..a6a2450c 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_rsa_key.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_rsa_key.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_rsa_key_create.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_rsa_key_create.rb index 0a74336b..4c9806de 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_rsa_key_create.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_rsa_key_create.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token.rb index 467acd00..f0620e0d 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -14,6 +14,9 @@ module CloudsmithApi class RepositoryToken + # If enabled, this token can be used for private broadcasts + attr_accessor :access_private_broadcasts + attr_accessor :clients # The datetime the token was updated at. @@ -132,6 +135,7 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'access_private_broadcasts' => :'access_private_broadcasts', :'clients' => :'clients', :'created_at' => :'created_at', :'created_by' => :'created_by', @@ -177,6 +181,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'access_private_broadcasts' => :'BOOLEAN', :'clients' => :'Integer', :'created_at' => :'DateTime', :'created_by' => :'String', @@ -227,6 +232,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + if attributes.has_key?(:'access_private_broadcasts') + self.access_private_broadcasts = attributes[:'access_private_broadcasts'] + end + if attributes.has_key?(:'clients') self.clients = attributes[:'clients'] end @@ -435,6 +444,7 @@ def scheduled_reset_period=(scheduled_reset_period) def ==(o) return true if self.equal?(o) self.class == o.class && + access_private_broadcasts == o.access_private_broadcasts && clients == o.clients && created_at == o.created_at && created_by == o.created_by && @@ -485,7 +495,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [clients, created_at, created_by, created_by_url, default, disable_url, downloads, enable_url, eula_accepted, eula_accepted_at, eula_accepted_from, eula_required, has_limits, identifier, is_active, is_limited, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, refresh_url, reset_url, scheduled_reset_at, scheduled_reset_period, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash + [access_private_broadcasts, clients, created_at, created_by, created_by_url, default, disable_url, downloads, enable_url, eula_accepted, eula_accepted_at, eula_accepted_from, eula_required, has_limits, identifier, is_active, is_limited, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, refresh_url, reset_url, scheduled_reset_at, scheduled_reset_period, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_action.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_action.rb index a508f0bc..964954d4 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_action.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_action.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_refresh.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_refresh.rb index 8874e16c..2653a6e9 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_refresh.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_refresh.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -14,6 +14,9 @@ module CloudsmithApi class RepositoryTokenRefresh + # If enabled, this token can be used for private broadcasts + attr_accessor :access_private_broadcasts + attr_accessor :clients # The datetime the token was updated at. @@ -132,6 +135,7 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'access_private_broadcasts' => :'access_private_broadcasts', :'clients' => :'clients', :'created_at' => :'created_at', :'created_by' => :'created_by', @@ -177,6 +181,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'access_private_broadcasts' => :'BOOLEAN', :'clients' => :'Integer', :'created_at' => :'DateTime', :'created_by' => :'String', @@ -227,6 +232,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + if attributes.has_key?(:'access_private_broadcasts') + self.access_private_broadcasts = attributes[:'access_private_broadcasts'] + end + if attributes.has_key?(:'clients') self.clients = attributes[:'clients'] end @@ -430,6 +439,7 @@ def scheduled_reset_period=(scheduled_reset_period) def ==(o) return true if self.equal?(o) self.class == o.class && + access_private_broadcasts == o.access_private_broadcasts && clients == o.clients && created_at == o.created_at && created_by == o.created_by && @@ -480,7 +490,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [clients, created_at, created_by, created_by_url, default, disable_url, downloads, enable_url, eula_accepted, eula_accepted_at, eula_accepted_from, eula_required, has_limits, identifier, is_active, is_limited, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, refresh_url, reset_url, scheduled_reset_at, scheduled_reset_period, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash + [access_private_broadcasts, clients, created_at, created_by, created_by_url, default, disable_url, downloads, enable_url, eula_accepted, eula_accepted_at, eula_accepted_from, eula_required, has_limits, identifier, is_active, is_limited, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, refresh_url, reset_url, scheduled_reset_at, scheduled_reset_period, self_url, slug_perm, token, updated_at, updated_by, updated_by_url, usage, user, user_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_refresh_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_refresh_request.rb index 22d7c3a8..0e528ac1 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_refresh_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_refresh_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -14,6 +14,9 @@ module CloudsmithApi class RepositoryTokenRefreshRequest + # If enabled, this token can be used for private broadcasts + attr_accessor :access_private_broadcasts + # If checked, a EULA acceptance is required for this token. attr_accessor :eula_required @@ -77,6 +80,7 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'access_private_broadcasts' => :'access_private_broadcasts', :'eula_required' => :'eula_required', :'is_active' => :'is_active', :'limit_bandwidth' => :'limit_bandwidth', @@ -97,6 +101,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'access_private_broadcasts' => :'BOOLEAN', :'eula_required' => :'BOOLEAN', :'is_active' => :'BOOLEAN', :'limit_bandwidth' => :'Integer', @@ -122,6 +127,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + if attributes.has_key?(:'access_private_broadcasts') + self.access_private_broadcasts = attributes[:'access_private_broadcasts'] + end + if attributes.has_key?(:'eula_required') self.eula_required = attributes[:'eula_required'] end @@ -225,6 +234,7 @@ def scheduled_reset_period=(scheduled_reset_period) def ==(o) return true if self.equal?(o) self.class == o.class && + access_private_broadcasts == o.access_private_broadcasts && eula_required == o.eula_required && is_active == o.is_active && limit_bandwidth == o.limit_bandwidth && @@ -250,7 +260,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [eula_required, is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, scheduled_reset_at, scheduled_reset_period, token].hash + [access_private_broadcasts, eula_required, is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, scheduled_reset_at, scheduled_reset_period, token].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_request.rb index ce16242d..85a0a3e5 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -14,6 +14,9 @@ module CloudsmithApi class RepositoryTokenRequest + # If enabled, this token can be used for private broadcasts + attr_accessor :access_private_broadcasts + # If checked, a EULA acceptance is required for this token. attr_accessor :eula_required @@ -79,6 +82,7 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'access_private_broadcasts' => :'access_private_broadcasts', :'eula_required' => :'eula_required', :'is_active' => :'is_active', :'limit_bandwidth' => :'limit_bandwidth', @@ -100,6 +104,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'access_private_broadcasts' => :'BOOLEAN', :'eula_required' => :'BOOLEAN', :'is_active' => :'BOOLEAN', :'limit_bandwidth' => :'Integer', @@ -126,6 +131,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + if attributes.has_key?(:'access_private_broadcasts') + self.access_private_broadcasts = attributes[:'access_private_broadcasts'] + end + if attributes.has_key?(:'eula_required') self.eula_required = attributes[:'eula_required'] end @@ -238,6 +247,7 @@ def scheduled_reset_period=(scheduled_reset_period) def ==(o) return true if self.equal?(o) self.class == o.class && + access_private_broadcasts == o.access_private_broadcasts && eula_required == o.eula_required && is_active == o.is_active && limit_bandwidth == o.limit_bandwidth && @@ -264,7 +274,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [eula_required, is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, scheduled_reset_at, scheduled_reset_period, token].hash + [access_private_broadcasts, eula_required, is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, scheduled_reset_at, scheduled_reset_period, token].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_request_patch.rb index 5ef5839f..77e301b1 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -14,6 +14,9 @@ module CloudsmithApi class RepositoryTokenRequestPatch + # If enabled, this token can be used for private broadcasts + attr_accessor :access_private_broadcasts + # If checked, a EULA acceptance is required for this token. attr_accessor :eula_required @@ -79,6 +82,7 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'access_private_broadcasts' => :'access_private_broadcasts', :'eula_required' => :'eula_required', :'is_active' => :'is_active', :'limit_bandwidth' => :'limit_bandwidth', @@ -100,6 +104,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'access_private_broadcasts' => :'BOOLEAN', :'eula_required' => :'BOOLEAN', :'is_active' => :'BOOLEAN', :'limit_bandwidth' => :'Integer', @@ -126,6 +131,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } + if attributes.has_key?(:'access_private_broadcasts') + self.access_private_broadcasts = attributes[:'access_private_broadcasts'] + end + if attributes.has_key?(:'eula_required') self.eula_required = attributes[:'eula_required'] end @@ -233,6 +242,7 @@ def scheduled_reset_period=(scheduled_reset_period) def ==(o) return true if self.equal?(o) self.class == o.class && + access_private_broadcasts == o.access_private_broadcasts && eula_required == o.eula_required && is_active == o.is_active && limit_bandwidth == o.limit_bandwidth && @@ -259,7 +269,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [eula_required, is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, scheduled_reset_at, scheduled_reset_period, token].hash + [access_private_broadcasts, eula_required, is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, scheduled_reset_at, scheduled_reset_period, token].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_sync.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_sync.rb index 4cb6d07d..576f36bc 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_sync.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_sync.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_sync_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_sync_request.rb index 1181be39..455047a7 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_sync_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_token_sync_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_transfer_region.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_transfer_region.rb index 9aa50817..f6dbdcdd 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_transfer_region.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_transfer_region.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_transfer_region_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_transfer_region_request.rb index 6a22af2c..d5cb8847 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_transfer_region_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_transfer_region_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook.rb index 305e31e5..eaeaeee7 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook_request.rb index b97c2a43..78fd74a1 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook_request_patch.rb index acddfe89..0479d192 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_webhook_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_x509_ecdsa_certificate.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_x509_ecdsa_certificate.rb index 301f25ea..c72fbfba 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_x509_ecdsa_certificate.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_x509_ecdsa_certificate.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/repository_x509_rsa_certificate.rb b/bindings/ruby/src/lib/cloudsmith-api/models/repository_x509_rsa_certificate.rb index 0bff798e..67e99dc2 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/repository_x509_rsa_certificate.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/repository_x509_rsa_certificate.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/resources_rate_check.rb b/bindings/ruby/src/lib/cloudsmith-api/models/resources_rate_check.rb index 58b5c80a..c36590a6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/resources_rate_check.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/resources_rate_check.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/respository_geo_ip_enable_disable.rb b/bindings/ruby/src/lib/cloudsmith-api/models/respository_geo_ip_enable_disable.rb index 107fe572..301a0993 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/respository_geo_ip_enable_disable.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/respository_geo_ip_enable_disable.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/respository_geo_ip_enable_disable_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/respository_geo_ip_enable_disable_request.rb index 65dd9427..8c57e78f 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/respository_geo_ip_enable_disable_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/respository_geo_ip_enable_disable_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/rpm_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/rpm_package_upload.rb index 50051425..69b7bdfc 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/rpm_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/rpm_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class RpmPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class RpmPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/rpm_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/rpm_package_upload_request.rb index fb762618..eb3f6961 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/rpm_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/rpm_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream.rb index c2cebccc..f08fd9d4 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class RpmUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The distribution version that packages found on this upstream will be associated with. attr_accessor :distro_version @@ -43,6 +50,8 @@ class RpmUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :gpg_key_fingerprint_short + # A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. attr_accessor :gpg_key_inline @@ -52,12 +61,23 @@ class RpmUpstream # The GPG signature verification mode for this upstream. attr_accessor :gpg_verification + attr_accessor :has_failed_signature_verification + # When checked, source packages will be available from this upstream. attr_accessor :include_sources + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -111,18 +131,26 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'distro_version' => :'distro_version', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'gpg_key_fingerprint_short' => :'gpg_key_fingerprint_short', :'gpg_key_inline' => :'gpg_key_inline', :'gpg_key_url' => :'gpg_key_url', :'gpg_verification' => :'gpg_verification', + :'has_failed_signature_verification' => :'has_failed_signature_verification', :'include_sources' => :'include_sources', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -141,18 +169,26 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'distro_version' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'gpg_key_fingerprint_short' => :'String', :'gpg_key_inline' => :'String', :'gpg_key_url' => :'String', :'gpg_verification' => :'String', + :'has_failed_signature_verification' => :'String', :'include_sources' => :'BOOLEAN', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -187,6 +223,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -197,6 +241,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'distro_version') self.distro_version = attributes[:'distro_version'] end @@ -217,6 +265,10 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'gpg_key_fingerprint_short') + self.gpg_key_fingerprint_short = attributes[:'gpg_key_fingerprint_short'] + end + if attributes.has_key?(:'gpg_key_inline') self.gpg_key_inline = attributes[:'gpg_key_inline'] end @@ -231,14 +283,30 @@ def initialize(attributes = {}) self.gpg_verification = 'Allow All' end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + if attributes.has_key?(:'include_sources') self.include_sources = attributes[:'include_sources'] end + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -376,18 +444,26 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && distro_version == o.distro_version && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + gpg_key_fingerprint_short == o.gpg_key_fingerprint_short && gpg_key_inline == o.gpg_key_inline && gpg_key_url == o.gpg_key_url && gpg_verification == o.gpg_verification && + has_failed_signature_verification == o.has_failed_signature_verification && include_sources == o.include_sources && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -408,7 +484,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, distro_version, extra_header_1, extra_header_2, extra_value_1, extra_value_2, gpg_key_inline, gpg_key_url, gpg_verification, include_sources, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verification_status, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, distro_version, extra_header_1, extra_header_2, extra_value_1, extra_value_2, gpg_key_fingerprint_short, gpg_key_inline, gpg_key_url, gpg_verification, has_failed_signature_verification, include_sources, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verification_status, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream_request.rb index 327d226d..1a545a22 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream_request_patch.rb index b56a6017..2902723e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/rpm_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/ruby_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/ruby_package_upload.rb index c137d33d..7439ceee 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/ruby_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/ruby_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class RubyPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class RubyPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/ruby_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/ruby_package_upload_request.rb index 3e266b7a..e178976d 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/ruby_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/ruby_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream.rb index 50cc7063..e8561f79 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class RubyUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class RubyUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream_request.rb index 79c8abf6..0c588592 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream_request_patch.rb index cc85eecf..6c4c4a02 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/ruby_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/service.rb b/bindings/ruby/src/lib/cloudsmith-api/models/service.rb index b2b45778..77fd83d3 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/service.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/service.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/service_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/service_request.rb index 5099a1dd..23d223fe 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/service_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/service_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/service_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/service_request_patch.rb index a5cfe096..d22dbfbd 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/service_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/service_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/service_teams.rb b/bindings/ruby/src/lib/cloudsmith-api/models/service_teams.rb index d0859427..f8642628 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/service_teams.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/service_teams.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/status_basic.rb b/bindings/ruby/src/lib/cloudsmith-api/models/status_basic.rb index 3c1646ee..48b6e200 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/status_basic.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/status_basic.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -53,7 +53,7 @@ def initialize(attributes = {}) if attributes.has_key?(:'version') self.version = attributes[:'version'] else - self.version = '1.812.0' + self.version = '1.0' end end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/storage_allocated_limit.rb b/bindings/ruby/src/lib/cloudsmith-api/models/storage_allocated_limit.rb index fff8221d..1b3362fb 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/storage_allocated_limit.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/storage_allocated_limit.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/storage_allocated_limit_raw.rb b/bindings/ruby/src/lib/cloudsmith-api/models/storage_allocated_limit_raw.rb index b86cdc07..b0c9173c 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/storage_allocated_limit_raw.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/storage_allocated_limit_raw.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/storage_region.rb b/bindings/ruby/src/lib/cloudsmith-api/models/storage_region.rb index 92c68afc..74dc351a 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/storage_region.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/storage_region.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/storage_usage.rb b/bindings/ruby/src/lib/cloudsmith-api/models/storage_usage.rb index a2e96525..c042b479 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/storage_usage.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/storage_usage.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/storage_usage_raw.rb b/bindings/ruby/src/lib/cloudsmith-api/models/storage_usage_raw.rb index d60e7776..5626881c 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/storage_usage_raw.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/storage_usage_raw.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/swift_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/swift_package_upload.rb index eed50633..e45f9c23 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/swift_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/swift_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -127,6 +127,9 @@ class SwiftPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The URL of the readme for the package. attr_accessor :readme_url @@ -166,6 +169,9 @@ class SwiftPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -293,6 +299,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'readme_url' => :'readme_url', :'release' => :'release', :'repository' => :'repository', @@ -308,6 +315,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -385,6 +393,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'readme_url' => :'String', :'release' => :'String', :'repository' => :'String', @@ -400,6 +409,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -638,6 +648,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'readme_url') self.readme_url = attributes[:'readme_url'] end @@ -700,6 +714,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -880,6 +898,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && readme_url == o.readme_url && release == o.release && repository == o.repository && @@ -895,6 +914,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -927,7 +947,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, author_name, author_org, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, license_url, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, readme_url, release, repository, repository_url, scope, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, author_name, author_org, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, license_url, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, readme_url, release, repository, repository_url, scope, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/swift_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/swift_package_upload_request.rb index 2942b3f7..efe5d770 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/swift_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/swift_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream.rb b/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream.rb index 0a0c8437..c9415787 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -23,11 +23,18 @@ class SwiftUpstream # Username to provide with requests to upstream. attr_accessor :auth_username + attr_accessor :available + + attr_accessor :can_reindex + # The datetime the upstream source was created. attr_accessor :created_at attr_accessor :disable_reason + # Human-readable explanation of why this upstream is disabled + attr_accessor :disable_reason_text + # The key for extra header #1 to send to upstream. attr_accessor :extra_header_1 @@ -40,9 +47,20 @@ class SwiftUpstream # The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. attr_accessor :extra_value_2 + attr_accessor :has_failed_signature_verification + + # The number of packages available in this upstream source + attr_accessor :index_package_count + + # The current indexing status of this upstream source + attr_accessor :index_status + # Whether or not this upstream is active and ready for requests. attr_accessor :is_active + # The last time this upstream source was indexed + attr_accessor :last_indexed + # 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. attr_accessor :mode @@ -93,13 +111,20 @@ def self.attribute_map :'auth_mode' => :'auth_mode', :'auth_secret' => :'auth_secret', :'auth_username' => :'auth_username', + :'available' => :'available', + :'can_reindex' => :'can_reindex', :'created_at' => :'created_at', :'disable_reason' => :'disable_reason', + :'disable_reason_text' => :'disable_reason_text', :'extra_header_1' => :'extra_header_1', :'extra_header_2' => :'extra_header_2', :'extra_value_1' => :'extra_value_1', :'extra_value_2' => :'extra_value_2', + :'has_failed_signature_verification' => :'has_failed_signature_verification', + :'index_package_count' => :'index_package_count', + :'index_status' => :'index_status', :'is_active' => :'is_active', + :'last_indexed' => :'last_indexed', :'mode' => :'mode', :'name' => :'name', :'pending_validation' => :'pending_validation', @@ -117,13 +142,20 @@ def self.swagger_types :'auth_mode' => :'String', :'auth_secret' => :'String', :'auth_username' => :'String', + :'available' => :'String', + :'can_reindex' => :'String', :'created_at' => :'DateTime', :'disable_reason' => :'String', + :'disable_reason_text' => :'String', :'extra_header_1' => :'String', :'extra_header_2' => :'String', :'extra_value_1' => :'String', :'extra_value_2' => :'String', + :'has_failed_signature_verification' => :'String', + :'index_package_count' => :'String', + :'index_status' => :'String', :'is_active' => :'BOOLEAN', + :'last_indexed' => :'String', :'mode' => :'String', :'name' => :'String', :'pending_validation' => :'BOOLEAN', @@ -157,6 +189,14 @@ def initialize(attributes = {}) self.auth_username = attributes[:'auth_username'] end + if attributes.has_key?(:'available') + self.available = attributes[:'available'] + end + + if attributes.has_key?(:'can_reindex') + self.can_reindex = attributes[:'can_reindex'] + end + if attributes.has_key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -167,6 +207,10 @@ def initialize(attributes = {}) self.disable_reason = 'N/A' end + if attributes.has_key?(:'disable_reason_text') + self.disable_reason_text = attributes[:'disable_reason_text'] + end + if attributes.has_key?(:'extra_header_1') self.extra_header_1 = attributes[:'extra_header_1'] end @@ -183,10 +227,26 @@ def initialize(attributes = {}) self.extra_value_2 = attributes[:'extra_value_2'] end + if attributes.has_key?(:'has_failed_signature_verification') + self.has_failed_signature_verification = attributes[:'has_failed_signature_verification'] + end + + if attributes.has_key?(:'index_package_count') + self.index_package_count = attributes[:'index_package_count'] + end + + if attributes.has_key?(:'index_status') + self.index_status = attributes[:'index_status'] + end + if attributes.has_key?(:'is_active') self.is_active = attributes[:'is_active'] end + if attributes.has_key?(:'last_indexed') + self.last_indexed = attributes[:'last_indexed'] + end + if attributes.has_key?(:'mode') self.mode = attributes[:'mode'] else @@ -289,13 +349,20 @@ def ==(o) auth_mode == o.auth_mode && auth_secret == o.auth_secret && auth_username == o.auth_username && + available == o.available && + can_reindex == o.can_reindex && created_at == o.created_at && disable_reason == o.disable_reason && + disable_reason_text == o.disable_reason_text && extra_header_1 == o.extra_header_1 && extra_header_2 == o.extra_header_2 && extra_value_1 == o.extra_value_1 && extra_value_2 == o.extra_value_2 && + has_failed_signature_verification == o.has_failed_signature_verification && + index_package_count == o.index_package_count && + index_status == o.index_status && is_active == o.is_active && + last_indexed == o.last_indexed && mode == o.mode && name == o.name && pending_validation == o.pending_validation && @@ -315,7 +382,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [auth_mode, auth_secret, auth_username, created_at, disable_reason, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash + [auth_mode, auth_secret, auth_username, available, can_reindex, created_at, disable_reason, disable_reason_text, extra_header_1, extra_header_2, extra_value_1, extra_value_2, has_failed_signature_verification, index_package_count, index_status, is_active, last_indexed, mode, name, pending_validation, priority, slug_perm, updated_at, upstream_url, verify_ssl].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream_request.rb index de767e81..648c3dc2 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream_request_patch.rb b/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream_request_patch.rb index 66f203de..69cbd39d 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream_request_patch.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/swift_upstream_request_patch.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/tags.rb b/bindings/ruby/src/lib/cloudsmith-api/models/tags.rb index 0873fba0..759bbdd9 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/tags.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/tags.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/terraform_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/terraform_package_upload.rb index 1213f56f..820082d4 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/terraform_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/terraform_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -118,6 +118,9 @@ class TerraformPackageUpload # Whether or not the package has violated any policy. attr_accessor :policy_violated + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -150,6 +153,9 @@ class TerraformPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -274,6 +280,7 @@ def self.attribute_map :'origin_repository_url' => :'origin_repository_url', :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -287,6 +294,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -361,6 +369,7 @@ def self.swagger_types :'origin_repository_url' => :'String', :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -374,6 +383,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -600,6 +610,10 @@ def initialize(attributes = {}) self.policy_violated = attributes[:'policy_violated'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -654,6 +668,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -816,6 +834,7 @@ def ==(o) origin_repository_url == o.origin_repository_url && package_type == o.package_type && policy_violated == o.policy_violated && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -829,6 +848,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -861,7 +881,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/terraform_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/terraform_package_upload_request.rb index cd628304..ebb83bb7 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/terraform_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/terraform_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/usage.rb b/bindings/ruby/src/lib/cloudsmith-api/models/usage.rb index f01700bf..a60208d5 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/usage.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/usage.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/usage_fieldset.rb b/bindings/ruby/src/lib/cloudsmith-api/models/usage_fieldset.rb index bf905c43..13996254 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/usage_fieldset.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/usage_fieldset.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/usage_limits.rb b/bindings/ruby/src/lib/cloudsmith-api/models/usage_limits.rb index 57ee19fc..828a8f04 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/usage_limits.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/usage_limits.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/usage_limits_raw.rb b/bindings/ruby/src/lib/cloudsmith-api/models/usage_limits_raw.rb index da0bb098..441fe8da 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/usage_limits_raw.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/usage_limits_raw.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/usage_raw.rb b/bindings/ruby/src/lib/cloudsmith-api/models/usage_raw.rb index 30f13dd6..6645e93e 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/usage_raw.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/usage_raw.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/user_auth_token.rb b/bindings/ruby/src/lib/cloudsmith-api/models/user_auth_token.rb index 088c80f3..4c35820d 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/user_auth_token.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/user_auth_token.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/user_auth_token_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/user_auth_token_request.rb index 25d3f8cc..2ed0f2b9 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/user_auth_token_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/user_auth_token_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/user_authentication_token.rb b/bindings/ruby/src/lib/cloudsmith-api/models/user_authentication_token.rb index 8a2eb91c..e60d6944 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/user_authentication_token.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/user_authentication_token.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/user_brief.rb b/bindings/ruby/src/lib/cloudsmith-api/models/user_brief.rb index 3ec07654..2cec470a 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/user_brief.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/user_brief.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/user_profile.rb b/bindings/ruby/src/lib/cloudsmith-api/models/user_profile.rb index 6edfceac..5e4ad987 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/user_profile.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/user_profile.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/vagrant_package_upload.rb b/bindings/ruby/src/lib/cloudsmith-api/models/vagrant_package_upload.rb index c7e0c295..c90fa520 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/vagrant_package_upload.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/vagrant_package_upload.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -121,6 +121,9 @@ class VagrantPackageUpload # The virtual machine provider for the box. attr_accessor :provider + # The raw license string. + attr_accessor :raw_license + # The release of the package version (if any). attr_accessor :release @@ -153,6 +156,9 @@ class VagrantPackageUpload attr_accessor :slug_perm + # The SPDX license identifier for this package. + attr_accessor :spdx_license + # The synchronisation (in progress) stage of the package. attr_accessor :stage @@ -278,6 +284,7 @@ def self.attribute_map :'package_type' => :'package_type', :'policy_violated' => :'policy_violated', :'provider' => :'provider', + :'raw_license' => :'raw_license', :'release' => :'release', :'repository' => :'repository', :'repository_url' => :'repository_url', @@ -291,6 +298,7 @@ def self.attribute_map :'size' => :'size', :'slug' => :'slug', :'slug_perm' => :'slug_perm', + :'spdx_license' => :'spdx_license', :'stage' => :'stage', :'stage_str' => :'stage_str', :'stage_updated_at' => :'stage_updated_at', @@ -366,6 +374,7 @@ def self.swagger_types :'package_type' => :'Integer', :'policy_violated' => :'BOOLEAN', :'provider' => :'String', + :'raw_license' => :'String', :'release' => :'String', :'repository' => :'String', :'repository_url' => :'String', @@ -379,6 +388,7 @@ def self.swagger_types :'size' => :'Integer', :'slug' => :'String', :'slug_perm' => :'String', + :'spdx_license' => :'String', :'stage' => :'Integer', :'stage_str' => :'String', :'stage_updated_at' => :'DateTime', @@ -609,6 +619,10 @@ def initialize(attributes = {}) self.provider = attributes[:'provider'] end + if attributes.has_key?(:'raw_license') + self.raw_license = attributes[:'raw_license'] + end + if attributes.has_key?(:'release') self.release = attributes[:'release'] end @@ -663,6 +677,10 @@ def initialize(attributes = {}) self.slug_perm = attributes[:'slug_perm'] end + if attributes.has_key?(:'spdx_license') + self.spdx_license = attributes[:'spdx_license'] + end + if attributes.has_key?(:'stage') self.stage = attributes[:'stage'] end @@ -841,6 +859,7 @@ def ==(o) package_type == o.package_type && policy_violated == o.policy_violated && provider == o.provider && + raw_license == o.raw_license && release == o.release && repository == o.repository && repository_url == o.repository_url && @@ -854,6 +873,7 @@ def ==(o) size == o.size && slug == o.slug && slug_perm == o.slug_perm && + spdx_license == o.spdx_license && stage == o.stage && stage_str == o.stage_str && stage_updated_at == o.stage_updated_at && @@ -886,7 +906,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, provider, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash + [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, display_name, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, freeable_storage, fully_qualified_name, identifier_perm, identifiers, indexed, is_cancellable, is_copyable, is_deleteable, is_downloadable, is_moveable, is_quarantinable, is_quarantined, is_resyncable, is_security_scannable, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, policy_violated, provider, raw_license, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, spdx_license, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_automatic, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash end # Builds the object from hash diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/vagrant_package_upload_request.rb b/bindings/ruby/src/lib/cloudsmith-api/models/vagrant_package_upload_request.rb index 30330958..e9b8e5b5 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/vagrant_package_upload_request.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/vagrant_package_upload_request.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability.rb b/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability.rb index da64202a..7a8aab05 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan.rb b/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan.rb index 995a210c..3fca6566 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_results.rb b/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_results.rb index d5e2818f..e34d1ed2 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_results.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_results.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb b/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb index b5a01bf1..dbc5e5b6 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_version.rb b/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_version.rb index 4ad770fc..21d987a3 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_version.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/vulnerability_scan_version.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/models/webhook_template.rb b/bindings/ruby/src/lib/cloudsmith-api/models/webhook_template.rb index ef3636ad..b01fa7bf 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/models/webhook_template.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/models/webhook_template.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/lib/cloudsmith-api/version.rb b/bindings/ruby/src/lib/cloudsmith-api/version.rb index 3feceeb5..518fec62 100644 --- a/bindings/ruby/src/lib/cloudsmith-api/version.rb +++ b/bindings/ruby/src/lib/cloudsmith-api/version.rb @@ -6,10 +6,10 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end module CloudsmithApi - VERSION = '2.0.22' + VERSION = '2.0.23' end diff --git a/bindings/ruby/src/spec/api/audit_log_api_spec.rb b/bindings/ruby/src/spec/api/audit_log_api_spec.rb index 96b9a881..273e7ace 100644 --- a/bindings/ruby/src/spec/api/audit_log_api_spec.rb +++ b/bindings/ruby/src/spec/api/audit_log_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/badges_api_spec.rb b/bindings/ruby/src/spec/api/badges_api_spec.rb index 361ba5f5..d54444d8 100644 --- a/bindings/ruby/src/spec/api/badges_api_spec.rb +++ b/bindings/ruby/src/spec/api/badges_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/broadcasts_api_spec.rb b/bindings/ruby/src/spec/api/broadcasts_api_spec.rb new file mode 100644 index 00000000..4e715f41 --- /dev/null +++ b/bindings/ruby/src/spec/api/broadcasts_api_spec.rb @@ -0,0 +1,48 @@ +=begin +#Cloudsmith API (v1) + +#The API to the Cloudsmith Service + +OpenAPI spec version: v1 +Contact: support@cloudsmith.io +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.50 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for CloudsmithApi::BroadcastsApi +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'BroadcastsApi' do + before do + # run before each test + @instance = CloudsmithApi::BroadcastsApi.new + end + + after do + # run after each test + end + + describe 'test an instance of BroadcastsApi' do + it 'should create an instance of BroadcastsApi' do + expect(@instance).to be_instance_of(CloudsmithApi::BroadcastsApi) + end + end + + # unit tests for broadcasts_create_broadcast_token + # Create a broadcast token. + # Create a broadcast token. + # @param org + # @param [Hash] opts the optional parameters + # @option opts [BroadcastTokenInput] :data + # @return [BroadcastToken] + describe 'broadcasts_create_broadcast_token test' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/bindings/ruby/src/spec/api/distros_api_spec.rb b/bindings/ruby/src/spec/api/distros_api_spec.rb index 954be50f..f6e6e768 100644 --- a/bindings/ruby/src/spec/api/distros_api_spec.rb +++ b/bindings/ruby/src/spec/api/distros_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/entitlements_api_spec.rb b/bindings/ruby/src/spec/api/entitlements_api_spec.rb index c5447256..a4ac8947 100644 --- a/bindings/ruby/src/spec/api/entitlements_api_spec.rb +++ b/bindings/ruby/src/spec/api/entitlements_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/files_api_spec.rb b/bindings/ruby/src/spec/api/files_api_spec.rb index 11eaeae4..fe04ca77 100644 --- a/bindings/ruby/src/spec/api/files_api_spec.rb +++ b/bindings/ruby/src/spec/api/files_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/formats_api_spec.rb b/bindings/ruby/src/spec/api/formats_api_spec.rb index c37e79e2..7baa0ad0 100644 --- a/bindings/ruby/src/spec/api/formats_api_spec.rb +++ b/bindings/ruby/src/spec/api/formats_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/metrics_api_spec.rb b/bindings/ruby/src/spec/api/metrics_api_spec.rb index 0af5d0c5..3c7c52cc 100644 --- a/bindings/ruby/src/spec/api/metrics_api_spec.rb +++ b/bindings/ruby/src/spec/api/metrics_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/namespaces_api_spec.rb b/bindings/ruby/src/spec/api/namespaces_api_spec.rb index ba893669..4d6a44e6 100644 --- a/bindings/ruby/src/spec/api/namespaces_api_spec.rb +++ b/bindings/ruby/src/spec/api/namespaces_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/orgs_api_spec.rb b/bindings/ruby/src/spec/api/orgs_api_spec.rb index 2f4fe592..81337835 100644 --- a/bindings/ruby/src/spec/api/orgs_api_spec.rb +++ b/bindings/ruby/src/spec/api/orgs_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/packages_api_spec.rb b/bindings/ruby/src/spec/api/packages_api_spec.rb index b538227f..596f196e 100644 --- a/bindings/ruby/src/spec/api/packages_api_spec.rb +++ b/bindings/ruby/src/spec/api/packages_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/quota_api_spec.rb b/bindings/ruby/src/spec/api/quota_api_spec.rb index b30db3f5..de75a0bb 100644 --- a/bindings/ruby/src/spec/api/quota_api_spec.rb +++ b/bindings/ruby/src/spec/api/quota_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/rates_api_spec.rb b/bindings/ruby/src/spec/api/rates_api_spec.rb index 93129a18..0341e2b4 100644 --- a/bindings/ruby/src/spec/api/rates_api_spec.rb +++ b/bindings/ruby/src/spec/api/rates_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/repos_api_spec.rb b/bindings/ruby/src/spec/api/repos_api_spec.rb index a19f6f71..9fae7aac 100644 --- a/bindings/ruby/src/spec/api/repos_api_spec.rb +++ b/bindings/ruby/src/spec/api/repos_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/status_api_spec.rb b/bindings/ruby/src/spec/api/status_api_spec.rb index c1d19288..3ae168bd 100644 --- a/bindings/ruby/src/spec/api/status_api_spec.rb +++ b/bindings/ruby/src/spec/api/status_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/storage_regions_api_spec.rb b/bindings/ruby/src/spec/api/storage_regions_api_spec.rb index 91b0d006..61862f85 100644 --- a/bindings/ruby/src/spec/api/storage_regions_api_spec.rb +++ b/bindings/ruby/src/spec/api/storage_regions_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/user_api_spec.rb b/bindings/ruby/src/spec/api/user_api_spec.rb index 6c635b96..b71c9f9f 100644 --- a/bindings/ruby/src/spec/api/user_api_spec.rb +++ b/bindings/ruby/src/spec/api/user_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/users_api_spec.rb b/bindings/ruby/src/spec/api/users_api_spec.rb index 7f41726a..5b7727b0 100644 --- a/bindings/ruby/src/spec/api/users_api_spec.rb +++ b/bindings/ruby/src/spec/api/users_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/vulnerabilities_api_spec.rb b/bindings/ruby/src/spec/api/vulnerabilities_api_spec.rb index 610f3942..d34c1cc0 100644 --- a/bindings/ruby/src/spec/api/vulnerabilities_api_spec.rb +++ b/bindings/ruby/src/spec/api/vulnerabilities_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api/webhooks_api_spec.rb b/bindings/ruby/src/spec/api/webhooks_api_spec.rb index 016ccbe4..5eb350a6 100644 --- a/bindings/ruby/src/spec/api/webhooks_api_spec.rb +++ b/bindings/ruby/src/spec/api/webhooks_api_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/api_client_spec.rb b/bindings/ruby/src/spec/api_client_spec.rb index cf1f69a7..18dc2dac 100644 --- a/bindings/ruby/src/spec/api_client_spec.rb +++ b/bindings/ruby/src/spec/api_client_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/configuration_spec.rb b/bindings/ruby/src/spec/configuration_spec.rb index 443dff2d..83b37bcd 100644 --- a/bindings/ruby/src/spec/configuration_spec.rb +++ b/bindings/ruby/src/spec/configuration_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/allocated_limit_raw_spec.rb b/bindings/ruby/src/spec/models/allocated_limit_raw_spec.rb index 1769b73a..2338f67a 100644 --- a/bindings/ruby/src/spec/models/allocated_limit_raw_spec.rb +++ b/bindings/ruby/src/spec/models/allocated_limit_raw_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/allocated_limit_spec.rb b/bindings/ruby/src/spec/models/allocated_limit_spec.rb index 26a6ee41..3e172bc0 100644 --- a/bindings/ruby/src/spec/models/allocated_limit_spec.rb +++ b/bindings/ruby/src/spec/models/allocated_limit_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/alpine_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/alpine_package_upload_request_spec.rb index b08d004f..71ce1aca 100644 --- a/bindings/ruby/src/spec/models/alpine_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/alpine_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/alpine_package_upload_spec.rb b/bindings/ruby/src/spec/models/alpine_package_upload_spec.rb index 9c7127ac..7a0fd473 100644 --- a/bindings/ruby/src/spec/models/alpine_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/alpine_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/architecture_spec.rb b/bindings/ruby/src/spec/models/architecture_spec.rb index 77f70a41..cf9ad4ef 100644 --- a/bindings/ruby/src/spec/models/architecture_spec.rb +++ b/bindings/ruby/src/spec/models/architecture_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/broadcast_token_input_spec.rb b/bindings/ruby/src/spec/models/broadcast_token_input_spec.rb new file mode 100644 index 00000000..5dcbd904 --- /dev/null +++ b/bindings/ruby/src/spec/models/broadcast_token_input_spec.rb @@ -0,0 +1,47 @@ +=begin +#Cloudsmith API (v1) + +#The API to the Cloudsmith Service + +OpenAPI spec version: v1 +Contact: support@cloudsmith.io +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.50 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for CloudsmithApi::BroadcastTokenInput +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'BroadcastTokenInput' do + before do + # run before each test + @instance = CloudsmithApi::BroadcastTokenInput.new + end + + after do + # run after each test + end + + describe 'test an instance of BroadcastTokenInput' do + it 'should create an instance of BroadcastTokenInput' do + expect(@instance).to be_instance_of(CloudsmithApi::BroadcastTokenInput) + end + end + describe 'test attribute "entitlement_token"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "expires_in"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/bindings/ruby/src/spec/models/broadcast_token_spec.rb b/bindings/ruby/src/spec/models/broadcast_token_spec.rb new file mode 100644 index 00000000..bc5f6b10 --- /dev/null +++ b/bindings/ruby/src/spec/models/broadcast_token_spec.rb @@ -0,0 +1,47 @@ +=begin +#Cloudsmith API (v1) + +#The API to the Cloudsmith Service + +OpenAPI spec version: v1 +Contact: support@cloudsmith.io +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.4.50 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for CloudsmithApi::BroadcastToken +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'BroadcastToken' do + before do + # run before each test + @instance = CloudsmithApi::BroadcastToken.new + end + + after do + # run after each test + end + + describe 'test an instance of BroadcastToken' do + it 'should create an instance of BroadcastToken' do + expect(@instance).to be_instance_of(CloudsmithApi::BroadcastToken) + end + end + describe 'test attribute "expires_at"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "token"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/bindings/ruby/src/spec/models/cargo_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/cargo_package_upload_request_spec.rb index a5dcbc9e..f1457b0b 100644 --- a/bindings/ruby/src/spec/models/cargo_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/cargo_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/cargo_package_upload_spec.rb b/bindings/ruby/src/spec/models/cargo_package_upload_spec.rb index bf337066..3ee0c812 100644 --- a/bindings/ruby/src/spec/models/cargo_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/cargo_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/cargo_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/cargo_upstream_request_patch_spec.rb index d58aa8ef..22b52e3e 100644 --- a/bindings/ruby/src/spec/models/cargo_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/cargo_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/cargo_upstream_request_spec.rb b/bindings/ruby/src/spec/models/cargo_upstream_request_spec.rb index f9ed456c..ce077c0e 100644 --- a/bindings/ruby/src/spec/models/cargo_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/cargo_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/cargo_upstream_spec.rb b/bindings/ruby/src/spec/models/cargo_upstream_spec.rb index 73ee3ceb..fe9a987d 100644 --- a/bindings/ruby/src/spec/models/cargo_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/cargo_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/cocoapods_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/cocoapods_package_upload_request_spec.rb index 26d9698c..d0575bed 100644 --- a/bindings/ruby/src/spec/models/cocoapods_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/cocoapods_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/cocoapods_package_upload_spec.rb b/bindings/ruby/src/spec/models/cocoapods_package_upload_spec.rb index cf7f975c..efda0d9b 100644 --- a/bindings/ruby/src/spec/models/cocoapods_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/cocoapods_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/common_bandwidth_metrics_spec.rb b/bindings/ruby/src/spec/models/common_bandwidth_metrics_spec.rb index a8b3b7c9..d90fb219 100644 --- a/bindings/ruby/src/spec/models/common_bandwidth_metrics_spec.rb +++ b/bindings/ruby/src/spec/models/common_bandwidth_metrics_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/common_bandwidth_metrics_value_spec.rb b/bindings/ruby/src/spec/models/common_bandwidth_metrics_value_spec.rb index 6ac1b8ab..186eae20 100644 --- a/bindings/ruby/src/spec/models/common_bandwidth_metrics_value_spec.rb +++ b/bindings/ruby/src/spec/models/common_bandwidth_metrics_value_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/common_downloads_metrics_spec.rb b/bindings/ruby/src/spec/models/common_downloads_metrics_spec.rb index 975dac81..1a0958f7 100644 --- a/bindings/ruby/src/spec/models/common_downloads_metrics_spec.rb +++ b/bindings/ruby/src/spec/models/common_downloads_metrics_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/common_downloads_metrics_value_spec.rb b/bindings/ruby/src/spec/models/common_downloads_metrics_value_spec.rb index 4e5be49e..247a2992 100644 --- a/bindings/ruby/src/spec/models/common_downloads_metrics_value_spec.rb +++ b/bindings/ruby/src/spec/models/common_downloads_metrics_value_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/common_metrics_spec.rb b/bindings/ruby/src/spec/models/common_metrics_spec.rb index fc0f1a14..09d66afb 100644 --- a/bindings/ruby/src/spec/models/common_metrics_spec.rb +++ b/bindings/ruby/src/spec/models/common_metrics_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/composer_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/composer_package_upload_request_spec.rb index 7f3ee779..1a47f072 100644 --- a/bindings/ruby/src/spec/models/composer_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/composer_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/composer_package_upload_spec.rb b/bindings/ruby/src/spec/models/composer_package_upload_spec.rb index 9dc5bcde..32b92e7b 100644 --- a/bindings/ruby/src/spec/models/composer_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/composer_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/composer_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/composer_upstream_request_patch_spec.rb index 21aaefca..f4a7a016 100644 --- a/bindings/ruby/src/spec/models/composer_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/composer_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/composer_upstream_request_spec.rb b/bindings/ruby/src/spec/models/composer_upstream_request_spec.rb index 54f84477..3fe24614 100644 --- a/bindings/ruby/src/spec/models/composer_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/composer_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/composer_upstream_spec.rb b/bindings/ruby/src/spec/models/composer_upstream_spec.rb index 309b1631..5ea0722e 100644 --- a/bindings/ruby/src/spec/models/composer_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/composer_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/conan_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/conan_package_upload_request_spec.rb index 40fde1b2..5589ff88 100644 --- a/bindings/ruby/src/spec/models/conan_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/conan_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/conan_package_upload_spec.rb b/bindings/ruby/src/spec/models/conan_package_upload_spec.rb index 234c904f..3350d83c 100644 --- a/bindings/ruby/src/spec/models/conan_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/conan_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -326,6 +326,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -408,6 +414,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/conda_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/conda_package_upload_request_spec.rb index 593d9f2d..acd13807 100644 --- a/bindings/ruby/src/spec/models/conda_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/conda_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/conda_package_upload_spec.rb b/bindings/ruby/src/spec/models/conda_package_upload_spec.rb index 9d914b7e..61858378 100644 --- a/bindings/ruby/src/spec/models/conda_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/conda_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/conda_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/conda_upstream_request_patch_spec.rb index 5ff01457..09f36d11 100644 --- a/bindings/ruby/src/spec/models/conda_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/conda_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/conda_upstream_request_spec.rb b/bindings/ruby/src/spec/models/conda_upstream_request_spec.rb index b85c914d..e5f6f871 100644 --- a/bindings/ruby/src/spec/models/conda_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/conda_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/conda_upstream_spec.rb b/bindings/ruby/src/spec/models/conda_upstream_spec.rb index 60b23de9..d3c9b728 100644 --- a/bindings/ruby/src/spec/models/conda_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/conda_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/cran_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/cran_package_upload_request_spec.rb index 3825f7be..fe20ae94 100644 --- a/bindings/ruby/src/spec/models/cran_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/cran_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/cran_package_upload_spec.rb b/bindings/ruby/src/spec/models/cran_package_upload_spec.rb index 5b768819..03401764 100644 --- a/bindings/ruby/src/spec/models/cran_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/cran_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -320,6 +320,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -402,6 +408,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/cran_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/cran_upstream_request_patch_spec.rb index 215bdd89..7e7922d6 100644 --- a/bindings/ruby/src/spec/models/cran_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/cran_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/cran_upstream_request_spec.rb b/bindings/ruby/src/spec/models/cran_upstream_request_spec.rb index 89276cba..cc53581a 100644 --- a/bindings/ruby/src/spec/models/cran_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/cran_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/cran_upstream_spec.rb b/bindings/ruby/src/spec/models/cran_upstream_spec.rb index d4212d80..631bd782 100644 --- a/bindings/ruby/src/spec/models/cran_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/cran_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/dart_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/dart_package_upload_request_spec.rb index 00c3e1a3..3fbfaf8f 100644 --- a/bindings/ruby/src/spec/models/dart_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/dart_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/dart_package_upload_spec.rb b/bindings/ruby/src/spec/models/dart_package_upload_spec.rb index 43a07574..0f70cbac 100644 --- a/bindings/ruby/src/spec/models/dart_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/dart_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/dart_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/dart_upstream_request_patch_spec.rb index 32e92639..b6afdeab 100644 --- a/bindings/ruby/src/spec/models/dart_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/dart_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/dart_upstream_request_spec.rb b/bindings/ruby/src/spec/models/dart_upstream_request_spec.rb index a645a40c..14c8647f 100644 --- a/bindings/ruby/src/spec/models/dart_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/dart_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/dart_upstream_spec.rb b/bindings/ruby/src/spec/models/dart_upstream_spec.rb index c87e6ae0..87b9f950 100644 --- a/bindings/ruby/src/spec/models/dart_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/dart_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/deb_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/deb_package_upload_request_spec.rb index aa7f0fa4..ddfe8a2c 100644 --- a/bindings/ruby/src/spec/models/deb_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/deb_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/deb_package_upload_spec.rb b/bindings/ruby/src/spec/models/deb_package_upload_spec.rb index 69fc2258..50ad0f38 100644 --- a/bindings/ruby/src/spec/models/deb_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/deb_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/deb_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/deb_upstream_request_patch_spec.rb index e41759b4..497ce569 100644 --- a/bindings/ruby/src/spec/models/deb_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/deb_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/deb_upstream_request_spec.rb b/bindings/ruby/src/spec/models/deb_upstream_request_spec.rb index 9162b3f3..55a7c0ac 100644 --- a/bindings/ruby/src/spec/models/deb_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/deb_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/deb_upstream_spec.rb b/bindings/ruby/src/spec/models/deb_upstream_spec.rb index 6c6f26fb..d7f0b58a 100644 --- a/bindings/ruby/src/spec/models/deb_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/deb_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "component"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -76,6 +88,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "distro_versions"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -106,6 +124,12 @@ end end + describe 'test attribute "gpg_key_fingerprint_short"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "gpg_key_inline"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -128,18 +152,42 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "include_sources"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/distribution_full_spec.rb b/bindings/ruby/src/spec/models/distribution_full_spec.rb index d05d2d7e..d0485110 100644 --- a/bindings/ruby/src/spec/models/distribution_full_spec.rb +++ b/bindings/ruby/src/spec/models/distribution_full_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/distribution_spec.rb b/bindings/ruby/src/spec/models/distribution_spec.rb index b7e83654..3582d163 100644 --- a/bindings/ruby/src/spec/models/distribution_spec.rb +++ b/bindings/ruby/src/spec/models/distribution_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/distribution_version_spec.rb b/bindings/ruby/src/spec/models/distribution_version_spec.rb index 19167590..8255a318 100644 --- a/bindings/ruby/src/spec/models/distribution_version_spec.rb +++ b/bindings/ruby/src/spec/models/distribution_version_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/docker_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/docker_package_upload_request_spec.rb index 2ac27faa..b2d880e7 100644 --- a/bindings/ruby/src/spec/models/docker_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/docker_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/docker_package_upload_spec.rb b/bindings/ruby/src/spec/models/docker_package_upload_spec.rb index cad34d17..5d0012e8 100644 --- a/bindings/ruby/src/spec/models/docker_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/docker_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/docker_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/docker_upstream_request_patch_spec.rb index 8deed663..1c4531d7 100644 --- a/bindings/ruby/src/spec/models/docker_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/docker_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/docker_upstream_request_spec.rb b/bindings/ruby/src/spec/models/docker_upstream_request_spec.rb index 96fb9570..06201911 100644 --- a/bindings/ruby/src/spec/models/docker_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/docker_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/docker_upstream_spec.rb b/bindings/ruby/src/spec/models/docker_upstream_spec.rb index d714cf54..cc11faaf 100644 --- a/bindings/ruby/src/spec/models/docker_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/docker_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,12 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +76,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,6 +106,12 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/dynamic_mapping_spec.rb b/bindings/ruby/src/spec/models/dynamic_mapping_spec.rb index a0ca024d..a274b6a1 100644 --- a/bindings/ruby/src/spec/models/dynamic_mapping_spec.rb +++ b/bindings/ruby/src/spec/models/dynamic_mapping_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/entitlement_usage_metrics_spec.rb b/bindings/ruby/src/spec/models/entitlement_usage_metrics_spec.rb index 4a0bce1d..abdcb670 100644 --- a/bindings/ruby/src/spec/models/entitlement_usage_metrics_spec.rb +++ b/bindings/ruby/src/spec/models/entitlement_usage_metrics_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/error_detail_spec.rb b/bindings/ruby/src/spec/models/error_detail_spec.rb index bfe18315..3e9b3597 100644 --- a/bindings/ruby/src/spec/models/error_detail_spec.rb +++ b/bindings/ruby/src/spec/models/error_detail_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/eula_spec.rb b/bindings/ruby/src/spec/models/eula_spec.rb index fe4299bc..6f8f5a42 100644 --- a/bindings/ruby/src/spec/models/eula_spec.rb +++ b/bindings/ruby/src/spec/models/eula_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/format_spec.rb b/bindings/ruby/src/spec/models/format_spec.rb index 4037dc9f..2ec3ddb4 100644 --- a/bindings/ruby/src/spec/models/format_spec.rb +++ b/bindings/ruby/src/spec/models/format_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/format_support_spec.rb b/bindings/ruby/src/spec/models/format_support_spec.rb index aabe970f..30cd2302 100644 --- a/bindings/ruby/src/spec/models/format_support_spec.rb +++ b/bindings/ruby/src/spec/models/format_support_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/format_support_upstream_spec.rb b/bindings/ruby/src/spec/models/format_support_upstream_spec.rb index c47c6516..2f5567f1 100644 --- a/bindings/ruby/src/spec/models/format_support_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/format_support_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/geo_ip_location_spec.rb b/bindings/ruby/src/spec/models/geo_ip_location_spec.rb index 2b4e93a4..661caed3 100644 --- a/bindings/ruby/src/spec/models/geo_ip_location_spec.rb +++ b/bindings/ruby/src/spec/models/geo_ip_location_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/go_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/go_package_upload_request_spec.rb index 95d1b50c..3112ecbc 100644 --- a/bindings/ruby/src/spec/models/go_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/go_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/go_package_upload_spec.rb b/bindings/ruby/src/spec/models/go_package_upload_spec.rb index 8410238f..9264407f 100644 --- a/bindings/ruby/src/spec/models/go_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/go_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/go_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/go_upstream_request_patch_spec.rb index affb86a5..b3c773c5 100644 --- a/bindings/ruby/src/spec/models/go_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/go_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/go_upstream_request_spec.rb b/bindings/ruby/src/spec/models/go_upstream_request_spec.rb index 2691d824..726ab77f 100644 --- a/bindings/ruby/src/spec/models/go_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/go_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/go_upstream_spec.rb b/bindings/ruby/src/spec/models/go_upstream_spec.rb index d5f97ecd..60186a00 100644 --- a/bindings/ruby/src/spec/models/go_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/go_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/helm_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/helm_package_upload_request_spec.rb index 09bca07c..0799d92b 100644 --- a/bindings/ruby/src/spec/models/helm_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/helm_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/helm_package_upload_spec.rb b/bindings/ruby/src/spec/models/helm_package_upload_spec.rb index 389c616e..89628150 100644 --- a/bindings/ruby/src/spec/models/helm_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/helm_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/helm_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/helm_upstream_request_patch_spec.rb index a543fec3..bc64e94e 100644 --- a/bindings/ruby/src/spec/models/helm_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/helm_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/helm_upstream_request_spec.rb b/bindings/ruby/src/spec/models/helm_upstream_request_spec.rb index 2aafeea9..f51a9a1a 100644 --- a/bindings/ruby/src/spec/models/helm_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/helm_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/helm_upstream_spec.rb b/bindings/ruby/src/spec/models/helm_upstream_spec.rb index 3aef239c..a405e66e 100644 --- a/bindings/ruby/src/spec/models/helm_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/helm_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/hex_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/hex_package_upload_request_spec.rb index 16176fd6..605e9a9f 100644 --- a/bindings/ruby/src/spec/models/hex_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/hex_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/hex_package_upload_spec.rb b/bindings/ruby/src/spec/models/hex_package_upload_spec.rb index 2786af66..d6d7e5c9 100644 --- a/bindings/ruby/src/spec/models/hex_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/hex_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/hex_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/hex_upstream_request_patch_spec.rb index ac4efd8c..9be7d0d1 100644 --- a/bindings/ruby/src/spec/models/hex_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/hex_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/hex_upstream_request_spec.rb b/bindings/ruby/src/spec/models/hex_upstream_request_spec.rb index cf552074..d9061fdb 100644 --- a/bindings/ruby/src/spec/models/hex_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/hex_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/hex_upstream_spec.rb b/bindings/ruby/src/spec/models/hex_upstream_spec.rb index ae814aa8..eb4b7b0b 100644 --- a/bindings/ruby/src/spec/models/hex_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/hex_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/history_fieldset_raw_spec.rb b/bindings/ruby/src/spec/models/history_fieldset_raw_spec.rb index c8d088dc..88fb3573 100644 --- a/bindings/ruby/src/spec/models/history_fieldset_raw_spec.rb +++ b/bindings/ruby/src/spec/models/history_fieldset_raw_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/history_fieldset_spec.rb b/bindings/ruby/src/spec/models/history_fieldset_spec.rb index b8d46180..ee6d20d2 100644 --- a/bindings/ruby/src/spec/models/history_fieldset_spec.rb +++ b/bindings/ruby/src/spec/models/history_fieldset_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/history_spec.rb b/bindings/ruby/src/spec/models/history_spec.rb index 37cd9be8..96965fe7 100644 --- a/bindings/ruby/src/spec/models/history_spec.rb +++ b/bindings/ruby/src/spec/models/history_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/huggingface_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/huggingface_package_upload_request_spec.rb index 253846c4..99c8209c 100644 --- a/bindings/ruby/src/spec/models/huggingface_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/huggingface_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/huggingface_package_upload_spec.rb b/bindings/ruby/src/spec/models/huggingface_package_upload_spec.rb index 235579ef..a1fd6030 100644 --- a/bindings/ruby/src/spec/models/huggingface_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/huggingface_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/huggingface_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/huggingface_upstream_request_patch_spec.rb index d661c6d6..b8a15f59 100644 --- a/bindings/ruby/src/spec/models/huggingface_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/huggingface_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/huggingface_upstream_request_spec.rb b/bindings/ruby/src/spec/models/huggingface_upstream_request_spec.rb index 5c23904f..9447151f 100644 --- a/bindings/ruby/src/spec/models/huggingface_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/huggingface_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/huggingface_upstream_spec.rb b/bindings/ruby/src/spec/models/huggingface_upstream_spec.rb index 7665b741..019c07a1 100644 --- a/bindings/ruby/src/spec/models/huggingface_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/huggingface_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/inline_response_200_1_spec.rb b/bindings/ruby/src/spec/models/inline_response_200_1_spec.rb index 88627a7f..e31afb85 100644 --- a/bindings/ruby/src/spec/models/inline_response_200_1_spec.rb +++ b/bindings/ruby/src/spec/models/inline_response_200_1_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/inline_response_200_spec.rb b/bindings/ruby/src/spec/models/inline_response_200_spec.rb index 4f0dccec..e419a8b0 100644 --- a/bindings/ruby/src/spec/models/inline_response_200_spec.rb +++ b/bindings/ruby/src/spec/models/inline_response_200_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/luarocks_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/luarocks_package_upload_request_spec.rb index caa6e439..2883344f 100644 --- a/bindings/ruby/src/spec/models/luarocks_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/luarocks_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/luarocks_package_upload_spec.rb b/bindings/ruby/src/spec/models/luarocks_package_upload_spec.rb index 4661c140..7393a6e1 100644 --- a/bindings/ruby/src/spec/models/luarocks_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/luarocks_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/maven_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/maven_package_upload_request_spec.rb index d478f3ca..3832d141 100644 --- a/bindings/ruby/src/spec/models/maven_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/maven_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/maven_package_upload_spec.rb b/bindings/ruby/src/spec/models/maven_package_upload_spec.rb index edf13b25..32f23cad 100644 --- a/bindings/ruby/src/spec/models/maven_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/maven_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -332,6 +332,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -426,6 +432,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/maven_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/maven_upstream_request_patch_spec.rb index cc7fc441..86f0d2b4 100644 --- a/bindings/ruby/src/spec/models/maven_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/maven_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/maven_upstream_request_spec.rb b/bindings/ruby/src/spec/models/maven_upstream_request_spec.rb index 847fe1a2..8bf4fd17 100644 --- a/bindings/ruby/src/spec/models/maven_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/maven_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/maven_upstream_spec.rb b/bindings/ruby/src/spec/models/maven_upstream_spec.rb index 38e7d640..7cab0afb 100644 --- a/bindings/ruby/src/spec/models/maven_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/maven_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,6 +112,12 @@ end end + describe 'test attribute "gpg_key_fingerprint_short"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "gpg_key_inline"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -116,12 +140,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/namespace_audit_log_spec.rb b/bindings/ruby/src/spec/models/namespace_audit_log_spec.rb index 4766781a..3748486e 100644 --- a/bindings/ruby/src/spec/models/namespace_audit_log_spec.rb +++ b/bindings/ruby/src/spec/models/namespace_audit_log_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/namespace_spec.rb b/bindings/ruby/src/spec/models/namespace_spec.rb index afc6288b..2d760df1 100644 --- a/bindings/ruby/src/spec/models/namespace_spec.rb +++ b/bindings/ruby/src/spec/models/namespace_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/nested_license_policy_spec.rb b/bindings/ruby/src/spec/models/nested_license_policy_spec.rb index 764354fa..cd410abf 100644 --- a/bindings/ruby/src/spec/models/nested_license_policy_spec.rb +++ b/bindings/ruby/src/spec/models/nested_license_policy_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/nested_vulnerability_policy_spec.rb b/bindings/ruby/src/spec/models/nested_vulnerability_policy_spec.rb index 1d588ab8..02aa84e9 100644 --- a/bindings/ruby/src/spec/models/nested_vulnerability_policy_spec.rb +++ b/bindings/ruby/src/spec/models/nested_vulnerability_policy_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/nested_vulnerability_scan_results_spec.rb b/bindings/ruby/src/spec/models/nested_vulnerability_scan_results_spec.rb index 0ca6f85d..b79fe274 100644 --- a/bindings/ruby/src/spec/models/nested_vulnerability_scan_results_spec.rb +++ b/bindings/ruby/src/spec/models/nested_vulnerability_scan_results_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/npm_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/npm_package_upload_request_spec.rb index aa909eda..eda889af 100644 --- a/bindings/ruby/src/spec/models/npm_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/npm_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/npm_package_upload_spec.rb b/bindings/ruby/src/spec/models/npm_package_upload_spec.rb index 42a27233..a82b133b 100644 --- a/bindings/ruby/src/spec/models/npm_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/npm_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/npm_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/npm_upstream_request_patch_spec.rb index 3710dda0..ab1d9b33 100644 --- a/bindings/ruby/src/spec/models/npm_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/npm_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/npm_upstream_request_spec.rb b/bindings/ruby/src/spec/models/npm_upstream_request_spec.rb index de9d2aca..52b4217d 100644 --- a/bindings/ruby/src/spec/models/npm_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/npm_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/npm_upstream_spec.rb b/bindings/ruby/src/spec/models/npm_upstream_spec.rb index f20b7a14..730a2ea5 100644 --- a/bindings/ruby/src/spec/models/npm_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/npm_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/nuget_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/nuget_package_upload_request_spec.rb index b287f966..84a6c7df 100644 --- a/bindings/ruby/src/spec/models/nuget_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/nuget_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/nuget_package_upload_spec.rb b/bindings/ruby/src/spec/models/nuget_package_upload_spec.rb index 35893cab..94a9fac5 100644 --- a/bindings/ruby/src/spec/models/nuget_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/nuget_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/nuget_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/nuget_upstream_request_patch_spec.rb index 02dadc9d..cb9e5107 100644 --- a/bindings/ruby/src/spec/models/nuget_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/nuget_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/nuget_upstream_request_spec.rb b/bindings/ruby/src/spec/models/nuget_upstream_request_spec.rb index 46f1f25b..dae075f8 100644 --- a/bindings/ruby/src/spec/models/nuget_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/nuget_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/nuget_upstream_spec.rb b/bindings/ruby/src/spec/models/nuget_upstream_spec.rb index a32b188a..b6ae091e 100644 --- a/bindings/ruby/src/spec/models/nuget_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/nuget_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/organization_group_sync_request_spec.rb b/bindings/ruby/src/spec/models/organization_group_sync_request_spec.rb index 441915e1..f7df12dc 100644 --- a/bindings/ruby/src/spec/models/organization_group_sync_request_spec.rb +++ b/bindings/ruby/src/spec/models/organization_group_sync_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_group_sync_spec.rb b/bindings/ruby/src/spec/models/organization_group_sync_spec.rb index 65981322..9b822e5e 100644 --- a/bindings/ruby/src/spec/models/organization_group_sync_spec.rb +++ b/bindings/ruby/src/spec/models/organization_group_sync_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_group_sync_status_spec.rb b/bindings/ruby/src/spec/models/organization_group_sync_status_spec.rb index df360371..0b341d95 100644 --- a/bindings/ruby/src/spec/models/organization_group_sync_status_spec.rb +++ b/bindings/ruby/src/spec/models/organization_group_sync_status_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_invite_extend_spec.rb b/bindings/ruby/src/spec/models/organization_invite_extend_spec.rb index 5b9f0461..14d4fc26 100644 --- a/bindings/ruby/src/spec/models/organization_invite_extend_spec.rb +++ b/bindings/ruby/src/spec/models/organization_invite_extend_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_invite_request_spec.rb b/bindings/ruby/src/spec/models/organization_invite_request_spec.rb index e4e46592..4a5396db 100644 --- a/bindings/ruby/src/spec/models/organization_invite_request_spec.rb +++ b/bindings/ruby/src/spec/models/organization_invite_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_invite_spec.rb b/bindings/ruby/src/spec/models/organization_invite_spec.rb index 9f69b8ac..a8aae515 100644 --- a/bindings/ruby/src/spec/models/organization_invite_spec.rb +++ b/bindings/ruby/src/spec/models/organization_invite_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_invite_update_request_patch_spec.rb b/bindings/ruby/src/spec/models/organization_invite_update_request_patch_spec.rb index 1b2ebba6..0355e51b 100644 --- a/bindings/ruby/src/spec/models/organization_invite_update_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/organization_invite_update_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_invite_update_spec.rb b/bindings/ruby/src/spec/models/organization_invite_update_spec.rb index 6e9a45be..9daf03e3 100644 --- a/bindings/ruby/src/spec/models/organization_invite_update_spec.rb +++ b/bindings/ruby/src/spec/models/organization_invite_update_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_membership_request_patch_spec.rb b/bindings/ruby/src/spec/models/organization_membership_request_patch_spec.rb index d21ac633..c6a56e9c 100644 --- a/bindings/ruby/src/spec/models/organization_membership_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/organization_membership_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_membership_role_update_request_patch_spec.rb b/bindings/ruby/src/spec/models/organization_membership_role_update_request_patch_spec.rb index 61546f4a..abb9122c 100644 --- a/bindings/ruby/src/spec/models/organization_membership_role_update_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/organization_membership_role_update_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_membership_role_update_spec.rb b/bindings/ruby/src/spec/models/organization_membership_role_update_spec.rb index edf63f44..302cbb1c 100644 --- a/bindings/ruby/src/spec/models/organization_membership_role_update_spec.rb +++ b/bindings/ruby/src/spec/models/organization_membership_role_update_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_membership_spec.rb b/bindings/ruby/src/spec/models/organization_membership_spec.rb index ab5a84a6..33f381d3 100644 --- a/bindings/ruby/src/spec/models/organization_membership_spec.rb +++ b/bindings/ruby/src/spec/models/organization_membership_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_membership_visibility_update_request_patch_spec.rb b/bindings/ruby/src/spec/models/organization_membership_visibility_update_request_patch_spec.rb index 011ddc8e..6570674d 100644 --- a/bindings/ruby/src/spec/models/organization_membership_visibility_update_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/organization_membership_visibility_update_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_membership_visibility_update_spec.rb b/bindings/ruby/src/spec/models/organization_membership_visibility_update_spec.rb index c56463a3..5f2eb02b 100644 --- a/bindings/ruby/src/spec/models/organization_membership_visibility_update_spec.rb +++ b/bindings/ruby/src/spec/models/organization_membership_visibility_update_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_package_license_policy_request_patch_spec.rb b/bindings/ruby/src/spec/models/organization_package_license_policy_request_patch_spec.rb index 11e5f5cd..088c5fa8 100644 --- a/bindings/ruby/src/spec/models/organization_package_license_policy_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/organization_package_license_policy_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_package_license_policy_request_spec.rb b/bindings/ruby/src/spec/models/organization_package_license_policy_request_spec.rb index a74c7973..eac74030 100644 --- a/bindings/ruby/src/spec/models/organization_package_license_policy_request_spec.rb +++ b/bindings/ruby/src/spec/models/organization_package_license_policy_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_package_license_policy_spec.rb b/bindings/ruby/src/spec/models/organization_package_license_policy_spec.rb index b0825c76..e6380128 100644 --- a/bindings/ruby/src/spec/models/organization_package_license_policy_spec.rb +++ b/bindings/ruby/src/spec/models/organization_package_license_policy_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb b/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb index 5ac98c6e..62aa7bfc 100644 --- a/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_request_spec.rb b/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_request_spec.rb index 59a1456d..52818b81 100644 --- a/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_request_spec.rb +++ b/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_spec.rb b/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_spec.rb index 74c571c8..843ebb3b 100644 --- a/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_spec.rb +++ b/bindings/ruby/src/spec/models/organization_package_vulnerability_policy_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_saml_auth_request_patch_spec.rb b/bindings/ruby/src/spec/models/organization_saml_auth_request_patch_spec.rb index 9a9b983d..1b32211d 100644 --- a/bindings/ruby/src/spec/models/organization_saml_auth_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/organization_saml_auth_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_saml_auth_spec.rb b/bindings/ruby/src/spec/models/organization_saml_auth_spec.rb index 4a3e466b..09563d2d 100644 --- a/bindings/ruby/src/spec/models/organization_saml_auth_spec.rb +++ b/bindings/ruby/src/spec/models/organization_saml_auth_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_spec.rb b/bindings/ruby/src/spec/models/organization_spec.rb index 69dd7ff1..84c249b6 100644 --- a/bindings/ruby/src/spec/models/organization_spec.rb +++ b/bindings/ruby/src/spec/models/organization_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_team_invite_spec.rb b/bindings/ruby/src/spec/models/organization_team_invite_spec.rb index cf4b3181..dde54655 100644 --- a/bindings/ruby/src/spec/models/organization_team_invite_spec.rb +++ b/bindings/ruby/src/spec/models/organization_team_invite_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_team_members_spec.rb b/bindings/ruby/src/spec/models/organization_team_members_spec.rb index c1fa2193..f9e2a1ba 100644 --- a/bindings/ruby/src/spec/models/organization_team_members_spec.rb +++ b/bindings/ruby/src/spec/models/organization_team_members_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_team_membership_spec.rb b/bindings/ruby/src/spec/models/organization_team_membership_spec.rb index 70c95db5..05160b20 100644 --- a/bindings/ruby/src/spec/models/organization_team_membership_spec.rb +++ b/bindings/ruby/src/spec/models/organization_team_membership_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_team_request_patch_spec.rb b/bindings/ruby/src/spec/models/organization_team_request_patch_spec.rb index 018f2f26..f174b2f4 100644 --- a/bindings/ruby/src/spec/models/organization_team_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/organization_team_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_team_request_spec.rb b/bindings/ruby/src/spec/models/organization_team_request_spec.rb index 8105aa83..e6439bf2 100644 --- a/bindings/ruby/src/spec/models/organization_team_request_spec.rb +++ b/bindings/ruby/src/spec/models/organization_team_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/organization_team_spec.rb b/bindings/ruby/src/spec/models/organization_team_spec.rb index da986eea..7a9bf945 100644 --- a/bindings/ruby/src/spec/models/organization_team_spec.rb +++ b/bindings/ruby/src/spec/models/organization_team_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/p2_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/p2_package_upload_request_spec.rb index 3acf603a..953d7753 100644 --- a/bindings/ruby/src/spec/models/p2_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/p2_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/p2_package_upload_spec.rb b/bindings/ruby/src/spec/models/p2_package_upload_spec.rb index 449a085b..08c73342 100644 --- a/bindings/ruby/src/spec/models/p2_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/p2_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/package_copy_request_spec.rb b/bindings/ruby/src/spec/models/package_copy_request_spec.rb index c156f7c7..345a1d3b 100644 --- a/bindings/ruby/src/spec/models/package_copy_request_spec.rb +++ b/bindings/ruby/src/spec/models/package_copy_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_copy_spec.rb b/bindings/ruby/src/spec/models/package_copy_spec.rb index 1b2a9488..e4474940 100644 --- a/bindings/ruby/src/spec/models/package_copy_spec.rb +++ b/bindings/ruby/src/spec/models/package_copy_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/package_deny_policy_request_patch_spec.rb b/bindings/ruby/src/spec/models/package_deny_policy_request_patch_spec.rb index 3b40ae3e..071818e5 100644 --- a/bindings/ruby/src/spec/models/package_deny_policy_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/package_deny_policy_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_deny_policy_request_spec.rb b/bindings/ruby/src/spec/models/package_deny_policy_request_spec.rb index 7d7d989c..b8391351 100644 --- a/bindings/ruby/src/spec/models/package_deny_policy_request_spec.rb +++ b/bindings/ruby/src/spec/models/package_deny_policy_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_deny_policy_spec.rb b/bindings/ruby/src/spec/models/package_deny_policy_spec.rb index 1d26b91e..4bf8e103 100644 --- a/bindings/ruby/src/spec/models/package_deny_policy_spec.rb +++ b/bindings/ruby/src/spec/models/package_deny_policy_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_dependencies_spec.rb b/bindings/ruby/src/spec/models/package_dependencies_spec.rb index 5861de95..f6485e41 100644 --- a/bindings/ruby/src/spec/models/package_dependencies_spec.rb +++ b/bindings/ruby/src/spec/models/package_dependencies_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_dependency_spec.rb b/bindings/ruby/src/spec/models/package_dependency_spec.rb index 34a4a90e..7d4fcdbc 100644 --- a/bindings/ruby/src/spec/models/package_dependency_spec.rb +++ b/bindings/ruby/src/spec/models/package_dependency_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_file_parts_upload_spec.rb b/bindings/ruby/src/spec/models/package_file_parts_upload_spec.rb index bea26aaa..4063d99b 100644 --- a/bindings/ruby/src/spec/models/package_file_parts_upload_spec.rb +++ b/bindings/ruby/src/spec/models/package_file_parts_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_file_spec.rb b/bindings/ruby/src/spec/models/package_file_spec.rb index 4eb21800..bb123da3 100644 --- a/bindings/ruby/src/spec/models/package_file_spec.rb +++ b/bindings/ruby/src/spec/models/package_file_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_file_upload_request_spec.rb b/bindings/ruby/src/spec/models/package_file_upload_request_spec.rb index f0c119c2..13eeb470 100644 --- a/bindings/ruby/src/spec/models/package_file_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/package_file_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_file_upload_spec.rb b/bindings/ruby/src/spec/models/package_file_upload_spec.rb index f60c9e7d..96660335 100644 --- a/bindings/ruby/src/spec/models/package_file_upload_spec.rb +++ b/bindings/ruby/src/spec/models/package_file_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_group_spec.rb b/bindings/ruby/src/spec/models/package_group_spec.rb index 8a67cdd2..44971de4 100644 --- a/bindings/ruby/src/spec/models/package_group_spec.rb +++ b/bindings/ruby/src/spec/models/package_group_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_license_policy_evaluation_request_request_spec.rb b/bindings/ruby/src/spec/models/package_license_policy_evaluation_request_request_spec.rb index 83d20216..5bc19110 100644 --- a/bindings/ruby/src/spec/models/package_license_policy_evaluation_request_request_spec.rb +++ b/bindings/ruby/src/spec/models/package_license_policy_evaluation_request_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_license_policy_evaluation_request_spec.rb b/bindings/ruby/src/spec/models/package_license_policy_evaluation_request_spec.rb index bc40e661..e8904da3 100644 --- a/bindings/ruby/src/spec/models/package_license_policy_evaluation_request_spec.rb +++ b/bindings/ruby/src/spec/models/package_license_policy_evaluation_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_license_policy_violation_log_cursor_page_spec.rb b/bindings/ruby/src/spec/models/package_license_policy_violation_log_cursor_page_spec.rb index e1adedb1..e0e04976 100644 --- a/bindings/ruby/src/spec/models/package_license_policy_violation_log_cursor_page_spec.rb +++ b/bindings/ruby/src/spec/models/package_license_policy_violation_log_cursor_page_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_license_policy_violation_log_spec.rb b/bindings/ruby/src/spec/models/package_license_policy_violation_log_spec.rb index 00d53ffd..fa286f85 100644 --- a/bindings/ruby/src/spec/models/package_license_policy_violation_log_spec.rb +++ b/bindings/ruby/src/spec/models/package_license_policy_violation_log_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_license_request_patch_spec.rb b/bindings/ruby/src/spec/models/package_license_request_patch_spec.rb index a3870703..7de70278 100644 --- a/bindings/ruby/src/spec/models/package_license_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/package_license_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_license_spec.rb b/bindings/ruby/src/spec/models/package_license_spec.rb index 50201fb9..f6e39ef1 100644 --- a/bindings/ruby/src/spec/models/package_license_spec.rb +++ b/bindings/ruby/src/spec/models/package_license_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_move_request_spec.rb b/bindings/ruby/src/spec/models/package_move_request_spec.rb index 0626d65a..cd484ac6 100644 --- a/bindings/ruby/src/spec/models/package_move_request_spec.rb +++ b/bindings/ruby/src/spec/models/package_move_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_move_spec.rb b/bindings/ruby/src/spec/models/package_move_spec.rb index 30ac252c..0d41f383 100644 --- a/bindings/ruby/src/spec/models/package_move_spec.rb +++ b/bindings/ruby/src/spec/models/package_move_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/package_quarantine_request_spec.rb b/bindings/ruby/src/spec/models/package_quarantine_request_spec.rb index 27cbacc7..09d0e611 100644 --- a/bindings/ruby/src/spec/models/package_quarantine_request_spec.rb +++ b/bindings/ruby/src/spec/models/package_quarantine_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_quarantine_spec.rb b/bindings/ruby/src/spec/models/package_quarantine_spec.rb index 2e80916d..f191f592 100644 --- a/bindings/ruby/src/spec/models/package_quarantine_spec.rb +++ b/bindings/ruby/src/spec/models/package_quarantine_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "repository"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -390,6 +396,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/package_resync_spec.rb b/bindings/ruby/src/spec/models/package_resync_spec.rb index 432e10fd..52f5f099 100644 --- a/bindings/ruby/src/spec/models/package_resync_spec.rb +++ b/bindings/ruby/src/spec/models/package_resync_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/package_spec.rb b/bindings/ruby/src/spec/models/package_spec.rb index 67c28567..b5c36137 100644 --- a/bindings/ruby/src/spec/models/package_spec.rb +++ b/bindings/ruby/src/spec/models/package_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/package_status_spec.rb b/bindings/ruby/src/spec/models/package_status_spec.rb index 6c4b3f8b..a47d8254 100644 --- a/bindings/ruby/src/spec/models/package_status_spec.rb +++ b/bindings/ruby/src/spec/models/package_status_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_tag_request_spec.rb b/bindings/ruby/src/spec/models/package_tag_request_spec.rb index 89e4cf98..710eccfb 100644 --- a/bindings/ruby/src/spec/models/package_tag_request_spec.rb +++ b/bindings/ruby/src/spec/models/package_tag_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_tag_spec.rb b/bindings/ruby/src/spec/models/package_tag_spec.rb index e17c4a88..7efdb80e 100644 --- a/bindings/ruby/src/spec/models/package_tag_spec.rb +++ b/bindings/ruby/src/spec/models/package_tag_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -320,6 +320,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -402,6 +408,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/package_usage_metrics_spec.rb b/bindings/ruby/src/spec/models/package_usage_metrics_spec.rb index f43f928d..c0a338e0 100644 --- a/bindings/ruby/src/spec/models/package_usage_metrics_spec.rb +++ b/bindings/ruby/src/spec/models/package_usage_metrics_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_version_badge_spec.rb b/bindings/ruby/src/spec/models/package_version_badge_spec.rb index 7bc7dbb2..1bf6d5b1 100644 --- a/bindings/ruby/src/spec/models/package_version_badge_spec.rb +++ b/bindings/ruby/src/spec/models/package_version_badge_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_vulnerability_policy_evaluation_request_request_spec.rb b/bindings/ruby/src/spec/models/package_vulnerability_policy_evaluation_request_request_spec.rb index f2345208..0dc0f11a 100644 --- a/bindings/ruby/src/spec/models/package_vulnerability_policy_evaluation_request_request_spec.rb +++ b/bindings/ruby/src/spec/models/package_vulnerability_policy_evaluation_request_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_vulnerability_policy_evaluation_request_spec.rb b/bindings/ruby/src/spec/models/package_vulnerability_policy_evaluation_request_spec.rb index 1d372d5b..9e165dfe 100644 --- a/bindings/ruby/src/spec/models/package_vulnerability_policy_evaluation_request_spec.rb +++ b/bindings/ruby/src/spec/models/package_vulnerability_policy_evaluation_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_vulnerability_policy_violation_log_cursor_page_spec.rb b/bindings/ruby/src/spec/models/package_vulnerability_policy_violation_log_cursor_page_spec.rb index ad7a542e..0ae54631 100644 --- a/bindings/ruby/src/spec/models/package_vulnerability_policy_violation_log_cursor_page_spec.rb +++ b/bindings/ruby/src/spec/models/package_vulnerability_policy_violation_log_cursor_page_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_vulnerability_policy_violation_log_spec.rb b/bindings/ruby/src/spec/models/package_vulnerability_policy_violation_log_spec.rb index 057af489..45101e12 100644 --- a/bindings/ruby/src/spec/models/package_vulnerability_policy_violation_log_spec.rb +++ b/bindings/ruby/src/spec/models/package_vulnerability_policy_violation_log_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/package_vulnerability_spec.rb b/bindings/ruby/src/spec/models/package_vulnerability_spec.rb index 380d58a4..e1acc570 100644 --- a/bindings/ruby/src/spec/models/package_vulnerability_spec.rb +++ b/bindings/ruby/src/spec/models/package_vulnerability_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/provider_settings_spec.rb b/bindings/ruby/src/spec/models/provider_settings_spec.rb index f6710b9f..f46167e7 100644 --- a/bindings/ruby/src/spec/models/provider_settings_spec.rb +++ b/bindings/ruby/src/spec/models/provider_settings_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/provider_settings_write_request_patch_spec.rb b/bindings/ruby/src/spec/models/provider_settings_write_request_patch_spec.rb index 77a4c0a0..f1f31612 100644 --- a/bindings/ruby/src/spec/models/provider_settings_write_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/provider_settings_write_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/provider_settings_write_request_spec.rb b/bindings/ruby/src/spec/models/provider_settings_write_request_spec.rb index 15f17639..92972623 100644 --- a/bindings/ruby/src/spec/models/provider_settings_write_request_spec.rb +++ b/bindings/ruby/src/spec/models/provider_settings_write_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/provider_settings_write_spec.rb b/bindings/ruby/src/spec/models/provider_settings_write_spec.rb index 2ffecfd6..157a05a3 100644 --- a/bindings/ruby/src/spec/models/provider_settings_write_spec.rb +++ b/bindings/ruby/src/spec/models/provider_settings_write_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/python_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/python_package_upload_request_spec.rb index 2a2ed4ac..cd88003a 100644 --- a/bindings/ruby/src/spec/models/python_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/python_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/python_package_upload_spec.rb b/bindings/ruby/src/spec/models/python_package_upload_spec.rb index 269c71ba..2031ab17 100644 --- a/bindings/ruby/src/spec/models/python_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/python_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/python_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/python_upstream_request_patch_spec.rb index 200f3939..9186c3ba 100644 --- a/bindings/ruby/src/spec/models/python_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/python_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -106,6 +106,16 @@ end end + describe 'test attribute "trust_level"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Trusted", "Untrusted"]) + # validator.allowable_values.each do |value| + # expect { @instance.trust_level = value }.not_to raise_error + # end + end + end + describe 'test attribute "upstream_url"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/python_upstream_request_spec.rb b/bindings/ruby/src/spec/models/python_upstream_request_spec.rb index 842ca6ea..d6e51d51 100644 --- a/bindings/ruby/src/spec/models/python_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/python_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -106,6 +106,16 @@ end end + describe 'test attribute "trust_level"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Trusted", "Untrusted"]) + # validator.allowable_values.each do |value| + # expect { @instance.trust_level = value }.not_to raise_error + # end + end + end + describe 'test attribute "upstream_url"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/python_upstream_spec.rb b/bindings/ruby/src/spec/models/python_upstream_spec.rb index f384a8e3..42ca98e1 100644 --- a/bindings/ruby/src/spec/models/python_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/python_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -134,6 +176,16 @@ end end + describe 'test attribute "trust_level"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Trusted", "Untrusted"]) + # validator.allowable_values.each do |value| + # expect { @instance.trust_level = value }.not_to raise_error + # end + end + end + describe 'test attribute "updated_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/quota_history_spec.rb b/bindings/ruby/src/spec/models/quota_history_spec.rb index efd79ca4..96123c1e 100644 --- a/bindings/ruby/src/spec/models/quota_history_spec.rb +++ b/bindings/ruby/src/spec/models/quota_history_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/quota_spec.rb b/bindings/ruby/src/spec/models/quota_spec.rb index 89222874..7c41f006 100644 --- a/bindings/ruby/src/spec/models/quota_spec.rb +++ b/bindings/ruby/src/spec/models/quota_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/rate_check_spec.rb b/bindings/ruby/src/spec/models/rate_check_spec.rb index 71c33eb4..e62a2649 100644 --- a/bindings/ruby/src/spec/models/rate_check_spec.rb +++ b/bindings/ruby/src/spec/models/rate_check_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/raw_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/raw_package_upload_request_spec.rb index 8d874c72..65133d2c 100644 --- a/bindings/ruby/src/spec/models/raw_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/raw_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/raw_package_upload_spec.rb b/bindings/ruby/src/spec/models/raw_package_upload_spec.rb index afc2a4c7..bc7a2edc 100644 --- a/bindings/ruby/src/spec/models/raw_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/raw_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/repository_audit_log_spec.rb b/bindings/ruby/src/spec/models/repository_audit_log_spec.rb index 7ba49eb3..2aca6fdc 100644 --- a/bindings/ruby/src/spec/models/repository_audit_log_spec.rb +++ b/bindings/ruby/src/spec/models/repository_audit_log_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_create_request_spec.rb b/bindings/ruby/src/spec/models/repository_create_request_spec.rb index 06d6926c..098f626c 100644 --- a/bindings/ruby/src/spec/models/repository_create_request_spec.rb +++ b/bindings/ruby/src/spec/models/repository_create_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -32,6 +32,16 @@ expect(@instance).to be_instance_of(CloudsmithApi::RepositoryCreateRequest) end end + describe 'test attribute "broadcast_state"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Off", "Private", "Internal", "Public", "Open-Source"]) + # validator.allowable_values.each do |value| + # expect { @instance.broadcast_state = value }.not_to raise_error + # end + end + end + describe 'test attribute "content_kind"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -120,6 +130,12 @@ end end + describe 'test attribute "generic_package_index_enabled"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "index_files"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/repository_create_spec.rb b/bindings/ruby/src/spec/models/repository_create_spec.rb index 58f7600c..5585919e 100644 --- a/bindings/ruby/src/spec/models/repository_create_spec.rb +++ b/bindings/ruby/src/spec/models/repository_create_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -32,6 +32,16 @@ expect(@instance).to be_instance_of(CloudsmithApi::RepositoryCreate) end end + describe 'test attribute "broadcast_state"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Off", "Private", "Internal", "Public", "Open-Source"]) + # validator.allowable_values.each do |value| + # expect { @instance.broadcast_state = value }.not_to raise_error + # end + end + end + describe 'test attribute "cdn_url"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -144,6 +154,12 @@ end end + describe 'test attribute "generic_package_index_enabled"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "gpg_keys"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -260,6 +276,12 @@ end end + describe 'test attribute "package_count_excl_subcomponents"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "package_group_count"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/repository_ecdsa_key_create_spec.rb b/bindings/ruby/src/spec/models/repository_ecdsa_key_create_spec.rb index 9993c2f5..837f477a 100644 --- a/bindings/ruby/src/spec/models/repository_ecdsa_key_create_spec.rb +++ b/bindings/ruby/src/spec/models/repository_ecdsa_key_create_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_ecdsa_key_spec.rb b/bindings/ruby/src/spec/models/repository_ecdsa_key_spec.rb index 845d7df2..9909716b 100644 --- a/bindings/ruby/src/spec/models/repository_ecdsa_key_spec.rb +++ b/bindings/ruby/src/spec/models/repository_ecdsa_key_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_geo_ip_cidr_spec.rb b/bindings/ruby/src/spec/models/repository_geo_ip_cidr_spec.rb index f832c8d6..44975fbf 100644 --- a/bindings/ruby/src/spec/models/repository_geo_ip_cidr_spec.rb +++ b/bindings/ruby/src/spec/models/repository_geo_ip_cidr_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_geo_ip_country_code_spec.rb b/bindings/ruby/src/spec/models/repository_geo_ip_country_code_spec.rb index ec925bbb..1248df05 100644 --- a/bindings/ruby/src/spec/models/repository_geo_ip_country_code_spec.rb +++ b/bindings/ruby/src/spec/models/repository_geo_ip_country_code_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_geo_ip_rules_request_patch_spec.rb b/bindings/ruby/src/spec/models/repository_geo_ip_rules_request_patch_spec.rb index e1f040ee..9e31a72c 100644 --- a/bindings/ruby/src/spec/models/repository_geo_ip_rules_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/repository_geo_ip_rules_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_geo_ip_rules_request_spec.rb b/bindings/ruby/src/spec/models/repository_geo_ip_rules_request_spec.rb index 68c10bf4..681d1f0e 100644 --- a/bindings/ruby/src/spec/models/repository_geo_ip_rules_request_spec.rb +++ b/bindings/ruby/src/spec/models/repository_geo_ip_rules_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_geo_ip_rules_spec.rb b/bindings/ruby/src/spec/models/repository_geo_ip_rules_spec.rb index 19e8a0bd..10ff19cf 100644 --- a/bindings/ruby/src/spec/models/repository_geo_ip_rules_spec.rb +++ b/bindings/ruby/src/spec/models/repository_geo_ip_rules_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_geo_ip_status_spec.rb b/bindings/ruby/src/spec/models/repository_geo_ip_status_spec.rb index 1a0eb19a..199e172d 100644 --- a/bindings/ruby/src/spec/models/repository_geo_ip_status_spec.rb +++ b/bindings/ruby/src/spec/models/repository_geo_ip_status_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_geo_ip_test_address_response_dict_spec.rb b/bindings/ruby/src/spec/models/repository_geo_ip_test_address_response_dict_spec.rb index d15852c9..e7683eb2 100644 --- a/bindings/ruby/src/spec/models/repository_geo_ip_test_address_response_dict_spec.rb +++ b/bindings/ruby/src/spec/models/repository_geo_ip_test_address_response_dict_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_geo_ip_test_address_response_spec.rb b/bindings/ruby/src/spec/models/repository_geo_ip_test_address_response_spec.rb index de8d6a69..6c58d81d 100644 --- a/bindings/ruby/src/spec/models/repository_geo_ip_test_address_response_spec.rb +++ b/bindings/ruby/src/spec/models/repository_geo_ip_test_address_response_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_geo_ip_test_address_spec.rb b/bindings/ruby/src/spec/models/repository_geo_ip_test_address_spec.rb index 4fdd243c..3292ae8e 100644 --- a/bindings/ruby/src/spec/models/repository_geo_ip_test_address_spec.rb +++ b/bindings/ruby/src/spec/models/repository_geo_ip_test_address_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_gpg_key_create_spec.rb b/bindings/ruby/src/spec/models/repository_gpg_key_create_spec.rb index bb0d49db..b7806a59 100644 --- a/bindings/ruby/src/spec/models/repository_gpg_key_create_spec.rb +++ b/bindings/ruby/src/spec/models/repository_gpg_key_create_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_gpg_key_spec.rb b/bindings/ruby/src/spec/models/repository_gpg_key_spec.rb index 0a792329..6d51867a 100644 --- a/bindings/ruby/src/spec/models/repository_gpg_key_spec.rb +++ b/bindings/ruby/src/spec/models/repository_gpg_key_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_privilege_dict_spec.rb b/bindings/ruby/src/spec/models/repository_privilege_dict_spec.rb index 81863900..17dbf07b 100644 --- a/bindings/ruby/src/spec/models/repository_privilege_dict_spec.rb +++ b/bindings/ruby/src/spec/models/repository_privilege_dict_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_privilege_input_request_patch_spec.rb b/bindings/ruby/src/spec/models/repository_privilege_input_request_patch_spec.rb index 7b1bb37a..9410cc18 100644 --- a/bindings/ruby/src/spec/models/repository_privilege_input_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/repository_privilege_input_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_privilege_input_request_spec.rb b/bindings/ruby/src/spec/models/repository_privilege_input_request_spec.rb index 5756f250..f851ad27 100644 --- a/bindings/ruby/src/spec/models/repository_privilege_input_request_spec.rb +++ b/bindings/ruby/src/spec/models/repository_privilege_input_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_privilege_input_spec.rb b/bindings/ruby/src/spec/models/repository_privilege_input_spec.rb index f4f2825b..3d32ac6d 100644 --- a/bindings/ruby/src/spec/models/repository_privilege_input_spec.rb +++ b/bindings/ruby/src/spec/models/repository_privilege_input_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_request_patch_spec.rb b/bindings/ruby/src/spec/models/repository_request_patch_spec.rb index 3f3dd322..92fd6948 100644 --- a/bindings/ruby/src/spec/models/repository_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/repository_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -32,6 +32,16 @@ expect(@instance).to be_instance_of(CloudsmithApi::RepositoryRequestPatch) end end + describe 'test attribute "broadcast_state"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Off", "Private", "Internal", "Public", "Open-Source"]) + # validator.allowable_values.each do |value| + # expect { @instance.broadcast_state = value }.not_to raise_error + # end + end + end + describe 'test attribute "content_kind"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -120,6 +130,12 @@ end end + describe 'test attribute "generic_package_index_enabled"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "index_files"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/repository_retention_rules_request_patch_spec.rb b/bindings/ruby/src/spec/models/repository_retention_rules_request_patch_spec.rb index 98f7609e..c65953fa 100644 --- a/bindings/ruby/src/spec/models/repository_retention_rules_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/repository_retention_rules_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_retention_rules_spec.rb b/bindings/ruby/src/spec/models/repository_retention_rules_spec.rb index d8b4a14f..52e2da71 100644 --- a/bindings/ruby/src/spec/models/repository_retention_rules_spec.rb +++ b/bindings/ruby/src/spec/models/repository_retention_rules_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_rsa_key_create_spec.rb b/bindings/ruby/src/spec/models/repository_rsa_key_create_spec.rb index d6ef1973..4bb7d6a9 100644 --- a/bindings/ruby/src/spec/models/repository_rsa_key_create_spec.rb +++ b/bindings/ruby/src/spec/models/repository_rsa_key_create_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_rsa_key_spec.rb b/bindings/ruby/src/spec/models/repository_rsa_key_spec.rb index eea04c51..f205f25b 100644 --- a/bindings/ruby/src/spec/models/repository_rsa_key_spec.rb +++ b/bindings/ruby/src/spec/models/repository_rsa_key_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_spec.rb b/bindings/ruby/src/spec/models/repository_spec.rb index 4dcdc08c..9ad46606 100644 --- a/bindings/ruby/src/spec/models/repository_spec.rb +++ b/bindings/ruby/src/spec/models/repository_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -32,6 +32,16 @@ expect(@instance).to be_instance_of(CloudsmithApi::Repository) end end + describe 'test attribute "broadcast_state"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Off", "Private", "Internal", "Public", "Open-Source"]) + # validator.allowable_values.each do |value| + # expect { @instance.broadcast_state = value }.not_to raise_error + # end + end + end + describe 'test attribute "cdn_url"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -144,6 +154,12 @@ end end + describe 'test attribute "generic_package_index_enabled"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "gpg_keys"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -260,6 +276,12 @@ end end + describe 'test attribute "package_count_excl_subcomponents"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "package_group_count"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/repository_token_action_spec.rb b/bindings/ruby/src/spec/models/repository_token_action_spec.rb index 27802ca5..f548121d 100644 --- a/bindings/ruby/src/spec/models/repository_token_action_spec.rb +++ b/bindings/ruby/src/spec/models/repository_token_action_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_token_refresh_request_spec.rb b/bindings/ruby/src/spec/models/repository_token_refresh_request_spec.rb index b0efe9dd..afed7eb9 100644 --- a/bindings/ruby/src/spec/models/repository_token_refresh_request_spec.rb +++ b/bindings/ruby/src/spec/models/repository_token_refresh_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(CloudsmithApi::RepositoryTokenRefreshRequest) end end + describe 'test attribute "access_private_broadcasts"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "eula_required"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/repository_token_refresh_spec.rb b/bindings/ruby/src/spec/models/repository_token_refresh_spec.rb index d27c1841..ce5b3bdb 100644 --- a/bindings/ruby/src/spec/models/repository_token_refresh_spec.rb +++ b/bindings/ruby/src/spec/models/repository_token_refresh_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(CloudsmithApi::RepositoryTokenRefresh) end end + describe 'test attribute "access_private_broadcasts"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "clients"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/repository_token_request_patch_spec.rb b/bindings/ruby/src/spec/models/repository_token_request_patch_spec.rb index c19e4c8e..6cf8dc53 100644 --- a/bindings/ruby/src/spec/models/repository_token_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/repository_token_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(CloudsmithApi::RepositoryTokenRequestPatch) end end + describe 'test attribute "access_private_broadcasts"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "eula_required"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/repository_token_request_spec.rb b/bindings/ruby/src/spec/models/repository_token_request_spec.rb index 3f562a18..50d4116c 100644 --- a/bindings/ruby/src/spec/models/repository_token_request_spec.rb +++ b/bindings/ruby/src/spec/models/repository_token_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(CloudsmithApi::RepositoryTokenRequest) end end + describe 'test attribute "access_private_broadcasts"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "eula_required"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/repository_token_spec.rb b/bindings/ruby/src/spec/models/repository_token_spec.rb index 4516152b..fe71a351 100644 --- a/bindings/ruby/src/spec/models/repository_token_spec.rb +++ b/bindings/ruby/src/spec/models/repository_token_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(CloudsmithApi::RepositoryToken) end end + describe 'test attribute "access_private_broadcasts"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "clients"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/repository_token_sync_request_spec.rb b/bindings/ruby/src/spec/models/repository_token_sync_request_spec.rb index b663bba9..790c958c 100644 --- a/bindings/ruby/src/spec/models/repository_token_sync_request_spec.rb +++ b/bindings/ruby/src/spec/models/repository_token_sync_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_token_sync_spec.rb b/bindings/ruby/src/spec/models/repository_token_sync_spec.rb index 2b481bf4..f6a6a462 100644 --- a/bindings/ruby/src/spec/models/repository_token_sync_spec.rb +++ b/bindings/ruby/src/spec/models/repository_token_sync_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_transfer_region_request_spec.rb b/bindings/ruby/src/spec/models/repository_transfer_region_request_spec.rb index d5000b44..f552713f 100644 --- a/bindings/ruby/src/spec/models/repository_transfer_region_request_spec.rb +++ b/bindings/ruby/src/spec/models/repository_transfer_region_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_transfer_region_spec.rb b/bindings/ruby/src/spec/models/repository_transfer_region_spec.rb index b20de713..a96e7988 100644 --- a/bindings/ruby/src/spec/models/repository_transfer_region_spec.rb +++ b/bindings/ruby/src/spec/models/repository_transfer_region_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_webhook_request_patch_spec.rb b/bindings/ruby/src/spec/models/repository_webhook_request_patch_spec.rb index ee06bebf..d2cf3e91 100644 --- a/bindings/ruby/src/spec/models/repository_webhook_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/repository_webhook_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_webhook_request_spec.rb b/bindings/ruby/src/spec/models/repository_webhook_request_spec.rb index 0dea74fd..3ddf3fbe 100644 --- a/bindings/ruby/src/spec/models/repository_webhook_request_spec.rb +++ b/bindings/ruby/src/spec/models/repository_webhook_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_webhook_spec.rb b/bindings/ruby/src/spec/models/repository_webhook_spec.rb index 63ae16dc..ea4a6eb2 100644 --- a/bindings/ruby/src/spec/models/repository_webhook_spec.rb +++ b/bindings/ruby/src/spec/models/repository_webhook_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_x509_ecdsa_certificate_spec.rb b/bindings/ruby/src/spec/models/repository_x509_ecdsa_certificate_spec.rb index 9228b7c1..3ec801f7 100644 --- a/bindings/ruby/src/spec/models/repository_x509_ecdsa_certificate_spec.rb +++ b/bindings/ruby/src/spec/models/repository_x509_ecdsa_certificate_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/repository_x509_rsa_certificate_spec.rb b/bindings/ruby/src/spec/models/repository_x509_rsa_certificate_spec.rb index 271a5d0d..60fbf037 100644 --- a/bindings/ruby/src/spec/models/repository_x509_rsa_certificate_spec.rb +++ b/bindings/ruby/src/spec/models/repository_x509_rsa_certificate_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/resources_rate_check_spec.rb b/bindings/ruby/src/spec/models/resources_rate_check_spec.rb index c3f37f9c..99a21821 100644 --- a/bindings/ruby/src/spec/models/resources_rate_check_spec.rb +++ b/bindings/ruby/src/spec/models/resources_rate_check_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/respository_geo_ip_enable_disable_request_spec.rb b/bindings/ruby/src/spec/models/respository_geo_ip_enable_disable_request_spec.rb index ce0c7cc8..3022c0d6 100644 --- a/bindings/ruby/src/spec/models/respository_geo_ip_enable_disable_request_spec.rb +++ b/bindings/ruby/src/spec/models/respository_geo_ip_enable_disable_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/respository_geo_ip_enable_disable_spec.rb b/bindings/ruby/src/spec/models/respository_geo_ip_enable_disable_spec.rb index 43f5d5e0..23700adc 100644 --- a/bindings/ruby/src/spec/models/respository_geo_ip_enable_disable_spec.rb +++ b/bindings/ruby/src/spec/models/respository_geo_ip_enable_disable_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/rpm_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/rpm_package_upload_request_spec.rb index 22a1626c..7a25435d 100644 --- a/bindings/ruby/src/spec/models/rpm_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/rpm_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/rpm_package_upload_spec.rb b/bindings/ruby/src/spec/models/rpm_package_upload_spec.rb index efb73c7e..e450f1fb 100644 --- a/bindings/ruby/src/spec/models/rpm_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/rpm_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/rpm_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/rpm_upstream_request_patch_spec.rb index 762d9843..c09d9d43 100644 --- a/bindings/ruby/src/spec/models/rpm_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/rpm_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/rpm_upstream_request_spec.rb b/bindings/ruby/src/spec/models/rpm_upstream_request_spec.rb index 2ce4853a..692cea8e 100644 --- a/bindings/ruby/src/spec/models/rpm_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/rpm_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/rpm_upstream_spec.rb b/bindings/ruby/src/spec/models/rpm_upstream_spec.rb index 9873ce8d..b097964a 100644 --- a/bindings/ruby/src/spec/models/rpm_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/rpm_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "distro_version"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -100,6 +118,12 @@ end end + describe 'test attribute "gpg_key_fingerprint_short"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "gpg_key_inline"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -122,18 +146,42 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "include_sources"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/ruby_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/ruby_package_upload_request_spec.rb index d5366dfa..7db22695 100644 --- a/bindings/ruby/src/spec/models/ruby_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/ruby_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/ruby_package_upload_spec.rb b/bindings/ruby/src/spec/models/ruby_package_upload_spec.rb index 1d612a2d..5508f6a5 100644 --- a/bindings/ruby/src/spec/models/ruby_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/ruby_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/ruby_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/ruby_upstream_request_patch_spec.rb index 08084934..077e9da3 100644 --- a/bindings/ruby/src/spec/models/ruby_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/ruby_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/ruby_upstream_request_spec.rb b/bindings/ruby/src/spec/models/ruby_upstream_request_spec.rb index 3250472e..2c8302cf 100644 --- a/bindings/ruby/src/spec/models/ruby_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/ruby_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/ruby_upstream_spec.rb b/bindings/ruby/src/spec/models/ruby_upstream_spec.rb index f1d7dbd4..d94a35ba 100644 --- a/bindings/ruby/src/spec/models/ruby_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/ruby_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/service_request_patch_spec.rb b/bindings/ruby/src/spec/models/service_request_patch_spec.rb index 62d874f5..9d4fb527 100644 --- a/bindings/ruby/src/spec/models/service_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/service_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/service_request_spec.rb b/bindings/ruby/src/spec/models/service_request_spec.rb index 1e846d29..daeb210f 100644 --- a/bindings/ruby/src/spec/models/service_request_spec.rb +++ b/bindings/ruby/src/spec/models/service_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/service_spec.rb b/bindings/ruby/src/spec/models/service_spec.rb index 87c1ed05..b4fdbc11 100644 --- a/bindings/ruby/src/spec/models/service_spec.rb +++ b/bindings/ruby/src/spec/models/service_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/service_teams_spec.rb b/bindings/ruby/src/spec/models/service_teams_spec.rb index 02e40fea..073221ec 100644 --- a/bindings/ruby/src/spec/models/service_teams_spec.rb +++ b/bindings/ruby/src/spec/models/service_teams_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/status_basic_spec.rb b/bindings/ruby/src/spec/models/status_basic_spec.rb index 31747ac1..2f4cc126 100644 --- a/bindings/ruby/src/spec/models/status_basic_spec.rb +++ b/bindings/ruby/src/spec/models/status_basic_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/storage_allocated_limit_raw_spec.rb b/bindings/ruby/src/spec/models/storage_allocated_limit_raw_spec.rb index 15a9b660..fe934ea5 100644 --- a/bindings/ruby/src/spec/models/storage_allocated_limit_raw_spec.rb +++ b/bindings/ruby/src/spec/models/storage_allocated_limit_raw_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/storage_allocated_limit_spec.rb b/bindings/ruby/src/spec/models/storage_allocated_limit_spec.rb index d30abfdc..970247ad 100644 --- a/bindings/ruby/src/spec/models/storage_allocated_limit_spec.rb +++ b/bindings/ruby/src/spec/models/storage_allocated_limit_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/storage_region_spec.rb b/bindings/ruby/src/spec/models/storage_region_spec.rb index 2ff5bf8c..7e411db0 100644 --- a/bindings/ruby/src/spec/models/storage_region_spec.rb +++ b/bindings/ruby/src/spec/models/storage_region_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/storage_usage_raw_spec.rb b/bindings/ruby/src/spec/models/storage_usage_raw_spec.rb index 30595156..ef50027a 100644 --- a/bindings/ruby/src/spec/models/storage_usage_raw_spec.rb +++ b/bindings/ruby/src/spec/models/storage_usage_raw_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/storage_usage_spec.rb b/bindings/ruby/src/spec/models/storage_usage_spec.rb index b255f02d..03c3263a 100644 --- a/bindings/ruby/src/spec/models/storage_usage_spec.rb +++ b/bindings/ruby/src/spec/models/storage_usage_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/swift_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/swift_package_upload_request_spec.rb index b42e3870..f6a5a53b 100644 --- a/bindings/ruby/src/spec/models/swift_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/swift_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/swift_package_upload_spec.rb b/bindings/ruby/src/spec/models/swift_package_upload_spec.rb index baf004e1..b679377b 100644 --- a/bindings/ruby/src/spec/models/swift_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/swift_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -332,6 +332,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "readme_url"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -426,6 +432,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/swift_upstream_request_patch_spec.rb b/bindings/ruby/src/spec/models/swift_upstream_request_patch_spec.rb index 918cc3e6..f6468b33 100644 --- a/bindings/ruby/src/spec/models/swift_upstream_request_patch_spec.rb +++ b/bindings/ruby/src/spec/models/swift_upstream_request_patch_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/swift_upstream_request_spec.rb b/bindings/ruby/src/spec/models/swift_upstream_request_spec.rb index ed84eac7..ba53f267 100644 --- a/bindings/ruby/src/spec/models/swift_upstream_request_spec.rb +++ b/bindings/ruby/src/spec/models/swift_upstream_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/swift_upstream_spec.rb b/bindings/ruby/src/spec/models/swift_upstream_spec.rb index e9ca98ee..12334f23 100644 --- a/bindings/ruby/src/spec/models/swift_upstream_spec.rb +++ b/bindings/ruby/src/spec/models/swift_upstream_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -54,6 +54,18 @@ end end + describe 'test attribute "available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "can_reindex"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "created_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -70,6 +82,12 @@ end end + describe 'test attribute "disable_reason_text"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "extra_header_1"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -94,12 +112,36 @@ end end + describe 'test attribute "has_failed_signature_verification"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_package_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "index_status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_active"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "last_indexed"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "mode"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/tags_spec.rb b/bindings/ruby/src/spec/models/tags_spec.rb index e7e9dfd1..9f54f351 100644 --- a/bindings/ruby/src/spec/models/tags_spec.rb +++ b/bindings/ruby/src/spec/models/tags_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/terraform_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/terraform_package_upload_request_spec.rb index b53ed598..ae305dc3 100644 --- a/bindings/ruby/src/spec/models/terraform_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/terraform_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/terraform_package_upload_spec.rb b/bindings/ruby/src/spec/models/terraform_package_upload_spec.rb index 9274cfd0..dc5e2d7e 100644 --- a/bindings/ruby/src/spec/models/terraform_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/terraform_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -314,6 +314,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -396,6 +402,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/usage_fieldset_spec.rb b/bindings/ruby/src/spec/models/usage_fieldset_spec.rb index 0412fed8..8e15888d 100644 --- a/bindings/ruby/src/spec/models/usage_fieldset_spec.rb +++ b/bindings/ruby/src/spec/models/usage_fieldset_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/usage_limits_raw_spec.rb b/bindings/ruby/src/spec/models/usage_limits_raw_spec.rb index d5286a14..0b7f743f 100644 --- a/bindings/ruby/src/spec/models/usage_limits_raw_spec.rb +++ b/bindings/ruby/src/spec/models/usage_limits_raw_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/usage_limits_spec.rb b/bindings/ruby/src/spec/models/usage_limits_spec.rb index 78a2cd8a..1847acfc 100644 --- a/bindings/ruby/src/spec/models/usage_limits_spec.rb +++ b/bindings/ruby/src/spec/models/usage_limits_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/usage_raw_spec.rb b/bindings/ruby/src/spec/models/usage_raw_spec.rb index c3594a37..71cd7b64 100644 --- a/bindings/ruby/src/spec/models/usage_raw_spec.rb +++ b/bindings/ruby/src/spec/models/usage_raw_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/usage_spec.rb b/bindings/ruby/src/spec/models/usage_spec.rb index 4fa3b28b..58a98251 100644 --- a/bindings/ruby/src/spec/models/usage_spec.rb +++ b/bindings/ruby/src/spec/models/usage_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/user_auth_token_request_spec.rb b/bindings/ruby/src/spec/models/user_auth_token_request_spec.rb index aaee3a74..405180e3 100644 --- a/bindings/ruby/src/spec/models/user_auth_token_request_spec.rb +++ b/bindings/ruby/src/spec/models/user_auth_token_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/user_auth_token_spec.rb b/bindings/ruby/src/spec/models/user_auth_token_spec.rb index 51ddad7a..1eccc734 100644 --- a/bindings/ruby/src/spec/models/user_auth_token_spec.rb +++ b/bindings/ruby/src/spec/models/user_auth_token_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/user_authentication_token_spec.rb b/bindings/ruby/src/spec/models/user_authentication_token_spec.rb index 71d9b483..fcdd68c8 100644 --- a/bindings/ruby/src/spec/models/user_authentication_token_spec.rb +++ b/bindings/ruby/src/spec/models/user_authentication_token_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/user_brief_spec.rb b/bindings/ruby/src/spec/models/user_brief_spec.rb index f350fb85..2c3e3880 100644 --- a/bindings/ruby/src/spec/models/user_brief_spec.rb +++ b/bindings/ruby/src/spec/models/user_brief_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/user_profile_spec.rb b/bindings/ruby/src/spec/models/user_profile_spec.rb index 06f25f77..fa4fd199 100644 --- a/bindings/ruby/src/spec/models/user_profile_spec.rb +++ b/bindings/ruby/src/spec/models/user_profile_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/vagrant_package_upload_request_spec.rb b/bindings/ruby/src/spec/models/vagrant_package_upload_request_spec.rb index af40c511..baae4b26 100644 --- a/bindings/ruby/src/spec/models/vagrant_package_upload_request_spec.rb +++ b/bindings/ruby/src/spec/models/vagrant_package_upload_request_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/vagrant_package_upload_spec.rb b/bindings/ruby/src/spec/models/vagrant_package_upload_spec.rb index 8db63271..4d1a4ab0 100644 --- a/bindings/ruby/src/spec/models/vagrant_package_upload_spec.rb +++ b/bindings/ruby/src/spec/models/vagrant_package_upload_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end @@ -320,6 +320,12 @@ end end + describe 'test attribute "raw_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "release"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -402,6 +408,12 @@ end end + describe 'test attribute "spdx_license"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "stage"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/bindings/ruby/src/spec/models/vulnerability_scan_results_list_spec.rb b/bindings/ruby/src/spec/models/vulnerability_scan_results_list_spec.rb index 7fe984d1..0b1c6d76 100644 --- a/bindings/ruby/src/spec/models/vulnerability_scan_results_list_spec.rb +++ b/bindings/ruby/src/spec/models/vulnerability_scan_results_list_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/vulnerability_scan_results_spec.rb b/bindings/ruby/src/spec/models/vulnerability_scan_results_spec.rb index 583ec2ff..cd507374 100644 --- a/bindings/ruby/src/spec/models/vulnerability_scan_results_spec.rb +++ b/bindings/ruby/src/spec/models/vulnerability_scan_results_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/vulnerability_scan_spec.rb b/bindings/ruby/src/spec/models/vulnerability_scan_spec.rb index ba3fa952..bd360432 100644 --- a/bindings/ruby/src/spec/models/vulnerability_scan_spec.rb +++ b/bindings/ruby/src/spec/models/vulnerability_scan_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/vulnerability_scan_version_spec.rb b/bindings/ruby/src/spec/models/vulnerability_scan_version_spec.rb index 6026cf70..7909c139 100644 --- a/bindings/ruby/src/spec/models/vulnerability_scan_version_spec.rb +++ b/bindings/ruby/src/spec/models/vulnerability_scan_version_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/vulnerability_spec.rb b/bindings/ruby/src/spec/models/vulnerability_spec.rb index 621fa021..313f8714 100644 --- a/bindings/ruby/src/spec/models/vulnerability_spec.rb +++ b/bindings/ruby/src/spec/models/vulnerability_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/models/webhook_template_spec.rb b/bindings/ruby/src/spec/models/webhook_template_spec.rb index af2271e6..1ff7621c 100644 --- a/bindings/ruby/src/spec/models/webhook_template_spec.rb +++ b/bindings/ruby/src/spec/models/webhook_template_spec.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end diff --git a/bindings/ruby/src/spec/spec_helper.rb b/bindings/ruby/src/spec/spec_helper.rb index 1d90efac..934fb875 100644 --- a/bindings/ruby/src/spec/spec_helper.rb +++ b/bindings/ruby/src/spec/spec_helper.rb @@ -6,7 +6,7 @@ OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.43 +Swagger Codegen version: 2.4.50 =end From 2daa33f7d90784fd61b03105c7591849cd9b45c6 Mon Sep 17 00:00:00 2001 From: Bartosz Blizniak Date: Tue, 6 Jan 2026 12:57:35 +0000 Subject: [PATCH 4/5] update ruby test commands to support running tests on 3.4 locally (cherry picked from commit a7a9585d19714cc62ee6821d095f0130c72b8a69) --- bindings/ruby/test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bindings/ruby/test.sh b/bindings/ruby/test.sh index 0adf1184..1c9bbc0b 100755 --- a/bindings/ruby/test.sh +++ b/bindings/ruby/test.sh @@ -11,5 +11,7 @@ src_dir="$self_dir/src" cd $src_dir rm -f *.gem gem install bundler --user-install -bundle install --path vendor/bundle --clean +bundle config set clean true +bundle config set path 'vendor/bundle' +bundle install bundle exec rake spec From b8f3cfe4bea403e2d85007f940ca8d414849ff9f Mon Sep 17 00:00:00 2001 From: Bartosz Blizniak Date: Thu, 8 Jan 2026 13:34:24 +0000 Subject: [PATCH 5/5] pre-commit with ruff --- bindings/python/src/cloudsmith_api/models/cargo_upstream.py | 2 +- .../python/src/cloudsmith_api/models/cargo_upstream_request.py | 2 +- .../src/cloudsmith_api/models/cargo_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/composer_upstream.py | 2 +- .../src/cloudsmith_api/models/composer_upstream_request.py | 2 +- .../cloudsmith_api/models/composer_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/conda_upstream.py | 2 +- .../python/src/cloudsmith_api/models/conda_upstream_request.py | 2 +- .../src/cloudsmith_api/models/conda_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/cran_upstream.py | 2 +- .../python/src/cloudsmith_api/models/cran_upstream_request.py | 2 +- .../src/cloudsmith_api/models/cran_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/dart_upstream.py | 2 +- .../python/src/cloudsmith_api/models/dart_upstream_request.py | 2 +- .../src/cloudsmith_api/models/dart_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/deb_upstream.py | 2 +- .../python/src/cloudsmith_api/models/deb_upstream_request.py | 2 +- .../src/cloudsmith_api/models/deb_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/docker_upstream.py | 2 +- .../python/src/cloudsmith_api/models/docker_upstream_request.py | 2 +- .../src/cloudsmith_api/models/docker_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/go_upstream.py | 2 +- .../python/src/cloudsmith_api/models/go_upstream_request.py | 2 +- .../src/cloudsmith_api/models/go_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/helm_upstream.py | 2 +- .../python/src/cloudsmith_api/models/helm_upstream_request.py | 2 +- .../src/cloudsmith_api/models/helm_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/hex_upstream.py | 2 +- .../python/src/cloudsmith_api/models/hex_upstream_request.py | 2 +- .../src/cloudsmith_api/models/hex_upstream_request_patch.py | 2 +- .../python/src/cloudsmith_api/models/huggingface_upstream.py | 2 +- .../src/cloudsmith_api/models/huggingface_upstream_request.py | 2 +- .../cloudsmith_api/models/huggingface_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/maven_upstream.py | 2 +- .../python/src/cloudsmith_api/models/maven_upstream_request.py | 2 +- .../src/cloudsmith_api/models/maven_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/npm_upstream.py | 2 +- .../python/src/cloudsmith_api/models/npm_upstream_request.py | 2 +- .../src/cloudsmith_api/models/npm_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/nuget_upstream.py | 2 +- .../python/src/cloudsmith_api/models/nuget_upstream_request.py | 2 +- .../src/cloudsmith_api/models/nuget_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/organization_team.py | 2 +- .../src/cloudsmith_api/models/organization_team_request.py | 2 +- .../cloudsmith_api/models/organization_team_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/python_upstream.py | 2 +- .../python/src/cloudsmith_api/models/python_upstream_request.py | 2 +- .../src/cloudsmith_api/models/python_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/repository.py | 2 +- bindings/python/src/cloudsmith_api/models/repository_create.py | 2 +- .../src/cloudsmith_api/models/repository_create_request.py | 2 +- .../src/cloudsmith_api/models/repository_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/rpm_upstream.py | 2 +- .../python/src/cloudsmith_api/models/rpm_upstream_request.py | 2 +- .../src/cloudsmith_api/models/rpm_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/ruby_upstream.py | 2 +- .../python/src/cloudsmith_api/models/ruby_upstream_request.py | 2 +- .../src/cloudsmith_api/models/ruby_upstream_request_patch.py | 2 +- bindings/python/src/cloudsmith_api/models/swift_upstream.py | 2 +- .../python/src/cloudsmith_api/models/swift_upstream_request.py | 2 +- .../src/cloudsmith_api/models/swift_upstream_request_patch.py | 2 +- 61 files changed, 61 insertions(+), 61 deletions(-) diff --git a/bindings/python/src/cloudsmith_api/models/cargo_upstream.py b/bindings/python/src/cloudsmith_api/models/cargo_upstream.py index 316d8787..227749e8 100644 --- a/bindings/python/src/cloudsmith_api/models/cargo_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/cargo_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/cargo_upstream_request.py b/bindings/python/src/cloudsmith_api/models/cargo_upstream_request.py index d950cd4c..d712128c 100644 --- a/bindings/python/src/cloudsmith_api/models/cargo_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/cargo_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/cargo_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/cargo_upstream_request_patch.py index c36e601d..5d11417c 100644 --- a/bindings/python/src/cloudsmith_api/models/cargo_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/cargo_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/composer_upstream.py b/bindings/python/src/cloudsmith_api/models/composer_upstream.py index 8df36843..3bb68930 100644 --- a/bindings/python/src/cloudsmith_api/models/composer_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/composer_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/composer_upstream_request.py b/bindings/python/src/cloudsmith_api/models/composer_upstream_request.py index e10915b7..fecd58b6 100644 --- a/bindings/python/src/cloudsmith_api/models/composer_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/composer_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/composer_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/composer_upstream_request_patch.py index 4bbbf2e9..cac85264 100644 --- a/bindings/python/src/cloudsmith_api/models/composer_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/composer_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/conda_upstream.py b/bindings/python/src/cloudsmith_api/models/conda_upstream.py index b654f472..493cf053 100644 --- a/bindings/python/src/cloudsmith_api/models/conda_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/conda_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/conda_upstream_request.py b/bindings/python/src/cloudsmith_api/models/conda_upstream_request.py index e03af589..f14bedbf 100644 --- a/bindings/python/src/cloudsmith_api/models/conda_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/conda_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/conda_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/conda_upstream_request_patch.py index 18384c0b..8bd40d04 100644 --- a/bindings/python/src/cloudsmith_api/models/conda_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/conda_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/cran_upstream.py b/bindings/python/src/cloudsmith_api/models/cran_upstream.py index 4ed00cda..d89e62bf 100644 --- a/bindings/python/src/cloudsmith_api/models/cran_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/cran_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/cran_upstream_request.py b/bindings/python/src/cloudsmith_api/models/cran_upstream_request.py index 211eac3c..307af8ed 100644 --- a/bindings/python/src/cloudsmith_api/models/cran_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/cran_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/cran_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/cran_upstream_request_patch.py index 673d17b7..2f00162a 100644 --- a/bindings/python/src/cloudsmith_api/models/cran_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/cran_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/dart_upstream.py b/bindings/python/src/cloudsmith_api/models/dart_upstream.py index acfee482..a694d553 100644 --- a/bindings/python/src/cloudsmith_api/models/dart_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/dart_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/dart_upstream_request.py b/bindings/python/src/cloudsmith_api/models/dart_upstream_request.py index ec305c91..c67c33b9 100644 --- a/bindings/python/src/cloudsmith_api/models/dart_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/dart_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/dart_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/dart_upstream_request_patch.py index 4555fb6d..0938fa3b 100644 --- a/bindings/python/src/cloudsmith_api/models/dart_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/dart_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/deb_upstream.py b/bindings/python/src/cloudsmith_api/models/deb_upstream.py index 638b4765..07104e6a 100644 --- a/bindings/python/src/cloudsmith_api/models/deb_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/deb_upstream.py @@ -877,7 +877,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/deb_upstream_request.py b/bindings/python/src/cloudsmith_api/models/deb_upstream_request.py index fd1548bb..ebc61c1f 100644 --- a/bindings/python/src/cloudsmith_api/models/deb_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/deb_upstream_request.py @@ -580,7 +580,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/deb_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/deb_upstream_request_patch.py index 409f4257..779ca8b1 100644 --- a/bindings/python/src/cloudsmith_api/models/deb_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/deb_upstream_request_patch.py @@ -579,7 +579,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/docker_upstream.py b/bindings/python/src/cloudsmith_api/models/docker_upstream.py index b7d64f75..370f7cd1 100644 --- a/bindings/python/src/cloudsmith_api/models/docker_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/docker_upstream.py @@ -546,7 +546,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/docker_upstream_request.py b/bindings/python/src/cloudsmith_api/models/docker_upstream_request.py index 1da946ac..9ed94791 100644 --- a/bindings/python/src/cloudsmith_api/models/docker_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/docker_upstream_request.py @@ -452,7 +452,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/docker_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/docker_upstream_request_patch.py index ca3bb379..08e4b225 100644 --- a/bindings/python/src/cloudsmith_api/models/docker_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/docker_upstream_request_patch.py @@ -452,7 +452,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/go_upstream.py b/bindings/python/src/cloudsmith_api/models/go_upstream.py index 83f72649..19b2887b 100644 --- a/bindings/python/src/cloudsmith_api/models/go_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/go_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/go_upstream_request.py b/bindings/python/src/cloudsmith_api/models/go_upstream_request.py index 7a59b632..7f46697b 100644 --- a/bindings/python/src/cloudsmith_api/models/go_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/go_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/go_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/go_upstream_request_patch.py index 59e3809a..b4df5e33 100644 --- a/bindings/python/src/cloudsmith_api/models/go_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/go_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/helm_upstream.py b/bindings/python/src/cloudsmith_api/models/helm_upstream.py index 4b554d0d..a562f18d 100644 --- a/bindings/python/src/cloudsmith_api/models/helm_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/helm_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/helm_upstream_request.py b/bindings/python/src/cloudsmith_api/models/helm_upstream_request.py index dd3a5d3e..8635ebf3 100644 --- a/bindings/python/src/cloudsmith_api/models/helm_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/helm_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/helm_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/helm_upstream_request_patch.py index 6e4afef3..b76eb29a 100644 --- a/bindings/python/src/cloudsmith_api/models/helm_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/helm_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/hex_upstream.py b/bindings/python/src/cloudsmith_api/models/hex_upstream.py index 0fb87ba2..de24b2fe 100644 --- a/bindings/python/src/cloudsmith_api/models/hex_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/hex_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/hex_upstream_request.py b/bindings/python/src/cloudsmith_api/models/hex_upstream_request.py index 64036d1c..c1411326 100644 --- a/bindings/python/src/cloudsmith_api/models/hex_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/hex_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/hex_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/hex_upstream_request_patch.py index b589e642..4998abb6 100644 --- a/bindings/python/src/cloudsmith_api/models/hex_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/hex_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/huggingface_upstream.py b/bindings/python/src/cloudsmith_api/models/huggingface_upstream.py index e8e1425a..ba4277a5 100644 --- a/bindings/python/src/cloudsmith_api/models/huggingface_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/huggingface_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request.py b/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request.py index 32a8cad3..aa8de7fa 100644 --- a/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request_patch.py index cfc9e0ef..c5196501 100644 --- a/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/huggingface_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/maven_upstream.py b/bindings/python/src/cloudsmith_api/models/maven_upstream.py index 8a55b738..16cbc836 100644 --- a/bindings/python/src/cloudsmith_api/models/maven_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/maven_upstream.py @@ -781,7 +781,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/maven_upstream_request.py b/bindings/python/src/cloudsmith_api/models/maven_upstream_request.py index f1c1f3e4..321be509 100644 --- a/bindings/python/src/cloudsmith_api/models/maven_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/maven_upstream_request.py @@ -484,7 +484,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/maven_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/maven_upstream_request_patch.py index af1fdc3a..80b08818 100644 --- a/bindings/python/src/cloudsmith_api/models/maven_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/maven_upstream_request_patch.py @@ -484,7 +484,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/npm_upstream.py b/bindings/python/src/cloudsmith_api/models/npm_upstream.py index cfbbd49f..1409d328 100644 --- a/bindings/python/src/cloudsmith_api/models/npm_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/npm_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/npm_upstream_request.py b/bindings/python/src/cloudsmith_api/models/npm_upstream_request.py index e3fb6c1f..2e3fc951 100644 --- a/bindings/python/src/cloudsmith_api/models/npm_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/npm_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/npm_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/npm_upstream_request_patch.py index a6a72031..fc3793e4 100644 --- a/bindings/python/src/cloudsmith_api/models/npm_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/npm_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/nuget_upstream.py b/bindings/python/src/cloudsmith_api/models/nuget_upstream.py index 7d41898d..7c453389 100644 --- a/bindings/python/src/cloudsmith_api/models/nuget_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/nuget_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/nuget_upstream_request.py b/bindings/python/src/cloudsmith_api/models/nuget_upstream_request.py index 9b8a8c65..fb7d2dae 100644 --- a/bindings/python/src/cloudsmith_api/models/nuget_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/nuget_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/nuget_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/nuget_upstream_request_patch.py index 101e4437..67eafadb 100644 --- a/bindings/python/src/cloudsmith_api/models/nuget_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/nuget_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/organization_team.py b/bindings/python/src/cloudsmith_api/models/organization_team.py index 8ff0eeb7..4a4ac652 100644 --- a/bindings/python/src/cloudsmith_api/models/organization_team.py +++ b/bindings/python/src/cloudsmith_api/models/organization_team.py @@ -127,7 +127,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/organization_team_request.py b/bindings/python/src/cloudsmith_api/models/organization_team_request.py index c65cd2f0..a970e922 100644 --- a/bindings/python/src/cloudsmith_api/models/organization_team_request.py +++ b/bindings/python/src/cloudsmith_api/models/organization_team_request.py @@ -122,7 +122,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/organization_team_request_patch.py b/bindings/python/src/cloudsmith_api/models/organization_team_request_patch.py index eede7880..72e75139 100644 --- a/bindings/python/src/cloudsmith_api/models/organization_team_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/organization_team_request_patch.py @@ -121,7 +121,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/python_upstream.py b/bindings/python/src/cloudsmith_api/models/python_upstream.py index cf9d9448..89bc775a 100644 --- a/bindings/python/src/cloudsmith_api/models/python_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/python_upstream.py @@ -661,7 +661,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/python_upstream_request.py b/bindings/python/src/cloudsmith_api/models/python_upstream_request.py index 9d20ba35..c4afc12a 100644 --- a/bindings/python/src/cloudsmith_api/models/python_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/python_upstream_request.py @@ -395,7 +395,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/python_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/python_upstream_request_patch.py index ec29e369..237d238f 100644 --- a/bindings/python/src/cloudsmith_api/models/python_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/python_upstream_request_patch.py @@ -395,7 +395,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/repository.py b/bindings/python/src/cloudsmith_api/models/repository.py index 7a5f5564..851a688a 100644 --- a/bindings/python/src/cloudsmith_api/models/repository.py +++ b/bindings/python/src/cloudsmith_api/models/repository.py @@ -1050,7 +1050,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/repository_create.py b/bindings/python/src/cloudsmith_api/models/repository_create.py index 9798c57b..7faa3866 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_create.py +++ b/bindings/python/src/cloudsmith_api/models/repository_create.py @@ -1050,7 +1050,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/repository_create_request.py b/bindings/python/src/cloudsmith_api/models/repository_create_request.py index f9a7557c..dde3d333 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_create_request.py +++ b/bindings/python/src/cloudsmith_api/models/repository_create_request.py @@ -768,7 +768,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/repository_request_patch.py b/bindings/python/src/cloudsmith_api/models/repository_request_patch.py index a12703cb..48858b0c 100644 --- a/bindings/python/src/cloudsmith_api/models/repository_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/repository_request_patch.py @@ -762,7 +762,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/rpm_upstream.py b/bindings/python/src/cloudsmith_api/models/rpm_upstream.py index b41887d3..f8efded1 100644 --- a/bindings/python/src/cloudsmith_api/models/rpm_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/rpm_upstream.py @@ -838,7 +838,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/rpm_upstream_request.py b/bindings/python/src/cloudsmith_api/models/rpm_upstream_request.py index 19ef7d14..8fd416ce 100644 --- a/bindings/python/src/cloudsmith_api/models/rpm_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/rpm_upstream_request.py @@ -541,7 +541,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/rpm_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/rpm_upstream_request_patch.py index 4c5f7aa1..4cb65bba 100644 --- a/bindings/python/src/cloudsmith_api/models/rpm_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/rpm_upstream_request_patch.py @@ -540,7 +540,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/ruby_upstream.py b/bindings/python/src/cloudsmith_api/models/ruby_upstream.py index 58025455..05f32ccf 100644 --- a/bindings/python/src/cloudsmith_api/models/ruby_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/ruby_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/ruby_upstream_request.py b/bindings/python/src/cloudsmith_api/models/ruby_upstream_request.py index a1045011..e5ba3cfd 100644 --- a/bindings/python/src/cloudsmith_api/models/ruby_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/ruby_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/ruby_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/ruby_upstream_request_patch.py index 92016299..b32279c6 100644 --- a/bindings/python/src/cloudsmith_api/models/ruby_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/ruby_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/swift_upstream.py b/bindings/python/src/cloudsmith_api/models/swift_upstream.py index 990d0d4d..78e10b48 100644 --- a/bindings/python/src/cloudsmith_api/models/swift_upstream.py +++ b/bindings/python/src/cloudsmith_api/models/swift_upstream.py @@ -656,7 +656,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/swift_upstream_request.py b/bindings/python/src/cloudsmith_api/models/swift_upstream_request.py index b557d518..951a9c66 100644 --- a/bindings/python/src/cloudsmith_api/models/swift_upstream_request.py +++ b/bindings/python/src/cloudsmith_api/models/swift_upstream_request.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name diff --git a/bindings/python/src/cloudsmith_api/models/swift_upstream_request_patch.py b/bindings/python/src/cloudsmith_api/models/swift_upstream_request_patch.py index 209c1a18..746ef6fd 100644 --- a/bindings/python/src/cloudsmith_api/models/swift_upstream_request_patch.py +++ b/bindings/python/src/cloudsmith_api/models/swift_upstream_request_patch.py @@ -390,7 +390,7 @@ def name(self, name): name is not None and len(name) < 1): raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501 if (self._configuration.client_side_validation and - name is not None and not re.search('^\\w[\\w \\-\'\\.\/()]+$', name)): # noqa: E501 + name is not None and not re.search('^\\w[\\w \\-\'\\.\\/()]+$', name)): # noqa: E501 raise ValueError(r"Invalid value for `name`, must be a follow pattern or equal to `/^\\w[\\w \\-'\\.\/()]+$/`") # noqa: E501 self._name = name