cloudsmith-api 2.0.37 → 2.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -3
- data/README.md +14 -4
- data/build.json +1 -1
- data/cloudsmith-api.gemspec +1 -1
- data/docs/OrganizationApiKeyRule.md +1 -1
- data/docs/ReposApi.md +401 -0
- data/docs/Service.md +1 -1
- data/docs/SkillsUpstream.md +34 -0
- data/docs/SkillsUpstreamRequest.md +22 -0
- data/docs/SkillsUpstreamRequestPatch.md +22 -0
- data/docs/SkillsUpstreamSelection.md +10 -0
- data/lib/cloudsmith-api/api/audit_log_api.rb +1 -1
- data/lib/cloudsmith-api/api/badges_api.rb +1 -1
- data/lib/cloudsmith-api/api/broadcasts_api.rb +1 -1
- data/lib/cloudsmith-api/api/bulk_action_api.rb +1 -1
- data/lib/cloudsmith-api/api/distros_api.rb +1 -1
- data/lib/cloudsmith-api/api/entitlements_api.rb +1 -1
- data/lib/cloudsmith-api/api/files_api.rb +1 -1
- data/lib/cloudsmith-api/api/formats_api.rb +1 -1
- data/lib/cloudsmith-api/api/metrics_api.rb +1 -1
- data/lib/cloudsmith-api/api/namespaces_api.rb +1 -1
- data/lib/cloudsmith-api/api/openid_api.rb +1 -1
- data/lib/cloudsmith-api/api/orgs_api.rb +1 -1
- data/lib/cloudsmith-api/api/packages_api.rb +1 -1
- data/lib/cloudsmith-api/api/quota_api.rb +1 -1
- data/lib/cloudsmith-api/api/rates_api.rb +1 -1
- data/lib/cloudsmith-api/api/recycle_bin_api.rb +1 -1
- data/lib/cloudsmith-api/api/repos_api.rb +396 -1
- data/lib/cloudsmith-api/api/status_api.rb +1 -1
- data/lib/cloudsmith-api/api/storage_regions_api.rb +1 -1
- data/lib/cloudsmith-api/api/user_api.rb +1 -1
- data/lib/cloudsmith-api/api/users_api.rb +1 -1
- data/lib/cloudsmith-api/api/vulnerabilities_api.rb +1 -1
- data/lib/cloudsmith-api/api/webhooks_api.rb +1 -1
- data/lib/cloudsmith-api/api_client.rb +1 -1
- data/lib/cloudsmith-api/api_error.rb +1 -1
- data/lib/cloudsmith-api/configuration.rb +1 -1
- data/lib/cloudsmith-api/models/allocated_limit.rb +1 -1
- data/lib/cloudsmith-api/models/allocated_limit_raw.rb +1 -1
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/alpine_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/alpine_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/alpine_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/alpine_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/architecture.rb +1 -1
- data/lib/cloudsmith-api/models/broadcast_token.rb +1 -1
- data/lib/cloudsmith-api/models/broadcast_token_input.rb +1 -1
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/cargo_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/cargo_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/cargo_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/cargo_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/cocoapods_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/common_bandwidth_metrics.rb +1 -1
- data/lib/cloudsmith-api/models/common_bandwidth_metrics_value.rb +1 -1
- data/lib/cloudsmith-api/models/common_downloads_metrics.rb +1 -1
- data/lib/cloudsmith-api/models/common_downloads_metrics_value.rb +1 -1
- data/lib/cloudsmith-api/models/common_metrics.rb +1 -1
- data/lib/cloudsmith-api/models/composer_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/composer_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/composer_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/composer_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/composer_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/conan_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/conan_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/conda_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/conda_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/conda_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/conda_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/conda_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/connected_repository.rb +1 -1
- data/lib/cloudsmith-api/models/connected_repository_request.rb +1 -1
- data/lib/cloudsmith-api/models/connected_repository_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/connected_repository_target_summary.rb +1 -1
- data/lib/cloudsmith-api/models/connected_repository_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/cran_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/cran_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/cran_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/cran_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/cran_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/dart_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/dart_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/dart_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/dart_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/dart_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/deb_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/deb_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/deb_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/deb_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/deb_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/distribution.rb +1 -1
- data/lib/cloudsmith-api/models/distribution_full.rb +1 -1
- data/lib/cloudsmith-api/models/distribution_version.rb +1 -1
- data/lib/cloudsmith-api/models/docker_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/docker_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/docker_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/docker_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/docker_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/dynamic_mapping.rb +1 -1
- data/lib/cloudsmith-api/models/entitlement_usage_metrics.rb +1 -1
- data/lib/cloudsmith-api/models/error_detail.rb +1 -1
- data/lib/cloudsmith-api/models/eula.rb +1 -1
- data/lib/cloudsmith-api/models/format.rb +1 -1
- data/lib/cloudsmith-api/models/format_support.rb +1 -1
- data/lib/cloudsmith-api/models/format_support_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/generic_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/generic_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/generic_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/generic_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/generic_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/geo_ip_location.rb +1 -1
- data/lib/cloudsmith-api/models/go_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/go_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/go_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/go_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/go_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/helm_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/helm_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/helm_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/helm_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/helm_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/hex_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/hex_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/hex_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/hex_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/hex_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/history.rb +1 -1
- data/lib/cloudsmith-api/models/history_fieldset.rb +1 -1
- data/lib/cloudsmith-api/models/history_fieldset_raw.rb +1 -1
- data/lib/cloudsmith-api/models/huggingface_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/huggingface_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/huggingface_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/huggingface_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/huggingface_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/inline_response_200.rb +1 -1
- data/lib/cloudsmith-api/models/inline_response_200_1.rb +1 -1
- data/lib/cloudsmith-api/models/inline_response_200_2.rb +1 -1
- data/lib/cloudsmith-api/models/inline_response_200_3.rb +1 -1
- data/lib/cloudsmith-api/models/inline_response_200_4.rb +1 -1
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/luarocks_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/maven_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/maven_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/maven_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/maven_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/mcp_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/mcp_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/member_teams.rb +1 -1
- data/lib/cloudsmith-api/models/namespace.rb +1 -1
- data/lib/cloudsmith-api/models/namespace_audit_log.rb +1 -1
- data/lib/cloudsmith-api/models/nested_license_policy.rb +1 -1
- data/lib/cloudsmith-api/models/nested_vulnerability_policy.rb +1 -1
- data/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb +1 -1
- data/lib/cloudsmith-api/models/nix_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/nix_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/nix_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/nix_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/nix_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/npm_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/npm_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/npm_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/npm_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/nuget_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/nuget_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/nuget_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/oidc.rb +1 -1
- data/lib/cloudsmith-api/models/oidc_1.rb +1 -1
- data/lib/cloudsmith-api/models/oidc_request.rb +1 -1
- data/lib/cloudsmith-api/models/organization.rb +1 -1
- data/lib/cloudsmith-api/models/organization_api_key_rule.rb +2 -2
- data/lib/cloudsmith-api/models/organization_api_key_rule_request.rb +1 -1
- data/lib/cloudsmith-api/models/organization_api_key_rule_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/organization_custom_domain_nested_repo.rb +1 -1
- data/lib/cloudsmith-api/models/organization_custom_domains.rb +1 -1
- data/lib/cloudsmith-api/models/organization_group_sync.rb +1 -1
- data/lib/cloudsmith-api/models/organization_group_sync_request.rb +1 -1
- data/lib/cloudsmith-api/models/organization_group_sync_status.rb +1 -1
- data/lib/cloudsmith-api/models/organization_invite.rb +1 -1
- data/lib/cloudsmith-api/models/organization_invite_extend.rb +1 -1
- data/lib/cloudsmith-api/models/organization_invite_request.rb +1 -1
- data/lib/cloudsmith-api/models/organization_invite_update.rb +1 -1
- data/lib/cloudsmith-api/models/organization_invite_update_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/organization_membership.rb +1 -1
- data/lib/cloudsmith-api/models/organization_membership_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/organization_membership_role_update.rb +1 -1
- data/lib/cloudsmith-api/models/organization_membership_role_update_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/organization_membership_visibility_update.rb +1 -1
- data/lib/cloudsmith-api/models/organization_membership_visibility_update_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/organization_package_license_policy.rb +1 -1
- data/lib/cloudsmith-api/models/organization_package_license_policy_request.rb +1 -1
- data/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb +1 -1
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb +1 -1
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/organization_saml_auth.rb +1 -1
- data/lib/cloudsmith-api/models/organization_saml_auth_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/organization_team.rb +1 -1
- data/lib/cloudsmith-api/models/organization_team_invite.rb +1 -1
- data/lib/cloudsmith-api/models/organization_team_members.rb +1 -1
- data/lib/cloudsmith-api/models/organization_team_request.rb +1 -1
- data/lib/cloudsmith-api/models/organization_team_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/organization_team_service_member.rb +1 -1
- data/lib/cloudsmith-api/models/organization_usage.rb +1 -1
- data/lib/cloudsmith-api/models/organization_usage_update.rb +1 -1
- data/lib/cloudsmith-api/models/organization_usage_update_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/p2_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/p2_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/package.rb +1 -1
- data/lib/cloudsmith-api/models/package_bulk_action.rb +1 -1
- data/lib/cloudsmith-api/models/package_bulk_action_response.rb +1 -1
- data/lib/cloudsmith-api/models/package_copy.rb +1 -1
- data/lib/cloudsmith-api/models/package_copy_request.rb +1 -1
- data/lib/cloudsmith-api/models/package_deny_policy.rb +1 -1
- data/lib/cloudsmith-api/models/package_deny_policy_request.rb +1 -1
- data/lib/cloudsmith-api/models/package_deny_policy_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/package_dependencies.rb +1 -1
- data/lib/cloudsmith-api/models/package_dependency.rb +1 -1
- data/lib/cloudsmith-api/models/package_detail.rb +1 -1
- data/lib/cloudsmith-api/models/package_file.rb +1 -1
- data/lib/cloudsmith-api/models/package_file_parts_upload.rb +1 -1
- data/lib/cloudsmith-api/models/package_file_upload.rb +1 -1
- data/lib/cloudsmith-api/models/package_file_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/package_group.rb +1 -1
- data/lib/cloudsmith-api/models/package_license.rb +1 -1
- data/lib/cloudsmith-api/models/package_license_policy_evaluation_request.rb +1 -1
- data/lib/cloudsmith-api/models/package_license_policy_evaluation_request_request.rb +1 -1
- data/lib/cloudsmith-api/models/package_license_policy_violation_log.rb +1 -1
- data/lib/cloudsmith-api/models/package_license_policy_violation_log_cursor_page.rb +1 -1
- data/lib/cloudsmith-api/models/package_license_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/package_move.rb +1 -1
- data/lib/cloudsmith-api/models/package_move_request.rb +1 -1
- data/lib/cloudsmith-api/models/package_quarantine.rb +1 -1
- data/lib/cloudsmith-api/models/package_quarantine_request.rb +1 -1
- data/lib/cloudsmith-api/models/package_recycle_bin.rb +1 -1
- data/lib/cloudsmith-api/models/package_resync.rb +1 -1
- data/lib/cloudsmith-api/models/package_status.rb +1 -1
- data/lib/cloudsmith-api/models/package_tag.rb +1 -1
- data/lib/cloudsmith-api/models/package_tag_request.rb +1 -1
- data/lib/cloudsmith-api/models/package_usage_metrics.rb +1 -1
- data/lib/cloudsmith-api/models/package_version_badge.rb +1 -1
- data/lib/cloudsmith-api/models/package_vulnerability.rb +1 -1
- data/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request.rb +1 -1
- data/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request_request.rb +1 -1
- data/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log.rb +1 -1
- data/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log_cursor_page.rb +1 -1
- data/lib/cloudsmith-api/models/provider_settings.rb +1 -1
- data/lib/cloudsmith-api/models/provider_settings_write.rb +1 -1
- data/lib/cloudsmith-api/models/provider_settings_write_request.rb +1 -1
- data/lib/cloudsmith-api/models/provider_settings_write_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/python_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/python_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/python_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/python_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/python_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/quota.rb +1 -1
- data/lib/cloudsmith-api/models/quota_history.rb +1 -1
- data/lib/cloudsmith-api/models/rate_check.rb +1 -1
- data/lib/cloudsmith-api/models/raw_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/raw_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/recycle_bin_package.rb +1 -1
- data/lib/cloudsmith-api/models/repository.rb +1 -1
- data/lib/cloudsmith-api/models/repository_audit_log.rb +1 -1
- data/lib/cloudsmith-api/models/repository_create.rb +1 -1
- data/lib/cloudsmith-api/models/repository_create_request.rb +1 -1
- data/lib/cloudsmith-api/models/repository_ecdsa_key.rb +1 -1
- data/lib/cloudsmith-api/models/repository_ecdsa_key_create.rb +1 -1
- data/lib/cloudsmith-api/models/repository_ed25519_key.rb +1 -1
- data/lib/cloudsmith-api/models/repository_ed25519_key_create.rb +1 -1
- data/lib/cloudsmith-api/models/repository_geo_ip_cidr.rb +1 -1
- data/lib/cloudsmith-api/models/repository_geo_ip_country_code.rb +1 -1
- data/lib/cloudsmith-api/models/repository_geo_ip_rules.rb +1 -1
- data/lib/cloudsmith-api/models/repository_geo_ip_rules_request.rb +1 -1
- data/lib/cloudsmith-api/models/repository_geo_ip_rules_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/repository_geo_ip_status.rb +1 -1
- data/lib/cloudsmith-api/models/repository_geo_ip_test_address.rb +1 -1
- data/lib/cloudsmith-api/models/repository_geo_ip_test_address_response.rb +1 -1
- data/lib/cloudsmith-api/models/repository_geo_ip_test_address_response_dict.rb +1 -1
- data/lib/cloudsmith-api/models/repository_gpg_key.rb +1 -1
- data/lib/cloudsmith-api/models/repository_gpg_key_create.rb +1 -1
- data/lib/cloudsmith-api/models/repository_privilege_dict.rb +1 -1
- data/lib/cloudsmith-api/models/repository_privilege_input.rb +1 -1
- data/lib/cloudsmith-api/models/repository_privilege_input_request.rb +1 -1
- data/lib/cloudsmith-api/models/repository_privilege_input_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/repository_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/repository_retention_rules.rb +1 -1
- data/lib/cloudsmith-api/models/repository_retention_rules_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/repository_rsa_key.rb +1 -1
- data/lib/cloudsmith-api/models/repository_rsa_key_create.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token_action.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token_private_broadcasts.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token_private_broadcasts_request.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token_refresh_request.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token_request.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token_sync.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token_sync_request.rb +1 -1
- data/lib/cloudsmith-api/models/repository_transfer_region.rb +1 -1
- data/lib/cloudsmith-api/models/repository_transfer_region_request.rb +1 -1
- data/lib/cloudsmith-api/models/repository_webhook.rb +1 -1
- data/lib/cloudsmith-api/models/repository_webhook_request.rb +1 -1
- data/lib/cloudsmith-api/models/repository_webhook_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/repository_x509_ecdsa_certificate.rb +1 -1
- data/lib/cloudsmith-api/models/repository_x509_rsa_certificate.rb +1 -1
- data/lib/cloudsmith-api/models/resources_rate_check.rb +1 -1
- data/lib/cloudsmith-api/models/respository_geo_ip_enable_disable.rb +1 -1
- data/lib/cloudsmith-api/models/respository_geo_ip_enable_disable_request.rb +1 -1
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/rpm_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/rpm_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/rpm_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/rpm_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/ruby_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/ruby_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/ruby_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/ruby_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/service.rb +2 -2
- data/lib/cloudsmith-api/models/service_request.rb +1 -1
- data/lib/cloudsmith-api/models/service_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/service_teams.rb +1 -1
- data/lib/cloudsmith-api/models/skills_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/skills_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/skills_upstream.rb +532 -0
- data/lib/cloudsmith-api/models/skills_upstream_request.rb +401 -0
- data/lib/cloudsmith-api/models/skills_upstream_request_patch.rb +391 -0
- data/lib/cloudsmith-api/models/skills_upstream_selection.rb +220 -0
- data/lib/cloudsmith-api/models/status_basic.rb +1 -1
- data/lib/cloudsmith-api/models/storage_allocated_limit.rb +1 -1
- data/lib/cloudsmith-api/models/storage_allocated_limit_raw.rb +1 -1
- data/lib/cloudsmith-api/models/storage_region.rb +1 -1
- data/lib/cloudsmith-api/models/storage_usage.rb +1 -1
- data/lib/cloudsmith-api/models/storage_usage_raw.rb +1 -1
- data/lib/cloudsmith-api/models/swift_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/swift_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/swift_upstream.rb +1 -1
- data/lib/cloudsmith-api/models/swift_upstream_request.rb +1 -1
- data/lib/cloudsmith-api/models/swift_upstream_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/tags.rb +1 -1
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/terraform_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/usage.rb +1 -1
- data/lib/cloudsmith-api/models/usage_fieldset.rb +1 -1
- data/lib/cloudsmith-api/models/usage_limits.rb +1 -1
- data/lib/cloudsmith-api/models/usage_limits_raw.rb +1 -1
- data/lib/cloudsmith-api/models/usage_raw.rb +1 -1
- data/lib/cloudsmith-api/models/user_auth_token.rb +1 -1
- data/lib/cloudsmith-api/models/user_auth_token_request.rb +1 -1
- data/lib/cloudsmith-api/models/user_authentication_token.rb +1 -1
- data/lib/cloudsmith-api/models/user_brief.rb +1 -1
- data/lib/cloudsmith-api/models/user_profile.rb +1 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/vsx_package_upload.rb +1 -1
- data/lib/cloudsmith-api/models/vsx_package_upload_request.rb +1 -1
- data/lib/cloudsmith-api/models/vulnerability.rb +1 -1
- data/lib/cloudsmith-api/models/vulnerability_scan.rb +1 -1
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +1 -1
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +1 -1
- data/lib/cloudsmith-api/models/vulnerability_scan_version.rb +1 -1
- data/lib/cloudsmith-api/models/web_osv_severity_counts.rb +1 -1
- data/lib/cloudsmith-api/models/webhook_template.rb +1 -1
- data/lib/cloudsmith-api/version.rb +2 -2
- data/lib/cloudsmith-api.rb +5 -1
- data/spec/api/audit_log_api_spec.rb +1 -1
- data/spec/api/badges_api_spec.rb +1 -1
- data/spec/api/broadcasts_api_spec.rb +1 -1
- data/spec/api/bulk_action_api_spec.rb +1 -1
- data/spec/api/distros_api_spec.rb +1 -1
- data/spec/api/entitlements_api_spec.rb +1 -1
- data/spec/api/files_api_spec.rb +1 -1
- data/spec/api/formats_api_spec.rb +1 -1
- data/spec/api/metrics_api_spec.rb +1 -1
- data/spec/api/namespaces_api_spec.rb +1 -1
- data/spec/api/openid_api_spec.rb +1 -1
- data/spec/api/orgs_api_spec.rb +1 -1
- data/spec/api/packages_api_spec.rb +1 -1
- data/spec/api/quota_api_spec.rb +1 -1
- data/spec/api/rates_api_spec.rb +1 -1
- data/spec/api/recycle_bin_api_spec.rb +1 -1
- data/spec/api/repos_api_spec.rb +88 -1
- data/spec/api/status_api_spec.rb +1 -1
- data/spec/api/storage_regions_api_spec.rb +1 -1
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +1 -1
- data/spec/api/vulnerabilities_api_spec.rb +1 -1
- data/spec/api/webhooks_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/allocated_limit_raw_spec.rb +1 -1
- data/spec/models/allocated_limit_spec.rb +1 -1
- data/spec/models/alpine_package_upload_request_spec.rb +1 -1
- data/spec/models/alpine_package_upload_spec.rb +1 -1
- data/spec/models/alpine_upstream_request_patch_spec.rb +1 -1
- data/spec/models/alpine_upstream_request_spec.rb +1 -1
- data/spec/models/alpine_upstream_spec.rb +1 -1
- data/spec/models/architecture_spec.rb +1 -1
- data/spec/models/broadcast_token_input_spec.rb +1 -1
- data/spec/models/broadcast_token_spec.rb +1 -1
- data/spec/models/cargo_package_upload_request_spec.rb +1 -1
- data/spec/models/cargo_package_upload_spec.rb +1 -1
- data/spec/models/cargo_upstream_request_patch_spec.rb +1 -1
- data/spec/models/cargo_upstream_request_spec.rb +1 -1
- data/spec/models/cargo_upstream_spec.rb +1 -1
- data/spec/models/cocoapods_package_upload_request_spec.rb +1 -1
- data/spec/models/cocoapods_package_upload_spec.rb +1 -1
- data/spec/models/common_bandwidth_metrics_spec.rb +1 -1
- data/spec/models/common_bandwidth_metrics_value_spec.rb +1 -1
- data/spec/models/common_downloads_metrics_spec.rb +1 -1
- data/spec/models/common_downloads_metrics_value_spec.rb +1 -1
- data/spec/models/common_metrics_spec.rb +1 -1
- data/spec/models/composer_package_upload_request_spec.rb +1 -1
- data/spec/models/composer_package_upload_spec.rb +1 -1
- data/spec/models/composer_upstream_request_patch_spec.rb +1 -1
- data/spec/models/composer_upstream_request_spec.rb +1 -1
- data/spec/models/composer_upstream_spec.rb +1 -1
- data/spec/models/conan_package_upload_request_spec.rb +1 -1
- data/spec/models/conan_package_upload_spec.rb +1 -1
- data/spec/models/conda_package_upload_request_spec.rb +1 -1
- data/spec/models/conda_package_upload_spec.rb +1 -1
- data/spec/models/conda_upstream_request_patch_spec.rb +1 -1
- data/spec/models/conda_upstream_request_spec.rb +1 -1
- data/spec/models/conda_upstream_spec.rb +1 -1
- data/spec/models/connected_repository_request_patch_spec.rb +1 -1
- data/spec/models/connected_repository_request_spec.rb +1 -1
- data/spec/models/connected_repository_spec.rb +1 -1
- data/spec/models/connected_repository_target_summary_spec.rb +1 -1
- data/spec/models/connected_repository_upstream_spec.rb +1 -1
- data/spec/models/cran_package_upload_request_spec.rb +1 -1
- data/spec/models/cran_package_upload_spec.rb +1 -1
- data/spec/models/cran_upstream_request_patch_spec.rb +1 -1
- data/spec/models/cran_upstream_request_spec.rb +1 -1
- data/spec/models/cran_upstream_spec.rb +1 -1
- data/spec/models/dart_package_upload_request_spec.rb +1 -1
- data/spec/models/dart_package_upload_spec.rb +1 -1
- data/spec/models/dart_upstream_request_patch_spec.rb +1 -1
- data/spec/models/dart_upstream_request_spec.rb +1 -1
- data/spec/models/dart_upstream_spec.rb +1 -1
- data/spec/models/deb_package_upload_request_spec.rb +1 -1
- data/spec/models/deb_package_upload_spec.rb +1 -1
- data/spec/models/deb_upstream_request_patch_spec.rb +1 -1
- data/spec/models/deb_upstream_request_spec.rb +1 -1
- data/spec/models/deb_upstream_spec.rb +1 -1
- data/spec/models/distribution_full_spec.rb +1 -1
- data/spec/models/distribution_spec.rb +1 -1
- data/spec/models/distribution_version_spec.rb +1 -1
- data/spec/models/docker_package_upload_request_spec.rb +1 -1
- data/spec/models/docker_package_upload_spec.rb +1 -1
- data/spec/models/docker_upstream_request_patch_spec.rb +1 -1
- data/spec/models/docker_upstream_request_spec.rb +1 -1
- data/spec/models/docker_upstream_spec.rb +1 -1
- data/spec/models/dynamic_mapping_spec.rb +1 -1
- data/spec/models/entitlement_usage_metrics_spec.rb +1 -1
- data/spec/models/error_detail_spec.rb +1 -1
- data/spec/models/eula_spec.rb +1 -1
- data/spec/models/format_spec.rb +1 -1
- data/spec/models/format_support_spec.rb +1 -1
- data/spec/models/format_support_upstream_spec.rb +1 -1
- data/spec/models/generic_package_upload_request_spec.rb +1 -1
- data/spec/models/generic_package_upload_spec.rb +1 -1
- data/spec/models/generic_upstream_request_patch_spec.rb +1 -1
- data/spec/models/generic_upstream_request_spec.rb +1 -1
- data/spec/models/generic_upstream_spec.rb +1 -1
- data/spec/models/geo_ip_location_spec.rb +1 -1
- data/spec/models/go_package_upload_request_spec.rb +1 -1
- data/spec/models/go_package_upload_spec.rb +1 -1
- data/spec/models/go_upstream_request_patch_spec.rb +1 -1
- data/spec/models/go_upstream_request_spec.rb +1 -1
- data/spec/models/go_upstream_spec.rb +1 -1
- data/spec/models/helm_package_upload_request_spec.rb +1 -1
- data/spec/models/helm_package_upload_spec.rb +1 -1
- data/spec/models/helm_upstream_request_patch_spec.rb +1 -1
- data/spec/models/helm_upstream_request_spec.rb +1 -1
- data/spec/models/helm_upstream_spec.rb +1 -1
- data/spec/models/hex_package_upload_request_spec.rb +1 -1
- data/spec/models/hex_package_upload_spec.rb +1 -1
- data/spec/models/hex_upstream_request_patch_spec.rb +1 -1
- data/spec/models/hex_upstream_request_spec.rb +1 -1
- data/spec/models/hex_upstream_spec.rb +1 -1
- data/spec/models/history_fieldset_raw_spec.rb +1 -1
- data/spec/models/history_fieldset_spec.rb +1 -1
- data/spec/models/history_spec.rb +1 -1
- data/spec/models/huggingface_package_upload_request_spec.rb +1 -1
- data/spec/models/huggingface_package_upload_spec.rb +1 -1
- data/spec/models/huggingface_upstream_request_patch_spec.rb +1 -1
- data/spec/models/huggingface_upstream_request_spec.rb +1 -1
- data/spec/models/huggingface_upstream_spec.rb +1 -1
- data/spec/models/inline_response_200_1_spec.rb +1 -1
- data/spec/models/inline_response_200_2_spec.rb +1 -1
- data/spec/models/inline_response_200_3_spec.rb +1 -1
- data/spec/models/inline_response_200_4_spec.rb +1 -1
- data/spec/models/inline_response_200_spec.rb +1 -1
- data/spec/models/luarocks_package_upload_request_spec.rb +1 -1
- data/spec/models/luarocks_package_upload_spec.rb +1 -1
- data/spec/models/maven_package_upload_request_spec.rb +1 -1
- data/spec/models/maven_package_upload_spec.rb +1 -1
- data/spec/models/maven_upstream_request_patch_spec.rb +1 -1
- data/spec/models/maven_upstream_request_spec.rb +1 -1
- data/spec/models/maven_upstream_spec.rb +1 -1
- data/spec/models/mcp_package_upload_request_spec.rb +1 -1
- data/spec/models/mcp_package_upload_spec.rb +1 -1
- data/spec/models/member_teams_spec.rb +1 -1
- data/spec/models/namespace_audit_log_spec.rb +1 -1
- data/spec/models/namespace_spec.rb +1 -1
- data/spec/models/nested_license_policy_spec.rb +1 -1
- data/spec/models/nested_vulnerability_policy_spec.rb +1 -1
- data/spec/models/nested_vulnerability_scan_results_spec.rb +1 -1
- data/spec/models/nix_package_upload_request_spec.rb +1 -1
- data/spec/models/nix_package_upload_spec.rb +1 -1
- data/spec/models/nix_upstream_request_patch_spec.rb +1 -1
- data/spec/models/nix_upstream_request_spec.rb +1 -1
- data/spec/models/nix_upstream_spec.rb +1 -1
- data/spec/models/npm_package_upload_request_spec.rb +1 -1
- data/spec/models/npm_package_upload_spec.rb +1 -1
- data/spec/models/npm_upstream_request_patch_spec.rb +1 -1
- data/spec/models/npm_upstream_request_spec.rb +1 -1
- data/spec/models/npm_upstream_spec.rb +1 -1
- data/spec/models/nuget_package_upload_request_spec.rb +1 -1
- data/spec/models/nuget_package_upload_spec.rb +1 -1
- data/spec/models/nuget_upstream_request_patch_spec.rb +1 -1
- data/spec/models/nuget_upstream_request_spec.rb +1 -1
- data/spec/models/nuget_upstream_spec.rb +1 -1
- data/spec/models/oidc_1_spec.rb +1 -1
- data/spec/models/oidc_request_spec.rb +1 -1
- data/spec/models/oidc_spec.rb +1 -1
- data/spec/models/organization_api_key_rule_request_patch_spec.rb +1 -1
- data/spec/models/organization_api_key_rule_request_spec.rb +1 -1
- data/spec/models/organization_api_key_rule_spec.rb +1 -1
- data/spec/models/organization_custom_domain_nested_repo_spec.rb +1 -1
- data/spec/models/organization_custom_domains_spec.rb +1 -1
- data/spec/models/organization_group_sync_request_spec.rb +1 -1
- data/spec/models/organization_group_sync_spec.rb +1 -1
- data/spec/models/organization_group_sync_status_spec.rb +1 -1
- data/spec/models/organization_invite_extend_spec.rb +1 -1
- data/spec/models/organization_invite_request_spec.rb +1 -1
- data/spec/models/organization_invite_spec.rb +1 -1
- data/spec/models/organization_invite_update_request_patch_spec.rb +1 -1
- data/spec/models/organization_invite_update_spec.rb +1 -1
- data/spec/models/organization_membership_request_patch_spec.rb +1 -1
- data/spec/models/organization_membership_role_update_request_patch_spec.rb +1 -1
- data/spec/models/organization_membership_role_update_spec.rb +1 -1
- data/spec/models/organization_membership_spec.rb +1 -1
- data/spec/models/organization_membership_visibility_update_request_patch_spec.rb +1 -1
- data/spec/models/organization_membership_visibility_update_spec.rb +1 -1
- data/spec/models/organization_package_license_policy_request_patch_spec.rb +1 -1
- data/spec/models/organization_package_license_policy_request_spec.rb +1 -1
- data/spec/models/organization_package_license_policy_spec.rb +1 -1
- data/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb +1 -1
- data/spec/models/organization_package_vulnerability_policy_request_spec.rb +1 -1
- data/spec/models/organization_package_vulnerability_policy_spec.rb +1 -1
- data/spec/models/organization_saml_auth_request_patch_spec.rb +1 -1
- data/spec/models/organization_saml_auth_spec.rb +1 -1
- data/spec/models/organization_spec.rb +1 -1
- data/spec/models/organization_team_invite_spec.rb +1 -1
- data/spec/models/organization_team_members_spec.rb +1 -1
- data/spec/models/organization_team_request_patch_spec.rb +1 -1
- data/spec/models/organization_team_request_spec.rb +1 -1
- data/spec/models/organization_team_service_member_spec.rb +1 -1
- data/spec/models/organization_team_spec.rb +1 -1
- data/spec/models/organization_usage_spec.rb +1 -1
- data/spec/models/organization_usage_update_request_patch_spec.rb +1 -1
- data/spec/models/organization_usage_update_spec.rb +1 -1
- data/spec/models/p2_package_upload_request_spec.rb +1 -1
- data/spec/models/p2_package_upload_spec.rb +1 -1
- data/spec/models/package_bulk_action_response_spec.rb +1 -1
- data/spec/models/package_bulk_action_spec.rb +1 -1
- data/spec/models/package_copy_request_spec.rb +1 -1
- data/spec/models/package_copy_spec.rb +1 -1
- data/spec/models/package_deny_policy_request_patch_spec.rb +1 -1
- data/spec/models/package_deny_policy_request_spec.rb +1 -1
- data/spec/models/package_deny_policy_spec.rb +1 -1
- data/spec/models/package_dependencies_spec.rb +1 -1
- data/spec/models/package_dependency_spec.rb +1 -1
- data/spec/models/package_detail_spec.rb +1 -1
- data/spec/models/package_file_parts_upload_spec.rb +1 -1
- data/spec/models/package_file_spec.rb +1 -1
- data/spec/models/package_file_upload_request_spec.rb +1 -1
- data/spec/models/package_file_upload_spec.rb +1 -1
- data/spec/models/package_group_spec.rb +1 -1
- data/spec/models/package_license_policy_evaluation_request_request_spec.rb +1 -1
- data/spec/models/package_license_policy_evaluation_request_spec.rb +1 -1
- data/spec/models/package_license_policy_violation_log_cursor_page_spec.rb +1 -1
- data/spec/models/package_license_policy_violation_log_spec.rb +1 -1
- data/spec/models/package_license_request_patch_spec.rb +1 -1
- data/spec/models/package_license_spec.rb +1 -1
- data/spec/models/package_move_request_spec.rb +1 -1
- data/spec/models/package_move_spec.rb +1 -1
- data/spec/models/package_quarantine_request_spec.rb +1 -1
- data/spec/models/package_quarantine_spec.rb +1 -1
- data/spec/models/package_recycle_bin_spec.rb +1 -1
- data/spec/models/package_resync_spec.rb +1 -1
- data/spec/models/package_spec.rb +1 -1
- data/spec/models/package_status_spec.rb +1 -1
- data/spec/models/package_tag_request_spec.rb +1 -1
- data/spec/models/package_tag_spec.rb +1 -1
- data/spec/models/package_usage_metrics_spec.rb +1 -1
- data/spec/models/package_version_badge_spec.rb +1 -1
- data/spec/models/package_vulnerability_policy_evaluation_request_request_spec.rb +1 -1
- data/spec/models/package_vulnerability_policy_evaluation_request_spec.rb +1 -1
- data/spec/models/package_vulnerability_policy_violation_log_cursor_page_spec.rb +1 -1
- data/spec/models/package_vulnerability_policy_violation_log_spec.rb +1 -1
- data/spec/models/package_vulnerability_spec.rb +1 -1
- data/spec/models/provider_settings_spec.rb +1 -1
- data/spec/models/provider_settings_write_request_patch_spec.rb +1 -1
- data/spec/models/provider_settings_write_request_spec.rb +1 -1
- data/spec/models/provider_settings_write_spec.rb +1 -1
- data/spec/models/python_package_upload_request_spec.rb +1 -1
- data/spec/models/python_package_upload_spec.rb +1 -1
- data/spec/models/python_upstream_request_patch_spec.rb +1 -1
- data/spec/models/python_upstream_request_spec.rb +1 -1
- data/spec/models/python_upstream_spec.rb +1 -1
- data/spec/models/quota_history_spec.rb +1 -1
- data/spec/models/quota_spec.rb +1 -1
- data/spec/models/rate_check_spec.rb +1 -1
- data/spec/models/raw_package_upload_request_spec.rb +1 -1
- data/spec/models/raw_package_upload_spec.rb +1 -1
- data/spec/models/recycle_bin_package_spec.rb +1 -1
- data/spec/models/repository_audit_log_spec.rb +1 -1
- data/spec/models/repository_create_request_spec.rb +1 -1
- data/spec/models/repository_create_spec.rb +1 -1
- data/spec/models/repository_ecdsa_key_create_spec.rb +1 -1
- data/spec/models/repository_ecdsa_key_spec.rb +1 -1
- data/spec/models/repository_ed25519_key_create_spec.rb +1 -1
- data/spec/models/repository_ed25519_key_spec.rb +1 -1
- data/spec/models/repository_geo_ip_cidr_spec.rb +1 -1
- data/spec/models/repository_geo_ip_country_code_spec.rb +1 -1
- data/spec/models/repository_geo_ip_rules_request_patch_spec.rb +1 -1
- data/spec/models/repository_geo_ip_rules_request_spec.rb +1 -1
- data/spec/models/repository_geo_ip_rules_spec.rb +1 -1
- data/spec/models/repository_geo_ip_status_spec.rb +1 -1
- data/spec/models/repository_geo_ip_test_address_response_dict_spec.rb +1 -1
- data/spec/models/repository_geo_ip_test_address_response_spec.rb +1 -1
- data/spec/models/repository_geo_ip_test_address_spec.rb +1 -1
- data/spec/models/repository_gpg_key_create_spec.rb +1 -1
- data/spec/models/repository_gpg_key_spec.rb +1 -1
- data/spec/models/repository_privilege_dict_spec.rb +1 -1
- data/spec/models/repository_privilege_input_request_patch_spec.rb +1 -1
- data/spec/models/repository_privilege_input_request_spec.rb +1 -1
- data/spec/models/repository_privilege_input_spec.rb +1 -1
- data/spec/models/repository_request_patch_spec.rb +1 -1
- data/spec/models/repository_retention_rules_request_patch_spec.rb +1 -1
- data/spec/models/repository_retention_rules_spec.rb +1 -1
- data/spec/models/repository_rsa_key_create_spec.rb +1 -1
- data/spec/models/repository_rsa_key_spec.rb +1 -1
- data/spec/models/repository_spec.rb +1 -1
- data/spec/models/repository_token_action_spec.rb +1 -1
- data/spec/models/repository_token_private_broadcasts_request_spec.rb +1 -1
- data/spec/models/repository_token_private_broadcasts_spec.rb +1 -1
- data/spec/models/repository_token_refresh_request_spec.rb +1 -1
- data/spec/models/repository_token_refresh_spec.rb +1 -1
- data/spec/models/repository_token_request_patch_spec.rb +1 -1
- data/spec/models/repository_token_request_spec.rb +1 -1
- data/spec/models/repository_token_spec.rb +1 -1
- data/spec/models/repository_token_sync_request_spec.rb +1 -1
- data/spec/models/repository_token_sync_spec.rb +1 -1
- data/spec/models/repository_transfer_region_request_spec.rb +1 -1
- data/spec/models/repository_transfer_region_spec.rb +1 -1
- data/spec/models/repository_webhook_request_patch_spec.rb +1 -1
- data/spec/models/repository_webhook_request_spec.rb +1 -1
- data/spec/models/repository_webhook_spec.rb +1 -1
- data/spec/models/repository_x509_ecdsa_certificate_spec.rb +1 -1
- data/spec/models/repository_x509_rsa_certificate_spec.rb +1 -1
- data/spec/models/resources_rate_check_spec.rb +1 -1
- data/spec/models/respository_geo_ip_enable_disable_request_spec.rb +1 -1
- data/spec/models/respository_geo_ip_enable_disable_spec.rb +1 -1
- data/spec/models/rpm_package_upload_request_spec.rb +1 -1
- data/spec/models/rpm_package_upload_spec.rb +1 -1
- data/spec/models/rpm_upstream_request_patch_spec.rb +1 -1
- data/spec/models/rpm_upstream_request_spec.rb +1 -1
- data/spec/models/rpm_upstream_spec.rb +1 -1
- data/spec/models/ruby_package_upload_request_spec.rb +1 -1
- data/spec/models/ruby_package_upload_spec.rb +1 -1
- data/spec/models/ruby_upstream_request_patch_spec.rb +1 -1
- data/spec/models/ruby_upstream_request_spec.rb +1 -1
- data/spec/models/ruby_upstream_spec.rb +1 -1
- data/spec/models/service_request_patch_spec.rb +1 -1
- data/spec/models/service_request_spec.rb +1 -1
- data/spec/models/service_spec.rb +1 -1
- data/spec/models/service_teams_spec.rb +1 -1
- data/spec/models/skills_package_upload_request_spec.rb +1 -1
- data/spec/models/skills_package_upload_spec.rb +1 -1
- data/spec/models/skills_upstream_request_patch_spec.rb +137 -0
- data/spec/models/skills_upstream_request_spec.rb +137 -0
- data/spec/models/skills_upstream_selection_spec.rb +53 -0
- data/spec/models/skills_upstream_spec.rb +213 -0
- data/spec/models/status_basic_spec.rb +1 -1
- data/spec/models/storage_allocated_limit_raw_spec.rb +1 -1
- data/spec/models/storage_allocated_limit_spec.rb +1 -1
- data/spec/models/storage_region_spec.rb +1 -1
- data/spec/models/storage_usage_raw_spec.rb +1 -1
- data/spec/models/storage_usage_spec.rb +1 -1
- data/spec/models/swift_package_upload_request_spec.rb +1 -1
- data/spec/models/swift_package_upload_spec.rb +1 -1
- data/spec/models/swift_upstream_request_patch_spec.rb +1 -1
- data/spec/models/swift_upstream_request_spec.rb +1 -1
- data/spec/models/swift_upstream_spec.rb +1 -1
- data/spec/models/tags_spec.rb +1 -1
- data/spec/models/terraform_package_upload_request_spec.rb +1 -1
- data/spec/models/terraform_package_upload_spec.rb +1 -1
- data/spec/models/usage_fieldset_spec.rb +1 -1
- data/spec/models/usage_limits_raw_spec.rb +1 -1
- data/spec/models/usage_limits_spec.rb +1 -1
- data/spec/models/usage_raw_spec.rb +1 -1
- data/spec/models/usage_spec.rb +1 -1
- data/spec/models/user_auth_token_request_spec.rb +1 -1
- data/spec/models/user_auth_token_spec.rb +1 -1
- data/spec/models/user_authentication_token_spec.rb +1 -1
- data/spec/models/user_brief_spec.rb +1 -1
- data/spec/models/user_profile_spec.rb +1 -1
- data/spec/models/vagrant_package_upload_request_spec.rb +1 -1
- data/spec/models/vagrant_package_upload_spec.rb +1 -1
- data/spec/models/vsx_package_upload_request_spec.rb +1 -1
- data/spec/models/vsx_package_upload_spec.rb +1 -1
- data/spec/models/vulnerability_scan_results_list_spec.rb +1 -1
- data/spec/models/vulnerability_scan_results_spec.rb +1 -1
- data/spec/models/vulnerability_scan_spec.rb +1 -1
- data/spec/models/vulnerability_scan_version_spec.rb +1 -1
- data/spec/models/vulnerability_spec.rb +1 -1
- data/spec/models/web_osv_severity_counts_spec.rb +1 -1
- data/spec/models/webhook_template_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/cache/rake-13.4.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.3/mkmf.log +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.3/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/History.rdoc +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/README.rdoc +19 -20
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/command_line_usage.rdoc +17 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/rakefile.rdoc +14 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/application.rb +50 -27
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/backtrace.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/clean.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/cpu_counter.rb +20 -5
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/dsl_definition.rb +4 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/ext/string.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/file_creation_task.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/file_list.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/file_task.rb +10 -6
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/file_utils.rb +15 -15
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/file_utils_ext.rb +8 -18
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.4.2/lib/rake/options.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/packagetask.rb +19 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/phony.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.4.2/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/task.rb +24 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/task_arguments.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/task_manager.rb +27 -18
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/tasklib.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/testtask.rb +14 -46
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/thread_history_display.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/thread_pool.rb +3 -9
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.4.2/lib/rake/win32.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake.rb +28 -30
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.4.2/rake.gemspec +102 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{rake-12.3.3.gemspec → rake-13.4.2.gemspec} +6 -23
- metadata +81 -74
- data/vendor/bundle/ruby/2.6.0/cache/rake-12.3.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +0 -43
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/Gemfile +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/Rakefile +0 -41
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/azure-pipelines.yml +0 -11
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/bundle +0 -105
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/console +0 -7
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rake +0 -29
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rdoc +0 -29
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rubocop +0 -29
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/setup +0 -6
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +0 -27
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/win32.rb +0 -51
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/rake.gemspec +0 -42
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/example/Rakefile1 +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/example/Rakefile2 +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/example/a.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/example/b.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/example/main.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/glossary.rdoc +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/jamis.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/proto_rake.rdoc +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/rake.1 +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/doc/rational.rdoc +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/exe/rake +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/cloneable.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/default_loader.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/early_time.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/ext/core.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/invocation_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/invocation_exception_mixin.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/late_time.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/linked_list.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/loaders/makefile.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/multi_task.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/name_space.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/private_reader.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/promise.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/pseudo_status.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/rake_module.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/rule_recursion_overflow_error.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/scope.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/task_argument_error.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rake-12.3.3 → rake-13.4.2}/lib/rake/trace_output.rb +0 -0
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Cloudsmith API (v1)
|
|
3
|
+
|
|
4
|
+
#The API to the Cloudsmith Service
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
Contact: support@cloudsmith.io
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.52
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
|
|
15
|
+
module CloudsmithApi
|
|
16
|
+
class SkillsUpstreamRequest
|
|
17
|
+
# The authentication mode to use when accessing this upstream.
|
|
18
|
+
attr_accessor :auth_mode
|
|
19
|
+
|
|
20
|
+
# Secret to provide with requests to upstream.
|
|
21
|
+
attr_accessor :auth_secret
|
|
22
|
+
|
|
23
|
+
# Username to provide with requests to upstream.
|
|
24
|
+
attr_accessor :auth_username
|
|
25
|
+
|
|
26
|
+
# The package types to serve from the upstream: skills, plugins, or both.
|
|
27
|
+
attr_accessor :contents
|
|
28
|
+
|
|
29
|
+
# The key for extra header #1 to send to upstream.
|
|
30
|
+
attr_accessor :extra_header_1
|
|
31
|
+
|
|
32
|
+
# The key for extra header #2 to send to upstream.
|
|
33
|
+
attr_accessor :extra_header_2
|
|
34
|
+
|
|
35
|
+
# The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.
|
|
36
|
+
attr_accessor :extra_value_1
|
|
37
|
+
|
|
38
|
+
# The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.
|
|
39
|
+
attr_accessor :extra_value_2
|
|
40
|
+
|
|
41
|
+
# Whether or not this upstream is active and ready for requests.
|
|
42
|
+
attr_accessor :is_active
|
|
43
|
+
|
|
44
|
+
# The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode.
|
|
45
|
+
attr_accessor :mode
|
|
46
|
+
|
|
47
|
+
# A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream.
|
|
48
|
+
attr_accessor :name
|
|
49
|
+
|
|
50
|
+
# Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date.
|
|
51
|
+
attr_accessor :priority
|
|
52
|
+
|
|
53
|
+
# Exact ClawHub releases to cache.
|
|
54
|
+
attr_accessor :selections
|
|
55
|
+
|
|
56
|
+
# The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository.
|
|
57
|
+
attr_accessor :upstream_url
|
|
58
|
+
|
|
59
|
+
# If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams.
|
|
60
|
+
attr_accessor :verify_ssl
|
|
61
|
+
|
|
62
|
+
class EnumAttributeValidator
|
|
63
|
+
attr_reader :datatype
|
|
64
|
+
attr_reader :allowable_values
|
|
65
|
+
|
|
66
|
+
def initialize(datatype, allowable_values)
|
|
67
|
+
@allowable_values = allowable_values.map do |value|
|
|
68
|
+
case datatype.to_s
|
|
69
|
+
when /Integer/i
|
|
70
|
+
value.to_i
|
|
71
|
+
when /Float/i
|
|
72
|
+
value.to_f
|
|
73
|
+
else
|
|
74
|
+
value
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
def valid?(value)
|
|
80
|
+
!value || allowable_values.include?(value)
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
85
|
+
def self.attribute_map
|
|
86
|
+
{
|
|
87
|
+
:'auth_mode' => :'auth_mode',
|
|
88
|
+
:'auth_secret' => :'auth_secret',
|
|
89
|
+
:'auth_username' => :'auth_username',
|
|
90
|
+
:'contents' => :'contents',
|
|
91
|
+
:'extra_header_1' => :'extra_header_1',
|
|
92
|
+
:'extra_header_2' => :'extra_header_2',
|
|
93
|
+
:'extra_value_1' => :'extra_value_1',
|
|
94
|
+
:'extra_value_2' => :'extra_value_2',
|
|
95
|
+
:'is_active' => :'is_active',
|
|
96
|
+
:'mode' => :'mode',
|
|
97
|
+
:'name' => :'name',
|
|
98
|
+
:'priority' => :'priority',
|
|
99
|
+
:'selections' => :'selections',
|
|
100
|
+
:'upstream_url' => :'upstream_url',
|
|
101
|
+
:'verify_ssl' => :'verify_ssl'
|
|
102
|
+
}
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Attribute type mapping.
|
|
106
|
+
def self.swagger_types
|
|
107
|
+
{
|
|
108
|
+
:'auth_mode' => :'String',
|
|
109
|
+
:'auth_secret' => :'String',
|
|
110
|
+
:'auth_username' => :'String',
|
|
111
|
+
:'contents' => :'String',
|
|
112
|
+
:'extra_header_1' => :'String',
|
|
113
|
+
:'extra_header_2' => :'String',
|
|
114
|
+
:'extra_value_1' => :'String',
|
|
115
|
+
:'extra_value_2' => :'String',
|
|
116
|
+
:'is_active' => :'BOOLEAN',
|
|
117
|
+
:'mode' => :'String',
|
|
118
|
+
:'name' => :'String',
|
|
119
|
+
:'priority' => :'Integer',
|
|
120
|
+
:'selections' => :'Array<SkillsUpstreamSelection>',
|
|
121
|
+
:'upstream_url' => :'String',
|
|
122
|
+
:'verify_ssl' => :'BOOLEAN'
|
|
123
|
+
}
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Initializes the object
|
|
127
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
128
|
+
def initialize(attributes = {})
|
|
129
|
+
return unless attributes.is_a?(Hash)
|
|
130
|
+
|
|
131
|
+
# convert string to symbol for hash key
|
|
132
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
133
|
+
|
|
134
|
+
if attributes.has_key?(:'auth_mode')
|
|
135
|
+
self.auth_mode = attributes[:'auth_mode']
|
|
136
|
+
else
|
|
137
|
+
self.auth_mode = 'None'
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
if attributes.has_key?(:'auth_secret')
|
|
141
|
+
self.auth_secret = attributes[:'auth_secret']
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
if attributes.has_key?(:'auth_username')
|
|
145
|
+
self.auth_username = attributes[:'auth_username']
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
if attributes.has_key?(:'contents')
|
|
149
|
+
self.contents = attributes[:'contents']
|
|
150
|
+
else
|
|
151
|
+
self.contents = 'Skills'
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
if attributes.has_key?(:'extra_header_1')
|
|
155
|
+
self.extra_header_1 = attributes[:'extra_header_1']
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
if attributes.has_key?(:'extra_header_2')
|
|
159
|
+
self.extra_header_2 = attributes[:'extra_header_2']
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
if attributes.has_key?(:'extra_value_1')
|
|
163
|
+
self.extra_value_1 = attributes[:'extra_value_1']
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
if attributes.has_key?(:'extra_value_2')
|
|
167
|
+
self.extra_value_2 = attributes[:'extra_value_2']
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
if attributes.has_key?(:'is_active')
|
|
171
|
+
self.is_active = attributes[:'is_active']
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
if attributes.has_key?(:'mode')
|
|
175
|
+
self.mode = attributes[:'mode']
|
|
176
|
+
else
|
|
177
|
+
self.mode = 'Proxy Only'
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
if attributes.has_key?(:'name')
|
|
181
|
+
self.name = attributes[:'name']
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
if attributes.has_key?(:'priority')
|
|
185
|
+
self.priority = attributes[:'priority']
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
if attributes.has_key?(:'selections')
|
|
189
|
+
if (value = attributes[:'selections']).is_a?(Array)
|
|
190
|
+
self.selections = value
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes.has_key?(:'upstream_url')
|
|
195
|
+
self.upstream_url = attributes[:'upstream_url']
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
if attributes.has_key?(:'verify_ssl')
|
|
199
|
+
self.verify_ssl = attributes[:'verify_ssl']
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
204
|
+
# @return Array for valid properties with the reasons
|
|
205
|
+
def list_invalid_properties
|
|
206
|
+
invalid_properties = Array.new
|
|
207
|
+
if @name.nil?
|
|
208
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
if @upstream_url.nil?
|
|
212
|
+
invalid_properties.push('invalid value for "upstream_url", upstream_url cannot be nil.')
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
invalid_properties
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
# Check to see if the all the properties in the model are valid
|
|
219
|
+
# @return true if the model is valid
|
|
220
|
+
def valid?
|
|
221
|
+
auth_mode_validator = EnumAttributeValidator.new('String', ['None', 'Token'])
|
|
222
|
+
return false unless auth_mode_validator.valid?(@auth_mode)
|
|
223
|
+
contents_validator = EnumAttributeValidator.new('String', ['Skills', 'Plugins', 'Skills and plugins'])
|
|
224
|
+
return false unless contents_validator.valid?(@contents)
|
|
225
|
+
mode_validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy', 'Cache Only'])
|
|
226
|
+
return false unless mode_validator.valid?(@mode)
|
|
227
|
+
return false if @name.nil?
|
|
228
|
+
return false if @upstream_url.nil?
|
|
229
|
+
true
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
233
|
+
# @param [Object] auth_mode Object to be assigned
|
|
234
|
+
def auth_mode=(auth_mode)
|
|
235
|
+
validator = EnumAttributeValidator.new('String', ['None', 'Token'])
|
|
236
|
+
unless validator.valid?(auth_mode)
|
|
237
|
+
fail ArgumentError, 'invalid value for "auth_mode", must be one of #{validator.allowable_values}.'
|
|
238
|
+
end
|
|
239
|
+
@auth_mode = auth_mode
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
243
|
+
# @param [Object] contents Object to be assigned
|
|
244
|
+
def contents=(contents)
|
|
245
|
+
validator = EnumAttributeValidator.new('String', ['Skills', 'Plugins', 'Skills and plugins'])
|
|
246
|
+
unless validator.valid?(contents)
|
|
247
|
+
fail ArgumentError, 'invalid value for "contents", must be one of #{validator.allowable_values}.'
|
|
248
|
+
end
|
|
249
|
+
@contents = contents
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
253
|
+
# @param [Object] mode Object to be assigned
|
|
254
|
+
def mode=(mode)
|
|
255
|
+
validator = EnumAttributeValidator.new('String', ['Proxy Only', 'Cache and Proxy', 'Cache Only'])
|
|
256
|
+
unless validator.valid?(mode)
|
|
257
|
+
fail ArgumentError, 'invalid value for "mode", must be one of #{validator.allowable_values}.'
|
|
258
|
+
end
|
|
259
|
+
@mode = mode
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# Checks equality by comparing each attribute.
|
|
263
|
+
# @param [Object] Object to be compared
|
|
264
|
+
def ==(o)
|
|
265
|
+
return true if self.equal?(o)
|
|
266
|
+
self.class == o.class &&
|
|
267
|
+
auth_mode == o.auth_mode &&
|
|
268
|
+
auth_secret == o.auth_secret &&
|
|
269
|
+
auth_username == o.auth_username &&
|
|
270
|
+
contents == o.contents &&
|
|
271
|
+
extra_header_1 == o.extra_header_1 &&
|
|
272
|
+
extra_header_2 == o.extra_header_2 &&
|
|
273
|
+
extra_value_1 == o.extra_value_1 &&
|
|
274
|
+
extra_value_2 == o.extra_value_2 &&
|
|
275
|
+
is_active == o.is_active &&
|
|
276
|
+
mode == o.mode &&
|
|
277
|
+
name == o.name &&
|
|
278
|
+
priority == o.priority &&
|
|
279
|
+
selections == o.selections &&
|
|
280
|
+
upstream_url == o.upstream_url &&
|
|
281
|
+
verify_ssl == o.verify_ssl
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# @see the `==` method
|
|
285
|
+
# @param [Object] Object to be compared
|
|
286
|
+
def eql?(o)
|
|
287
|
+
self == o
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
# Calculates hash code according to all attributes.
|
|
291
|
+
# @return [Fixnum] Hash code
|
|
292
|
+
def hash
|
|
293
|
+
[auth_mode, auth_secret, auth_username, contents, extra_header_1, extra_header_2, extra_value_1, extra_value_2, is_active, mode, name, priority, selections, upstream_url, verify_ssl].hash
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
# Builds the object from hash
|
|
297
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
298
|
+
# @return [Object] Returns the model itself
|
|
299
|
+
def build_from_hash(attributes)
|
|
300
|
+
return nil unless attributes.is_a?(Hash)
|
|
301
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
302
|
+
if type =~ /\AArray<(.*)>/i
|
|
303
|
+
# check to ensure the input is an array given that the attribute
|
|
304
|
+
# is documented as an array but the input is not
|
|
305
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
306
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
307
|
+
end
|
|
308
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
309
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
310
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
self
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
# Deserializes the data based on type
|
|
317
|
+
# @param string type Data type
|
|
318
|
+
# @param string value Value to be deserialized
|
|
319
|
+
# @return [Object] Deserialized data
|
|
320
|
+
def _deserialize(type, value)
|
|
321
|
+
case type.to_sym
|
|
322
|
+
when :DateTime
|
|
323
|
+
DateTime.parse(value)
|
|
324
|
+
when :Date
|
|
325
|
+
Date.parse(value)
|
|
326
|
+
when :String
|
|
327
|
+
value.to_s
|
|
328
|
+
when :Integer
|
|
329
|
+
value.to_i
|
|
330
|
+
when :Float
|
|
331
|
+
value.to_f
|
|
332
|
+
when :BOOLEAN
|
|
333
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
334
|
+
true
|
|
335
|
+
else
|
|
336
|
+
false
|
|
337
|
+
end
|
|
338
|
+
when :Object
|
|
339
|
+
# generic object (usually a Hash), return directly
|
|
340
|
+
value
|
|
341
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
342
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
343
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
344
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
345
|
+
k_type = Regexp.last_match[:k_type]
|
|
346
|
+
v_type = Regexp.last_match[:v_type]
|
|
347
|
+
{}.tap do |hash|
|
|
348
|
+
value.each do |k, v|
|
|
349
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
350
|
+
end
|
|
351
|
+
end
|
|
352
|
+
else # model
|
|
353
|
+
temp_model = CloudsmithApi.const_get(type).new
|
|
354
|
+
temp_model.build_from_hash(value)
|
|
355
|
+
end
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
# Returns the string representation of the object
|
|
359
|
+
# @return [String] String presentation of the object
|
|
360
|
+
def to_s
|
|
361
|
+
to_hash.to_s
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
365
|
+
# @return [Hash] Returns the object in the form of hash
|
|
366
|
+
def to_body
|
|
367
|
+
to_hash
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
# Returns the object in the form of hash
|
|
371
|
+
# @return [Hash] Returns the object in the form of hash
|
|
372
|
+
def to_hash
|
|
373
|
+
hash = {}
|
|
374
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
375
|
+
value = self.send(attr)
|
|
376
|
+
next if value.nil?
|
|
377
|
+
hash[param] = _to_hash(value)
|
|
378
|
+
end
|
|
379
|
+
hash
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
# Outputs non-array value in the form of hash
|
|
383
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
384
|
+
# @param [Object] value Any valid value
|
|
385
|
+
# @return [Hash] Returns the value in the form of hash
|
|
386
|
+
def _to_hash(value)
|
|
387
|
+
if value.is_a?(Array)
|
|
388
|
+
value.compact.map { |v| _to_hash(v) }
|
|
389
|
+
elsif value.is_a?(Hash)
|
|
390
|
+
{}.tap do |hash|
|
|
391
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
392
|
+
end
|
|
393
|
+
elsif value.respond_to? :to_hash
|
|
394
|
+
value.to_hash
|
|
395
|
+
else
|
|
396
|
+
value
|
|
397
|
+
end
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
end
|
|
401
|
+
end
|