From 75887fb20c62a215c5a8bf9c14a31d9402fbd799 Mon Sep 17 00:00:00 2001 From: Ian Duffy Date: Wed, 15 Jul 2026 14:45:51 +0100 Subject: [PATCH] Update Go API bindings to version 0.0.59 Binding version: 0.0.59 Cloudsmith API version: 1.1288.1 Also ports the tooling/automation from cloudsmith-io/cloudsmith-api#96, adapted for this Go-only, Docker-generated repo: - .mise.toml pins the host toolchain (go, jq) and adds generate / update-bindings tasks. Docker remains a separate prerequisite. - Update API bindings workflow: regenerates and opens a PR on demand (workflow_dispatch) or daily on a schedule, only when the bindings actually change, closing any superseded automated PRs first. - zizmor Security workflow + pre-commit hook. - Hardened go.yml (hash-pinned actions, persist-credentials: false, explicit permissions, mise-managed toolchain). - bin/generate: gsed->sed shim and case-insensitive CONTRIBUTING guard so the daily build works on Linux runners. - Documented the mise + Docker workflow in CONTRIBUTING. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/go.yml | 12 +- .github/workflows/update-bindings.yml | 107 ++++++++ .github/workflows/zizmor.yml | 32 +++ .mise.toml | 16 ++ .pre-commit-config.yaml | 5 + CONTRIBUTING.MD | 27 +- README.md | 4 +- api/openapi.yaml | 231 ++++++++++++++++-- api_audit_log.go | 2 +- api_badges.go | 2 +- api_broadcasts.go | 2 +- api_bulk_action.go | 2 +- api_distros.go | 2 +- api_entitlements.go | 2 +- api_files.go | 2 +- api_formats.go | 2 +- api_metrics.go | 2 +- api_namespaces.go | 2 +- api_orgs.go | 15 +- api_packages.go | 133 +++++++--- api_quota.go | 2 +- api_rates.go | 2 +- api_recycle_bin.go | 2 +- api_repos.go | 4 +- api_status.go | 2 +- api_storage_regions.go | 2 +- api_user.go | 2 +- api_users.go | 2 +- api_vulnerabilities.go | 2 +- api_webhooks.go | 2 +- bin/generate | 36 +-- client.go | 4 +- configuration.go | 4 +- docs/ConnectedRepository.md | 54 +++- docs/ConnectedRepositoryRequest.md | 2 +- docs/ConnectedRepositoryRequestPatch.md | 2 +- docs/FormatSupportUpstream.md | 23 +- docs/OrganizationSAMLAuth.md | 72 ++++++ docs/OrganizationSAMLAuthRequestPatch.md | 72 ++++++ docs/OrgsApi.md | 6 +- docs/PackagesApi.md | 30 ++- docs/ReposApi.md | 4 +- docs/Repository.md | 26 ++ docs/RepositoryCreate.md | 26 ++ docs/RepositoryEd25519Key.md | 26 ++ model_allocated_limit.go | 2 +- model_allocated_limit_raw.go | 2 +- model_alpine_package_upload.go | 2 +- model_alpine_package_upload_request.go | 2 +- model_alpine_upstream.go | 2 +- model_alpine_upstream_request.go | 2 +- model_alpine_upstream_request_patch.go | 2 +- model_architecture.go | 2 +- model_broadcast_token.go | 2 +- model_broadcast_token_input.go | 2 +- model_cargo_package_upload.go | 2 +- model_cargo_package_upload_request.go | 2 +- model_cargo_upstream.go | 2 +- model_cargo_upstream_request.go | 2 +- model_cargo_upstream_request_patch.go | 2 +- model_cocoapods_package_upload.go | 2 +- model_cocoapods_package_upload_request.go | 2 +- model_common_bandwidth_metrics.go | 2 +- model_common_bandwidth_metrics_value.go | 2 +- model_common_downloads_metrics.go | 2 +- model_common_downloads_metrics_value.go | 2 +- model_common_metrics.go | 2 +- model_composer_package_upload.go | 2 +- model_composer_package_upload_request.go | 2 +- model_composer_upstream.go | 2 +- model_composer_upstream_request.go | 2 +- model_composer_upstream_request_patch.go | 2 +- model_conan_package_upload.go | 2 +- model_conan_package_upload_request.go | 2 +- model_conda_package_upload.go | 2 +- model_conda_package_upload_request.go | 2 +- model_conda_upstream.go | 2 +- model_conda_upstream_request.go | 2 +- model_conda_upstream_request_patch.go | 2 +- model_connected_repository.go | 85 ++++++- model_connected_repository_request.go | 6 +- model_connected_repository_request_patch.go | 6 +- model_cran_package_upload.go | 2 +- model_cran_package_upload_request.go | 2 +- model_cran_upstream.go | 2 +- model_cran_upstream_request.go | 2 +- model_cran_upstream_request_patch.go | 2 +- model_dart_package_upload.go | 2 +- model_dart_package_upload_request.go | 2 +- model_dart_upstream.go | 2 +- model_dart_upstream_request.go | 2 +- model_dart_upstream_request_patch.go | 2 +- model_deb_package_upload.go | 2 +- model_deb_package_upload_request.go | 2 +- model_deb_upstream.go | 2 +- model_deb_upstream_request.go | 2 +- model_deb_upstream_request_patch.go | 2 +- model_distribution.go | 2 +- model_distribution_full.go | 2 +- model_distribution_version.go | 2 +- model_docker_package_upload.go | 2 +- model_docker_package_upload_request.go | 2 +- model_docker_upstream.go | 2 +- model_docker_upstream_request.go | 2 +- model_docker_upstream_request_patch.go | 2 +- model_dynamic_mapping.go | 2 +- model_entitlement_usage_metrics.go | 2 +- model_error_detail.go | 2 +- model_eula.go | 2 +- model_format.go | 2 +- model_format_support.go | 2 +- model_format_support_upstream.go | 34 ++- model_generic_package_upload.go | 2 +- model_generic_package_upload_request.go | 2 +- model_generic_upstream.go | 2 +- model_generic_upstream_request.go | 2 +- model_generic_upstream_request_patch.go | 2 +- model_geo_ip_location.go | 2 +- model_go_package_upload.go | 2 +- model_go_package_upload_request.go | 2 +- model_go_upstream.go | 2 +- model_go_upstream_request.go | 2 +- model_go_upstream_request_patch.go | 2 +- model_helm_package_upload.go | 2 +- model_helm_package_upload_request.go | 2 +- model_helm_upstream.go | 2 +- model_helm_upstream_request.go | 2 +- model_helm_upstream_request_patch.go | 2 +- model_hex_package_upload.go | 2 +- model_hex_package_upload_request.go | 2 +- model_hex_upstream.go | 2 +- model_hex_upstream_request.go | 2 +- model_hex_upstream_request_patch.go | 2 +- model_history.go | 2 +- model_history_fieldset.go | 2 +- model_history_fieldset_raw.go | 2 +- model_huggingface_package_upload.go | 2 +- model_huggingface_package_upload_request.go | 2 +- model_huggingface_upstream.go | 2 +- model_huggingface_upstream_request.go | 2 +- model_huggingface_upstream_request_patch.go | 2 +- model_luarocks_package_upload.go | 2 +- model_luarocks_package_upload_request.go | 2 +- model_maven_package_upload.go | 2 +- model_maven_package_upload_request.go | 2 +- model_maven_upstream.go | 2 +- model_maven_upstream_request.go | 2 +- model_maven_upstream_request_patch.go | 2 +- model_mcp_package_upload.go | 2 +- model_mcp_package_upload_request.go | 2 +- model_member_teams.go | 2 +- model_namespace.go | 2 +- model_namespace_audit_log.go | 2 +- model_nested_license_policy.go | 2 +- model_nested_vulnerability_policy.go | 2 +- model_nested_vulnerability_scan_results.go | 2 +- model_npm_package_upload.go | 2 +- model_npm_package_upload_request.go | 2 +- model_npm_upstream.go | 2 +- model_npm_upstream_request.go | 2 +- model_npm_upstream_request_patch.go | 2 +- model_nuget_package_upload.go | 2 +- model_nuget_package_upload_request.go | 2 +- model_nuget_upstream.go | 2 +- model_nuget_upstream_request.go | 2 +- model_nuget_upstream_request_patch.go | 2 +- model_organization.go | 2 +- ..._organization_custom_domain_nested_repo.go | 2 +- model_organization_custom_domains.go | 2 +- model_organization_group_sync.go | 2 +- model_organization_group_sync_request.go | 2 +- model_organization_group_sync_status.go | 2 +- model_organization_invite.go | 2 +- model_organization_invite_extend.go | 2 +- model_organization_invite_request.go | 2 +- model_organization_invite_update.go | 2 +- ...rganization_invite_update_request_patch.go | 2 +- model_organization_membership.go | 2 +- model_organization_membership_role_update.go | 2 +- ...on_membership_role_update_request_patch.go | 2 +- ...ganization_membership_visibility_update.go | 2 +- ...bership_visibility_update_request_patch.go | 2 +- model_organization_package_license_policy.go | 2 +- ...nization_package_license_policy_request.go | 2 +- ...on_package_license_policy_request_patch.go | 2 +- ...ganization_package_vulnerability_policy.go | 2 +- ...on_package_vulnerability_policy_request.go | 2 +- ...kage_vulnerability_policy_request_patch.go | 2 +- model_organization_saml_auth.go | 104 +++++++- model_organization_saml_auth_request_patch.go | 104 +++++++- model_organization_team.go | 2 +- model_organization_team_invite.go | 2 +- model_organization_team_members.go | 2 +- model_organization_team_request.go | 2 +- model_organization_team_request_patch.go | 2 +- model_organization_team_service_member.go | 2 +- model_p2_package_upload.go | 2 +- model_p2_package_upload_request.go | 2 +- model_package.go | 2 +- model_package_bulk_action.go | 2 +- model_package_bulk_action_response.go | 2 +- model_package_copy.go | 2 +- model_package_copy_request.go | 2 +- model_package_deny_policy.go | 2 +- model_package_deny_policy_request.go | 2 +- model_package_deny_policy_request_patch.go | 2 +- model_package_dependencies.go | 2 +- model_package_dependency.go | 2 +- model_package_file.go | 2 +- model_package_file_parts_upload.go | 2 +- model_package_file_upload.go | 2 +- model_package_file_upload_request.go | 2 +- model_package_group.go | 2 +- model_package_license.go | 2 +- ...ckage_license_policy_evaluation_request.go | 2 +- model_package_license_policy_violation_log.go | 2 +- ...icense_policy_violation_log_cursor_page.go | 2 +- model_package_license_request_patch.go | 2 +- model_package_move.go | 2 +- model_package_move_request.go | 2 +- model_package_quarantine.go | 2 +- model_package_quarantine_request.go | 2 +- model_package_recycle_bin.go | 2 +- model_package_resync.go | 2 +- model_package_status.go | 2 +- model_package_tag.go | 2 +- model_package_tag_request.go | 2 +- model_package_usage_metrics.go | 2 +- model_package_vulnerability.go | 2 +- ...vulnerability_policy_evaluation_request.go | 2 +- ...kage_vulnerability_policy_violation_log.go | 2 +- ...bility_policy_violation_log_cursor_page.go | 2 +- model_packages_groups_list_200_response.go | 2 +- model_provider_settings.go | 2 +- model_provider_settings_write.go | 2 +- model_provider_settings_write_request.go | 2 +- ...l_provider_settings_write_request_patch.go | 2 +- model_python_package_upload.go | 2 +- model_python_package_upload_request.go | 2 +- model_python_upstream.go | 2 +- model_python_upstream_request.go | 2 +- model_python_upstream_request_patch.go | 2 +- model_quota.go | 2 +- model_quota_history.go | 2 +- model_rate_check.go | 2 +- model_raw_package_upload.go | 2 +- model_raw_package_upload_request.go | 2 +- model_recycle_bin_package.go | 2 +- model_repos_connected_list_200_response.go | 2 +- model_repository.go | 40 ++- model_repository_audit_log.go | 2 +- model_repository_create.go | 40 ++- model_repository_create_request.go | 2 +- model_repository_ecdsa_key.go | 2 +- model_repository_ecdsa_key_create.go | 2 +- model_repository_ed25519_key.go | 42 +++- model_repository_ed25519_key_create.go | 2 +- model_repository_geo_ip_cidr.go | 2 +- model_repository_geo_ip_country_code.go | 2 +- model_repository_geo_ip_rules.go | 2 +- model_repository_geo_ip_rules_request.go | 2 +- ...l_repository_geo_ip_rules_request_patch.go | 2 +- model_repository_geo_ip_status.go | 2 +- model_repository_geo_ip_test_address.go | 2 +- ...repository_geo_ip_test_address_response.go | 2 +- ...itory_geo_ip_test_address_response_dict.go | 2 +- model_repository_gpg_key.go | 2 +- model_repository_gpg_key_create.go | 2 +- model_repository_privilege_dict.go | 2 +- model_repository_privilege_input.go | 2 +- model_repository_privilege_input_request.go | 2 +- ...epository_privilege_input_request_patch.go | 2 +- model_repository_request_patch.go | 2 +- model_repository_retention_rules.go | 2 +- ...epository_retention_rules_request_patch.go | 2 +- model_repository_rsa_key.go | 2 +- model_repository_rsa_key_create.go | 2 +- model_repository_token.go | 2 +- model_repository_token_private_broadcasts.go | 2 +- ...sitory_token_private_broadcasts_request.go | 2 +- model_repository_token_refresh.go | 2 +- model_repository_token_refresh_request.go | 2 +- model_repository_token_request.go | 2 +- model_repository_token_request_patch.go | 2 +- model_repository_token_sync.go | 2 +- model_repository_token_sync_request.go | 2 +- model_repository_transfer_region.go | 2 +- model_repository_transfer_region_request.go | 2 +- model_repository_webhook.go | 2 +- model_repository_webhook_request.go | 2 +- model_repository_webhook_request_patch.go | 2 +- model_repository_x509_ecdsa_certificate.go | 2 +- model_repository_x509_rsa_certificate.go | 2 +- model_resources_rate_check.go | 2 +- model_rpm_package_upload.go | 2 +- model_rpm_package_upload_request.go | 2 +- model_rpm_upstream.go | 2 +- model_rpm_upstream_request.go | 2 +- model_rpm_upstream_request_patch.go | 2 +- model_ruby_package_upload.go | 2 +- model_ruby_package_upload_request.go | 2 +- model_ruby_upstream.go | 2 +- model_ruby_upstream_request.go | 2 +- model_ruby_upstream_request_patch.go | 2 +- model_service.go | 2 +- model_service_request.go | 2 +- model_service_request_patch.go | 2 +- model_service_teams.go | 2 +- model_status_basic.go | 2 +- model_storage_allocated_limit.go | 2 +- model_storage_allocated_limit_raw.go | 2 +- model_storage_region.go | 2 +- model_storage_usage.go | 2 +- model_storage_usage_raw.go | 2 +- model_swift_package_upload.go | 2 +- model_swift_package_upload_request.go | 2 +- model_swift_upstream.go | 2 +- model_swift_upstream_request.go | 2 +- model_swift_upstream_request_patch.go | 2 +- model_terraform_package_upload.go | 2 +- model_terraform_package_upload_request.go | 2 +- model_usage.go | 2 +- model_usage_fieldset.go | 2 +- model_usage_limits.go | 2 +- model_usage_limits_raw.go | 2 +- model_usage_raw.go | 2 +- model_user_auth_token.go | 2 +- model_user_auth_token_request.go | 2 +- model_user_authentication_token.go | 2 +- model_user_brief.go | 2 +- model_user_profile.go | 2 +- model_user_tokens_list_200_response.go | 2 +- model_vagrant_package_upload.go | 2 +- model_vagrant_package_upload_request.go | 2 +- model_vsx_package_upload.go | 2 +- model_vsx_package_upload_request.go | 2 +- model_vulnerability.go | 2 +- model_vulnerability_scan.go | 2 +- model_vulnerability_scan_results.go | 2 +- model_vulnerability_scan_results_list.go | 2 +- model_vulnerability_scan_version.go | 2 +- model_webhook_template.go | 2 +- response.go | 2 +- utils.go | 2 +- 344 files changed, 1612 insertions(+), 440 deletions(-) create mode 100644 .github/workflows/update-bindings.yml create mode 100644 .github/workflows/zizmor.yml create mode 100644 .mise.toml create mode 100644 .pre-commit-config.yaml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b15787f7..8ce1a2d7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,17 +9,21 @@ on: pull_request: branches: [ "master" ] +permissions: + contents: read + jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: 1.19 + uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 - name: Build run: go build -v ./... diff --git a/.github/workflows/update-bindings.yml b/.github/workflows/update-bindings.yml new file mode 100644 index 00000000..90fd8227 --- /dev/null +++ b/.github/workflows/update-bindings.yml @@ -0,0 +1,107 @@ +name: Update API bindings + +on: + workflow_dispatch: + inputs: + version: + description: "Binding version (leave blank to auto-increment the patch version)" + required: false + type: string + schedule: + # Daily at 06:00 UTC + - cron: "0 6 * * *" + +permissions: + contents: write + pull-requests: write + +jobs: + update-bindings: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false + + - name: Set up tools + uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 + + - name: Generate bindings + run: mise run generate + + - name: Detect changes + id: detect + env: + INPUT_VERSION: ${{ inputs.version }} + run: | + if [ -n "$INPUT_VERSION" ] || [ -n "$(git status --porcelain)" ]; then + echo "changed=true" >> "$GITHUB_OUTPUT" + else + echo "changed=false" >> "$GITHUB_OUTPUT" + echo "Bindings already match the current API; no PR needed." + fi + + - name: Bump version and regenerate + if: steps.detect.outputs.changed == 'true' + id: versions + env: + INPUT_VERSION: ${{ inputs.version }} + run: | + api_version=$(curl -s --max-time 30 "https://api.cloudsmith.io/status/check/basic/" | jq -r '.version') + if [ -z "$api_version" ] || [ "$api_version" = "null" ]; then + echo "Could not fetch CloudSmith API version" >&2 + exit 1 + fi + + current_version=$(grep -oE '"[0-9]+\.[0-9]+\.[0-9]+"' bin/generate | head -1 | tr -d '"') + if [ -n "$INPUT_VERSION" ]; then + new_version="$INPUT_VERSION" + else + IFS='.' read -r major minor patch <<< "$current_version" + new_version="${major}.${minor}.$((patch + 1))" + fi + + sed -i -E "s/PKG_VERSION=\\\$\\{1:-\"[0-9.]+\"\\}/PKG_VERSION=\${1:-\"${new_version}\"}/" bin/generate + mise run generate + + echo "api_version=$api_version" >> "$GITHUB_OUTPUT" + echo "new_version=$new_version" >> "$GITHUB_OUTPUT" + + - name: Close stale automated binding PRs + if: steps.detect.outputs.changed == 'true' + env: + GH_TOKEN: ${{ github.token }} + NEW_VERSION: ${{ steps.versions.outputs.new_version }} + run: | + keep="automated/update-bindings-v${NEW_VERSION}" + gh pr list --state open --json number,headRefName \ + --jq '.[] + | select(.headRefName | startswith("automated/update-bindings-")) + | select(.headRefName != "'"$keep"'") + | .number' \ + | while read -r number; do + [ -n "$number" ] || continue + gh pr close "$number" --delete-branch \ + --comment "Superseded by automated bindings update v${NEW_VERSION}." + done + + - name: Create pull request + if: steps.detect.outputs.changed == 'true' + uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 + with: + branch: automated/update-bindings-v${{ steps.versions.outputs.new_version }} + base: master + title: "Update Go API bindings to version ${{ steps.versions.outputs.new_version }}" + commit-message: "Update Go API bindings to version ${{ steps.versions.outputs.new_version }}" + body: | + Automated API bindings update. + + - Binding version: `${{ steps.versions.outputs.new_version }}` + - CloudSmith API version: `${{ steps.versions.outputs.api_version }}` + + Generated by the **Update API bindings** workflow. + labels: | + bindings + automated + delete-branch: true diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml new file mode 100644 index 00000000..d32a5585 --- /dev/null +++ b/.github/workflows/zizmor.yml @@ -0,0 +1,32 @@ +name: Security + +on: + push: + branches: + - master + paths: + - ".github/workflows/**" + pull_request: + branches: + - "**" + paths: + - ".github/workflows/**" + +permissions: {} + +jobs: + zizmor: + name: Scan GitHub Actions workflows + runs-on: ubuntu-latest + permissions: + security-events: write + contents: read + actions: read + steps: + - name: Checkout repository + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false + + - name: Run zizmor + uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7 diff --git a/.mise.toml b/.mise.toml new file mode 100644 index 00000000..0ff429a4 --- /dev/null +++ b/.mise.toml @@ -0,0 +1,16 @@ +# Host toolchain for working with this repo. Note: binding generation runs +# inside the pinned openapitools/openapi-generator-cli Docker image (see +# bin/generate), so Docker remains a separate prerequisite that mise does not +# manage. The CI test matrix pins its own runtimes via the same versions here. + +[tools] +go = "1.23" +jq = "latest" + +[tasks.generate] +description = "Regenerate the Go bindings (requires Docker)" +run = "./bin/generate" + +[tasks.update-bindings] +description = "Bump the version, regenerate bindings, and open a PR" +run = "./scripts/update-bindings.sh" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..97adf497 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: +- repo: https://github.com/zizmorcore/zizmor-pre-commit + rev: v1.27.0 + hooks: + - id: zizmor diff --git a/CONTRIBUTING.MD b/CONTRIBUTING.MD index 54ec715a..9c49a39b 100644 --- a/CONTRIBUTING.MD +++ b/CONTRIBUTING.MD @@ -2,23 +2,44 @@ Please refer to Cloudsmith's standard guide on [Open-Source Contributing](https://docs.cloudsmith.com/contributing). +## Toolchain + +Host tools are pinned with [mise](https://mise.jdx.dev/) via `.mise.toml` +(`go` and `jq`). Run `mise install` once to provision them. Binding generation +also requires [Docker](https://www.docker.com/) — it runs the pinned +`openapi-generator-cli` image and is a separate prerequisite that mise does not +manage. GNU sed is used for the post-generation fixups (`gsed` on macOS via +Homebrew, plain `sed` on Linux). + +Convenience tasks: + +* `mise run generate` — regenerate the Go bindings +* `mise run update-bindings` — bump the version, regenerate, and open a PR + ## Updating bindings ### Manual approach * Update `PKG_VERSION` in `bin/generate` -* Run `bin/generate` to generate bindings +* Run `bin/generate` (or `mise run generate`) to generate bindings * Create a PR specifing API and binding version * Create git tag and release in github -### Automated approach +### Automated approach (local) -* Run `./scripts/update-bindings.sh` to automatically update the bindings. +* Run `./scripts/update-bindings.sh` (or `mise run update-bindings`) to automatically update the bindings. * This will then provide you with the URL for the PR to release the updated bindings. * Preferred usage: `./scripts/update-bindings.sh` * For full options and usage examples, run: `./scripts/update-bindings.sh --help` * After PR is merged, follow the displayed instructions to create the git tag and GitHub release. +### Automated approach (CI) + +* The **Update API bindings** GitHub Actions workflow regenerates the bindings + and opens a PR — on demand (`workflow_dispatch`, optionally with a specific + version) or daily on a schedule. It opens a PR only when the regenerated + bindings actually change, and closes any superseded automated PRs first. + ## Contributor License Agreement By making any contributions to Cloudsmith Ltd projects you agree to be bound by the terms of the Cloudsmith Ltd [Contributor License Agreement](https://docs.cloudsmith.com/contributor-license-agreement). diff --git a/README.md b/README.md index 377280d4..ea9e40e2 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ The API to the Cloudsmith Service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.1206.0 -- Package version: 0.0.58 +- API version: 1.1288.1 +- Package version: 0.0.59 - Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io) diff --git a/api/openapi.yaml b/api/openapi.yaml index d57c0207..1c41065b 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -10,7 +10,7 @@ info: url: https://opensource.org/licenses/MIT termsOfService: https://help.cloudsmith.io title: Cloudsmith API (v1) - version: 1.1206.0 + version: 1.1288.1 servers: - url: https://api.cloudsmith.io/ security: @@ -1595,6 +1595,14 @@ paths: name: page_size schema: type: integer + - description: "A field for sorting objects in ascending or descending order.\ + \ Use `-` prefix for descending order (e.g., `-name`). Available options:\ + \ name, created_at, slug." + in: query + name: sort + schema: + default: name + type: string responses: "200": content: @@ -4798,6 +4806,17 @@ paths: name: page_size schema: type: integer + - description: "If true, include packages from active connected target repositories\ + \ in addition to packages from this repository. Has no effect if the repository\ + \ has no active connections. Defaults to false. Note: download-related URLs\ + \ on returned packages (e.g. cdn_url, signature_url) are rewritten to point\ + \ at the requesting repository, not the connected target repository the\ + \ package physically lives in." + in: query + name: include_connected_repositories + schema: + default: false + type: boolean - description: "A search term for querying names, filenames, versions, distributions,\ \ architectures, formats or statuses of packages." in: query @@ -4873,6 +4892,14 @@ paths: schema: default: false type: boolean + - description: "If true, include packages from active connected target repositories\ + \ in addition to packages from this repository. Has no effect if the repository\ + \ has no active connections. Defaults to false." + in: query + name: include_connected_repositories + schema: + default: false + type: boolean - description: "A search term for querying names, filenames, versions, distributions,\ \ architectures, formats, or statuses of packages." in: query @@ -7786,6 +7813,17 @@ paths: required: true schema: type: string + - description: "If true, include packages from active connected target repositories\ + \ in addition to packages from this repository. Has no effect if the repository\ + \ has no active connections. Defaults to false. Note: download-related URLs\ + \ on returned packages (e.g. cdn_url, signature_url) are rewritten to point\ + \ at the requesting repository, not the connected target repository the\ + \ package physically lives in." + in: query + name: include_connected_repositories + schema: + default: false + type: boolean responses: "200": content: @@ -7879,6 +7917,17 @@ paths: required: true schema: type: string + - description: "If true, include packages from active connected target repositories\ + \ in addition to packages from this repository. Has no effect if the repository\ + \ has no active connections. Defaults to false. Note: download-related URLs\ + \ on returned packages (e.g. cdn_url, signature_url) are rewritten to point\ + \ at the requesting repository, not the connected target repository the\ + \ package physically lives in." + in: query + name: include_connected_repositories + schema: + default: false + type: boolean responses: "200": content: @@ -8104,6 +8153,17 @@ paths: required: true schema: type: string + - description: "If true, include packages from active connected target repositories\ + \ in addition to packages from this repository. Has no effect if the repository\ + \ has no active connections. Defaults to false. Note: download-related URLs\ + \ on returned packages (e.g. cdn_url, signature_url) are rewritten to point\ + \ at the requesting repository, not the connected target repository the\ + \ package physically lives in." + in: query + name: include_connected_repositories + schema: + default: false + type: boolean responses: "200": content: @@ -8534,7 +8594,9 @@ paths: name: query schema: type: string - - description: A field for sorting objects in ascending or descending order. + - description: "A field for sorting objects in ascending or descending order.\ + \ Available options are: created_at, downloads, favorites, name, package_count,\ + \ size." in: query name: sort schema: @@ -18216,6 +18278,7 @@ components: FormatSupportUpstream: description: The upstream support for the package format example: + cache_only: true trust: true auth_modes: - Username and Password @@ -18236,6 +18299,10 @@ components: - Certificate and Key type: string type: array + cache_only: + description: If true the upstream format supports cache-only mode. + title: Cache only + type: boolean caching: description: If true the upstream format supports caching title: Caching @@ -18274,6 +18341,7 @@ components: type: boolean required: - auth_modes + - cache_only - caching - indexing - proxying @@ -18286,6 +18354,7 @@ components: metadata: true versioning: true upstreams: + cache_only: true trust: true auth_modes: - Username and Password @@ -18347,6 +18416,7 @@ components: metadata: true versioning: true upstreams: + cache_only: true trust: true auth_modes: - Username and Password @@ -20245,9 +20315,11 @@ components: OrganizationSAMLAuth: example: saml_auth_enforced: true + saml_metadata_url_webapp: https://openapi-generator.tech saml_auth_enabled: true saml_metadata_inline: saml_metadata_inline saml_metadata_url: https://openapi-generator.tech + saml_metadata_inline_webapp: saml_metadata_inline_webapp properties: saml_auth_enabled: title: Saml auth enabled @@ -20261,6 +20333,14 @@ components: maxLength: 32000 title: Inline SAML metadata type: string + saml_metadata_inline_webapp: + description: "When configured, this inline SAML metadata is used instead\ + \ of the legacy app SAML configuration when signing into the new Cloudsmith\ + \ web application." + maxLength: 32000 + nullable: true + title: Inline SAML metadata (webapp) + type: string saml_metadata_url: description: "If configured, SAML metadata be retrieved from a remote URL." format: uri @@ -20268,6 +20348,15 @@ components: nullable: true title: Saml metadata url type: string + saml_metadata_url_webapp: + description: "When configured, this SAML metadata URL is used instead of\ + \ the legacy app SAML configuration when signing into the new Cloudsmith\ + \ web application." + format: uri + maxLength: 254 + nullable: true + title: Saml metadata url webapp + type: string required: - saml_auth_enabled - saml_auth_enforced @@ -20275,9 +20364,11 @@ components: OrganizationSAMLAuthRequestPatch: example: saml_auth_enforced: true + saml_metadata_url_webapp: https://openapi-generator.tech saml_auth_enabled: true saml_metadata_inline: saml_metadata_inline saml_metadata_url: https://openapi-generator.tech + saml_metadata_inline_webapp: saml_metadata_inline_webapp properties: saml_auth_enabled: title: Saml auth enabled @@ -20291,6 +20382,14 @@ components: maxLength: 32000 title: Inline SAML metadata type: string + saml_metadata_inline_webapp: + description: "When configured, this inline SAML metadata is used instead\ + \ of the legacy app SAML configuration when signing into the new Cloudsmith\ + \ web application." + maxLength: 32000 + nullable: true + title: Inline SAML metadata (webapp) + type: string saml_metadata_url: description: "If configured, SAML metadata be retrieved from a remote URL." format: uri @@ -20298,6 +20397,15 @@ components: nullable: true title: Saml metadata url type: string + saml_metadata_url_webapp: + description: "When configured, this SAML metadata URL is used instead of\ + \ the legacy app SAML configuration when signing into the new Cloudsmith\ + \ web application." + format: uri + maxLength: 254 + nullable: true + title: Saml metadata url webapp + type: string type: object OrganizationGroupSync: example: @@ -43685,15 +43793,15 @@ components: type: object Repository: example: - num_policy_violated_packages: 6 + num_policy_violated_packages: 1 open_source_license: open_source_license scan_packages: Read content_kind: Standard tag_pre_releases_as_latest: true index_files: true - repository_type: 7 + repository_type: 9 use_source_packages: true - package_group_count: 2 + package_group_count: 7 repository_type_str: Public use_vulnerability_scanning: true resync_own: true @@ -43702,15 +43810,16 @@ components: raw_package_index_enabled: true open_source_project_url: https://openapi-generator.tech is_public_hidden: true + active_connection_count: 0 namespace_url: https://openapi-generator.tech slug_perm: slug_perm deleted_at: 2000-01-23T04:56:07.000+00:00 replace_packages: Write user_entitlements_enabled: true - num_downloads: 0 + num_downloads: 6 package_count: 5 use_default_cargo_upstream: true - size: 9 + size: 3 cdn_url: cdn_url scan_own: true distributes: @@ -43749,9 +43858,9 @@ components: delete_packages: Admin is_open_source: true self_webapp_url: self_webapp_url - num_quarantined_packages: 1 + num_quarantined_packages: 5 copy_own: true - package_count_excl_subcomponents: 5 + package_count_excl_subcomponents: 2 proxy_pypi: true contextual_auth_realm: true resync_packages: Admin @@ -43787,6 +43896,11 @@ components: strict_npm_validation: true raw_package_index_signatures_enabled: true properties: + active_connection_count: + description: Number of active connections for the repository + readOnly: true + title: Active connection count + type: integer broadcast_state: default: "Off" description: Broadcasting status of a repository. @@ -44764,15 +44878,15 @@ components: type: object RepositoryCreate: example: - num_policy_violated_packages: 6 + num_policy_violated_packages: 1 open_source_license: open_source_license scan_packages: Read content_kind: Standard tag_pre_releases_as_latest: true index_files: true - repository_type: 7 + repository_type: 9 use_source_packages: true - package_group_count: 2 + package_group_count: 7 repository_type_str: Public use_vulnerability_scanning: true resync_own: true @@ -44781,15 +44895,16 @@ components: raw_package_index_enabled: true open_source_project_url: https://openapi-generator.tech is_public_hidden: true + active_connection_count: 0 namespace_url: https://openapi-generator.tech slug_perm: slug_perm deleted_at: 2000-01-23T04:56:07.000+00:00 replace_packages: Write user_entitlements_enabled: true - num_downloads: 0 + num_downloads: 6 package_count: 5 use_default_cargo_upstream: true - size: 9 + size: 3 cdn_url: cdn_url scan_own: true distributes: @@ -44828,9 +44943,9 @@ components: delete_packages: Admin is_open_source: true self_webapp_url: self_webapp_url - num_quarantined_packages: 1 + num_quarantined_packages: 5 copy_own: true - package_count_excl_subcomponents: 5 + package_count_excl_subcomponents: 2 proxy_pypi: true contextual_auth_realm: true resync_packages: Admin @@ -44866,6 +44981,11 @@ components: strict_npm_validation: true raw_package_index_signatures_enabled: true properties: + active_connection_count: + description: Number of active connections for the repository + readOnly: true + title: Active connection count + type: integer broadcast_state: default: "Off" description: Broadcasting status of a repository. @@ -45834,7 +45954,9 @@ components: type: object ConnectedRepository: example: - is_active: true + is_active: false + disable_reason_text: disable_reason_text + disable_reason: N/A created_at: 2000-01-23T04:56:07.000+00:00 priority: 2624 slug_perm: slug_perm @@ -45846,8 +45968,21 @@ components: readOnly: true title: Created at type: string + disable_reason: + default: N/A + enum: + - N/A + - The connection contains a circular reference + readOnly: true + title: Disable reason + type: string + disable_reason_text: + description: Human-readable explanation of why this connection is disabled. + readOnly: true + title: Disable reason text + type: string is_active: - default: true + default: false title: Is active type: boolean priority: @@ -45876,12 +46011,12 @@ components: type: object ConnectedRepositoryRequest: example: - is_active: true + is_active: false priority: 2624 target_repository: target_repository properties: is_active: - default: true + default: false title: Is active type: boolean priority: @@ -45903,12 +46038,12 @@ components: type: object ConnectedRepositoryRequestPatch: example: - is_active: true + is_active: false priority: 2624 target_repository: target_repository properties: is_active: - default: true + default: false title: Is active type: boolean priority: @@ -45948,6 +46083,7 @@ components: example: public_key: public_key default: true + public_key_wire: public_key_wire fingerprint: fingerprint active: true created_at: 2000-01-23T04:56:07.000+00:00 @@ -45984,6 +46120,13 @@ components: readOnly: true title: Public key type: string + public_key_wire: + description: "The public key in `:` wire format, ready to\ + \ paste into Nix `trusted-public-keys`." + minLength: 1 + readOnly: true + title: Public key wire + type: string type: object RepositoryEd25519KeyCreate: example: @@ -47046,6 +47189,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -47178,6 +47322,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -47293,6 +47438,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -47472,6 +47618,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -47604,6 +47751,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -47719,6 +47867,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -47898,6 +48047,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -48030,6 +48180,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -48145,6 +48296,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -48324,6 +48476,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -48456,6 +48609,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -48571,6 +48725,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -48750,6 +48905,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -48882,6 +49038,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -48997,6 +49154,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -49237,6 +49395,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -49443,6 +49602,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -49621,6 +49781,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -50239,6 +50400,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -50383,6 +50545,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -50510,6 +50673,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -51125,6 +51289,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -51257,6 +51422,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -51372,6 +51538,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -51551,6 +51718,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -51683,6 +51851,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -51798,6 +51967,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -52977,6 +53147,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53122,6 +53293,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53250,6 +53422,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53440,6 +53613,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53572,6 +53746,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53687,6 +53862,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53867,6 +54043,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -54011,6 +54188,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -54138,6 +54316,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -57193,12 +57372,16 @@ components: repos_connected_list_200_response: example: results: - - is_active: true + - is_active: false + disable_reason_text: disable_reason_text + disable_reason: N/A created_at: 2000-01-23T04:56:07.000+00:00 priority: 2624 slug_perm: slug_perm target_repository: target_repository - - is_active: true + - is_active: false + disable_reason_text: disable_reason_text + disable_reason: N/A created_at: 2000-01-23T04:56:07.000+00:00 priority: 2624 slug_perm: slug_perm diff --git a/api_audit_log.go b/api_audit_log.go index d5ecf374..ab457201 100644 --- a/api_audit_log.go +++ b/api_audit_log.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_badges.go b/api_badges.go index 46280595..36ad5f30 100644 --- a/api_badges.go +++ b/api_badges.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_broadcasts.go b/api_broadcasts.go index 266c8b15..41f7fc85 100644 --- a/api_broadcasts.go +++ b/api_broadcasts.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_bulk_action.go b/api_bulk_action.go index 0e01916a..8613c77d 100644 --- a/api_bulk_action.go +++ b/api_bulk_action.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_distros.go b/api_distros.go index c5d7e1e1..3146501d 100644 --- a/api_distros.go +++ b/api_distros.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_entitlements.go b/api_entitlements.go index f8ba4cc1..e9d4aebf 100644 --- a/api_entitlements.go +++ b/api_entitlements.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_files.go b/api_files.go index f22325fe..77f86bf0 100644 --- a/api_files.go +++ b/api_files.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_formats.go b/api_formats.go index 1b32af1b..c089887c 100644 --- a/api_formats.go +++ b/api_formats.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_metrics.go b/api_metrics.go index c697b99d..e7b0eed4 100644 --- a/api_metrics.go +++ b/api_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_namespaces.go b/api_namespaces.go index 51c482bc..f66dd289 100644 --- a/api_namespaces.go +++ b/api_namespaces.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_orgs.go b/api_orgs.go index 6772e1a4..96cb7e11 100644 --- a/api_orgs.go +++ b/api_orgs.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -3618,6 +3618,7 @@ type ApiOrgsListRequest struct { ApiService *OrgsApiService page *int64 pageSize *int64 + sort *string } // A page number within the paginated result set. @@ -3632,6 +3633,12 @@ func (r ApiOrgsListRequest) PageSize(pageSize int64) ApiOrgsListRequest { return r } +// A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, created_at, slug. +func (r ApiOrgsListRequest) Sort(sort string) ApiOrgsListRequest { + r.sort = &sort + return r +} + func (r ApiOrgsListRequest) Execute() ([]Organization, *http.Response, error) { return r.ApiService.OrgsListExecute(r) } @@ -3678,6 +3685,12 @@ func (a *OrgsApiService) OrgsListExecute(r ApiOrgsListRequest) ([]Organization, if r.pageSize != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "", "") } + if r.sort != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "", "") + } else { + var defaultValue string = "name" + r.sort = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_packages.go b/api_packages.go index 854cc2bd..a263c5da 100644 --- a/api_packages.go +++ b/api_packages.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -313,11 +313,18 @@ func (a *PackagesApiService) PackagesDeleteExecute(r ApiPackagesDeleteRequest) ( } type ApiPackagesDependenciesRequest struct { - ctx context.Context - ApiService *PackagesApiService - owner string - repo string - identifier string + ctx context.Context + ApiService *PackagesApiService + owner string + repo string + identifier string + includeConnectedRepositories *bool +} + +// If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. +func (r ApiPackagesDependenciesRequest) IncludeConnectedRepositories(includeConnectedRepositories bool) ApiPackagesDependenciesRequest { + r.includeConnectedRepositories = &includeConnectedRepositories + return r } func (r ApiPackagesDependenciesRequest) Execute() (*PackageDependencies, *http.Response, error) { @@ -369,6 +376,12 @@ func (a *PackagesApiService) PackagesDependenciesExecute(r ApiPackagesDependenci localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.includeConnectedRepositories != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "include_connected_repositories", r.includeConnectedRepositories, "", "") + } else { + var defaultValue bool = false + r.includeConnectedRepositories = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -459,16 +472,17 @@ func (a *PackagesApiService) PackagesDependenciesExecute(r ApiPackagesDependenci } type ApiPackagesGroupsListRequest struct { - ctx context.Context - ApiService *PackagesApiService - owner string - repo string - page *int64 - pageSize *int64 - groupBy *string - hideSubcomponents *bool - query *string - sort *string + ctx context.Context + ApiService *PackagesApiService + owner string + repo string + page *int64 + pageSize *int64 + groupBy *string + hideSubcomponents *bool + includeConnectedRepositories *bool + query *string + sort *string } // A page number within the paginated result set. @@ -495,6 +509,12 @@ func (r ApiPackagesGroupsListRequest) HideSubcomponents(hideSubcomponents bool) return r } +// If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. +func (r ApiPackagesGroupsListRequest) IncludeConnectedRepositories(includeConnectedRepositories bool) ApiPackagesGroupsListRequest { + r.includeConnectedRepositories = &includeConnectedRepositories + return r +} + // A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. func (r ApiPackagesGroupsListRequest) Query(query string) ApiPackagesGroupsListRequest { r.query = &query @@ -571,6 +591,12 @@ func (a *PackagesApiService) PackagesGroupsListExecute(r ApiPackagesGroupsListRe var defaultValue bool = false r.hideSubcomponents = &defaultValue } + if r.includeConnectedRepositories != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "include_connected_repositories", r.includeConnectedRepositories, "", "") + } else { + var defaultValue bool = false + r.includeConnectedRepositories = &defaultValue + } if r.query != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "", "") } @@ -681,14 +707,15 @@ func (a *PackagesApiService) PackagesGroupsListExecute(r ApiPackagesGroupsListRe } type ApiPackagesListRequest struct { - ctx context.Context - ApiService *PackagesApiService - owner string - repo string - page *int64 - pageSize *int64 - query *string - sort *string + ctx context.Context + ApiService *PackagesApiService + owner string + repo string + page *int64 + pageSize *int64 + includeConnectedRepositories *bool + query *string + sort *string } // A page number within the paginated result set. @@ -703,6 +730,12 @@ func (r ApiPackagesListRequest) PageSize(pageSize int64) ApiPackagesListRequest return r } +// If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. +func (r ApiPackagesListRequest) IncludeConnectedRepositories(includeConnectedRepositories bool) ApiPackagesListRequest { + r.includeConnectedRepositories = &includeConnectedRepositories + return r +} + // A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages. func (r ApiPackagesListRequest) Query(query string) ApiPackagesListRequest { r.query = &query @@ -767,6 +800,12 @@ func (a *PackagesApiService) PackagesListExecute(r ApiPackagesListRequest) ([]Pa if r.pageSize != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "", "") } + if r.includeConnectedRepositories != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "include_connected_repositories", r.includeConnectedRepositories, "", "") + } else { + var defaultValue bool = false + r.includeConnectedRepositories = &defaultValue + } if r.query != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "", "") } @@ -1174,11 +1213,18 @@ func (a *PackagesApiService) PackagesQuarantineExecute(r ApiPackagesQuarantineRe } type ApiPackagesReadRequest struct { - ctx context.Context - ApiService *PackagesApiService - owner string - repo string - identifier string + ctx context.Context + ApiService *PackagesApiService + owner string + repo string + identifier string + includeConnectedRepositories *bool +} + +// If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. +func (r ApiPackagesReadRequest) IncludeConnectedRepositories(includeConnectedRepositories bool) ApiPackagesReadRequest { + r.includeConnectedRepositories = &includeConnectedRepositories + return r } func (r ApiPackagesReadRequest) Execute() (*Package, *http.Response, error) { @@ -1230,6 +1276,12 @@ func (a *PackagesApiService) PackagesReadExecute(r ApiPackagesReadRequest) (*Pac localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.includeConnectedRepositories != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "include_connected_repositories", r.includeConnectedRepositories, "", "") + } else { + var defaultValue bool = false + r.includeConnectedRepositories = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1612,11 +1664,18 @@ func (a *PackagesApiService) PackagesScanExecute(r ApiPackagesScanRequest) (*Pac } type ApiPackagesStatusRequest struct { - ctx context.Context - ApiService *PackagesApiService - owner string - repo string - identifier string + ctx context.Context + ApiService *PackagesApiService + owner string + repo string + identifier string + includeConnectedRepositories *bool +} + +// If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. +func (r ApiPackagesStatusRequest) IncludeConnectedRepositories(includeConnectedRepositories bool) ApiPackagesStatusRequest { + r.includeConnectedRepositories = &includeConnectedRepositories + return r } func (r ApiPackagesStatusRequest) Execute() (*PackageStatus, *http.Response, error) { @@ -1668,6 +1727,12 @@ func (a *PackagesApiService) PackagesStatusExecute(r ApiPackagesStatusRequest) ( localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.includeConnectedRepositories != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "include_connected_repositories", r.includeConnectedRepositories, "", "") + } else { + var defaultValue bool = false + r.includeConnectedRepositories = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_quota.go b/api_quota.go index 5adec264..840c9199 100644 --- a/api_quota.go +++ b/api_quota.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_rates.go b/api_rates.go index 5032ca0e..2d213729 100644 --- a/api_rates.go +++ b/api_rates.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_recycle_bin.go b/api_recycle_bin.go index 7fd058b1..ca68e1f8 100644 --- a/api_recycle_bin.go +++ b/api_recycle_bin.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_repos.go b/api_repos.go index be648ca6..4a4a71bf 100644 --- a/api_repos.go +++ b/api_repos.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -4101,7 +4101,7 @@ func (r ApiReposNamespaceListRequest) Query(query string) ApiReposNamespaceListR return r } -// A field for sorting objects in ascending or descending order. +// A field for sorting objects in ascending or descending order. Available options are: created_at, downloads, favorites, name, package_count, size. func (r ApiReposNamespaceListRequest) Sort(sort string) ApiReposNamespaceListRequest { r.sort = &sort return r diff --git a/api_status.go b/api_status.go index f0475af1..16f1afad 100644 --- a/api_status.go +++ b/api_status.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_storage_regions.go b/api_storage_regions.go index 3d6ee56e..72ca4d57 100644 --- a/api_storage_regions.go +++ b/api_storage_regions.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_user.go b/api_user.go index 0722957c..93e513b4 100644 --- a/api_user.go +++ b/api_user.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_users.go b/api_users.go index 2f34e08c..5a88cdf8 100644 --- a/api_users.go +++ b/api_users.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_vulnerabilities.go b/api_vulnerabilities.go index 998b452b..03eaf5a9 100644 --- a/api_vulnerabilities.go +++ b/api_vulnerabilities.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/api_webhooks.go b/api_webhooks.go index 12c2b853..ea6d0afb 100644 --- a/api_webhooks.go +++ b/api_webhooks.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/bin/generate b/bin/generate index 6b9ff169..0428e7eb 100755 --- a/bin/generate +++ b/bin/generate @@ -2,9 +2,13 @@ set -eou pipefail -PKG_VERSION=${1:-"0.0.58"} +PKG_VERSION=${1:-"0.0.59"} API_HOST=${2:-"https://api.cloudsmith.io"} +# GNU sed is required for the in-place edits below. It is `gsed` on macOS +# (Homebrew) and plain `sed` on Linux/CI runners. +SED="$(command -v gsed || command -v sed)" + function api_version { curl -s "$API_HOST/status/check/basic/" | jq -r '.version' @@ -20,7 +24,7 @@ function swagger_spec { # This ensures that stuff which no longer exists in the # openapi spec is removed. find . -name "*.go" -type f -delete -find . -name "*.md" ! -name "CONTRIBUTING.md" -type f -delete +find . -name "*.md" ! -iname "CONTRIBUTING.md" -type f -delete # Generate client library API_VERSION="$(api_version)" @@ -56,20 +60,20 @@ rm -rfv test/ go mod tidy # Work around openapi-generator (or at least the go generator) not understanding x-nullable enums -gsed -i 's/LIMIT_BANDWIDTH_UNIT/string/g' model_repository_token.go -gsed -i 's/SCHEDULED_RESET_PERIOD/string/g' model_repository_token.go -gsed -i 's/LIMIT_BANDWIDTH_UNIT/string/g' model_repository_token_request.go -gsed -i 's/SCHEDULED_RESET_PERIOD/string/g' model_repository_token_request.go -gsed -i 's/LIMIT_BANDWIDTH_UNIT/string/g' model_repository_token_request_patch.go -gsed -i 's/SCHEDULED_RESET_PERIOD/string/g' model_repository_token_request_patch.go -gsed -i 's/LIMIT_BANDWIDTH_UNIT/string/g' model_repository_token_refresh.go -gsed -i 's/SCHEDULED_RESET_PERIOD/string/g' model_repository_token_refresh.go -gsed -i 's/LIMIT_BANDWIDTH_UNIT/string/g' model_repository_token_refresh_request.go -gsed -i 's/SCHEDULED_RESET_PERIOD/string/g' model_repository_token_refresh_request.go -gsed -i 's/ACTION/string/g' model_package_tag_request.go -gsed -i 's/LICENSE_OVERRIDE/string/g' model_package_license.go -gsed -i 's/ACTION/string/g' model_package_license_request_patch.go -gsed -i 's/LICENSE_OVERRIDE/string/g' model_package_license_request_patch.go +"$SED" -i 's/LIMIT_BANDWIDTH_UNIT/string/g' model_repository_token.go +"$SED" -i 's/SCHEDULED_RESET_PERIOD/string/g' model_repository_token.go +"$SED" -i 's/LIMIT_BANDWIDTH_UNIT/string/g' model_repository_token_request.go +"$SED" -i 's/SCHEDULED_RESET_PERIOD/string/g' model_repository_token_request.go +"$SED" -i 's/LIMIT_BANDWIDTH_UNIT/string/g' model_repository_token_request_patch.go +"$SED" -i 's/SCHEDULED_RESET_PERIOD/string/g' model_repository_token_request_patch.go +"$SED" -i 's/LIMIT_BANDWIDTH_UNIT/string/g' model_repository_token_refresh.go +"$SED" -i 's/SCHEDULED_RESET_PERIOD/string/g' model_repository_token_refresh.go +"$SED" -i 's/LIMIT_BANDWIDTH_UNIT/string/g' model_repository_token_refresh_request.go +"$SED" -i 's/SCHEDULED_RESET_PERIOD/string/g' model_repository_token_refresh_request.go +"$SED" -i 's/ACTION/string/g' model_package_tag_request.go +"$SED" -i 's/LICENSE_OVERRIDE/string/g' model_package_license.go +"$SED" -i 's/ACTION/string/g' model_package_license_request_patch.go +"$SED" -i 's/LICENSE_OVERRIDE/string/g' model_package_license_request_patch.go # Check for compilation errors. go build diff --git a/client.go b/client.go index c92aec5c..7b3bc051 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -41,7 +41,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the Cloudsmith API (v1) API v1.1206.0 +// APIClient manages communication with the Cloudsmith API (v1) API v1.1288.1 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/configuration.go b/configuration.go index 0a1ba48a..45d200ee 100644 --- a/configuration.go +++ b/configuration.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -93,7 +93,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/0.0.58/go", + UserAgent: "OpenAPI-Generator/0.0.59/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/docs/ConnectedRepository.md b/docs/ConnectedRepository.md index 06c5a7f5..4d07f2ad 100644 --- a/docs/ConnectedRepository.md +++ b/docs/ConnectedRepository.md @@ -5,7 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CreatedAt** | Pointer to **time.Time** | The date and time when the connection was created. | [optional] [readonly] -**IsActive** | Pointer to **bool** | | [optional] [default to true] +**DisableReason** | Pointer to **string** | | [optional] [readonly] [default to "N/A"] +**DisableReasonText** | Pointer to **string** | Human-readable explanation of why this connection is disabled. | [optional] [readonly] +**IsActive** | Pointer to **bool** | | [optional] [default to false] **Priority** | Pointer to **int64** | Repositories are checked in ascending order (starting at 1). If multiple repositories have the same priority, the oldest one is used first. | [optional] **SlugPerm** | Pointer to **string** | | [optional] [readonly] **TargetRepository** | **string** | The slug of the target repository to connect to. | @@ -54,6 +56,56 @@ SetCreatedAt sets CreatedAt field to given value. HasCreatedAt returns a boolean if a field has been set. +### GetDisableReason + +`func (o *ConnectedRepository) GetDisableReason() string` + +GetDisableReason returns the DisableReason field if non-nil, zero value otherwise. + +### GetDisableReasonOk + +`func (o *ConnectedRepository) GetDisableReasonOk() (*string, bool)` + +GetDisableReasonOk returns a tuple with the DisableReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisableReason + +`func (o *ConnectedRepository) SetDisableReason(v string)` + +SetDisableReason sets DisableReason field to given value. + +### HasDisableReason + +`func (o *ConnectedRepository) HasDisableReason() bool` + +HasDisableReason returns a boolean if a field has been set. + +### GetDisableReasonText + +`func (o *ConnectedRepository) GetDisableReasonText() string` + +GetDisableReasonText returns the DisableReasonText field if non-nil, zero value otherwise. + +### GetDisableReasonTextOk + +`func (o *ConnectedRepository) GetDisableReasonTextOk() (*string, bool)` + +GetDisableReasonTextOk returns a tuple with the DisableReasonText field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisableReasonText + +`func (o *ConnectedRepository) SetDisableReasonText(v string)` + +SetDisableReasonText sets DisableReasonText field to given value. + +### HasDisableReasonText + +`func (o *ConnectedRepository) HasDisableReasonText() bool` + +HasDisableReasonText returns a boolean if a field has been set. + ### GetIsActive `func (o *ConnectedRepository) GetIsActive() bool` diff --git a/docs/ConnectedRepositoryRequest.md b/docs/ConnectedRepositoryRequest.md index 8e2f78cb..132bba61 100644 --- a/docs/ConnectedRepositoryRequest.md +++ b/docs/ConnectedRepositoryRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**IsActive** | Pointer to **bool** | | [optional] [default to true] +**IsActive** | Pointer to **bool** | | [optional] [default to false] **Priority** | Pointer to **int64** | Repositories are checked in ascending order (starting at 1). If multiple repositories have the same priority, the oldest one is used first. | [optional] **TargetRepository** | **string** | The slug of the target repository to connect to. | diff --git a/docs/ConnectedRepositoryRequestPatch.md b/docs/ConnectedRepositoryRequestPatch.md index 862bbb1a..defbd5b6 100644 --- a/docs/ConnectedRepositoryRequestPatch.md +++ b/docs/ConnectedRepositoryRequestPatch.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**IsActive** | Pointer to **bool** | | [optional] [default to true] +**IsActive** | Pointer to **bool** | | [optional] [default to false] **Priority** | Pointer to **int64** | Repositories are checked in ascending order (starting at 1). If multiple repositories have the same priority, the oldest one is used first. | [optional] **TargetRepository** | Pointer to **string** | The slug of the target repository to connect to. | [optional] diff --git a/docs/FormatSupportUpstream.md b/docs/FormatSupportUpstream.md index 76c0c956..8bb98bf2 100644 --- a/docs/FormatSupportUpstream.md +++ b/docs/FormatSupportUpstream.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AuthModes** | **[]string** | The authentication modes supported by the upstream format | +**CacheOnly** | **bool** | If true the upstream format supports cache-only mode. | **Caching** | **bool** | If true the upstream format supports caching | **Indexing** | **bool** | If true the upstream format supports indexing | **IndexingBehavior** | Pointer to **string** | The behavior of the upstream when indexing | [optional] [default to "Unsupported"] @@ -16,7 +17,7 @@ Name | Type | Description | Notes ### NewFormatSupportUpstream -`func NewFormatSupportUpstream(authModes []string, caching bool, indexing bool, proxying bool, trust bool, ) *FormatSupportUpstream` +`func NewFormatSupportUpstream(authModes []string, cacheOnly bool, caching bool, indexing bool, proxying bool, trust bool, ) *FormatSupportUpstream` NewFormatSupportUpstream instantiates a new FormatSupportUpstream object This constructor will assign default values to properties that have it defined, @@ -51,6 +52,26 @@ and a boolean to check if the value has been set. SetAuthModes sets AuthModes field to given value. +### GetCacheOnly + +`func (o *FormatSupportUpstream) GetCacheOnly() bool` + +GetCacheOnly returns the CacheOnly field if non-nil, zero value otherwise. + +### GetCacheOnlyOk + +`func (o *FormatSupportUpstream) GetCacheOnlyOk() (*bool, bool)` + +GetCacheOnlyOk returns a tuple with the CacheOnly field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCacheOnly + +`func (o *FormatSupportUpstream) SetCacheOnly(v bool)` + +SetCacheOnly sets CacheOnly field to given value. + + ### GetCaching `func (o *FormatSupportUpstream) GetCaching() bool` diff --git a/docs/OrganizationSAMLAuth.md b/docs/OrganizationSAMLAuth.md index a883811c..989c82b5 100644 --- a/docs/OrganizationSAMLAuth.md +++ b/docs/OrganizationSAMLAuth.md @@ -7,7 +7,9 @@ Name | Type | Description | Notes **SamlAuthEnabled** | **bool** | | **SamlAuthEnforced** | **bool** | | **SamlMetadataInline** | Pointer to **string** | If configured, SAML metadata will be used as entered instead of retrieved from a remote URL. | [optional] +**SamlMetadataInlineWebapp** | Pointer to **NullableString** | When configured, this inline SAML metadata is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. | [optional] **SamlMetadataUrl** | Pointer to **NullableString** | If configured, SAML metadata be retrieved from a remote URL. | [optional] +**SamlMetadataUrlWebapp** | Pointer to **NullableString** | When configured, this SAML metadata URL is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. | [optional] ## Methods @@ -93,6 +95,41 @@ SetSamlMetadataInline sets SamlMetadataInline field to given value. HasSamlMetadataInline returns a boolean if a field has been set. +### GetSamlMetadataInlineWebapp + +`func (o *OrganizationSAMLAuth) GetSamlMetadataInlineWebapp() string` + +GetSamlMetadataInlineWebapp returns the SamlMetadataInlineWebapp field if non-nil, zero value otherwise. + +### GetSamlMetadataInlineWebappOk + +`func (o *OrganizationSAMLAuth) GetSamlMetadataInlineWebappOk() (*string, bool)` + +GetSamlMetadataInlineWebappOk returns a tuple with the SamlMetadataInlineWebapp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSamlMetadataInlineWebapp + +`func (o *OrganizationSAMLAuth) SetSamlMetadataInlineWebapp(v string)` + +SetSamlMetadataInlineWebapp sets SamlMetadataInlineWebapp field to given value. + +### HasSamlMetadataInlineWebapp + +`func (o *OrganizationSAMLAuth) HasSamlMetadataInlineWebapp() bool` + +HasSamlMetadataInlineWebapp returns a boolean if a field has been set. + +### SetSamlMetadataInlineWebappNil + +`func (o *OrganizationSAMLAuth) SetSamlMetadataInlineWebappNil(b bool)` + + SetSamlMetadataInlineWebappNil sets the value for SamlMetadataInlineWebapp to be an explicit nil + +### UnsetSamlMetadataInlineWebapp +`func (o *OrganizationSAMLAuth) UnsetSamlMetadataInlineWebapp()` + +UnsetSamlMetadataInlineWebapp ensures that no value is present for SamlMetadataInlineWebapp, not even an explicit nil ### GetSamlMetadataUrl `func (o *OrganizationSAMLAuth) GetSamlMetadataUrl() string` @@ -128,6 +165,41 @@ HasSamlMetadataUrl returns a boolean if a field has been set. `func (o *OrganizationSAMLAuth) UnsetSamlMetadataUrl()` UnsetSamlMetadataUrl ensures that no value is present for SamlMetadataUrl, not even an explicit nil +### GetSamlMetadataUrlWebapp + +`func (o *OrganizationSAMLAuth) GetSamlMetadataUrlWebapp() string` + +GetSamlMetadataUrlWebapp returns the SamlMetadataUrlWebapp field if non-nil, zero value otherwise. + +### GetSamlMetadataUrlWebappOk + +`func (o *OrganizationSAMLAuth) GetSamlMetadataUrlWebappOk() (*string, bool)` + +GetSamlMetadataUrlWebappOk returns a tuple with the SamlMetadataUrlWebapp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSamlMetadataUrlWebapp + +`func (o *OrganizationSAMLAuth) SetSamlMetadataUrlWebapp(v string)` + +SetSamlMetadataUrlWebapp sets SamlMetadataUrlWebapp field to given value. + +### HasSamlMetadataUrlWebapp + +`func (o *OrganizationSAMLAuth) HasSamlMetadataUrlWebapp() bool` + +HasSamlMetadataUrlWebapp returns a boolean if a field has been set. + +### SetSamlMetadataUrlWebappNil + +`func (o *OrganizationSAMLAuth) SetSamlMetadataUrlWebappNil(b bool)` + + SetSamlMetadataUrlWebappNil sets the value for SamlMetadataUrlWebapp to be an explicit nil + +### UnsetSamlMetadataUrlWebapp +`func (o *OrganizationSAMLAuth) UnsetSamlMetadataUrlWebapp()` + +UnsetSamlMetadataUrlWebapp ensures that no value is present for SamlMetadataUrlWebapp, not even an explicit nil [[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/docs/OrganizationSAMLAuthRequestPatch.md b/docs/OrganizationSAMLAuthRequestPatch.md index f65be9da..c7260dc6 100644 --- a/docs/OrganizationSAMLAuthRequestPatch.md +++ b/docs/OrganizationSAMLAuthRequestPatch.md @@ -7,7 +7,9 @@ Name | Type | Description | Notes **SamlAuthEnabled** | Pointer to **bool** | | [optional] **SamlAuthEnforced** | Pointer to **bool** | | [optional] **SamlMetadataInline** | Pointer to **string** | If configured, SAML metadata will be used as entered instead of retrieved from a remote URL. | [optional] +**SamlMetadataInlineWebapp** | Pointer to **NullableString** | When configured, this inline SAML metadata is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. | [optional] **SamlMetadataUrl** | Pointer to **NullableString** | If configured, SAML metadata be retrieved from a remote URL. | [optional] +**SamlMetadataUrlWebapp** | Pointer to **NullableString** | When configured, this SAML metadata URL is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. | [optional] ## Methods @@ -103,6 +105,41 @@ SetSamlMetadataInline sets SamlMetadataInline field to given value. HasSamlMetadataInline returns a boolean if a field has been set. +### GetSamlMetadataInlineWebapp + +`func (o *OrganizationSAMLAuthRequestPatch) GetSamlMetadataInlineWebapp() string` + +GetSamlMetadataInlineWebapp returns the SamlMetadataInlineWebapp field if non-nil, zero value otherwise. + +### GetSamlMetadataInlineWebappOk + +`func (o *OrganizationSAMLAuthRequestPatch) GetSamlMetadataInlineWebappOk() (*string, bool)` + +GetSamlMetadataInlineWebappOk returns a tuple with the SamlMetadataInlineWebapp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSamlMetadataInlineWebapp + +`func (o *OrganizationSAMLAuthRequestPatch) SetSamlMetadataInlineWebapp(v string)` + +SetSamlMetadataInlineWebapp sets SamlMetadataInlineWebapp field to given value. + +### HasSamlMetadataInlineWebapp + +`func (o *OrganizationSAMLAuthRequestPatch) HasSamlMetadataInlineWebapp() bool` + +HasSamlMetadataInlineWebapp returns a boolean if a field has been set. + +### SetSamlMetadataInlineWebappNil + +`func (o *OrganizationSAMLAuthRequestPatch) SetSamlMetadataInlineWebappNil(b bool)` + + SetSamlMetadataInlineWebappNil sets the value for SamlMetadataInlineWebapp to be an explicit nil + +### UnsetSamlMetadataInlineWebapp +`func (o *OrganizationSAMLAuthRequestPatch) UnsetSamlMetadataInlineWebapp()` + +UnsetSamlMetadataInlineWebapp ensures that no value is present for SamlMetadataInlineWebapp, not even an explicit nil ### GetSamlMetadataUrl `func (o *OrganizationSAMLAuthRequestPatch) GetSamlMetadataUrl() string` @@ -138,6 +175,41 @@ HasSamlMetadataUrl returns a boolean if a field has been set. `func (o *OrganizationSAMLAuthRequestPatch) UnsetSamlMetadataUrl()` UnsetSamlMetadataUrl ensures that no value is present for SamlMetadataUrl, not even an explicit nil +### GetSamlMetadataUrlWebapp + +`func (o *OrganizationSAMLAuthRequestPatch) GetSamlMetadataUrlWebapp() string` + +GetSamlMetadataUrlWebapp returns the SamlMetadataUrlWebapp field if non-nil, zero value otherwise. + +### GetSamlMetadataUrlWebappOk + +`func (o *OrganizationSAMLAuthRequestPatch) GetSamlMetadataUrlWebappOk() (*string, bool)` + +GetSamlMetadataUrlWebappOk returns a tuple with the SamlMetadataUrlWebapp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSamlMetadataUrlWebapp + +`func (o *OrganizationSAMLAuthRequestPatch) SetSamlMetadataUrlWebapp(v string)` + +SetSamlMetadataUrlWebapp sets SamlMetadataUrlWebapp field to given value. + +### HasSamlMetadataUrlWebapp + +`func (o *OrganizationSAMLAuthRequestPatch) HasSamlMetadataUrlWebapp() bool` + +HasSamlMetadataUrlWebapp returns a boolean if a field has been set. + +### SetSamlMetadataUrlWebappNil + +`func (o *OrganizationSAMLAuthRequestPatch) SetSamlMetadataUrlWebappNil(b bool)` + + SetSamlMetadataUrlWebappNil sets the value for SamlMetadataUrlWebapp to be an explicit nil + +### UnsetSamlMetadataUrlWebapp +`func (o *OrganizationSAMLAuthRequestPatch) UnsetSamlMetadataUrlWebapp()` + +UnsetSamlMetadataUrlWebapp ensures that no value is present for SamlMetadataUrlWebapp, not even an explicit nil [[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/docs/OrgsApi.md b/docs/OrgsApi.md index 2736ceed..104c20b4 100644 --- a/docs/OrgsApi.md +++ b/docs/OrgsApi.md @@ -1845,7 +1845,7 @@ Name | Type | Description | Notes ## OrgsList -> []Organization OrgsList(ctx).Page(page).PageSize(pageSize).Execute() +> []Organization OrgsList(ctx).Page(page).PageSize(pageSize).Sort(sort).Execute() Get a list of all the organizations you are associated with. @@ -1866,10 +1866,11 @@ import ( func main() { page := int64(56) // int64 | A page number within the paginated result set. (optional) pageSize := int64(56) // int64 | Number of results to return per page. (optional) + sort := "sort_example" // string | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, created_at, slug. (optional) (default to "name") configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgsApi.OrgsList(context.Background()).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.OrgsApi.OrgsList(context.Background()).Page(page).PageSize(pageSize).Sort(sort).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1892,6 +1893,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **page** | **int64** | A page number within the paginated result set. | **pageSize** | **int64** | Number of results to return per page. | + **sort** | **string** | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, created_at, slug. | [default to "name"] ### Return type diff --git a/docs/PackagesApi.md b/docs/PackagesApi.md index e7c7210d..9a3d09e4 100644 --- a/docs/PackagesApi.md +++ b/docs/PackagesApi.md @@ -232,7 +232,7 @@ Name | Type | Description | Notes ## PackagesDependencies -> PackageDependencies PackagesDependencies(ctx, owner, repo, identifier).Execute() +> PackageDependencies PackagesDependencies(ctx, owner, repo, identifier).IncludeConnectedRepositories(includeConnectedRepositories).Execute() Get the list of dependencies for a package. Transitive dependencies are included where supported. @@ -254,10 +254,11 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | + includeConnectedRepositories := true // bool | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. (optional) (default to false) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.PackagesApi.PackagesDependencies(context.Background(), owner, repo, identifier).Execute() + resp, r, err := apiClient.PackagesApi.PackagesDependencies(context.Background(), owner, repo, identifier).IncludeConnectedRepositories(includeConnectedRepositories).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesDependencies``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -287,6 +288,7 @@ Name | Type | Description | Notes + **includeConnectedRepositories** | **bool** | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. | [default to false] ### Return type @@ -308,7 +310,7 @@ Name | Type | Description | Notes ## PackagesGroupsList -> PackagesGroupsList200Response PackagesGroupsList(ctx, owner, repo).Page(page).PageSize(pageSize).GroupBy(groupBy).HideSubcomponents(hideSubcomponents).Query(query).Sort(sort).Execute() +> PackagesGroupsList200Response PackagesGroupsList(ctx, owner, repo).Page(page).PageSize(pageSize).GroupBy(groupBy).HideSubcomponents(hideSubcomponents).IncludeConnectedRepositories(includeConnectedRepositories).Query(query).Sort(sort).Execute() Return a list of Package Groups in a repository. @@ -333,12 +335,13 @@ func main() { pageSize := int64(56) // int64 | Number of results to return per page. (optional) groupBy := "groupBy_example" // string | A field to group packages by. Available options: name, backend_kind. (optional) (default to "name") hideSubcomponents := true // bool | Whether to hide packages which are subcomponents of another package in the results (optional) (default to false) + includeConnectedRepositories := true // bool | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. (optional) (default to false) query := "query_example" // string | A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. (optional) sort := "sort_example" // string | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind. (optional) (default to "name") configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.PackagesApi.PackagesGroupsList(context.Background(), owner, repo).Page(page).PageSize(pageSize).GroupBy(groupBy).HideSubcomponents(hideSubcomponents).Query(query).Sort(sort).Execute() + resp, r, err := apiClient.PackagesApi.PackagesGroupsList(context.Background(), owner, repo).Page(page).PageSize(pageSize).GroupBy(groupBy).HideSubcomponents(hideSubcomponents).IncludeConnectedRepositories(includeConnectedRepositories).Query(query).Sort(sort).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesGroupsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -370,6 +373,7 @@ Name | Type | Description | Notes **pageSize** | **int64** | Number of results to return per page. | **groupBy** | **string** | A field to group packages by. Available options: name, backend_kind. | [default to "name"] **hideSubcomponents** | **bool** | Whether to hide packages which are subcomponents of another package in the results | [default to false] + **includeConnectedRepositories** | **bool** | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. | [default to false] **query** | **string** | A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. | **sort** | **string** | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind. | [default to "name"] @@ -393,7 +397,7 @@ Name | Type | Description | Notes ## PackagesList -> []Package PackagesList(ctx, owner, repo).Page(page).PageSize(pageSize).Query(query).Sort(sort).Execute() +> []Package PackagesList(ctx, owner, repo).Page(page).PageSize(pageSize).IncludeConnectedRepositories(includeConnectedRepositories).Query(query).Sort(sort).Execute() Get a list of all packages associated with repository. @@ -416,12 +420,13 @@ func main() { repo := "repo_example" // string | page := int64(56) // int64 | A page number within the paginated result set. (optional) pageSize := int64(56) // int64 | Number of results to return per page. (optional) + includeConnectedRepositories := true // bool | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. (optional) (default to false) query := "query_example" // string | A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages. (optional) sort := "sort_example" // string | A field for sorting objects in ascending or descending order. (optional) (default to "-date") configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.PackagesApi.PackagesList(context.Background(), owner, repo).Page(page).PageSize(pageSize).Query(query).Sort(sort).Execute() + resp, r, err := apiClient.PackagesApi.PackagesList(context.Background(), owner, repo).Page(page).PageSize(pageSize).IncludeConnectedRepositories(includeConnectedRepositories).Query(query).Sort(sort).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -451,6 +456,7 @@ Name | Type | Description | Notes **page** | **int64** | A page number within the paginated result set. | **pageSize** | **int64** | Number of results to return per page. | + **includeConnectedRepositories** | **bool** | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. | [default to false] **query** | **string** | A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages. | **sort** | **string** | A field for sorting objects in ascending or descending order. | [default to "-date"] @@ -630,7 +636,7 @@ Name | Type | Description | Notes ## PackagesRead -> Package PackagesRead(ctx, owner, repo, identifier).Execute() +> Package PackagesRead(ctx, owner, repo, identifier).IncludeConnectedRepositories(includeConnectedRepositories).Execute() Get a specific package in a repository. @@ -652,10 +658,11 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | + includeConnectedRepositories := true // bool | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. (optional) (default to false) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.PackagesApi.PackagesRead(context.Background(), owner, repo, identifier).Execute() + resp, r, err := apiClient.PackagesApi.PackagesRead(context.Background(), owner, repo, identifier).IncludeConnectedRepositories(includeConnectedRepositories).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -685,6 +692,7 @@ Name | Type | Description | Notes + **includeConnectedRepositories** | **bool** | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. | [default to false] ### Return type @@ -858,7 +866,7 @@ Name | Type | Description | Notes ## PackagesStatus -> PackageStatus PackagesStatus(ctx, owner, repo, identifier).Execute() +> PackageStatus PackagesStatus(ctx, owner, repo, identifier).IncludeConnectedRepositories(includeConnectedRepositories).Execute() Get the synchronization status for a package. @@ -880,10 +888,11 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | + includeConnectedRepositories := true // bool | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. (optional) (default to false) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.PackagesApi.PackagesStatus(context.Background(), owner, repo, identifier).Execute() + resp, r, err := apiClient.PackagesApi.PackagesStatus(context.Background(), owner, repo, identifier).IncludeConnectedRepositories(includeConnectedRepositories).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -913,6 +922,7 @@ Name | Type | Description | Notes + **includeConnectedRepositories** | **bool** | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. | [default to false] ### Return type diff --git a/docs/ReposApi.md b/docs/ReposApi.md index eed85b9b..cebb1bc1 100644 --- a/docs/ReposApi.md +++ b/docs/ReposApi.md @@ -2120,7 +2120,7 @@ func main() { page := int64(56) // int64 | A page number within the paginated result set. (optional) pageSize := int64(56) // int64 | Number of results to return per page. (optional) query := "query_example" // string | A search term for querying repositories. Available options are: name, slug. Explicit filters: broadcast_state, repository_type. (optional) - sort := "sort_example" // string | A field for sorting objects in ascending or descending order. (optional) (default to "-created_at") + sort := "sort_example" // string | A field for sorting objects in ascending or descending order. Available options are: created_at, downloads, favorites, name, package_count, size. (optional) (default to "-created_at") configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2153,7 +2153,7 @@ Name | Type | Description | Notes **page** | **int64** | A page number within the paginated result set. | **pageSize** | **int64** | Number of results to return per page. | **query** | **string** | A search term for querying repositories. Available options are: name, slug. Explicit filters: broadcast_state, repository_type. | - **sort** | **string** | A field for sorting objects in ascending or descending order. | [default to "-created_at"] + **sort** | **string** | A field for sorting objects in ascending or descending order. Available options are: created_at, downloads, favorites, name, package_count, size. | [default to "-created_at"] ### Return type diff --git a/docs/Repository.md b/docs/Repository.md index 24b6babe..9601b14b 100644 --- a/docs/Repository.md +++ b/docs/Repository.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**ActiveConnectionCount** | Pointer to **int64** | Number of active connections for the repository | [optional] [readonly] **BroadcastState** | Pointer to **string** | Broadcasting status of a repository. | [optional] [default to "Off"] **CdnUrl** | Pointer to **NullableString** | Base URL from which packages and other artifacts are downloaded. | [optional] [readonly] **ContentKind** | Pointer to **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"] @@ -95,6 +96,31 @@ NewRepositoryWithDefaults instantiates a new Repository object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetActiveConnectionCount + +`func (o *Repository) GetActiveConnectionCount() int64` + +GetActiveConnectionCount returns the ActiveConnectionCount field if non-nil, zero value otherwise. + +### GetActiveConnectionCountOk + +`func (o *Repository) GetActiveConnectionCountOk() (*int64, bool)` + +GetActiveConnectionCountOk returns a tuple with the ActiveConnectionCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetActiveConnectionCount + +`func (o *Repository) SetActiveConnectionCount(v int64)` + +SetActiveConnectionCount sets ActiveConnectionCount field to given value. + +### HasActiveConnectionCount + +`func (o *Repository) HasActiveConnectionCount() bool` + +HasActiveConnectionCount returns a boolean if a field has been set. + ### GetBroadcastState `func (o *Repository) GetBroadcastState() string` diff --git a/docs/RepositoryCreate.md b/docs/RepositoryCreate.md index 33d0e773..d4771e25 100644 --- a/docs/RepositoryCreate.md +++ b/docs/RepositoryCreate.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**ActiveConnectionCount** | Pointer to **int64** | Number of active connections for the repository | [optional] [readonly] **BroadcastState** | Pointer to **string** | Broadcasting status of a repository. | [optional] [default to "Off"] **CdnUrl** | Pointer to **NullableString** | Base URL from which packages and other artifacts are downloaded. | [optional] [readonly] **ContentKind** | Pointer to **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"] @@ -95,6 +96,31 @@ NewRepositoryCreateWithDefaults instantiates a new RepositoryCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetActiveConnectionCount + +`func (o *RepositoryCreate) GetActiveConnectionCount() int64` + +GetActiveConnectionCount returns the ActiveConnectionCount field if non-nil, zero value otherwise. + +### GetActiveConnectionCountOk + +`func (o *RepositoryCreate) GetActiveConnectionCountOk() (*int64, bool)` + +GetActiveConnectionCountOk returns a tuple with the ActiveConnectionCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetActiveConnectionCount + +`func (o *RepositoryCreate) SetActiveConnectionCount(v int64)` + +SetActiveConnectionCount sets ActiveConnectionCount field to given value. + +### HasActiveConnectionCount + +`func (o *RepositoryCreate) HasActiveConnectionCount() bool` + +HasActiveConnectionCount returns a boolean if a field has been set. + ### GetBroadcastState `func (o *RepositoryCreate) GetBroadcastState() string` diff --git a/docs/RepositoryEd25519Key.md b/docs/RepositoryEd25519Key.md index a457ee2d..0f931b77 100644 --- a/docs/RepositoryEd25519Key.md +++ b/docs/RepositoryEd25519Key.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **Fingerprint** | Pointer to **string** | Uppercase hex-encoded SHA-256 fingerprint of the public key. | [optional] [readonly] **FingerprintShort** | Pointer to **string** | | [optional] [readonly] **PublicKey** | Pointer to **string** | The public key given to repository users. | [optional] [readonly] +**PublicKeyWire** | Pointer to **string** | The public key in `<name>:<base64>` wire format, ready to paste into Nix `trusted-public-keys`. | [optional] [readonly] ## Methods @@ -180,6 +181,31 @@ SetPublicKey sets PublicKey field to given value. HasPublicKey returns a boolean if a field has been set. +### GetPublicKeyWire + +`func (o *RepositoryEd25519Key) GetPublicKeyWire() string` + +GetPublicKeyWire returns the PublicKeyWire field if non-nil, zero value otherwise. + +### GetPublicKeyWireOk + +`func (o *RepositoryEd25519Key) GetPublicKeyWireOk() (*string, bool)` + +GetPublicKeyWireOk returns a tuple with the PublicKeyWire field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPublicKeyWire + +`func (o *RepositoryEd25519Key) SetPublicKeyWire(v string)` + +SetPublicKeyWire sets PublicKeyWire field to given value. + +### HasPublicKeyWire + +`func (o *RepositoryEd25519Key) HasPublicKeyWire() bool` + +HasPublicKeyWire returns a boolean if a field has been set. + [[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/model_allocated_limit.go b/model_allocated_limit.go index 151091c5..5219ebd2 100644 --- a/model_allocated_limit.go +++ b/model_allocated_limit.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_allocated_limit_raw.go b/model_allocated_limit_raw.go index fb620018..76bb176f 100644 --- a/model_allocated_limit_raw.go +++ b/model_allocated_limit_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_alpine_package_upload.go b/model_alpine_package_upload.go index a37af81d..76027b47 100644 --- a/model_alpine_package_upload.go +++ b/model_alpine_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_alpine_package_upload_request.go b/model_alpine_package_upload_request.go index 059caa72..0ca77669 100644 --- a/model_alpine_package_upload_request.go +++ b/model_alpine_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_alpine_upstream.go b/model_alpine_upstream.go index 589f1da5..93bb9e57 100644 --- a/model_alpine_upstream.go +++ b/model_alpine_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_alpine_upstream_request.go b/model_alpine_upstream_request.go index 1ee09076..b5c0adaf 100644 --- a/model_alpine_upstream_request.go +++ b/model_alpine_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_alpine_upstream_request_patch.go b/model_alpine_upstream_request_patch.go index 66c5a9f9..9f9007c9 100644 --- a/model_alpine_upstream_request_patch.go +++ b/model_alpine_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_architecture.go b/model_architecture.go index a6a26562..f3efd71b 100644 --- a/model_architecture.go +++ b/model_architecture.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_broadcast_token.go b/model_broadcast_token.go index 8bde4d71..bf25b259 100644 --- a/model_broadcast_token.go +++ b/model_broadcast_token.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_broadcast_token_input.go b/model_broadcast_token_input.go index 081594fe..0ef9c778 100644 --- a/model_broadcast_token_input.go +++ b/model_broadcast_token_input.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_cargo_package_upload.go b/model_cargo_package_upload.go index d7335067..d00defab 100644 --- a/model_cargo_package_upload.go +++ b/model_cargo_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_cargo_package_upload_request.go b/model_cargo_package_upload_request.go index aa3c2e3d..d3283307 100644 --- a/model_cargo_package_upload_request.go +++ b/model_cargo_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_cargo_upstream.go b/model_cargo_upstream.go index eb3127c8..caa91400 100644 --- a/model_cargo_upstream.go +++ b/model_cargo_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_cargo_upstream_request.go b/model_cargo_upstream_request.go index 971af88f..c498396f 100644 --- a/model_cargo_upstream_request.go +++ b/model_cargo_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_cargo_upstream_request_patch.go b/model_cargo_upstream_request_patch.go index 7977a20c..4f173508 100644 --- a/model_cargo_upstream_request_patch.go +++ b/model_cargo_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_cocoapods_package_upload.go b/model_cocoapods_package_upload.go index 331c5fa5..3e696661 100644 --- a/model_cocoapods_package_upload.go +++ b/model_cocoapods_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_cocoapods_package_upload_request.go b/model_cocoapods_package_upload_request.go index cf434861..adae0be5 100644 --- a/model_cocoapods_package_upload_request.go +++ b/model_cocoapods_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_common_bandwidth_metrics.go b/model_common_bandwidth_metrics.go index a2ba855a..be3dd233 100644 --- a/model_common_bandwidth_metrics.go +++ b/model_common_bandwidth_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_common_bandwidth_metrics_value.go b/model_common_bandwidth_metrics_value.go index 6b8fb541..3932ccc9 100644 --- a/model_common_bandwidth_metrics_value.go +++ b/model_common_bandwidth_metrics_value.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics.go b/model_common_downloads_metrics.go index c4022066..4939669e 100644 --- a/model_common_downloads_metrics.go +++ b/model_common_downloads_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics_value.go b/model_common_downloads_metrics_value.go index d1723ac7..b9c7fbbf 100644 --- a/model_common_downloads_metrics_value.go +++ b/model_common_downloads_metrics_value.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_common_metrics.go b/model_common_metrics.go index 4293283a..6f9da7b3 100644 --- a/model_common_metrics.go +++ b/model_common_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_composer_package_upload.go b/model_composer_package_upload.go index f7b50d84..17b87fbf 100644 --- a/model_composer_package_upload.go +++ b/model_composer_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_composer_package_upload_request.go b/model_composer_package_upload_request.go index af33aed0..3a16fef0 100644 --- a/model_composer_package_upload_request.go +++ b/model_composer_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream.go b/model_composer_upstream.go index fbe71398..38da9847 100644 --- a/model_composer_upstream.go +++ b/model_composer_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream_request.go b/model_composer_upstream_request.go index c3a27002..87f70a0b 100644 --- a/model_composer_upstream_request.go +++ b/model_composer_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream_request_patch.go b/model_composer_upstream_request_patch.go index fec9c595..057e0716 100644 --- a/model_composer_upstream_request_patch.go +++ b/model_composer_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_conan_package_upload.go b/model_conan_package_upload.go index 639beb8e..0ad6904b 100644 --- a/model_conan_package_upload.go +++ b/model_conan_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_conan_package_upload_request.go b/model_conan_package_upload_request.go index ceb30fe6..90bc0645 100644 --- a/model_conan_package_upload_request.go +++ b/model_conan_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_conda_package_upload.go b/model_conda_package_upload.go index c9ab51d9..3a416942 100644 --- a/model_conda_package_upload.go +++ b/model_conda_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_conda_package_upload_request.go b/model_conda_package_upload_request.go index 2b071133..26577314 100644 --- a/model_conda_package_upload_request.go +++ b/model_conda_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_conda_upstream.go b/model_conda_upstream.go index 948e981b..0c7971cf 100644 --- a/model_conda_upstream.go +++ b/model_conda_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_conda_upstream_request.go b/model_conda_upstream_request.go index e42bb3af..f9f25ee6 100644 --- a/model_conda_upstream_request.go +++ b/model_conda_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_conda_upstream_request_patch.go b/model_conda_upstream_request_patch.go index 9e4b04b4..aa33b45d 100644 --- a/model_conda_upstream_request_patch.go +++ b/model_conda_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository.go b/model_connected_repository.go index 9dcdd193..d42a8d25 100644 --- a/model_connected_repository.go +++ b/model_connected_repository.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -23,8 +23,11 @@ var _ MappedNullable = &ConnectedRepository{} // ConnectedRepository struct for ConnectedRepository type ConnectedRepository struct { // The date and time when the connection was created. - CreatedAt *time.Time `json:"created_at,omitempty"` - IsActive *bool `json:"is_active,omitempty"` + CreatedAt *time.Time `json:"created_at,omitempty"` + DisableReason *string `json:"disable_reason,omitempty"` + // Human-readable explanation of why this connection is disabled. + DisableReasonText *string `json:"disable_reason_text,omitempty"` + IsActive *bool `json:"is_active,omitempty"` // Repositories are checked in ascending order (starting at 1). If multiple repositories have the same priority, the oldest one is used first. Priority *int64 `json:"priority,omitempty"` SlugPerm *string `json:"slug_perm,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` @@ -41,7 +44,7 @@ type _ConnectedRepository ConnectedRepository // will change when the set of required properties is changed func NewConnectedRepository(targetRepository string) *ConnectedRepository { this := ConnectedRepository{} - var isActive bool = true + var isActive bool = false this.IsActive = &isActive this.TargetRepository = targetRepository return &this @@ -52,7 +55,7 @@ func NewConnectedRepository(targetRepository string) *ConnectedRepository { // but it doesn't guarantee that properties required by API are set func NewConnectedRepositoryWithDefaults() *ConnectedRepository { this := ConnectedRepository{} - var isActive bool = true + var isActive bool = false this.IsActive = &isActive return &this } @@ -89,6 +92,70 @@ func (o *ConnectedRepository) SetCreatedAt(v time.Time) { o.CreatedAt = &v } +// GetDisableReason returns the DisableReason field value if set, zero value otherwise. +func (o *ConnectedRepository) GetDisableReason() string { + if o == nil || IsNil(o.DisableReason) { + var ret string + return ret + } + return *o.DisableReason +} + +// GetDisableReasonOk returns a tuple with the DisableReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConnectedRepository) GetDisableReasonOk() (*string, bool) { + if o == nil || IsNil(o.DisableReason) { + return nil, false + } + return o.DisableReason, true +} + +// HasDisableReason returns a boolean if a field has been set. +func (o *ConnectedRepository) HasDisableReason() bool { + if o != nil && !IsNil(o.DisableReason) { + return true + } + + return false +} + +// SetDisableReason gets a reference to the given string and assigns it to the DisableReason field. +func (o *ConnectedRepository) SetDisableReason(v string) { + o.DisableReason = &v +} + +// GetDisableReasonText returns the DisableReasonText field value if set, zero value otherwise. +func (o *ConnectedRepository) GetDisableReasonText() string { + if o == nil || IsNil(o.DisableReasonText) { + var ret string + return ret + } + return *o.DisableReasonText +} + +// GetDisableReasonTextOk returns a tuple with the DisableReasonText field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConnectedRepository) GetDisableReasonTextOk() (*string, bool) { + if o == nil || IsNil(o.DisableReasonText) { + return nil, false + } + return o.DisableReasonText, true +} + +// HasDisableReasonText returns a boolean if a field has been set. +func (o *ConnectedRepository) HasDisableReasonText() bool { + if o != nil && !IsNil(o.DisableReasonText) { + return true + } + + return false +} + +// SetDisableReasonText gets a reference to the given string and assigns it to the DisableReasonText field. +func (o *ConnectedRepository) SetDisableReasonText(v string) { + o.DisableReasonText = &v +} + // GetIsActive returns the IsActive field value if set, zero value otherwise. func (o *ConnectedRepository) GetIsActive() bool { if o == nil || IsNil(o.IsActive) { @@ -222,6 +289,12 @@ func (o ConnectedRepository) ToMap() (map[string]interface{}, error) { if !IsNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } + if !IsNil(o.DisableReason) { + toSerialize["disable_reason"] = o.DisableReason + } + if !IsNil(o.DisableReasonText) { + toSerialize["disable_reason_text"] = o.DisableReasonText + } if !IsNil(o.IsActive) { toSerialize["is_active"] = o.IsActive } @@ -276,6 +349,8 @@ func (o *ConnectedRepository) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "created_at") + delete(additionalProperties, "disable_reason") + delete(additionalProperties, "disable_reason_text") delete(additionalProperties, "is_active") delete(additionalProperties, "priority") delete(additionalProperties, "slug_perm") diff --git a/model_connected_repository_request.go b/model_connected_repository_request.go index 7eea161d..cb678a7c 100644 --- a/model_connected_repository_request.go +++ b/model_connected_repository_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -37,7 +37,7 @@ type _ConnectedRepositoryRequest ConnectedRepositoryRequest // will change when the set of required properties is changed func NewConnectedRepositoryRequest(targetRepository string) *ConnectedRepositoryRequest { this := ConnectedRepositoryRequest{} - var isActive bool = true + var isActive bool = false this.IsActive = &isActive this.TargetRepository = targetRepository return &this @@ -48,7 +48,7 @@ func NewConnectedRepositoryRequest(targetRepository string) *ConnectedRepository // but it doesn't guarantee that properties required by API are set func NewConnectedRepositoryRequestWithDefaults() *ConnectedRepositoryRequest { this := ConnectedRepositoryRequest{} - var isActive bool = true + var isActive bool = false this.IsActive = &isActive return &this } diff --git a/model_connected_repository_request_patch.go b/model_connected_repository_request_patch.go index 6b35325c..a1172aa6 100644 --- a/model_connected_repository_request_patch.go +++ b/model_connected_repository_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -36,7 +36,7 @@ type _ConnectedRepositoryRequestPatch ConnectedRepositoryRequestPatch // will change when the set of required properties is changed func NewConnectedRepositoryRequestPatch() *ConnectedRepositoryRequestPatch { this := ConnectedRepositoryRequestPatch{} - var isActive bool = true + var isActive bool = false this.IsActive = &isActive return &this } @@ -46,7 +46,7 @@ func NewConnectedRepositoryRequestPatch() *ConnectedRepositoryRequestPatch { // but it doesn't guarantee that properties required by API are set func NewConnectedRepositoryRequestPatchWithDefaults() *ConnectedRepositoryRequestPatch { this := ConnectedRepositoryRequestPatch{} - var isActive bool = true + var isActive bool = false this.IsActive = &isActive return &this } diff --git a/model_cran_package_upload.go b/model_cran_package_upload.go index 816187cb..25c14aa3 100644 --- a/model_cran_package_upload.go +++ b/model_cran_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_cran_package_upload_request.go b/model_cran_package_upload_request.go index ec0de383..766eb182 100644 --- a/model_cran_package_upload_request.go +++ b/model_cran_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream.go b/model_cran_upstream.go index 014ac704..787b1129 100644 --- a/model_cran_upstream.go +++ b/model_cran_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request.go b/model_cran_upstream_request.go index 96f6b9a8..ebac82d0 100644 --- a/model_cran_upstream_request.go +++ b/model_cran_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request_patch.go b/model_cran_upstream_request_patch.go index 9297765b..266ebe0f 100644 --- a/model_cran_upstream_request_patch.go +++ b/model_cran_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_dart_package_upload.go b/model_dart_package_upload.go index 28727bd3..cca8d06d 100644 --- a/model_dart_package_upload.go +++ b/model_dart_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_dart_package_upload_request.go b/model_dart_package_upload_request.go index f84df422..bb9588a5 100644 --- a/model_dart_package_upload_request.go +++ b/model_dart_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream.go b/model_dart_upstream.go index 31befa22..de588dfe 100644 --- a/model_dart_upstream.go +++ b/model_dart_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request.go b/model_dart_upstream_request.go index 75aea8b2..b5db4876 100644 --- a/model_dart_upstream_request.go +++ b/model_dart_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request_patch.go b/model_dart_upstream_request_patch.go index 75ccfb82..d30848bd 100644 --- a/model_dart_upstream_request_patch.go +++ b/model_dart_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_deb_package_upload.go b/model_deb_package_upload.go index afcaa622..b3eac440 100644 --- a/model_deb_package_upload.go +++ b/model_deb_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_deb_package_upload_request.go b/model_deb_package_upload_request.go index 52809af3..3ac1c92e 100644 --- a/model_deb_package_upload_request.go +++ b/model_deb_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream.go b/model_deb_upstream.go index 53387d64..2e4712e7 100644 --- a/model_deb_upstream.go +++ b/model_deb_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request.go b/model_deb_upstream_request.go index 5bdea199..2f0e3d7b 100644 --- a/model_deb_upstream_request.go +++ b/model_deb_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request_patch.go b/model_deb_upstream_request_patch.go index 8ecf28bf..71cad343 100644 --- a/model_deb_upstream_request_patch.go +++ b/model_deb_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_distribution.go b/model_distribution.go index 4050cce1..b5e08a83 100644 --- a/model_distribution.go +++ b/model_distribution.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_distribution_full.go b/model_distribution_full.go index e302a2f6..e74e18a0 100644 --- a/model_distribution_full.go +++ b/model_distribution_full.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_distribution_version.go b/model_distribution_version.go index 1bcaddf1..ceb389c0 100644 --- a/model_distribution_version.go +++ b/model_distribution_version.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_docker_package_upload.go b/model_docker_package_upload.go index 86361a3e..3835f0ac 100644 --- a/model_docker_package_upload.go +++ b/model_docker_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_docker_package_upload_request.go b/model_docker_package_upload_request.go index f5ec74df..21e5f8b1 100644 --- a/model_docker_package_upload_request.go +++ b/model_docker_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream.go b/model_docker_upstream.go index c865e287..d0433a98 100644 --- a/model_docker_upstream.go +++ b/model_docker_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request.go b/model_docker_upstream_request.go index 66a8aaab..5a6f9ceb 100644 --- a/model_docker_upstream_request.go +++ b/model_docker_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request_patch.go b/model_docker_upstream_request_patch.go index f3707ff0..02210a95 100644 --- a/model_docker_upstream_request_patch.go +++ b/model_docker_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_dynamic_mapping.go b/model_dynamic_mapping.go index d5eacc76..3864b444 100644 --- a/model_dynamic_mapping.go +++ b/model_dynamic_mapping.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_entitlement_usage_metrics.go b/model_entitlement_usage_metrics.go index bd0eeb1c..73cdf216 100644 --- a/model_entitlement_usage_metrics.go +++ b/model_entitlement_usage_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_error_detail.go b/model_error_detail.go index 77473bb7..932b9c44 100644 --- a/model_error_detail.go +++ b/model_error_detail.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_eula.go b/model_eula.go index 759fb76e..3dacfb45 100644 --- a/model_eula.go +++ b/model_eula.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_format.go b/model_format.go index a5658b83..1f280c61 100644 --- a/model_format.go +++ b/model_format.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_format_support.go b/model_format_support.go index 037c4224..97de905f 100644 --- a/model_format_support.go +++ b/model_format_support.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_format_support_upstream.go b/model_format_support_upstream.go index 290c6f56..dbee5ed5 100644 --- a/model_format_support_upstream.go +++ b/model_format_support_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &FormatSupportUpstream{} type FormatSupportUpstream struct { // The authentication modes supported by the upstream format AuthModes []string `json:"auth_modes"` + // If true the upstream format supports cache-only mode. + CacheOnly bool `json:"cache_only"` // If true the upstream format supports caching Caching bool `json:"caching"` // If true the upstream format supports indexing @@ -44,9 +46,10 @@ type _FormatSupportUpstream FormatSupportUpstream // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewFormatSupportUpstream(authModes []string, caching bool, indexing bool, proxying bool, trust bool) *FormatSupportUpstream { +func NewFormatSupportUpstream(authModes []string, cacheOnly bool, caching bool, indexing bool, proxying bool, trust bool) *FormatSupportUpstream { this := FormatSupportUpstream{} this.AuthModes = authModes + this.CacheOnly = cacheOnly this.Caching = caching this.Indexing = indexing var indexingBehavior string = "Unsupported" @@ -94,6 +97,30 @@ func (o *FormatSupportUpstream) SetAuthModes(v []string) { o.AuthModes = v } +// GetCacheOnly returns the CacheOnly field value +func (o *FormatSupportUpstream) GetCacheOnly() bool { + if o == nil { + var ret bool + return ret + } + + return o.CacheOnly +} + +// GetCacheOnlyOk returns a tuple with the CacheOnly field value +// and a boolean to check if the value has been set. +func (o *FormatSupportUpstream) GetCacheOnlyOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.CacheOnly, true +} + +// SetCacheOnly sets field value +func (o *FormatSupportUpstream) SetCacheOnly(v bool) { + o.CacheOnly = v +} + // GetCaching returns the Caching field value func (o *FormatSupportUpstream) GetCaching() bool { if o == nil { @@ -265,6 +292,7 @@ func (o FormatSupportUpstream) MarshalJSON() ([]byte, error) { func (o FormatSupportUpstream) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["auth_modes"] = o.AuthModes + toSerialize["cache_only"] = o.CacheOnly toSerialize["caching"] = o.Caching toSerialize["indexing"] = o.Indexing if !IsNil(o.IndexingBehavior) { @@ -289,6 +317,7 @@ func (o *FormatSupportUpstream) UnmarshalJSON(data []byte) (err error) { // that every required field exists as a key in the generic map. requiredProperties := []string{ "auth_modes", + "cache_only", "caching", "indexing", "proxying", @@ -323,6 +352,7 @@ func (o *FormatSupportUpstream) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "auth_modes") + delete(additionalProperties, "cache_only") delete(additionalProperties, "caching") delete(additionalProperties, "indexing") delete(additionalProperties, "indexing_behavior") diff --git a/model_generic_package_upload.go b/model_generic_package_upload.go index 2b69ea93..5952acdf 100644 --- a/model_generic_package_upload.go +++ b/model_generic_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_generic_package_upload_request.go b/model_generic_package_upload_request.go index e1eb5eb2..57d3dc66 100644 --- a/model_generic_package_upload_request.go +++ b/model_generic_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_generic_upstream.go b/model_generic_upstream.go index 87308cf2..74336247 100644 --- a/model_generic_upstream.go +++ b/model_generic_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_generic_upstream_request.go b/model_generic_upstream_request.go index a307d89d..8bd07d90 100644 --- a/model_generic_upstream_request.go +++ b/model_generic_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_generic_upstream_request_patch.go b/model_generic_upstream_request_patch.go index 126503b5..91b751c3 100644 --- a/model_generic_upstream_request_patch.go +++ b/model_generic_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_geo_ip_location.go b/model_geo_ip_location.go index 6dbcfb9c..af1b4465 100644 --- a/model_geo_ip_location.go +++ b/model_geo_ip_location.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_go_package_upload.go b/model_go_package_upload.go index 1b5fcf43..0d382644 100644 --- a/model_go_package_upload.go +++ b/model_go_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_go_package_upload_request.go b/model_go_package_upload_request.go index d17ffa52..7b2625df 100644 --- a/model_go_package_upload_request.go +++ b/model_go_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_go_upstream.go b/model_go_upstream.go index 38a9fcf7..7344efdc 100644 --- a/model_go_upstream.go +++ b/model_go_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_go_upstream_request.go b/model_go_upstream_request.go index c3cfb574..9463bd08 100644 --- a/model_go_upstream_request.go +++ b/model_go_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_go_upstream_request_patch.go b/model_go_upstream_request_patch.go index 1c6af73c..697a09cc 100644 --- a/model_go_upstream_request_patch.go +++ b/model_go_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_helm_package_upload.go b/model_helm_package_upload.go index e3b14b26..bbe4826e 100644 --- a/model_helm_package_upload.go +++ b/model_helm_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_helm_package_upload_request.go b/model_helm_package_upload_request.go index ef2af794..61fba7e3 100644 --- a/model_helm_package_upload_request.go +++ b/model_helm_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream.go b/model_helm_upstream.go index 80fc8492..6f9b6865 100644 --- a/model_helm_upstream.go +++ b/model_helm_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request.go b/model_helm_upstream_request.go index f50323a5..7f94d785 100644 --- a/model_helm_upstream_request.go +++ b/model_helm_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request_patch.go b/model_helm_upstream_request_patch.go index febb81a9..1af18f40 100644 --- a/model_helm_upstream_request_patch.go +++ b/model_helm_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_hex_package_upload.go b/model_hex_package_upload.go index acd90827..4c6d88e9 100644 --- a/model_hex_package_upload.go +++ b/model_hex_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_hex_package_upload_request.go b/model_hex_package_upload_request.go index 2d9f33c1..c13a3199 100644 --- a/model_hex_package_upload_request.go +++ b/model_hex_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream.go b/model_hex_upstream.go index 8d65cfd1..e0ad8090 100644 --- a/model_hex_upstream.go +++ b/model_hex_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream_request.go b/model_hex_upstream_request.go index 18110975..c9539dcc 100644 --- a/model_hex_upstream_request.go +++ b/model_hex_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream_request_patch.go b/model_hex_upstream_request_patch.go index 1d00c4ac..3a262280 100644 --- a/model_hex_upstream_request_patch.go +++ b/model_hex_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_history.go b/model_history.go index 4df89a49..d283c50c 100644 --- a/model_history.go +++ b/model_history.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset.go b/model_history_fieldset.go index 470f09b8..d00be146 100644 --- a/model_history_fieldset.go +++ b/model_history_fieldset.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset_raw.go b/model_history_fieldset_raw.go index 5b17f12c..890bc6db 100644 --- a/model_history_fieldset_raw.go +++ b/model_history_fieldset_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_package_upload.go b/model_huggingface_package_upload.go index 4c18e8f9..414517cd 100644 --- a/model_huggingface_package_upload.go +++ b/model_huggingface_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_package_upload_request.go b/model_huggingface_package_upload_request.go index 13d48ae1..098747ea 100644 --- a/model_huggingface_package_upload_request.go +++ b/model_huggingface_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_upstream.go b/model_huggingface_upstream.go index 21061955..ad86bf83 100644 --- a/model_huggingface_upstream.go +++ b/model_huggingface_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_upstream_request.go b/model_huggingface_upstream_request.go index c38cce71..596c7b42 100644 --- a/model_huggingface_upstream_request.go +++ b/model_huggingface_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_upstream_request_patch.go b/model_huggingface_upstream_request_patch.go index e9dc9a6b..5cad8ccc 100644 --- a/model_huggingface_upstream_request_patch.go +++ b/model_huggingface_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_luarocks_package_upload.go b/model_luarocks_package_upload.go index 7d950382..c2601005 100644 --- a/model_luarocks_package_upload.go +++ b/model_luarocks_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_luarocks_package_upload_request.go b/model_luarocks_package_upload_request.go index fb0535dc..52991b13 100644 --- a/model_luarocks_package_upload_request.go +++ b/model_luarocks_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_maven_package_upload.go b/model_maven_package_upload.go index ef90d2d0..808d4c20 100644 --- a/model_maven_package_upload.go +++ b/model_maven_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_maven_package_upload_request.go b/model_maven_package_upload_request.go index ccec1eae..8dde3d47 100644 --- a/model_maven_package_upload_request.go +++ b/model_maven_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream.go b/model_maven_upstream.go index 89b81d33..9a52cec4 100644 --- a/model_maven_upstream.go +++ b/model_maven_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request.go b/model_maven_upstream_request.go index bd50066d..7d2c7644 100644 --- a/model_maven_upstream_request.go +++ b/model_maven_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request_patch.go b/model_maven_upstream_request_patch.go index a2ead65d..25645bcc 100644 --- a/model_maven_upstream_request_patch.go +++ b/model_maven_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_mcp_package_upload.go b/model_mcp_package_upload.go index 6d0fa46a..c35773fe 100644 --- a/model_mcp_package_upload.go +++ b/model_mcp_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_mcp_package_upload_request.go b/model_mcp_package_upload_request.go index e288a771..6cdddcca 100644 --- a/model_mcp_package_upload_request.go +++ b/model_mcp_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_member_teams.go b/model_member_teams.go index 2f2faf92..50669203 100644 --- a/model_member_teams.go +++ b/model_member_teams.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_namespace.go b/model_namespace.go index 49f6d50c..d505fbfa 100644 --- a/model_namespace.go +++ b/model_namespace.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_namespace_audit_log.go b/model_namespace_audit_log.go index 30f2a7d3..e155fa42 100644 --- a/model_namespace_audit_log.go +++ b/model_namespace_audit_log.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_nested_license_policy.go b/model_nested_license_policy.go index b4cecdd9..0f9a2ffc 100644 --- a/model_nested_license_policy.go +++ b/model_nested_license_policy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_policy.go b/model_nested_vulnerability_policy.go index d94e5de4..496f6a41 100644 --- a/model_nested_vulnerability_policy.go +++ b/model_nested_vulnerability_policy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_scan_results.go b/model_nested_vulnerability_scan_results.go index f54037cc..55f042ca 100644 --- a/model_nested_vulnerability_scan_results.go +++ b/model_nested_vulnerability_scan_results.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_npm_package_upload.go b/model_npm_package_upload.go index f22d618e..22768953 100644 --- a/model_npm_package_upload.go +++ b/model_npm_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_npm_package_upload_request.go b/model_npm_package_upload_request.go index 4965da93..3cb64c7b 100644 --- a/model_npm_package_upload_request.go +++ b/model_npm_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream.go b/model_npm_upstream.go index 62806863..d384e8e2 100644 --- a/model_npm_upstream.go +++ b/model_npm_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request.go b/model_npm_upstream_request.go index 7aa39443..07f5d2ca 100644 --- a/model_npm_upstream_request.go +++ b/model_npm_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request_patch.go b/model_npm_upstream_request_patch.go index f9bffa86..02a4a473 100644 --- a/model_npm_upstream_request_patch.go +++ b/model_npm_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_nuget_package_upload.go b/model_nuget_package_upload.go index 60b2559e..705702b0 100644 --- a/model_nuget_package_upload.go +++ b/model_nuget_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_nuget_package_upload_request.go b/model_nuget_package_upload_request.go index d1fa6cb5..6d074082 100644 --- a/model_nuget_package_upload_request.go +++ b/model_nuget_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream.go b/model_nuget_upstream.go index 43c006fa..167eb108 100644 --- a/model_nuget_upstream.go +++ b/model_nuget_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request.go b/model_nuget_upstream_request.go index f571a135..22dbcdaf 100644 --- a/model_nuget_upstream_request.go +++ b/model_nuget_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request_patch.go b/model_nuget_upstream_request_patch.go index 879171b1..21b8e474 100644 --- a/model_nuget_upstream_request_patch.go +++ b/model_nuget_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization.go b/model_organization.go index 2a132896..81728735 100644 --- a/model_organization.go +++ b/model_organization.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_custom_domain_nested_repo.go b/model_organization_custom_domain_nested_repo.go index 72ad5935..a41387af 100644 --- a/model_organization_custom_domain_nested_repo.go +++ b/model_organization_custom_domain_nested_repo.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_custom_domains.go b/model_organization_custom_domains.go index 7e46a48e..b53c7c70 100644 --- a/model_organization_custom_domains.go +++ b/model_organization_custom_domains.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync.go b/model_organization_group_sync.go index d0467073..264319ae 100644 --- a/model_organization_group_sync.go +++ b/model_organization_group_sync.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_request.go b/model_organization_group_sync_request.go index e88dd4d3..e88e286c 100644 --- a/model_organization_group_sync_request.go +++ b/model_organization_group_sync_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_status.go b/model_organization_group_sync_status.go index d75f4fd5..547b10c4 100644 --- a/model_organization_group_sync_status.go +++ b/model_organization_group_sync_status.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite.go b/model_organization_invite.go index c017758d..17bd902f 100644 --- a/model_organization_invite.go +++ b/model_organization_invite.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_extend.go b/model_organization_invite_extend.go index eccded95..67887b46 100644 --- a/model_organization_invite_extend.go +++ b/model_organization_invite_extend.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_request.go b/model_organization_invite_request.go index 5f349551..6fb5e3c4 100644 --- a/model_organization_invite_request.go +++ b/model_organization_invite_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update.go b/model_organization_invite_update.go index a80a9b36..08ef9f85 100644 --- a/model_organization_invite_update.go +++ b/model_organization_invite_update.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update_request_patch.go b/model_organization_invite_update_request_patch.go index 52964023..4d02577f 100644 --- a/model_organization_invite_update_request_patch.go +++ b/model_organization_invite_update_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership.go b/model_organization_membership.go index 3cd693d3..b292cc03 100644 --- a/model_organization_membership.go +++ b/model_organization_membership.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_role_update.go b/model_organization_membership_role_update.go index 7baf5f39..2c92cfdf 100644 --- a/model_organization_membership_role_update.go +++ b/model_organization_membership_role_update.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_role_update_request_patch.go b/model_organization_membership_role_update_request_patch.go index 4b84f1ca..12fb27e4 100644 --- a/model_organization_membership_role_update_request_patch.go +++ b/model_organization_membership_role_update_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_visibility_update.go b/model_organization_membership_visibility_update.go index 00da9568..0019ccae 100644 --- a/model_organization_membership_visibility_update.go +++ b/model_organization_membership_visibility_update.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_visibility_update_request_patch.go b/model_organization_membership_visibility_update_request_patch.go index b0be3659..73fb6d80 100644 --- a/model_organization_membership_visibility_update_request_patch.go +++ b/model_organization_membership_visibility_update_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy.go b/model_organization_package_license_policy.go index 59869d55..1b0510d1 100644 --- a/model_organization_package_license_policy.go +++ b/model_organization_package_license_policy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy_request.go b/model_organization_package_license_policy_request.go index d3279c23..33780403 100644 --- a/model_organization_package_license_policy_request.go +++ b/model_organization_package_license_policy_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy_request_patch.go b/model_organization_package_license_policy_request_patch.go index d736280f..cdd96a0f 100644 --- a/model_organization_package_license_policy_request_patch.go +++ b/model_organization_package_license_policy_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy.go b/model_organization_package_vulnerability_policy.go index b5ea1abc..ac12364a 100644 --- a/model_organization_package_vulnerability_policy.go +++ b/model_organization_package_vulnerability_policy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy_request.go b/model_organization_package_vulnerability_policy_request.go index cb65ca51..a0e0308f 100644 --- a/model_organization_package_vulnerability_policy_request.go +++ b/model_organization_package_vulnerability_policy_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy_request_patch.go b/model_organization_package_vulnerability_policy_request_patch.go index d56c0ceb..0903b4c1 100644 --- a/model_organization_package_vulnerability_policy_request_patch.go +++ b/model_organization_package_vulnerability_policy_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_saml_auth.go b/model_organization_saml_auth.go index dea37c7a..28cf47d6 100644 --- a/model_organization_saml_auth.go +++ b/model_organization_saml_auth.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -25,9 +25,13 @@ type OrganizationSAMLAuth struct { SamlAuthEnforced bool `json:"saml_auth_enforced"` // If configured, SAML metadata will be used as entered instead of retrieved from a remote URL. SamlMetadataInline *string `json:"saml_metadata_inline,omitempty"` + // When configured, this inline SAML metadata is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. + SamlMetadataInlineWebapp NullableString `json:"saml_metadata_inline_webapp,omitempty"` // If configured, SAML metadata be retrieved from a remote URL. - SamlMetadataUrl NullableString `json:"saml_metadata_url,omitempty"` - AdditionalProperties map[string]interface{} + SamlMetadataUrl NullableString `json:"saml_metadata_url,omitempty"` + // When configured, this SAML metadata URL is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. + SamlMetadataUrlWebapp NullableString `json:"saml_metadata_url_webapp,omitempty"` + AdditionalProperties map[string]interface{} } type _OrganizationSAMLAuth OrganizationSAMLAuth @@ -131,6 +135,49 @@ func (o *OrganizationSAMLAuth) SetSamlMetadataInline(v string) { o.SamlMetadataInline = &v } +// GetSamlMetadataInlineWebapp returns the SamlMetadataInlineWebapp field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *OrganizationSAMLAuth) GetSamlMetadataInlineWebapp() string { + if o == nil || IsNil(o.SamlMetadataInlineWebapp.Get()) { + var ret string + return ret + } + return *o.SamlMetadataInlineWebapp.Get() +} + +// GetSamlMetadataInlineWebappOk returns a tuple with the SamlMetadataInlineWebapp field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *OrganizationSAMLAuth) GetSamlMetadataInlineWebappOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SamlMetadataInlineWebapp.Get(), o.SamlMetadataInlineWebapp.IsSet() +} + +// HasSamlMetadataInlineWebapp returns a boolean if a field has been set. +func (o *OrganizationSAMLAuth) HasSamlMetadataInlineWebapp() bool { + if o != nil && o.SamlMetadataInlineWebapp.IsSet() { + return true + } + + return false +} + +// SetSamlMetadataInlineWebapp gets a reference to the given NullableString and assigns it to the SamlMetadataInlineWebapp field. +func (o *OrganizationSAMLAuth) SetSamlMetadataInlineWebapp(v string) { + o.SamlMetadataInlineWebapp.Set(&v) +} + +// SetSamlMetadataInlineWebappNil sets the value for SamlMetadataInlineWebapp to be an explicit nil +func (o *OrganizationSAMLAuth) SetSamlMetadataInlineWebappNil() { + o.SamlMetadataInlineWebapp.Set(nil) +} + +// UnsetSamlMetadataInlineWebapp ensures that no value is present for SamlMetadataInlineWebapp, not even an explicit nil +func (o *OrganizationSAMLAuth) UnsetSamlMetadataInlineWebapp() { + o.SamlMetadataInlineWebapp.Unset() +} + // GetSamlMetadataUrl returns the SamlMetadataUrl field value if set, zero value otherwise (both if not set or set to explicit null). func (o *OrganizationSAMLAuth) GetSamlMetadataUrl() string { if o == nil || IsNil(o.SamlMetadataUrl.Get()) { @@ -174,6 +221,49 @@ func (o *OrganizationSAMLAuth) UnsetSamlMetadataUrl() { o.SamlMetadataUrl.Unset() } +// GetSamlMetadataUrlWebapp returns the SamlMetadataUrlWebapp field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *OrganizationSAMLAuth) GetSamlMetadataUrlWebapp() string { + if o == nil || IsNil(o.SamlMetadataUrlWebapp.Get()) { + var ret string + return ret + } + return *o.SamlMetadataUrlWebapp.Get() +} + +// GetSamlMetadataUrlWebappOk returns a tuple with the SamlMetadataUrlWebapp field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *OrganizationSAMLAuth) GetSamlMetadataUrlWebappOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SamlMetadataUrlWebapp.Get(), o.SamlMetadataUrlWebapp.IsSet() +} + +// HasSamlMetadataUrlWebapp returns a boolean if a field has been set. +func (o *OrganizationSAMLAuth) HasSamlMetadataUrlWebapp() bool { + if o != nil && o.SamlMetadataUrlWebapp.IsSet() { + return true + } + + return false +} + +// SetSamlMetadataUrlWebapp gets a reference to the given NullableString and assigns it to the SamlMetadataUrlWebapp field. +func (o *OrganizationSAMLAuth) SetSamlMetadataUrlWebapp(v string) { + o.SamlMetadataUrlWebapp.Set(&v) +} + +// SetSamlMetadataUrlWebappNil sets the value for SamlMetadataUrlWebapp to be an explicit nil +func (o *OrganizationSAMLAuth) SetSamlMetadataUrlWebappNil() { + o.SamlMetadataUrlWebapp.Set(nil) +} + +// UnsetSamlMetadataUrlWebapp ensures that no value is present for SamlMetadataUrlWebapp, not even an explicit nil +func (o *OrganizationSAMLAuth) UnsetSamlMetadataUrlWebapp() { + o.SamlMetadataUrlWebapp.Unset() +} + func (o OrganizationSAMLAuth) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -189,9 +279,15 @@ func (o OrganizationSAMLAuth) ToMap() (map[string]interface{}, error) { if !IsNil(o.SamlMetadataInline) { toSerialize["saml_metadata_inline"] = o.SamlMetadataInline } + if o.SamlMetadataInlineWebapp.IsSet() { + toSerialize["saml_metadata_inline_webapp"] = o.SamlMetadataInlineWebapp.Get() + } if o.SamlMetadataUrl.IsSet() { toSerialize["saml_metadata_url"] = o.SamlMetadataUrl.Get() } + if o.SamlMetadataUrlWebapp.IsSet() { + toSerialize["saml_metadata_url_webapp"] = o.SamlMetadataUrlWebapp.Get() + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -239,7 +335,9 @@ func (o *OrganizationSAMLAuth) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "saml_auth_enabled") delete(additionalProperties, "saml_auth_enforced") delete(additionalProperties, "saml_metadata_inline") + delete(additionalProperties, "saml_metadata_inline_webapp") delete(additionalProperties, "saml_metadata_url") + delete(additionalProperties, "saml_metadata_url_webapp") o.AdditionalProperties = additionalProperties } diff --git a/model_organization_saml_auth_request_patch.go b/model_organization_saml_auth_request_patch.go index ae2ac9c8..0ae52b7e 100644 --- a/model_organization_saml_auth_request_patch.go +++ b/model_organization_saml_auth_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -24,9 +24,13 @@ type OrganizationSAMLAuthRequestPatch struct { SamlAuthEnforced *bool `json:"saml_auth_enforced,omitempty"` // If configured, SAML metadata will be used as entered instead of retrieved from a remote URL. SamlMetadataInline *string `json:"saml_metadata_inline,omitempty"` + // When configured, this inline SAML metadata is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. + SamlMetadataInlineWebapp NullableString `json:"saml_metadata_inline_webapp,omitempty"` // If configured, SAML metadata be retrieved from a remote URL. - SamlMetadataUrl NullableString `json:"saml_metadata_url,omitempty"` - AdditionalProperties map[string]interface{} + SamlMetadataUrl NullableString `json:"saml_metadata_url,omitempty"` + // When configured, this SAML metadata URL is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. + SamlMetadataUrlWebapp NullableString `json:"saml_metadata_url_webapp,omitempty"` + AdditionalProperties map[string]interface{} } type _OrganizationSAMLAuthRequestPatch OrganizationSAMLAuthRequestPatch @@ -144,6 +148,49 @@ func (o *OrganizationSAMLAuthRequestPatch) SetSamlMetadataInline(v string) { o.SamlMetadataInline = &v } +// GetSamlMetadataInlineWebapp returns the SamlMetadataInlineWebapp field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *OrganizationSAMLAuthRequestPatch) GetSamlMetadataInlineWebapp() string { + if o == nil || IsNil(o.SamlMetadataInlineWebapp.Get()) { + var ret string + return ret + } + return *o.SamlMetadataInlineWebapp.Get() +} + +// GetSamlMetadataInlineWebappOk returns a tuple with the SamlMetadataInlineWebapp field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *OrganizationSAMLAuthRequestPatch) GetSamlMetadataInlineWebappOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SamlMetadataInlineWebapp.Get(), o.SamlMetadataInlineWebapp.IsSet() +} + +// HasSamlMetadataInlineWebapp returns a boolean if a field has been set. +func (o *OrganizationSAMLAuthRequestPatch) HasSamlMetadataInlineWebapp() bool { + if o != nil && o.SamlMetadataInlineWebapp.IsSet() { + return true + } + + return false +} + +// SetSamlMetadataInlineWebapp gets a reference to the given NullableString and assigns it to the SamlMetadataInlineWebapp field. +func (o *OrganizationSAMLAuthRequestPatch) SetSamlMetadataInlineWebapp(v string) { + o.SamlMetadataInlineWebapp.Set(&v) +} + +// SetSamlMetadataInlineWebappNil sets the value for SamlMetadataInlineWebapp to be an explicit nil +func (o *OrganizationSAMLAuthRequestPatch) SetSamlMetadataInlineWebappNil() { + o.SamlMetadataInlineWebapp.Set(nil) +} + +// UnsetSamlMetadataInlineWebapp ensures that no value is present for SamlMetadataInlineWebapp, not even an explicit nil +func (o *OrganizationSAMLAuthRequestPatch) UnsetSamlMetadataInlineWebapp() { + o.SamlMetadataInlineWebapp.Unset() +} + // GetSamlMetadataUrl returns the SamlMetadataUrl field value if set, zero value otherwise (both if not set or set to explicit null). func (o *OrganizationSAMLAuthRequestPatch) GetSamlMetadataUrl() string { if o == nil || IsNil(o.SamlMetadataUrl.Get()) { @@ -187,6 +234,49 @@ func (o *OrganizationSAMLAuthRequestPatch) UnsetSamlMetadataUrl() { o.SamlMetadataUrl.Unset() } +// GetSamlMetadataUrlWebapp returns the SamlMetadataUrlWebapp field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *OrganizationSAMLAuthRequestPatch) GetSamlMetadataUrlWebapp() string { + if o == nil || IsNil(o.SamlMetadataUrlWebapp.Get()) { + var ret string + return ret + } + return *o.SamlMetadataUrlWebapp.Get() +} + +// GetSamlMetadataUrlWebappOk returns a tuple with the SamlMetadataUrlWebapp field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *OrganizationSAMLAuthRequestPatch) GetSamlMetadataUrlWebappOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SamlMetadataUrlWebapp.Get(), o.SamlMetadataUrlWebapp.IsSet() +} + +// HasSamlMetadataUrlWebapp returns a boolean if a field has been set. +func (o *OrganizationSAMLAuthRequestPatch) HasSamlMetadataUrlWebapp() bool { + if o != nil && o.SamlMetadataUrlWebapp.IsSet() { + return true + } + + return false +} + +// SetSamlMetadataUrlWebapp gets a reference to the given NullableString and assigns it to the SamlMetadataUrlWebapp field. +func (o *OrganizationSAMLAuthRequestPatch) SetSamlMetadataUrlWebapp(v string) { + o.SamlMetadataUrlWebapp.Set(&v) +} + +// SetSamlMetadataUrlWebappNil sets the value for SamlMetadataUrlWebapp to be an explicit nil +func (o *OrganizationSAMLAuthRequestPatch) SetSamlMetadataUrlWebappNil() { + o.SamlMetadataUrlWebapp.Set(nil) +} + +// UnsetSamlMetadataUrlWebapp ensures that no value is present for SamlMetadataUrlWebapp, not even an explicit nil +func (o *OrganizationSAMLAuthRequestPatch) UnsetSamlMetadataUrlWebapp() { + o.SamlMetadataUrlWebapp.Unset() +} + func (o OrganizationSAMLAuthRequestPatch) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -206,9 +296,15 @@ func (o OrganizationSAMLAuthRequestPatch) ToMap() (map[string]interface{}, error if !IsNil(o.SamlMetadataInline) { toSerialize["saml_metadata_inline"] = o.SamlMetadataInline } + if o.SamlMetadataInlineWebapp.IsSet() { + toSerialize["saml_metadata_inline_webapp"] = o.SamlMetadataInlineWebapp.Get() + } if o.SamlMetadataUrl.IsSet() { toSerialize["saml_metadata_url"] = o.SamlMetadataUrl.Get() } + if o.SamlMetadataUrlWebapp.IsSet() { + toSerialize["saml_metadata_url_webapp"] = o.SamlMetadataUrlWebapp.Get() + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -234,7 +330,9 @@ func (o *OrganizationSAMLAuthRequestPatch) UnmarshalJSON(data []byte) (err error delete(additionalProperties, "saml_auth_enabled") delete(additionalProperties, "saml_auth_enforced") delete(additionalProperties, "saml_metadata_inline") + delete(additionalProperties, "saml_metadata_inline_webapp") delete(additionalProperties, "saml_metadata_url") + delete(additionalProperties, "saml_metadata_url_webapp") o.AdditionalProperties = additionalProperties } diff --git a/model_organization_team.go b/model_organization_team.go index 554ca4ba..536478b6 100644 --- a/model_organization_team.go +++ b/model_organization_team.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_invite.go b/model_organization_team_invite.go index 2341ce0f..70d49a4c 100644 --- a/model_organization_team_invite.go +++ b/model_organization_team_invite.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_members.go b/model_organization_team_members.go index 0fe05c7c..2658f56c 100644 --- a/model_organization_team_members.go +++ b/model_organization_team_members.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request.go b/model_organization_team_request.go index 276ff1ac..da6a4418 100644 --- a/model_organization_team_request.go +++ b/model_organization_team_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request_patch.go b/model_organization_team_request_patch.go index d0eaf39d..1d4b2038 100644 --- a/model_organization_team_request_patch.go +++ b/model_organization_team_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_service_member.go b/model_organization_team_service_member.go index db359592..215dbf6d 100644 --- a/model_organization_team_service_member.go +++ b/model_organization_team_service_member.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_p2_package_upload.go b/model_p2_package_upload.go index 97443a87..a6c5dcd0 100644 --- a/model_p2_package_upload.go +++ b/model_p2_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_p2_package_upload_request.go b/model_p2_package_upload_request.go index 1c2aa564..d186d79a 100644 --- a/model_p2_package_upload_request.go +++ b/model_p2_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package.go b/model_package.go index 4da18d30..8fb52018 100644 --- a/model_package.go +++ b/model_package.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_bulk_action.go b/model_package_bulk_action.go index 450d55e0..58452cce 100644 --- a/model_package_bulk_action.go +++ b/model_package_bulk_action.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_bulk_action_response.go b/model_package_bulk_action_response.go index 25e0a050..1e840c9b 100644 --- a/model_package_bulk_action_response.go +++ b/model_package_bulk_action_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_copy.go b/model_package_copy.go index 5bcad613..9fe510f1 100644 --- a/model_package_copy.go +++ b/model_package_copy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_copy_request.go b/model_package_copy_request.go index a20aea25..e72ceb78 100644 --- a/model_package_copy_request.go +++ b/model_package_copy_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy.go b/model_package_deny_policy.go index 1f6d14cc..85d00449 100644 --- a/model_package_deny_policy.go +++ b/model_package_deny_policy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request.go b/model_package_deny_policy_request.go index 52096b71..5b01b4c0 100644 --- a/model_package_deny_policy_request.go +++ b/model_package_deny_policy_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request_patch.go b/model_package_deny_policy_request_patch.go index 2f8f16be..2e2af1ea 100644 --- a/model_package_deny_policy_request_patch.go +++ b/model_package_deny_policy_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_dependencies.go b/model_package_dependencies.go index 7cb6ff5e..09772950 100644 --- a/model_package_dependencies.go +++ b/model_package_dependencies.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_dependency.go b/model_package_dependency.go index 0e6dbd9c..90422c4d 100644 --- a/model_package_dependency.go +++ b/model_package_dependency.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_file.go b/model_package_file.go index 8f22f9ab..7b765522 100644 --- a/model_package_file.go +++ b/model_package_file.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_file_parts_upload.go b/model_package_file_parts_upload.go index 4e002fbe..237dad16 100644 --- a/model_package_file_parts_upload.go +++ b/model_package_file_parts_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload.go b/model_package_file_upload.go index eda08ebe..6ac16ce0 100644 --- a/model_package_file_upload.go +++ b/model_package_file_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload_request.go b/model_package_file_upload_request.go index cebe1b1f..885a7a3a 100644 --- a/model_package_file_upload_request.go +++ b/model_package_file_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_group.go b/model_package_group.go index 34fed7f5..04a2d641 100644 --- a/model_package_group.go +++ b/model_package_group.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_license.go b/model_package_license.go index cd462210..733eef83 100644 --- a/model_package_license.go +++ b/model_package_license.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_evaluation_request.go b/model_package_license_policy_evaluation_request.go index 8995d620..1892c234 100644 --- a/model_package_license_policy_evaluation_request.go +++ b/model_package_license_policy_evaluation_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_violation_log.go b/model_package_license_policy_violation_log.go index 0eb0734e..1420eee1 100644 --- a/model_package_license_policy_violation_log.go +++ b/model_package_license_policy_violation_log.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_violation_log_cursor_page.go b/model_package_license_policy_violation_log_cursor_page.go index 6b41d596..8313ad92 100644 --- a/model_package_license_policy_violation_log_cursor_page.go +++ b/model_package_license_policy_violation_log_cursor_page.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_license_request_patch.go b/model_package_license_request_patch.go index 7d6b52da..a1bf7533 100644 --- a/model_package_license_request_patch.go +++ b/model_package_license_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_move.go b/model_package_move.go index b7d802aa..9e29ecb1 100644 --- a/model_package_move.go +++ b/model_package_move.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_move_request.go b/model_package_move_request.go index b4543aba..4563367d 100644 --- a/model_package_move_request.go +++ b/model_package_move_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_quarantine.go b/model_package_quarantine.go index cb5b80bb..bbf7dde8 100644 --- a/model_package_quarantine.go +++ b/model_package_quarantine.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_quarantine_request.go b/model_package_quarantine_request.go index e4e749e3..604e32e9 100644 --- a/model_package_quarantine_request.go +++ b/model_package_quarantine_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_recycle_bin.go b/model_package_recycle_bin.go index 70b2f779..3b7c5444 100644 --- a/model_package_recycle_bin.go +++ b/model_package_recycle_bin.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_resync.go b/model_package_resync.go index 77aba046..3e514542 100644 --- a/model_package_resync.go +++ b/model_package_resync.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_status.go b/model_package_status.go index b30d19f0..5f5996eb 100644 --- a/model_package_status.go +++ b/model_package_status.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_tag.go b/model_package_tag.go index b275aec7..4b5f4993 100644 --- a/model_package_tag.go +++ b/model_package_tag.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_tag_request.go b/model_package_tag_request.go index c766db97..7cf4fdc3 100644 --- a/model_package_tag_request.go +++ b/model_package_tag_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_usage_metrics.go b/model_package_usage_metrics.go index fd243fff..f6b5ac66 100644 --- a/model_package_usage_metrics.go +++ b/model_package_usage_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability.go b/model_package_vulnerability.go index 25f16913..b0949e0e 100644 --- a/model_package_vulnerability.go +++ b/model_package_vulnerability.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_evaluation_request.go b/model_package_vulnerability_policy_evaluation_request.go index 98c32d90..708e1d94 100644 --- a/model_package_vulnerability_policy_evaluation_request.go +++ b/model_package_vulnerability_policy_evaluation_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_violation_log.go b/model_package_vulnerability_policy_violation_log.go index fcd7f617..bb66714f 100644 --- a/model_package_vulnerability_policy_violation_log.go +++ b/model_package_vulnerability_policy_violation_log.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_violation_log_cursor_page.go b/model_package_vulnerability_policy_violation_log_cursor_page.go index 8bce1253..0d00751a 100644 --- a/model_package_vulnerability_policy_violation_log_cursor_page.go +++ b/model_package_vulnerability_policy_violation_log_cursor_page.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_packages_groups_list_200_response.go b/model_packages_groups_list_200_response.go index 51c4dd59..aa62af7b 100644 --- a/model_packages_groups_list_200_response.go +++ b/model_packages_groups_list_200_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings.go b/model_provider_settings.go index c88ee02d..bd979001 100644 --- a/model_provider_settings.go +++ b/model_provider_settings.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_write.go b/model_provider_settings_write.go index 51daf0f0..27f9369a 100644 --- a/model_provider_settings_write.go +++ b/model_provider_settings_write.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_write_request.go b/model_provider_settings_write_request.go index fc3a0f12..94cd6947 100644 --- a/model_provider_settings_write_request.go +++ b/model_provider_settings_write_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_write_request_patch.go b/model_provider_settings_write_request_patch.go index fa39ce0b..db17d7c0 100644 --- a/model_provider_settings_write_request_patch.go +++ b/model_provider_settings_write_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_python_package_upload.go b/model_python_package_upload.go index d99dc580..522f81a7 100644 --- a/model_python_package_upload.go +++ b/model_python_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_python_package_upload_request.go b/model_python_package_upload_request.go index 12cf28c8..3d58bde4 100644 --- a/model_python_package_upload_request.go +++ b/model_python_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream.go b/model_python_upstream.go index 5c25b12e..3f77c94b 100644 --- a/model_python_upstream.go +++ b/model_python_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request.go b/model_python_upstream_request.go index 16038c70..8719c7d2 100644 --- a/model_python_upstream_request.go +++ b/model_python_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request_patch.go b/model_python_upstream_request_patch.go index dc6aaab5..4da99948 100644 --- a/model_python_upstream_request_patch.go +++ b/model_python_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_quota.go b/model_quota.go index 67ce0af3..7539fbce 100644 --- a/model_quota.go +++ b/model_quota.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_quota_history.go b/model_quota_history.go index 02400719..42d4fc36 100644 --- a/model_quota_history.go +++ b/model_quota_history.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_rate_check.go b/model_rate_check.go index b77b68e4..67bd3954 100644 --- a/model_rate_check.go +++ b/model_rate_check.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_raw_package_upload.go b/model_raw_package_upload.go index 15d02753..34a20d94 100644 --- a/model_raw_package_upload.go +++ b/model_raw_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_raw_package_upload_request.go b/model_raw_package_upload_request.go index 76c52b74..d1ef6e86 100644 --- a/model_raw_package_upload_request.go +++ b/model_raw_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_recycle_bin_package.go b/model_recycle_bin_package.go index ce27bfda..7edab95a 100644 --- a/model_recycle_bin_package.go +++ b/model_recycle_bin_package.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repos_connected_list_200_response.go b/model_repos_connected_list_200_response.go index 25cd30eb..7fda3a96 100644 --- a/model_repos_connected_list_200_response.go +++ b/model_repos_connected_list_200_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository.go b/model_repository.go index 25b704cb..4f144d8a 100644 --- a/model_repository.go +++ b/model_repository.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -22,6 +22,8 @@ var _ MappedNullable = &Repository{} // Repository struct for Repository type Repository struct { + // Number of active connections for the repository + ActiveConnectionCount *int64 `json:"active_connection_count,omitempty"` // Broadcasting status of a repository. BroadcastState *string `json:"broadcast_state,omitempty"` // Base URL from which packages and other artifacts are downloaded. @@ -233,6 +235,38 @@ func NewRepositoryWithDefaults() *Repository { return &this } +// GetActiveConnectionCount returns the ActiveConnectionCount field value if set, zero value otherwise. +func (o *Repository) GetActiveConnectionCount() int64 { + if o == nil || IsNil(o.ActiveConnectionCount) { + var ret int64 + return ret + } + return *o.ActiveConnectionCount +} + +// GetActiveConnectionCountOk returns a tuple with the ActiveConnectionCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Repository) GetActiveConnectionCountOk() (*int64, bool) { + if o == nil || IsNil(o.ActiveConnectionCount) { + return nil, false + } + return o.ActiveConnectionCount, true +} + +// HasActiveConnectionCount returns a boolean if a field has been set. +func (o *Repository) HasActiveConnectionCount() bool { + if o != nil && !IsNil(o.ActiveConnectionCount) { + return true + } + + return false +} + +// SetActiveConnectionCount gets a reference to the given int64 and assigns it to the ActiveConnectionCount field. +func (o *Repository) SetActiveConnectionCount(v int64) { + o.ActiveConnectionCount = &v +} + // GetBroadcastState returns the BroadcastState field value if set, zero value otherwise. func (o *Repository) GetBroadcastState() string { if o == nil || IsNil(o.BroadcastState) { @@ -2551,6 +2585,9 @@ func (o Repository) MarshalJSON() ([]byte, error) { func (o Repository) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.ActiveConnectionCount) { + toSerialize["active_connection_count"] = o.ActiveConnectionCount + } if !IsNil(o.BroadcastState) { toSerialize["broadcast_state"] = o.BroadcastState } @@ -2805,6 +2842,7 @@ func (o *Repository) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "active_connection_count") delete(additionalProperties, "broadcast_state") delete(additionalProperties, "cdn_url") delete(additionalProperties, "content_kind") diff --git a/model_repository_audit_log.go b/model_repository_audit_log.go index dd1c8fc9..c8ca8259 100644 --- a/model_repository_audit_log.go +++ b/model_repository_audit_log.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_create.go b/model_repository_create.go index ab710d18..48267ec9 100644 --- a/model_repository_create.go +++ b/model_repository_create.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -22,6 +22,8 @@ var _ MappedNullable = &RepositoryCreate{} // RepositoryCreate struct for RepositoryCreate type RepositoryCreate struct { + // Number of active connections for the repository + ActiveConnectionCount *int64 `json:"active_connection_count,omitempty"` // Broadcasting status of a repository. BroadcastState *string `json:"broadcast_state,omitempty"` // Base URL from which packages and other artifacts are downloaded. @@ -237,6 +239,38 @@ func NewRepositoryCreateWithDefaults() *RepositoryCreate { return &this } +// GetActiveConnectionCount returns the ActiveConnectionCount field value if set, zero value otherwise. +func (o *RepositoryCreate) GetActiveConnectionCount() int64 { + if o == nil || IsNil(o.ActiveConnectionCount) { + var ret int64 + return ret + } + return *o.ActiveConnectionCount +} + +// GetActiveConnectionCountOk returns a tuple with the ActiveConnectionCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryCreate) GetActiveConnectionCountOk() (*int64, bool) { + if o == nil || IsNil(o.ActiveConnectionCount) { + return nil, false + } + return o.ActiveConnectionCount, true +} + +// HasActiveConnectionCount returns a boolean if a field has been set. +func (o *RepositoryCreate) HasActiveConnectionCount() bool { + if o != nil && !IsNil(o.ActiveConnectionCount) { + return true + } + + return false +} + +// SetActiveConnectionCount gets a reference to the given int64 and assigns it to the ActiveConnectionCount field. +func (o *RepositoryCreate) SetActiveConnectionCount(v int64) { + o.ActiveConnectionCount = &v +} + // GetBroadcastState returns the BroadcastState field value if set, zero value otherwise. func (o *RepositoryCreate) GetBroadcastState() string { if o == nil || IsNil(o.BroadcastState) { @@ -2555,6 +2589,9 @@ func (o RepositoryCreate) MarshalJSON() ([]byte, error) { func (o RepositoryCreate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.ActiveConnectionCount) { + toSerialize["active_connection_count"] = o.ActiveConnectionCount + } if !IsNil(o.BroadcastState) { toSerialize["broadcast_state"] = o.BroadcastState } @@ -2809,6 +2846,7 @@ func (o *RepositoryCreate) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "active_connection_count") delete(additionalProperties, "broadcast_state") delete(additionalProperties, "cdn_url") delete(additionalProperties, "content_kind") diff --git a/model_repository_create_request.go b/model_repository_create_request.go index ff80a28b..5a34c678 100644 --- a/model_repository_create_request.go +++ b/model_repository_create_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_ecdsa_key.go b/model_repository_ecdsa_key.go index 7d75de8e..1dcb207b 100644 --- a/model_repository_ecdsa_key.go +++ b/model_repository_ecdsa_key.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_ecdsa_key_create.go b/model_repository_ecdsa_key_create.go index 406387d0..74bb4879 100644 --- a/model_repository_ecdsa_key_create.go +++ b/model_repository_ecdsa_key_create.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_ed25519_key.go b/model_repository_ed25519_key.go index 53c6e362..97d0c8e5 100644 --- a/model_repository_ed25519_key.go +++ b/model_repository_ed25519_key.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ @@ -30,7 +30,9 @@ type RepositoryEd25519Key struct { Fingerprint *string `json:"fingerprint,omitempty"` FingerprintShort *string `json:"fingerprint_short,omitempty"` // The public key given to repository users. - PublicKey *string `json:"public_key,omitempty"` + PublicKey *string `json:"public_key,omitempty"` + // The public key in `:` wire format, ready to paste into Nix `trusted-public-keys`. + PublicKeyWire *string `json:"public_key_wire,omitempty"` AdditionalProperties map[string]interface{} } @@ -245,6 +247,38 @@ func (o *RepositoryEd25519Key) SetPublicKey(v string) { o.PublicKey = &v } +// GetPublicKeyWire returns the PublicKeyWire field value if set, zero value otherwise. +func (o *RepositoryEd25519Key) GetPublicKeyWire() string { + if o == nil || IsNil(o.PublicKeyWire) { + var ret string + return ret + } + return *o.PublicKeyWire +} + +// GetPublicKeyWireOk returns a tuple with the PublicKeyWire field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryEd25519Key) GetPublicKeyWireOk() (*string, bool) { + if o == nil || IsNil(o.PublicKeyWire) { + return nil, false + } + return o.PublicKeyWire, true +} + +// HasPublicKeyWire returns a boolean if a field has been set. +func (o *RepositoryEd25519Key) HasPublicKeyWire() bool { + if o != nil && !IsNil(o.PublicKeyWire) { + return true + } + + return false +} + +// SetPublicKeyWire gets a reference to the given string and assigns it to the PublicKeyWire field. +func (o *RepositoryEd25519Key) SetPublicKeyWire(v string) { + o.PublicKeyWire = &v +} + func (o RepositoryEd25519Key) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -273,6 +307,9 @@ func (o RepositoryEd25519Key) ToMap() (map[string]interface{}, error) { if !IsNil(o.PublicKey) { toSerialize["public_key"] = o.PublicKey } + if !IsNil(o.PublicKeyWire) { + toSerialize["public_key_wire"] = o.PublicKeyWire + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -301,6 +338,7 @@ func (o *RepositoryEd25519Key) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "fingerprint") delete(additionalProperties, "fingerprint_short") delete(additionalProperties, "public_key") + delete(additionalProperties, "public_key_wire") o.AdditionalProperties = additionalProperties } diff --git a/model_repository_ed25519_key_create.go b/model_repository_ed25519_key_create.go index 7a6e5aaa..fec2fa5b 100644 --- a/model_repository_ed25519_key_create.go +++ b/model_repository_ed25519_key_create.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_cidr.go b/model_repository_geo_ip_cidr.go index 1f051c7b..2a593df9 100644 --- a/model_repository_geo_ip_cidr.go +++ b/model_repository_geo_ip_cidr.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_country_code.go b/model_repository_geo_ip_country_code.go index 89d467cb..51d2517c 100644 --- a/model_repository_geo_ip_country_code.go +++ b/model_repository_geo_ip_country_code.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules.go b/model_repository_geo_ip_rules.go index e3496cca..16872895 100644 --- a/model_repository_geo_ip_rules.go +++ b/model_repository_geo_ip_rules.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules_request.go b/model_repository_geo_ip_rules_request.go index d0756858..2dab359c 100644 --- a/model_repository_geo_ip_rules_request.go +++ b/model_repository_geo_ip_rules_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules_request_patch.go b/model_repository_geo_ip_rules_request_patch.go index 9c8b8ff2..2d3308f2 100644 --- a/model_repository_geo_ip_rules_request_patch.go +++ b/model_repository_geo_ip_rules_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_status.go b/model_repository_geo_ip_status.go index 7d6e6e39..b518f6a9 100644 --- a/model_repository_geo_ip_status.go +++ b/model_repository_geo_ip_status.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address.go b/model_repository_geo_ip_test_address.go index 86d0901e..c0ea523d 100644 --- a/model_repository_geo_ip_test_address.go +++ b/model_repository_geo_ip_test_address.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address_response.go b/model_repository_geo_ip_test_address_response.go index 78420550..5691b1e1 100644 --- a/model_repository_geo_ip_test_address_response.go +++ b/model_repository_geo_ip_test_address_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address_response_dict.go b/model_repository_geo_ip_test_address_response_dict.go index 0b310068..cbf41166 100644 --- a/model_repository_geo_ip_test_address_response_dict.go +++ b/model_repository_geo_ip_test_address_response_dict.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key.go b/model_repository_gpg_key.go index d16b775c..9eb71817 100644 --- a/model_repository_gpg_key.go +++ b/model_repository_gpg_key.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key_create.go b/model_repository_gpg_key_create.go index 48412c32..f5d50483 100644 --- a/model_repository_gpg_key_create.go +++ b/model_repository_gpg_key_create.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_dict.go b/model_repository_privilege_dict.go index 22f6be36..3867459a 100644 --- a/model_repository_privilege_dict.go +++ b/model_repository_privilege_dict.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input.go b/model_repository_privilege_input.go index 371e4284..88cb8f91 100644 --- a/model_repository_privilege_input.go +++ b/model_repository_privilege_input.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request.go b/model_repository_privilege_input_request.go index 7fd4d300..e91ddc36 100644 --- a/model_repository_privilege_input_request.go +++ b/model_repository_privilege_input_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request_patch.go b/model_repository_privilege_input_request_patch.go index 0ebaed50..7a45026e 100644 --- a/model_repository_privilege_input_request_patch.go +++ b/model_repository_privilege_input_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_request_patch.go b/model_repository_request_patch.go index 7857d523..97ec9818 100644 --- a/model_repository_request_patch.go +++ b/model_repository_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_retention_rules.go b/model_repository_retention_rules.go index 49d7e31a..a91512eb 100644 --- a/model_repository_retention_rules.go +++ b/model_repository_retention_rules.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_retention_rules_request_patch.go b/model_repository_retention_rules_request_patch.go index c51b454c..416ed2d2 100644 --- a/model_repository_retention_rules_request_patch.go +++ b/model_repository_retention_rules_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key.go b/model_repository_rsa_key.go index 0d0fe7b4..4f6d5017 100644 --- a/model_repository_rsa_key.go +++ b/model_repository_rsa_key.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key_create.go b/model_repository_rsa_key_create.go index 9cfa422b..919df799 100644 --- a/model_repository_rsa_key_create.go +++ b/model_repository_rsa_key_create.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token.go b/model_repository_token.go index 3018b03d..8f66c84f 100644 --- a/model_repository_token.go +++ b/model_repository_token.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_private_broadcasts.go b/model_repository_token_private_broadcasts.go index 47815fd4..8a58c529 100644 --- a/model_repository_token_private_broadcasts.go +++ b/model_repository_token_private_broadcasts.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_private_broadcasts_request.go b/model_repository_token_private_broadcasts_request.go index ea58bcdd..abfee63f 100644 --- a/model_repository_token_private_broadcasts_request.go +++ b/model_repository_token_private_broadcasts_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh.go b/model_repository_token_refresh.go index 876f152f..b5dbeb8c 100644 --- a/model_repository_token_refresh.go +++ b/model_repository_token_refresh.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh_request.go b/model_repository_token_refresh_request.go index bc1d7c56..6788f239 100644 --- a/model_repository_token_refresh_request.go +++ b/model_repository_token_refresh_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request.go b/model_repository_token_request.go index 2e4f7e20..9ae29708 100644 --- a/model_repository_token_request.go +++ b/model_repository_token_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request_patch.go b/model_repository_token_request_patch.go index 5b66d283..7c7ad13f 100644 --- a/model_repository_token_request_patch.go +++ b/model_repository_token_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync.go b/model_repository_token_sync.go index eaefb535..bd55a9fc 100644 --- a/model_repository_token_sync.go +++ b/model_repository_token_sync.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync_request.go b/model_repository_token_sync_request.go index fc830972..fad4302b 100644 --- a/model_repository_token_sync_request.go +++ b/model_repository_token_sync_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_transfer_region.go b/model_repository_transfer_region.go index 787ba029..8f78a657 100644 --- a/model_repository_transfer_region.go +++ b/model_repository_transfer_region.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_transfer_region_request.go b/model_repository_transfer_region_request.go index dbee6b87..a4294a70 100644 --- a/model_repository_transfer_region_request.go +++ b/model_repository_transfer_region_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook.go b/model_repository_webhook.go index 5ded0b9e..72830864 100644 --- a/model_repository_webhook.go +++ b/model_repository_webhook.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request.go b/model_repository_webhook_request.go index 4dd3bf10..909ac96f 100644 --- a/model_repository_webhook_request.go +++ b/model_repository_webhook_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request_patch.go b/model_repository_webhook_request_patch.go index df9af015..3434e103 100644 --- a/model_repository_webhook_request_patch.go +++ b/model_repository_webhook_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_x509_ecdsa_certificate.go b/model_repository_x509_ecdsa_certificate.go index 6b821adc..3860dfde 100644 --- a/model_repository_x509_ecdsa_certificate.go +++ b/model_repository_x509_ecdsa_certificate.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_x509_rsa_certificate.go b/model_repository_x509_rsa_certificate.go index 34a99379..47436707 100644 --- a/model_repository_x509_rsa_certificate.go +++ b/model_repository_x509_rsa_certificate.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_resources_rate_check.go b/model_resources_rate_check.go index 66622e31..d8e8177e 100644 --- a/model_resources_rate_check.go +++ b/model_resources_rate_check.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_rpm_package_upload.go b/model_rpm_package_upload.go index 899effb5..58bf418d 100644 --- a/model_rpm_package_upload.go +++ b/model_rpm_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_rpm_package_upload_request.go b/model_rpm_package_upload_request.go index 8517568b..104e2080 100644 --- a/model_rpm_package_upload_request.go +++ b/model_rpm_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream.go b/model_rpm_upstream.go index 39bd989d..45d32d4b 100644 --- a/model_rpm_upstream.go +++ b/model_rpm_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request.go b/model_rpm_upstream_request.go index bae4aacb..5d0d1201 100644 --- a/model_rpm_upstream_request.go +++ b/model_rpm_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request_patch.go b/model_rpm_upstream_request_patch.go index 0853e63e..711308e5 100644 --- a/model_rpm_upstream_request_patch.go +++ b/model_rpm_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_ruby_package_upload.go b/model_ruby_package_upload.go index 04755eb1..2ef86619 100644 --- a/model_ruby_package_upload.go +++ b/model_ruby_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_ruby_package_upload_request.go b/model_ruby_package_upload_request.go index 1af6b587..c124b4b9 100644 --- a/model_ruby_package_upload_request.go +++ b/model_ruby_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream.go b/model_ruby_upstream.go index fde4f1b1..268f939e 100644 --- a/model_ruby_upstream.go +++ b/model_ruby_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request.go b/model_ruby_upstream_request.go index ea90c46a..12ebcf5a 100644 --- a/model_ruby_upstream_request.go +++ b/model_ruby_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request_patch.go b/model_ruby_upstream_request_patch.go index cd534c7a..a3ab458a 100644 --- a/model_ruby_upstream_request_patch.go +++ b/model_ruby_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_service.go b/model_service.go index f66e4bbf..4974caca 100644 --- a/model_service.go +++ b/model_service.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_service_request.go b/model_service_request.go index 54a4cd96..693ab7f6 100644 --- a/model_service_request.go +++ b/model_service_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_service_request_patch.go b/model_service_request_patch.go index 5f93ee21..ef2b2a7b 100644 --- a/model_service_request_patch.go +++ b/model_service_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_service_teams.go b/model_service_teams.go index 7bb8f773..6b566104 100644 --- a/model_service_teams.go +++ b/model_service_teams.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_status_basic.go b/model_status_basic.go index c6a2354a..1a57c707 100644 --- a/model_status_basic.go +++ b/model_status_basic.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit.go b/model_storage_allocated_limit.go index 0c64d268..455b824c 100644 --- a/model_storage_allocated_limit.go +++ b/model_storage_allocated_limit.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit_raw.go b/model_storage_allocated_limit_raw.go index f18448ac..3de12c4f 100644 --- a/model_storage_allocated_limit_raw.go +++ b/model_storage_allocated_limit_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_storage_region.go b/model_storage_region.go index 7a0a436a..fb662f21 100644 --- a/model_storage_region.go +++ b/model_storage_region.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage.go b/model_storage_usage.go index 62856939..a7b07aa5 100644 --- a/model_storage_usage.go +++ b/model_storage_usage.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage_raw.go b/model_storage_usage_raw.go index 2fc00270..e8944500 100644 --- a/model_storage_usage_raw.go +++ b/model_storage_usage_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_swift_package_upload.go b/model_swift_package_upload.go index 81ba365a..4d8951ac 100644 --- a/model_swift_package_upload.go +++ b/model_swift_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_swift_package_upload_request.go b/model_swift_package_upload_request.go index 0852ea95..c6a79fa9 100644 --- a/model_swift_package_upload_request.go +++ b/model_swift_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream.go b/model_swift_upstream.go index 1f196952..f9f1c79f 100644 --- a/model_swift_upstream.go +++ b/model_swift_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request.go b/model_swift_upstream_request.go index 1714af5c..741336a4 100644 --- a/model_swift_upstream_request.go +++ b/model_swift_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request_patch.go b/model_swift_upstream_request_patch.go index 77412268..bf77dfd2 100644 --- a/model_swift_upstream_request_patch.go +++ b/model_swift_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_terraform_package_upload.go b/model_terraform_package_upload.go index 683f1715..8128b262 100644 --- a/model_terraform_package_upload.go +++ b/model_terraform_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_terraform_package_upload_request.go b/model_terraform_package_upload_request.go index ed43f876..785744ce 100644 --- a/model_terraform_package_upload_request.go +++ b/model_terraform_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_usage.go b/model_usage.go index 79d3aa23..f2d72a18 100644 --- a/model_usage.go +++ b/model_usage.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_usage_fieldset.go b/model_usage_fieldset.go index dccc996a..0cb74135 100644 --- a/model_usage_fieldset.go +++ b/model_usage_fieldset.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits.go b/model_usage_limits.go index c72cd88b..5ec39d8f 100644 --- a/model_usage_limits.go +++ b/model_usage_limits.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits_raw.go b/model_usage_limits_raw.go index 4ed71712..238193ed 100644 --- a/model_usage_limits_raw.go +++ b/model_usage_limits_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_usage_raw.go b/model_usage_raw.go index 21471d88..35d0ef9a 100644 --- a/model_usage_raw.go +++ b/model_usage_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token.go b/model_user_auth_token.go index 5c8baa73..64373c2f 100644 --- a/model_user_auth_token.go +++ b/model_user_auth_token.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token_request.go b/model_user_auth_token_request.go index c2855298..b22838e3 100644 --- a/model_user_auth_token_request.go +++ b/model_user_auth_token_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_user_authentication_token.go b/model_user_authentication_token.go index 29927a84..48b20346 100644 --- a/model_user_authentication_token.go +++ b/model_user_authentication_token.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_user_brief.go b/model_user_brief.go index 21cf2937..090a384c 100644 --- a/model_user_brief.go +++ b/model_user_brief.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_user_profile.go b/model_user_profile.go index 7ffdf134..901f531a 100644 --- a/model_user_profile.go +++ b/model_user_profile.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_user_tokens_list_200_response.go b/model_user_tokens_list_200_response.go index d59c2aa4..c56b07c0 100644 --- a/model_user_tokens_list_200_response.go +++ b/model_user_tokens_list_200_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_vagrant_package_upload.go b/model_vagrant_package_upload.go index 0c530430..8d6e6a2d 100644 --- a/model_vagrant_package_upload.go +++ b/model_vagrant_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_vagrant_package_upload_request.go b/model_vagrant_package_upload_request.go index 31af3842..24f118d3 100644 --- a/model_vagrant_package_upload_request.go +++ b/model_vagrant_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_vsx_package_upload.go b/model_vsx_package_upload.go index 7ed60572..b8128e56 100644 --- a/model_vsx_package_upload.go +++ b/model_vsx_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_vsx_package_upload_request.go b/model_vsx_package_upload_request.go index 604654ea..57d1cf3f 100644 --- a/model_vsx_package_upload_request.go +++ b/model_vsx_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability.go b/model_vulnerability.go index 618fee7f..46f0f6ea 100644 --- a/model_vulnerability.go +++ b/model_vulnerability.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan.go b/model_vulnerability_scan.go index c6d18af1..f8f69da2 100644 --- a/model_vulnerability_scan.go +++ b/model_vulnerability_scan.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results.go b/model_vulnerability_scan_results.go index 3633594a..f1407e80 100644 --- a/model_vulnerability_scan_results.go +++ b/model_vulnerability_scan_results.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results_list.go b/model_vulnerability_scan_results_list.go index 3c90de54..76c25840 100644 --- a/model_vulnerability_scan_results_list.go +++ b/model_vulnerability_scan_results_list.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_version.go b/model_vulnerability_scan_version.go index aa744a36..8bea4970 100644 --- a/model_vulnerability_scan_version.go +++ b/model_vulnerability_scan_version.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/model_webhook_template.go b/model_webhook_template.go index 24abe5ed..ab877e2b 100644 --- a/model_webhook_template.go +++ b/model_webhook_template.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/response.go b/response.go index cfec3778..81d5834e 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */ diff --git a/utils.go b/utils.go index df79f362..1248e47a 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1206.0 +API version: 1.1288.1 Contact: support@cloudsmith.io */