From be344234883aa27d73244cfb9f840eb6bf234644 Mon Sep 17 00:00:00 2001 From: cloudsmith-bot Date: Sat, 17 Oct 2026 06:29:13 +0000 Subject: [PATCH] Update Go API bindings to version 0.0.65 --- .openapi-generator/FILES | 12 + README.md | 18 +- api/openapi.yaml | 2693 +++++++++--- 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_openid.go | 2 +- api_orgs.go | 2 +- api_packages.go | 313 +- api_quota.go | 2 +- api_rates.go | 2 +- api_recycle_bin.go | 2 +- api_repos.go | 903 +++- 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 | 2 +- client.go | 4 +- configuration.go | 4 +- docs/ErrorDetail.md | 26 + docs/OrganizationApiKeyRule.md | 2 +- docs/PackagesApi.md | 150 + docs/ReposApi.md | 464 +++ docs/Service.md | 2 +- docs/SkillsPackageUpload.md | 2524 ++++++++++++ docs/SkillsPackageUploadRequest.md | 155 + docs/SkillsUpstream.md | 786 ++++ docs/SkillsUpstreamRequest.md | 444 ++ docs/SkillsUpstreamRequestPatch.md | 454 ++ docs/SkillsUpstreamSelection.md | 93 + 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 | 2 +- model_connected_repository_request.go | 2 +- model_connected_repository_request_patch.go | 2 +- model_connected_repository_target_summary.go | 2 +- model_connected_repository_upstream.go | 2 +- 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 | 40 +- model_eula.go | 2 +- model_format.go | 2 +- model_format_support.go | 2 +- model_format_support_upstream.go | 2 +- 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_nix_package_upload.go | 2 +- model_nix_package_upload_request.go | 2 +- model_nix_upstream.go | 2 +- model_nix_upstream_request.go | 2 +- model_nix_upstream_request_patch.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_oidc_1.go | 2 +- model_oidc_request.go | 2 +- model_organization.go | 2 +- model_organization_api_key_rule.go | 4 +- model_organization_api_key_rule_request.go | 2 +- ...organization_api_key_rule_request_patch.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 | 2 +- model_organization_saml_auth_request_patch.go | 2 +- 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_organization_usage.go | 2 +- model_organization_usage_update.go | 2 +- ...organization_usage_update_request_patch.go | 2 +- ...orgs_retrieve_usage_limits_200_response.go | 2 +- ...l_orgs_update_usage_limits_200_response.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_detail.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 | 2 +- model_repository_audit_log.go | 2 +- model_repository_create.go | 2 +- model_repository_create_request.go | 2 +- model_repository_ecdsa_key.go | 2 +- model_repository_ecdsa_key_create.go | 2 +- model_repository_ed25519_key.go | 2 +- 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 | 4 +- model_service_request.go | 2 +- model_service_request_patch.go | 2 +- model_service_teams.go | 2 +- model_skills_package_upload.go | 3657 +++++++++++++++++ model_skills_package_upload_request.go | 313 ++ model_skills_upstream.go | 1215 ++++++ model_skills_upstream_request.go | 728 ++++ model_skills_upstream_request_patch.go | 723 ++++ model_skills_upstream_selection.go | 228 + 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_web_osv_severity_counts.go | 2 +- model_webhook_template.go | 2 +- response.go | 2 +- utils.go | 2 +- 364 files changed, 15713 insertions(+), 920 deletions(-) create mode 100644 docs/SkillsPackageUpload.md create mode 100644 docs/SkillsPackageUploadRequest.md create mode 100644 docs/SkillsUpstream.md create mode 100644 docs/SkillsUpstreamRequest.md create mode 100644 docs/SkillsUpstreamRequestPatch.md create mode 100644 docs/SkillsUpstreamSelection.md create mode 100644 model_skills_package_upload.go create mode 100644 model_skills_package_upload_request.go create mode 100644 model_skills_upstream.go create mode 100644 model_skills_upstream_request.go create mode 100644 model_skills_upstream_request_patch.go create mode 100644 model_skills_upstream_selection.go diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 3f2f741e8..f860ce700 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -325,6 +325,12 @@ docs/Service.md docs/ServiceRequest.md docs/ServiceRequestPatch.md docs/ServiceTeams.md +docs/SkillsPackageUpload.md +docs/SkillsPackageUploadRequest.md +docs/SkillsUpstream.md +docs/SkillsUpstreamRequest.md +docs/SkillsUpstreamRequestPatch.md +docs/SkillsUpstreamSelection.md docs/StatusApi.md docs/StatusBasic.md docs/StorageAllocatedLimit.md @@ -650,6 +656,12 @@ model_service.go model_service_request.go model_service_request_patch.go model_service_teams.go +model_skills_package_upload.go +model_skills_package_upload_request.go +model_skills_upstream.go +model_skills_upstream_request.go +model_skills_upstream_request_patch.go +model_skills_upstream_selection.go model_status_basic.go model_storage_allocated_limit.go model_storage_allocated_limit_raw.go diff --git a/README.md b/README.md index 42a180da5..2c478ad48 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.1388.0 -- Package version: 0.0.64 +- API version: 1.1446.0 +- Package version: 0.0.65 - 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) @@ -231,6 +231,7 @@ Class | Method | HTTP request | Description *PackagesApi* | [**PackagesUploadRaw**](docs/PackagesApi.md#packagesuploadraw) | **Post** /packages/{owner}/{repo}/upload/raw/ | Create a new Raw package *PackagesApi* | [**PackagesUploadRpm**](docs/PackagesApi.md#packagesuploadrpm) | **Post** /packages/{owner}/{repo}/upload/rpm/ | Create a new RedHat package *PackagesApi* | [**PackagesUploadRuby**](docs/PackagesApi.md#packagesuploadruby) | **Post** /packages/{owner}/{repo}/upload/ruby/ | Create a new Ruby package +*PackagesApi* | [**PackagesUploadSkills**](docs/PackagesApi.md#packagesuploadskills) | **Post** /packages/{owner}/{repo}/upload/skills/ | Create a new AI Skills package *PackagesApi* | [**PackagesUploadSwift**](docs/PackagesApi.md#packagesuploadswift) | **Post** /packages/{owner}/{repo}/upload/swift/ | Create a new Swift package *PackagesApi* | [**PackagesUploadTerraform**](docs/PackagesApi.md#packagesuploadterraform) | **Post** /packages/{owner}/{repo}/upload/terraform/ | Create a new Terraform package *PackagesApi* | [**PackagesUploadVagrant**](docs/PackagesApi.md#packagesuploadvagrant) | **Post** /packages/{owner}/{repo}/upload/vagrant/ | Create a new Vagrant package @@ -261,6 +262,7 @@ Class | Method | HTTP request | Description *PackagesApi* | [**PackagesValidateUploadRaw**](docs/PackagesApi.md#packagesvalidateuploadraw) | **Post** /packages/{owner}/{repo}/validate-upload/raw/ | Validate parameters for create Raw package *PackagesApi* | [**PackagesValidateUploadRpm**](docs/PackagesApi.md#packagesvalidateuploadrpm) | **Post** /packages/{owner}/{repo}/validate-upload/rpm/ | Validate parameters for create RedHat package *PackagesApi* | [**PackagesValidateUploadRuby**](docs/PackagesApi.md#packagesvalidateuploadruby) | **Post** /packages/{owner}/{repo}/validate-upload/ruby/ | Validate parameters for create Ruby package +*PackagesApi* | [**PackagesValidateUploadSkills**](docs/PackagesApi.md#packagesvalidateuploadskills) | **Post** /packages/{owner}/{repo}/validate-upload/skills/ | Validate parameters for create AI Skills package *PackagesApi* | [**PackagesValidateUploadSwift**](docs/PackagesApi.md#packagesvalidateuploadswift) | **Post** /packages/{owner}/{repo}/validate-upload/swift/ | Validate parameters for create Swift package *PackagesApi* | [**PackagesValidateUploadTerraform**](docs/PackagesApi.md#packagesvalidateuploadterraform) | **Post** /packages/{owner}/{repo}/validate-upload/terraform/ | Validate parameters for create Terraform package *PackagesApi* | [**PackagesValidateUploadVagrant**](docs/PackagesApi.md#packagesvalidateuploadvagrant) | **Post** /packages/{owner}/{repo}/validate-upload/vagrant/ | Validate parameters for create Vagrant package @@ -428,6 +430,12 @@ Class | Method | HTTP request | Description *ReposApi* | [**ReposUpstreamRubyPartialUpdate**](docs/ReposApi.md#reposupstreamrubypartialupdate) | **Patch** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Partially update a Ruby upstream config for this repository. *ReposApi* | [**ReposUpstreamRubyRead**](docs/ReposApi.md#reposupstreamrubyread) | **Get** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Retrieve a Ruby upstream config for this repository. *ReposApi* | [**ReposUpstreamRubyUpdate**](docs/ReposApi.md#reposupstreamrubyupdate) | **Put** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Update a Ruby upstream config for this repository. +*ReposApi* | [**ReposUpstreamSkillsCreate**](docs/ReposApi.md#reposupstreamskillscreate) | **Post** /repos/{owner}/{identifier}/upstream/skills/ | Create an AI Skills upstream config for this repository. +*ReposApi* | [**ReposUpstreamSkillsDelete**](docs/ReposApi.md#reposupstreamskillsdelete) | **Delete** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Delete an AI Skills upstream config for this repository. +*ReposApi* | [**ReposUpstreamSkillsList**](docs/ReposApi.md#reposupstreamskillslist) | **Get** /repos/{owner}/{identifier}/upstream/skills/ | List AI Skills upstream configs for this repository. +*ReposApi* | [**ReposUpstreamSkillsPartialUpdate**](docs/ReposApi.md#reposupstreamskillspartialupdate) | **Patch** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Partially update an AI Skills upstream config for this repository. +*ReposApi* | [**ReposUpstreamSkillsRead**](docs/ReposApi.md#reposupstreamskillsread) | **Get** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Retrieve an AI Skills upstream config for this repository. +*ReposApi* | [**ReposUpstreamSkillsUpdate**](docs/ReposApi.md#reposupstreamskillsupdate) | **Put** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Update an AI Skills upstream config for this repository. *ReposApi* | [**ReposUpstreamSwiftCreate**](docs/ReposApi.md#reposupstreamswiftcreate) | **Post** /repos/{owner}/{identifier}/upstream/swift/ | Create a Swift upstream config for this repository. *ReposApi* | [**ReposUpstreamSwiftDelete**](docs/ReposApi.md#reposupstreamswiftdelete) | **Delete** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Delete a Swift upstream config for this repository. *ReposApi* | [**ReposUpstreamSwiftList**](docs/ReposApi.md#reposupstreamswiftlist) | **Get** /repos/{owner}/{identifier}/upstream/swift/ | List Swift upstream configs for this repository. @@ -740,6 +748,12 @@ Class | Method | HTTP request | Description - [ServiceRequest](docs/ServiceRequest.md) - [ServiceRequestPatch](docs/ServiceRequestPatch.md) - [ServiceTeams](docs/ServiceTeams.md) + - [SkillsPackageUpload](docs/SkillsPackageUpload.md) + - [SkillsPackageUploadRequest](docs/SkillsPackageUploadRequest.md) + - [SkillsUpstream](docs/SkillsUpstream.md) + - [SkillsUpstreamRequest](docs/SkillsUpstreamRequest.md) + - [SkillsUpstreamRequestPatch](docs/SkillsUpstreamRequestPatch.md) + - [SkillsUpstreamSelection](docs/SkillsUpstreamSelection.md) - [StatusBasic](docs/StatusBasic.md) - [StorageAllocatedLimit](docs/StorageAllocatedLimit.md) - [StorageAllocatedLimitRaw](docs/StorageAllocatedLimitRaw.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 385748b5e..1a20dde03 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.1388.0 + version: 1.1446.0 servers: - url: https://api.cloudsmith.io/ security: @@ -6587,6 +6587,56 @@ paths: tags: - packages x-codegen-request-body-name: data + /packages/{owner}/{repo}/upload/skills/: + post: + description: Create a new AI Skills package + operationId: packages_upload_skills + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: repo + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsPackageUploadRequest' + required: false + responses: + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsPackageUpload' + description: Upload acknowledged and queued for synchronization. + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Create a new AI Skills package + tags: + - packages + x-codegen-request-body-name: data /packages/{owner}/{repo}/upload/swift/: post: description: Create a new Swift package @@ -8009,6 +8059,53 @@ paths: tags: - packages x-codegen-request-body-name: data + /packages/{owner}/{repo}/validate-upload/skills/: + post: + description: Validate parameters for create AI Skills package + operationId: packages_validate-upload_skills + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: repo + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsPackageUploadRequest' + required: false + responses: + "204": + content: {} + description: "Validation was successful, parameters are OK." + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Validate parameters for create AI Skills package + tags: + - packages + x-codegen-request-body-name: data /packages/{owner}/{repo}/validate-upload/swift/: post: description: Validate parameters for create Swift package @@ -15982,6 +16079,276 @@ paths: tags: - repos x-codegen-request-body-name: data + /repos/{owner}/{identifier}/upstream/skills/: + get: + description: List AI Skills upstream configs for this repository. + operationId: repos_upstream_skills_list + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + - description: A page number within the paginated result set. + in: query + name: page + schema: + type: integer + - description: Number of results to return per page. + in: query + name: page_size + schema: + type: integer + responses: + "200": + content: + application/json: + schema: + items: + $ref: '#/components/schemas/SkillsUpstream' + type: array + description: OK + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: List AI Skills upstream configs for this repository. + tags: + - repos + x-simplified: "fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl" + post: + description: Create an AI Skills upstream config for this repository. + operationId: repos_upstream_skills_create + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstreamRequest' + required: false + responses: + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstream' + description: Created + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Create an AI Skills upstream config for this repository. + tags: + - repos + x-codegen-request-body-name: data + /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/: + delete: + description: Delete an AI Skills upstream config for this repository. + operationId: repos_upstream_skills_delete + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + - in: path + name: slug_perm + required: true + schema: + type: string + responses: + "204": + content: {} + description: No Content + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Delete an AI Skills upstream config for this repository. + tags: + - repos + get: + description: Retrieve an AI Skills upstream config for this repository. + operationId: repos_upstream_skills_read + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + - in: path + name: slug_perm + required: true + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstream' + description: OK + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Retrieve an AI Skills upstream config for this repository. + tags: + - repos + x-simplified: "fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl" + patch: + description: Partially update an AI Skills upstream config for this repository. + operationId: repos_upstream_skills_partial_update + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + - in: path + name: slug_perm + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstreamRequestPatch' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstream' + description: OK + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Partially update an AI Skills upstream config for this repository. + tags: + - repos + x-codegen-request-body-name: data + put: + description: Update an AI Skills upstream config for this repository. + operationId: repos_upstream_skills_update + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + - in: path + name: slug_perm + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstreamRequest' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstream' + description: OK + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Update an AI Skills upstream config for this repository. + tags: + - repos + x-codegen-request-body-name: data /repos/{owner}/{identifier}/upstream/swift/: get: description: List Swift upstream configs for this repository. @@ -17198,12 +17565,19 @@ components: schemas: ErrorDetail: example: + code: code detail: detail fields: key: - fields - fields properties: + code: + description: A machine-readable code for the error. Only set for validation + errors. + minLength: 1 + title: Code + type: string detail: description: An extended message for the response. minLength: 1 @@ -19592,7 +19966,7 @@ components: title: Slug type: string slug_perm: - description: An auto-generated id that uniquely identifies the API key policy. + description: An auto-generated id that uniquely identifies the rule. format: slug minLength: 1 pattern: "^[-a-zA-Z0-9_]+$" @@ -21471,7 +21845,7 @@ components: type: string key_expires_at: description: The time at which the API key will expire. This will only be - populated if the Organization has an active API Key Policy. + populated if the Organization has an active API key rule. format: date-time nullable: true readOnly: true @@ -39806,40 +40180,18 @@ components: title: Vulnerability scan results url type: string type: object - SwiftPackageUploadRequest: + SkillsPackageUploadRequest: example: - author_name: author_name republish: true - scope: scope - author_org: author_org name: name - repository_url: https://openapi-generator.tech package_file: package_file version: version - license_url: https://openapi-generator.tech - readme_url: https://openapi-generator.tech tags: tags properties: - author_name: - description: The name of the author of the package. - minLength: 1 - title: Author name - type: string - author_org: - description: The organization of the author. - minLength: 1 - title: Author org - type: string - license_url: - description: The license URL of this package. - format: uri - maxLength: 200 - nullable: true - title: License url - type: string name: - description: The name of this package. - maxLength: 200 + maxLength: 128 + minLength: 1 + pattern: "\\A[a-z0-9]+(?:-[a-z0-9]+)*$" title: Name type: string package_file: @@ -39847,31 +40199,12 @@ components: minLength: 1 title: Package file type: string - readme_url: - description: The URL of the readme for the package. - format: uri - minLength: 1 - title: Readme url - type: string - repository_url: - description: The URL of the SCM repository for the package. - format: uri - minLength: 1 - title: Repository url - type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ \ as a duplicate." title: Republish type: boolean - scope: - description: A scope provides a namespace for related packages within the - package registry. - maxLength: 39 - minLength: 1 - title: Scope - type: string tags: description: A comma-separated values list of tags to add to the package. maxLength: 1024 @@ -39880,17 +40213,16 @@ components: title: Tags type: string version: - description: The raw version for this package. maxLength: 255 + minLength: 1 title: Version type: string required: - name - package_file - - scope - version type: object - SwiftPackageUpload: + SkillsPackageUpload: example: architectures: - name: name @@ -39936,7 +40268,6 @@ components: - tags_static - tags_static is_downloadable: true - author_org: author_org name: name sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: @@ -39969,9 +40300,7 @@ components: signature_url: signature_url tag: tag num_files: 5 - license_url: https://openapi-generator.tech status: 9 - author_name: author_name checksum_sha512: checksum_sha512 distro: name: name @@ -39996,7 +40325,6 @@ components: downloads: 0 subtype: subtype uploader: uploader - scope: scope self_webapp_url: self_webapp_url signature_url: signature_url tags_automatic: "{}" @@ -40017,7 +40345,6 @@ components: self_html_url: self_html_url origin_repository_url: https://openapi-generator.tech self_url: https://openapi-generator.tech - readme_url: https://openapi-generator.tech status_url: https://openapi-generator.tech is_sync_in_flight: true security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 @@ -40034,16 +40361,6 @@ components: $ref: '#/components/schemas/Architecture' readOnly: true type: array - author_name: - description: The name of the author of the package. - minLength: 1 - title: Author name - type: string - author_org: - description: The organization of the author. - minLength: 1 - title: Author org - type: string cdn_url: nullable: true readOnly: true @@ -40228,16 +40545,10 @@ components: readOnly: true title: License type: string - license_url: - description: The license URL of this package. - format: uri - maxLength: 200 - nullable: true - title: License url - type: string name: - description: The name of this package. - maxLength: 200 + maxLength: 128 + minLength: 1 + pattern: "\\A[a-z0-9]+(?:-[a-z0-9]+)*$" title: Name type: string namespace: @@ -40286,12 +40597,6 @@ components: readOnly: true title: Raw license type: string - readme_url: - description: The URL of the readme for the package. - format: uri - minLength: 1 - title: Readme url - type: string release: description: The release of the package version (if any). nullable: true @@ -40304,18 +40609,10 @@ components: title: Repository type: string repository_url: - description: The URL of the SCM repository for the package. format: uri - minLength: 1 + readOnly: true title: Repository url type: string - scope: - description: A scope provides a namespace for related packages within the - package registry. - maxLength: 39 - minLength: 1 - title: Scope - type: string security_scan_completed_at: description: The datetime the security scanning was completed. format: date-time @@ -40514,8 +40811,8 @@ components: title: Uploader url type: string version: - description: The raw version for this package. maxLength: 255 + minLength: 1 title: Version type: string version_orig: @@ -40529,26 +40826,74 @@ components: type: string required: - name - - scope - version type: object - TerraformPackageUploadRequest: + SwiftPackageUploadRequest: example: + author_name: author_name republish: true + scope: scope + author_org: author_org + name: name + repository_url: https://openapi-generator.tech package_file: package_file + version: version + license_url: https://openapi-generator.tech + readme_url: https://openapi-generator.tech tags: tags properties: + author_name: + description: The name of the author of the package. + minLength: 1 + title: Author name + type: string + author_org: + description: The organization of the author. + minLength: 1 + title: Author org + type: string + license_url: + description: The license URL of this package. + format: uri + maxLength: 200 + nullable: true + title: License url + type: string + name: + description: The name of this package. + maxLength: 200 + title: Name + type: string package_file: description: The primary file for the package. minLength: 1 title: Package file type: string + readme_url: + description: The URL of the readme for the package. + format: uri + minLength: 1 + title: Readme url + type: string + repository_url: + description: The URL of the SCM repository for the package. + format: uri + minLength: 1 + title: Repository url + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ \ as a duplicate." title: Republish type: boolean + scope: + description: A scope provides a namespace for related packages within the + package registry. + maxLength: 39 + minLength: 1 + title: Scope + type: string tags: description: A comma-separated values list of tags to add to the package. maxLength: 1024 @@ -40556,10 +40901,18 @@ components: nullable: true title: Tags type: string + version: + description: The raw version for this package. + maxLength: 255 + title: Version + type: string required: + - name - package_file + - scope + - version type: object - TerraformPackageUpload: + SwiftPackageUpload: example: architectures: - name: name @@ -40605,6 +40958,7 @@ components: - tags_static - tags_static is_downloadable: true + author_org: author_org name: name sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: @@ -40637,7 +40991,9 @@ components: signature_url: signature_url tag: tag num_files: 5 + license_url: https://openapi-generator.tech status: 9 + author_name: author_name checksum_sha512: checksum_sha512 distro: name: name @@ -40662,6 +41018,7 @@ components: downloads: 0 subtype: subtype uploader: uploader + scope: scope self_webapp_url: self_webapp_url signature_url: signature_url tags_automatic: "{}" @@ -40682,6 +41039,7 @@ components: self_html_url: self_html_url origin_repository_url: https://openapi-generator.tech self_url: https://openapi-generator.tech + readme_url: https://openapi-generator.tech status_url: https://openapi-generator.tech is_sync_in_flight: true security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 @@ -40698,6 +41056,16 @@ components: $ref: '#/components/schemas/Architecture' readOnly: true type: array + author_name: + description: The name of the author of the package. + minLength: 1 + title: Author name + type: string + author_org: + description: The organization of the author. + minLength: 1 + title: Author org + type: string cdn_url: nullable: true readOnly: true @@ -40882,10 +41250,16 @@ components: readOnly: true title: License type: string + license_url: + description: The license URL of this package. + format: uri + maxLength: 200 + nullable: true + title: License url + type: string name: description: The name of this package. - nullable: true - readOnly: true + maxLength: 200 title: Name type: string namespace: @@ -40934,6 +41308,12 @@ components: readOnly: true title: Raw license type: string + readme_url: + description: The URL of the readme for the package. + format: uri + minLength: 1 + title: Readme url + type: string release: description: The release of the package version (if any). nullable: true @@ -40946,10 +41326,18 @@ components: title: Repository type: string repository_url: + description: The URL of the SCM repository for the package. format: uri - readOnly: true + minLength: 1 title: Repository url type: string + scope: + description: A scope provides a namespace for related packages within the + package registry. + maxLength: 39 + minLength: 1 + title: Scope + type: string security_scan_completed_at: description: The datetime the security scanning was completed. format: date-time @@ -41149,8 +41537,7 @@ components: type: string version: description: The raw version for this package. - nullable: true - readOnly: true + maxLength: 255 title: Version type: string version_orig: @@ -41162,31 +41549,22 @@ components: readOnly: true title: Vulnerability scan results url type: string + required: + - name + - scope + - version type: object - VagrantPackageUploadRequest: + TerraformPackageUploadRequest: example: republish: true - provider: provider - name: name package_file: package_file - version: version tags: tags properties: - name: - description: The name of this package. - maxLength: 200 - title: Name - type: string package_file: description: The primary file for the package. minLength: 1 title: Package file type: string - provider: - description: The virtual machine provider for the box. - minLength: 1 - title: Provider - type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -41200,18 +41578,10 @@ components: nullable: true title: Tags type: string - version: - description: The raw version for this package. - maxLength: 255 - title: Version - type: string required: - - name - package_file - - provider - - version type: object - VagrantPackageUpload: + TerraformPackageUpload: example: architectures: - name: name @@ -41312,7 +41682,6 @@ components: dependencies_checksum_md5: dependencies_checksum_md5 policy_violated: true downloads: 0 - provider: provider subtype: subtype uploader: uploader self_webapp_url: self_webapp_url @@ -41537,7 +41906,8 @@ components: type: string name: description: The name of this package. - maxLength: 200 + nullable: true + readOnly: true title: Name type: string namespace: @@ -41579,11 +41949,6 @@ components: readOnly: true title: Policy violated type: boolean - provider: - description: The virtual machine provider for the box. - minLength: 1 - title: Provider - type: string raw_license: description: The raw license string. minLength: 1 @@ -41806,7 +42171,8 @@ components: type: string version: description: The raw version for this package. - maxLength: 255 + nullable: true + readOnly: true title: Version type: string version_orig: @@ -41818,22 +42184,31 @@ components: readOnly: true title: Vulnerability scan results url type: string - required: - - name - - provider - - version type: object - VsxPackageUploadRequest: + VagrantPackageUploadRequest: example: republish: true + provider: provider + name: name package_file: package_file + version: version tags: tags properties: + name: + description: The name of this package. + maxLength: 200 + title: Name + type: string package_file: description: The primary file for the package. minLength: 1 title: Package file type: string + provider: + description: The virtual machine provider for the box. + minLength: 1 + title: Provider + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -41847,10 +42222,657 @@ components: nullable: true title: Tags type: string + version: + description: The raw version for this package. + maxLength: 255 + title: Version + type: string required: + - name - package_file + - provider + - version type: object - VsxPackageUpload: + VagrantPackageUpload: + example: + architectures: + - name: name + description: description + - name: name + description: description + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 + checksum_sha256: checksum_sha256 + release: release + package_type: 5 + repository: repository + origin_repository: origin_repository + identifier_perm: identifier_perm + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" + is_quarantined: true + slug: slug + freeable_storage: 1 + is_security_scannable: true + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 + security_scan_status: Awaiting Security Scan + indexed: true + is_deleteable: true + format: format + status_str: status_str + version_orig: version_orig + namespace_url: https://openapi-generator.tech + display_name: display_name + display_source: display_source + slug_perm: slug_perm + spdx_license: spdx_license + version: version + is_resyncable: true + license: license + store_path: store_path + filename: filename + size: 2 + cdn_url: cdn_url + uploaded_at: 2000-01-23T04:56:07.000+00:00 + is_cancellable: true + tags_static: + key: + - tags_static + - tags_static + is_downloadable: true + name: name + sync_finished_at: 2000-01-23T04:56:07.000+00:00 + files: + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + num_files: 5 + status: 9 + checksum_sha512: checksum_sha512 + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug + extension: extension + fully_qualified_name: fully_qualified_name + is_hidden: true + description: description + is_copyable: true + epoch: 6 + is_sync_completed: true + distro_version: + name: name + slug: slug + type_display: type_display + raw_license: raw_license + vulnerability_scan_results_url: https://openapi-generator.tech + dependencies_checksum_md5: dependencies_checksum_md5 + policy_violated: true + downloads: 0 + provider: provider + subtype: subtype + uploader: uploader + self_webapp_url: self_webapp_url + signature_url: signature_url + tags_automatic: "{}" + repository_url: https://openapi-generator.tech + is_moveable: true + status_reason: status_reason + osi_approved: true + status_updated_at: 2000-01-23T04:56:07.000+00:00 + summary: summary + checksum_sha1: checksum_sha1 + is_quarantinable: true + identifiers: + key: identifiers + checksum_md5: checksum_md5 + sync_progress: 3 + is_sync_awaiting: true + uploader_url: https://openapi-generator.tech + self_html_url: self_html_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech + is_sync_in_flight: true + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 + is_sync_in_progress: true + stage_str: stage_str + stage: 7 + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech + namespace: namespace + is_sync_failed: true + properties: + architectures: + items: + $ref: '#/components/schemas/Architecture' + readOnly: true + type: array + cdn_url: + nullable: true + readOnly: true + title: Cdn url + type: string + checksum_md5: + readOnly: true + title: Checksum md5 + type: string + checksum_sha1: + readOnly: true + title: Checksum sha1 + type: string + checksum_sha256: + readOnly: true + title: Checksum sha256 + type: string + checksum_sha512: + readOnly: true + title: Checksum sha512 + type: string + dependencies_checksum_md5: + description: A checksum of all of the package's dependencies. + nullable: true + readOnly: true + title: Dependencies checksum md5 + type: string + dependencies_url: + format: uri + readOnly: true + title: Dependencies url + type: string + description: + description: A textual description of this package. + nullable: true + readOnly: true + title: Description + type: string + display_name: + readOnly: true + title: Display name + type: string + display_source: + description: "Where the package originated, for example: 'upstream' (proxied/cached\ + \ from a configured upstream), 'connected_repository' (blended in from\ + \ a connected target repository), or 'manual_upload' (uploaded directly\ + \ to Cloudsmith)." + minLength: 1 + readOnly: true + title: Display source + type: string + distro: + $ref: '#/components/schemas/Distribution' + distro_version: + $ref: '#/components/schemas/DistributionVersion' + downloads: + readOnly: true + title: Downloads + type: integer + epoch: + description: The epoch of the package version (if any). + nullable: true + readOnly: true + title: Epoch + type: integer + extension: + readOnly: true + title: Extension + type: string + filename: + minLength: 1 + readOnly: true + title: Filename + type: string + files: + items: + $ref: '#/components/schemas/PackageFile' + readOnly: true + type: array + format: + minLength: 1 + readOnly: true + title: Format + type: string + format_url: + format: uri + readOnly: true + title: Format url + type: string + freeable_storage: + description: Amount of storage that will be freed if this package is deleted + readOnly: true + title: Freeable storage + type: integer + fully_qualified_name: + minLength: 1 + nullable: true + readOnly: true + title: Fully qualified name + type: string + identifier_perm: + description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm + type: string + identifiers: + additionalProperties: + nullable: true + type: string + description: Return a map of identifier field names and their values. + readOnly: true + title: Identifiers + type: object + indexed: + readOnly: true + title: Indexed + type: boolean + is_cancellable: + readOnly: true + title: Is cancellable + type: boolean + is_copyable: + readOnly: true + title: Is copyable + type: boolean + is_deleteable: + readOnly: true + title: Is deleteable + type: boolean + is_downloadable: + readOnly: true + title: Is downloadable + type: boolean + is_hidden: + readOnly: true + title: Is hidden + type: boolean + is_moveable: + readOnly: true + title: Is moveable + type: boolean + is_quarantinable: + readOnly: true + title: Is quarantinable + type: boolean + is_quarantined: + readOnly: true + title: Is quarantined + type: boolean + is_resyncable: + readOnly: true + title: Is resyncable + type: boolean + is_security_scannable: + readOnly: true + title: Is security scannable + type: boolean + is_sync_awaiting: + readOnly: true + title: Is sync awaiting + type: boolean + is_sync_completed: + readOnly: true + title: Is sync completed + type: boolean + is_sync_failed: + readOnly: true + title: Is sync failed + type: boolean + is_sync_in_flight: + readOnly: true + title: Is sync in flight + type: boolean + is_sync_in_progress: + readOnly: true + title: Is sync in progress + type: boolean + license: + description: The license of this package. + nullable: true + readOnly: true + title: License + type: string + name: + description: The name of this package. + maxLength: 200 + title: Name + type: string + namespace: + minLength: 1 + readOnly: true + title: Namespace + type: string + namespace_url: + format: uri + readOnly: true + title: Namespace url + type: string + num_files: + readOnly: true + title: Num files + type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string + osi_approved: + description: Whether the package's SPDX license is OSI-approved. + readOnly: true + title: Osi approved + type: boolean + package_type: + description: The type of package contents. + readOnly: true + title: Package type + type: integer + policy_violated: + description: Whether or not the package has violated any policy. + readOnly: true + title: Policy violated + type: boolean + provider: + description: The virtual machine provider for the box. + minLength: 1 + title: Provider + type: string + raw_license: + description: The raw license string. + minLength: 1 + nullable: true + readOnly: true + title: Raw license + type: string + release: + description: The release of the package version (if any). + nullable: true + readOnly: true + title: Release + type: string + repository: + minLength: 1 + readOnly: true + title: Repository + type: string + repository_url: + format: uri + readOnly: true + title: Repository url + type: string + security_scan_completed_at: + description: The datetime the security scanning was completed. + format: date-time + nullable: true + readOnly: true + title: Security scan completed at + type: string + security_scan_started_at: + description: The datetime the security scanning was started. + format: date-time + nullable: true + readOnly: true + title: Security scan started at + type: string + security_scan_status: + default: Awaiting Security Scan + enum: + - Awaiting Security Scan + - Security Scanning in Progress + - Scan Detected Vulnerabilities + - Scan Detected No Vulnerabilities + - Security Scanning Disabled + - Security Scanning Failed + - Security Scanning Skipped + - Security Scanning Not Supported + nullable: true + readOnly: true + title: Security scan status + type: string + security_scan_status_updated_at: + description: The datetime the security scanning status was updated. + format: date-time + nullable: true + readOnly: true + title: Security scan status updated at + type: string + self_html_url: + minLength: 1 + readOnly: true + title: Self html url + type: string + self_url: + format: uri + readOnly: true + title: Self url + type: string + self_webapp_url: + minLength: 1 + readOnly: true + title: Self webapp url + type: string + signature_url: + nullable: true + readOnly: true + title: Signature url + type: string + size: + description: The calculated size of the package. + readOnly: true + title: Size + type: integer + slug: + description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + spdx_license: + description: The SPDX license identifier for this package. + minLength: 1 + nullable: true + readOnly: true + title: Spdx license + type: string + stage: + description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage + type: integer + stage_str: + readOnly: true + title: Stage str + type: string + stage_updated_at: + description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at + type: string + status: + description: The synchronisation status of the package. + readOnly: true + title: Status + type: integer + status_reason: + description: A textual description for the synchronous status reason (if + any + nullable: true + readOnly: true + title: Status reason + type: string + status_str: + readOnly: true + title: Status str + type: string + status_updated_at: + description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at + type: string + status_url: + format: uri + readOnly: true + title: Status url + type: string + store_path: + description: "Absolute store path for the package, including store hash\ + \ and name." + minLength: 1 + nullable: true + readOnly: true + title: Store path + type: string + subtype: + readOnly: true + title: Subtype + type: string + summary: + description: A one-liner synopsis of this package. + nullable: true + readOnly: true + title: Summary + type: string + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + nullable: true + readOnly: true + title: Sync finished at + type: string + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + tags_automatic: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + tags_immutable: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + tags_static: + additionalProperties: + items: + type: string + type: array + description: "All static tags on the package, grouped by context. Static\ + \ tags are derived from the package's properties at request time and carry\ + \ a 'context' (rather than a tag type). Includes format-specific badges\ + \ and the package's architecture, subtype, and extension." + readOnly: true + title: Tags static + type: object + type_display: + readOnly: true + title: Type display + type: string + uploaded_at: + description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at + type: string + uploader: + minLength: 1 + readOnly: true + title: Uploader + type: string + uploader_url: + format: uri + readOnly: true + title: Uploader url + type: string + version: + description: The raw version for this package. + maxLength: 255 + title: Version + type: string + version_orig: + readOnly: true + title: Version orig + type: string + vulnerability_scan_results_url: + format: uri + readOnly: true + title: Vulnerability scan results url + type: string + required: + - name + - provider + - version + type: object + VsxPackageUploadRequest: + example: + republish: true + package_file: package_file + tags: tags + properties: + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file + type: string + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags + type: string + required: + - package_file + type: object + VsxPackageUpload: example: architectures: - name: name @@ -50304,6 +51326,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -50474,6 +51497,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -50609,6 +51633,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -54181,15 +55206,340 @@ components: minimum: 1 title: Priority type: integer - upstream_prefix: - description: "A unique prefix used to distinguish this upstream source within\ - \ the repository. Generic upstreams can represent entirely different file\ - \ servers, and we do not attempt to blend them. The prefix ensures each\ - \ source remains separate, and requests including this prefix are routed\ - \ to the correct upstream." - maxLength: 64 + upstream_prefix: + description: "A unique prefix used to distinguish this upstream source within\ + \ the repository. Generic upstreams can represent entirely different file\ + \ servers, and we do not attempt to blend them. The prefix ensures each\ + \ source remains separate, and requests including this prefix are routed\ + \ to the correct upstream." + maxLength: 64 + minLength: 1 + title: Upstream prefix + type: string + upstream_url: + description: '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. ' + format: uri + maxLength: 200 + minLength: 1 + title: Upstream URL + type: string + verify_ssl: + description: "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." + title: Verify SSL Certificates + type: boolean + required: + - name + - upstream_url + type: object + GenericUpstreamRequestPatch: + example: + is_active: true + upstream_url: https://openapi-generator.tech + auth_secret: auth_secret + auth_mode: None + extra_value_1: extra_value_1 + priority: 2624 + extra_value_2: extra_value_2 + extra_header_2: extra_header_2 + extra_header_1: extra_header_1 + mode: Proxy Only + verify_ssl: true + auth_username: auth_username + name: name + upstream_prefix: upstream_prefix + properties: + auth_mode: + default: None + description: 'The authentication mode to use when accessing this upstream. ' + enum: + - None + - Username and Password + - Token + title: Auth mode + type: string + auth_secret: + description: Secret to provide with requests to upstream. + maxLength: 4096 + nullable: true + title: Secret + type: string + auth_username: + description: Username to provide with requests to upstream. + maxLength: 64 + nullable: true + title: Username + type: string + extra_header_1: + description: "The key for extra header #1 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #1" + type: string + extra_header_2: + description: "The key for extra header #2 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #2" + type: string + extra_value_1: + description: "The value for extra header #1 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #1" + type: string + extra_value_2: + description: "The value for extra header #2 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #2" + type: string + is_active: + description: Whether or not this upstream is active and ready for requests. + title: Is active + type: boolean + mode: + default: Proxy Only + description: "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." + enum: + - Proxy Only + - Cache and Proxy + - Cache Only + title: Mode + type: string + name: + description: A descriptive name for this upstream source. A shortened version + of this name will be used for tagging cached packages retrieved from this + upstream. + maxLength: 64 + minLength: 1 + pattern: "^\\w[\\w \\-'\\.\\/()]+$" + title: Name + type: string + priority: + description: "Upstream sources are selected for resolving requests by sequential\ + \ order (1..n), followed by creation date." + maximum: 32767 + minimum: 1 + title: Priority + type: integer + upstream_prefix: + description: "A unique prefix used to distinguish this upstream source within\ + \ the repository. Generic upstreams can represent entirely different file\ + \ servers, and we do not attempt to blend them. The prefix ensures each\ + \ source remains separate, and requests including this prefix are routed\ + \ to the correct upstream." + maxLength: 64 + minLength: 1 + title: Upstream prefix + type: string + upstream_url: + description: '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. ' + format: uri + maxLength: 200 + minLength: 1 + title: Upstream URL + type: string + verify_ssl: + description: "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." + title: Verify SSL Certificates + type: boolean + type: object + GoUpstream: + example: + upstream_url: https://openapi-generator.tech + auth_secret: auth_secret + can_reindex: true + available: true + created_at: 2000-01-23T04:56:07.000+00:00 + auth_mode: None + extra_header_2: extra_header_2 + extra_header_1: extra_header_1 + mode: Proxy Only + updated_at: 2000-01-23T04:56:07.000+00:00 + auth_username: auth_username + has_failed_signature_verification: true + pending_validation: true + index_status: index_status + is_active: true + disable_reason: N/A + extra_value_1: extra_value_1 + priority: 19750 + slug_perm: slug_perm + extra_value_2: extra_value_2 + index_package_count: 0 + disable_reason_text: disable_reason_text + verify_ssl: true + last_indexed: last_indexed + name: name + properties: + auth_mode: + default: None + description: 'The authentication mode to use when accessing this upstream. ' + enum: + - None + - Username and Password + title: Auth mode + type: string + auth_secret: + description: Secret to provide with requests to upstream. + maxLength: 4096 + nullable: true + title: Secret + type: string + auth_username: + description: Username to provide with requests to upstream. + maxLength: 64 + nullable: true + title: Username + type: string + available: + description: Whether the upstream is available for use. + readOnly: true + title: Available + type: boolean + can_reindex: + description: Whether the upstream can be reindexed. + readOnly: true + title: Can reindex + type: boolean + created_at: + description: The datetime the upstream source was created. + format: date-time + readOnly: true + title: Created at + type: string + disable_reason: + default: N/A + enum: + - N/A + - Upstream points to its own repository + - Missing upstream source + - RSA key did not verify the upstream's APKINDEX signature + - Upstream was disabled by request of user + readOnly: true + title: Disable reason + type: string + disable_reason_text: + description: Human-readable explanation of why this upstream is disabled + readOnly: true + title: Disable reason text + type: string + extra_header_1: + description: "The key for extra header #1 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #1" + type: string + extra_header_2: + description: "The key for extra header #2 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #2" + type: string + extra_value_1: + description: "The value for extra header #1 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #1" + type: string + extra_value_2: + description: "The value for extra header #2 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #2" + type: string + has_failed_signature_verification: + description: Whether the upstream has failed signature verification. + readOnly: true + title: Has failed signature verification + type: boolean + index_package_count: + description: The number of packages available in this upstream source + nullable: true + readOnly: true + title: Index package count + type: integer + index_status: + description: The current indexing status of this upstream source + nullable: true + readOnly: true + title: Index status + type: string + is_active: + description: Whether or not this upstream is active and ready for requests. + title: Is active + type: boolean + last_indexed: + description: The last time this upstream source was indexed + nullable: true + readOnly: true + title: Last indexed + type: string + mode: + default: Proxy Only + description: "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." + enum: + - Proxy Only + - Cache and Proxy + - Cache Only + title: Mode + type: string + name: + description: A descriptive name for this upstream source. A shortened version + of this name will be used for tagging cached packages retrieved from this + upstream. + maxLength: 64 + minLength: 1 + pattern: "^\\w[\\w \\-'\\.\\/()]+$" + title: Name + type: string + pending_validation: + description: "When true, this upstream source is pending validation." + readOnly: true + title: Pending validation + type: boolean + priority: + description: "Upstream sources are selected for resolving requests by sequential\ + \ order (1..n), followed by creation date." + maximum: 32767 + minimum: 1 + title: Priority + type: integer + slug_perm: + format: slug minLength: 1 - title: Upstream prefix + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + updated_at: + format: date-time + readOnly: true + title: Updated at type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified @@ -54210,7 +55560,7 @@ components: - name - upstream_url type: object - GenericUpstreamRequestPatch: + GoUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54225,7 +55575,6 @@ components: verify_ssl: true auth_username: auth_username name: name - upstream_prefix: upstream_prefix properties: auth_mode: default: None @@ -54233,7 +55582,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -54309,16 +55657,122 @@ components: minimum: 1 title: Priority type: integer - upstream_prefix: - description: "A unique prefix used to distinguish this upstream source within\ - \ the repository. Generic upstreams can represent entirely different file\ - \ servers, and we do not attempt to blend them. The prefix ensures each\ - \ source remains separate, and requests including this prefix are routed\ - \ to the correct upstream." + upstream_url: + description: '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. ' + format: uri + maxLength: 200 + minLength: 1 + title: Upstream URL + type: string + verify_ssl: + description: "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." + title: Verify SSL Certificates + type: boolean + required: + - name + - upstream_url + type: object + GoUpstreamRequestPatch: + example: + is_active: true + upstream_url: https://openapi-generator.tech + auth_secret: auth_secret + auth_mode: None + extra_value_1: extra_value_1 + priority: 2624 + extra_value_2: extra_value_2 + extra_header_2: extra_header_2 + extra_header_1: extra_header_1 + mode: Proxy Only + verify_ssl: true + auth_username: auth_username + name: name + properties: + auth_mode: + default: None + description: 'The authentication mode to use when accessing this upstream. ' + enum: + - None + - Username and Password + title: Auth mode + type: string + auth_secret: + description: Secret to provide with requests to upstream. + maxLength: 4096 + nullable: true + title: Secret + type: string + auth_username: + description: Username to provide with requests to upstream. + maxLength: 64 + nullable: true + title: Username + type: string + extra_header_1: + description: "The key for extra header #1 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #1" + type: string + extra_header_2: + description: "The key for extra header #2 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #2" + type: string + extra_value_1: + description: "The value for extra header #1 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #1" + type: string + extra_value_2: + description: "The value for extra header #2 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #2" + type: string + is_active: + description: Whether or not this upstream is active and ready for requests. + title: Is active + type: boolean + mode: + default: Proxy Only + description: "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." + enum: + - Proxy Only + - Cache and Proxy + - Cache Only + title: Mode + type: string + name: + description: A descriptive name for this upstream source. A shortened version + of this name will be used for tagging cached packages retrieved from this + upstream. maxLength: 64 minLength: 1 - title: Upstream prefix + pattern: "^\\w[\\w \\-'\\.\\/()]+$" + title: Name type: string + priority: + description: "Upstream sources are selected for resolving requests by sequential\ + \ order (1..n), followed by creation date." + maximum: 32767 + minimum: 1 + title: Priority + type: integer upstream_url: description: '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. ' @@ -54335,7 +55789,7 @@ components: title: Verify SSL Certificates type: boolean type: object - GoUpstream: + HelmUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -54480,6 +55934,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -54534,7 +55989,7 @@ components: - name - upstream_url type: object - GoUpstreamRequest: + HelmUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54612,6 +56067,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -54649,7 +56105,7 @@ components: - name - upstream_url type: object - GoUpstreamRequestPatch: + HelmUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54727,6 +56183,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -54761,7 +56218,7 @@ components: title: Verify SSL Certificates type: boolean type: object - HelmUpstream: + HexUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -54961,7 +56418,7 @@ components: - name - upstream_url type: object - HelmUpstreamRequest: + HexUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -55077,7 +56534,7 @@ components: - name - upstream_url type: object - HelmUpstreamRequestPatch: + HexUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -55190,7 +56647,7 @@ components: title: Verify SSL Certificates type: boolean type: object - HexUpstream: + HuggingfaceUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -55223,7 +56680,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -55335,7 +56792,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -55390,7 +56846,7 @@ components: - name - upstream_url type: object - HexUpstreamRequest: + HuggingfaceUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -55411,7 +56867,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -55468,7 +56924,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -55506,7 +56961,7 @@ components: - name - upstream_url type: object - HexUpstreamRequestPatch: + HuggingfaceUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -55527,7 +56982,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -55584,7 +57039,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -55619,21 +57073,27 @@ components: title: Verify SSL Certificates type: boolean type: object - HuggingfaceUpstream: + MavenUpstream: example: + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 + trust_level: Trusted auth_mode: None + gpg_verification: Allow All + verification_status: Unknown extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only updated_at: 2000-01-23T04:56:07.000+00:00 auth_username: auth_username has_failed_signature_verification: true + gpg_key_inline: gpg_key_inline pending_validation: true + gpg_key_fingerprint_short: gpg_key_fingerprint_short index_status: index_status is_active: true disable_reason: N/A @@ -55652,7 +57112,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Token + - Username and Password title: Auth mode type: string auth_secret: @@ -55729,6 +57189,37 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_fingerprint_short: + readOnly: true + title: Gpg key fingerprint short + type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string has_failed_signature_verification: description: Whether the upstream has failed signature verification. readOnly: true @@ -55764,6 +57255,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -55794,6 +57286,17 @@ components: readOnly: true title: Slug perm type: string + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string updated_at: format: date-time readOnly: true @@ -55807,6 +57310,17 @@ components: minLength: 1 title: Upstream URL type: string + verification_status: + default: Unknown + description: The signature verification status for this upstream. + enum: + - Unknown + - Invalid + - Valid + - Invalid (No Key) + readOnly: true + title: Verification status + type: string verify_ssl: description: "If enabled, SSL certificates are verified when requests are\ \ made to this upstream. It's recommended to leave this enabled for all\ @@ -55818,13 +57332,16 @@ components: - name - upstream_url type: object - HuggingfaceUpstreamRequest: + MavenUpstreamRequest: example: is_active: true + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 + gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 @@ -55833,13 +57350,14 @@ components: verify_ssl: true auth_username: auth_username name: name + gpg_key_inline: gpg_key_inline properties: auth_mode: default: None description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Token + - Username and Password title: Auth mode type: string auth_secret: @@ -55884,6 +57402,33 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -55896,6 +57441,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -55914,6 +57460,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: '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. ' @@ -55933,13 +57490,16 @@ components: - name - upstream_url type: object - HuggingfaceUpstreamRequestPatch: + MavenUpstreamRequestPatch: example: is_active: true + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 + gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 @@ -55948,13 +57508,14 @@ components: verify_ssl: true auth_username: auth_username name: name + gpg_key_inline: gpg_key_inline properties: auth_mode: default: None description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Token + - Username and Password title: Auth mode type: string auth_secret: @@ -55999,6 +57560,33 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -56011,6 +57599,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -56029,6 +57618,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: '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. ' @@ -56045,27 +57645,21 @@ components: title: Verify SSL Certificates type: boolean type: object - MavenUpstream: + NixUpstream: example: - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 - trust_level: Trusted auth_mode: None - gpg_verification: Allow All - verification_status: Unknown extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only updated_at: 2000-01-23T04:56:07.000+00:00 auth_username: auth_username has_failed_signature_verification: true - gpg_key_inline: gpg_key_inline pending_validation: true - gpg_key_fingerprint_short: gpg_key_fingerprint_short index_status: index_status is_active: true disable_reason: N/A @@ -56161,37 +57755,6 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_fingerprint_short: - readOnly: true - title: Gpg key fingerprint short - type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string has_failed_signature_verification: description: Whether the upstream has failed signature verification. readOnly: true @@ -56227,7 +57790,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -56258,17 +57820,6 @@ components: readOnly: true title: Slug perm type: string - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string updated_at: format: date-time readOnly: true @@ -56282,17 +57833,6 @@ components: minLength: 1 title: Upstream URL type: string - verification_status: - default: Unknown - description: The signature verification status for this upstream. - enum: - - Unknown - - Invalid - - Valid - - Invalid (No Key) - readOnly: true - title: Verification status - type: string verify_ssl: description: "If enabled, SSL certificates are verified when requests are\ \ made to this upstream. It's recommended to leave this enabled for all\ @@ -56304,16 +57844,13 @@ components: - name - upstream_url type: object - MavenUpstreamRequest: + NixUpstreamRequest: example: is_active: true - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 - gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 @@ -56322,7 +57859,6 @@ components: verify_ssl: true auth_username: auth_username name: name - gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -56374,33 +57910,6 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -56413,7 +57922,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -56432,17 +57940,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: '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. ' @@ -56462,16 +57959,13 @@ components: - name - upstream_url type: object - MavenUpstreamRequestPatch: + NixUpstreamRequestPatch: example: is_active: true - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 - gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 @@ -56480,7 +57974,6 @@ components: verify_ssl: true auth_username: auth_username name: name - gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -56532,33 +58025,6 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -56571,7 +58037,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -56590,17 +58055,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: '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. ' @@ -56617,13 +58071,14 @@ components: title: Verify SSL Certificates type: boolean type: object - NixUpstream: + NpmUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 + trust_level: Trusted auth_mode: None extra_header_2: extra_header_2 extra_header_1: extra_header_1 @@ -56651,6 +58106,7 @@ components: enum: - None - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -56762,6 +58218,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -56792,6 +58249,17 @@ components: readOnly: true title: Slug perm type: string + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string updated_at: format: date-time readOnly: true @@ -56816,11 +58284,12 @@ components: - name - upstream_url type: object - NixUpstreamRequest: + NpmUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -56838,6 +58307,7 @@ components: enum: - None - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -56894,6 +58364,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -56912,6 +58383,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: '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. ' @@ -56931,11 +58413,12 @@ components: - name - upstream_url type: object - NixUpstreamRequestPatch: + NpmUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -56953,6 +58436,7 @@ components: enum: - None - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -57009,6 +58493,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -57027,6 +58512,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: '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. ' @@ -57043,14 +58539,13 @@ components: title: Verify SSL Certificates type: boolean type: object - NpmUpstream: + NugetUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 - trust_level: Trusted auth_mode: None extra_header_2: extra_header_2 extra_header_1: extra_header_1 @@ -57078,7 +58573,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -57221,17 +58715,6 @@ components: readOnly: true title: Slug perm type: string - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string updated_at: format: date-time readOnly: true @@ -57256,12 +58739,11 @@ components: - name - upstream_url type: object - NpmUpstreamRequest: + NugetUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -57279,7 +58761,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -57355,17 +58836,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: '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. ' @@ -57385,12 +58855,11 @@ components: - name - upstream_url type: object - NpmUpstreamRequestPatch: + NugetUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -57408,7 +58877,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -57484,17 +58952,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: '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. ' @@ -57511,13 +58968,14 @@ components: title: Verify SSL Certificates type: boolean type: object - NugetUpstream: + PythonUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 + trust_level: Trusted auth_mode: None extra_header_2: extra_header_2 extra_header_1: extra_header_1 @@ -57687,6 +59145,17 @@ components: readOnly: true title: Slug perm type: string + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string updated_at: format: date-time readOnly: true @@ -57711,11 +59180,12 @@ components: - name - upstream_url type: object - NugetUpstreamRequest: + PythonUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -57808,6 +59278,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: '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. ' @@ -57827,11 +59308,12 @@ components: - name - upstream_url type: object - NugetUpstreamRequestPatch: + PythonUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -57924,6 +59406,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: '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. ' @@ -57940,22 +59433,28 @@ components: title: Verify SSL Certificates type: boolean type: object - PythonUpstream: + RpmUpstream: example: + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 - trust_level: Trusted auth_mode: None + include_sources: true + gpg_verification: Allow All + verification_status: Unknown extra_header_2: extra_header_2 + distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only updated_at: 2000-01-23T04:56:07.000+00:00 auth_username: auth_username has_failed_signature_verification: true + gpg_key_inline: gpg_key_inline pending_validation: true + gpg_key_fingerprint_short: gpg_key_fingerprint_short index_status: index_status is_active: true disable_reason: N/A @@ -58021,6 +59520,11 @@ components: readOnly: true title: Disable reason text type: string + distro_version: + description: The distribution version that packages found on this upstream + will be associated with. + title: Distro version + type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58051,11 +59555,47 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_fingerprint_short: + readOnly: true + title: Gpg key fingerprint short + type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string has_failed_signature_verification: description: Whether the upstream has failed signature verification. readOnly: true title: Has failed signature verification type: boolean + include_sources: + description: "When checked, source packages will be available from this\ + \ upstream." + title: Source Packages + type: boolean index_package_count: description: The number of packages available in this upstream source nullable: true @@ -58086,7 +59626,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -58117,17 +59656,6 @@ components: readOnly: true title: Slug perm type: string - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string updated_at: format: date-time readOnly: true @@ -58141,6 +59669,17 @@ components: minLength: 1 title: Upstream URL type: string + verification_status: + default: Unknown + description: The signature verification status for this upstream. + enum: + - Unknown + - Invalid + - Valid + - Invalid (No Key) + readOnly: true + title: Verification status + type: string verify_ssl: description: "If enabled, SSL certificates are verified when requests are\ \ made to this upstream. It's recommended to leave this enabled for all\ @@ -58149,25 +59688,30 @@ components: title: Verify SSL Certificates type: boolean required: + - distro_version - name - upstream_url type: object - PythonUpstreamRequest: + RpmUpstreamRequest: example: is_active: true + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None + include_sources: true extra_value_1: extra_value_1 + gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 + distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only verify_ssl: true auth_username: auth_username name: name + gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -58189,6 +59733,11 @@ components: nullable: true title: Username type: string + distro_version: + description: The distribution version that packages found on this upstream + will be associated with. + title: Distro version + type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58219,6 +59768,38 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string + include_sources: + description: "When checked, source packages will be available from this\ + \ upstream." + title: Source Packages + type: boolean is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -58231,7 +59812,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -58250,17 +59830,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: '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. ' @@ -58277,25 +59846,30 @@ components: title: Verify SSL Certificates type: boolean required: + - distro_version - name - upstream_url type: object - PythonUpstreamRequestPatch: + RpmUpstreamRequestPatch: example: is_active: true + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None + include_sources: true extra_value_1: extra_value_1 + gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 + distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only verify_ssl: true auth_username: auth_username name: name + gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -58317,6 +59891,11 @@ components: nullable: true title: Username type: string + distro_version: + description: The distribution version that packages found on this upstream + will be associated with. + title: Distro version + type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58347,6 +59926,38 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string + include_sources: + description: "When checked, source packages will be available from this\ + \ upstream." + title: Source Packages + type: boolean is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -58359,7 +59970,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -58378,17 +59988,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: '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. ' @@ -58405,28 +60004,21 @@ components: title: Verify SSL Certificates type: boolean type: object - RpmUpstream: + RubyUpstream: example: - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 auth_mode: None - include_sources: true - gpg_verification: Allow All - verification_status: Unknown extra_header_2: extra_header_2 - distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only updated_at: 2000-01-23T04:56:07.000+00:00 auth_username: auth_username has_failed_signature_verification: true - gpg_key_inline: gpg_key_inline pending_validation: true - gpg_key_fingerprint_short: gpg_key_fingerprint_short index_status: index_status is_active: true disable_reason: N/A @@ -58492,11 +60084,6 @@ components: readOnly: true title: Disable reason text type: string - distro_version: - description: The distribution version that packages found on this upstream - will be associated with. - title: Distro version - type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58527,47 +60114,11 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_fingerprint_short: - readOnly: true - title: Gpg key fingerprint short - type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string has_failed_signature_verification: description: Whether the upstream has failed signature verification. readOnly: true title: Has failed signature verification type: boolean - include_sources: - description: "When checked, source packages will be available from this\ - \ upstream." - title: Source Packages - type: boolean index_package_count: description: The number of packages available in this upstream source nullable: true @@ -58598,6 +60149,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -58641,17 +60193,6 @@ components: minLength: 1 title: Upstream URL type: string - verification_status: - default: Unknown - description: The signature verification status for this upstream. - enum: - - Unknown - - Invalid - - Valid - - Invalid (No Key) - readOnly: true - title: Verification status - type: string verify_ssl: description: "If enabled, SSL certificates are verified when requests are\ \ made to this upstream. It's recommended to leave this enabled for all\ @@ -58660,30 +60201,24 @@ components: title: Verify SSL Certificates type: boolean required: - - distro_version - name - upstream_url type: object - RpmUpstreamRequest: + RubyUpstreamRequest: example: is_active: true - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret auth_mode: None - include_sources: true extra_value_1: extra_value_1 - gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 - distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only verify_ssl: true auth_username: auth_username name: name - gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -58705,11 +60240,6 @@ components: nullable: true title: Username type: string - distro_version: - description: The distribution version that packages found on this upstream - will be associated with. - title: Distro version - type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58740,38 +60270,6 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string - include_sources: - description: "When checked, source packages will be available from this\ - \ upstream." - title: Source Packages - type: boolean is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -58784,6 +60282,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -58818,30 +60317,24 @@ components: title: Verify SSL Certificates type: boolean required: - - distro_version - name - upstream_url type: object - RpmUpstreamRequestPatch: + RubyUpstreamRequestPatch: example: is_active: true - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret auth_mode: None - include_sources: true extra_value_1: extra_value_1 - gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 - distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only verify_ssl: true auth_username: auth_username name: name - gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -58863,11 +60356,6 @@ components: nullable: true title: Username type: string - distro_version: - description: The distribution version that packages found on this upstream - will be associated with. - title: Distro version - type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58898,38 +60386,6 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string - include_sources: - description: "When checked, source packages will be available from this\ - \ upstream." - title: Source Packages - type: boolean is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -58942,6 +60398,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -58976,7 +60433,38 @@ components: title: Verify SSL Certificates type: boolean type: object - RubyUpstream: + SkillsUpstreamSelection: + example: + name: name + publisher: publisher + version: version + properties: + name: + description: The skill's ClawHub slug. + maxLength: 128 + minLength: 1 + pattern: "\\A[a-z0-9]+(?:-[a-z0-9]+)*$" + title: Name + type: string + publisher: + description: The ClawHub owner handle that publishes the skill. + maxLength: 128 + minLength: 1 + pattern: "\\A[a-z0-9]+(?:-[a-z0-9]+)*$" + title: Publisher + type: string + version: + description: The exact semantic version of the release. + maxLength: 255 + minLength: 1 + title: Version + type: string + required: + - name + - publisher + - version + type: object + SkillsUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -58999,6 +60487,22 @@ components: slug_perm: slug_perm extra_value_2: extra_value_2 index_package_count: 0 + selections: + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version disable_reason_text: disable_reason_text verify_ssl: true last_indexed: last_indexed @@ -59009,7 +60513,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -59121,6 +60625,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -59144,6 +60649,12 @@ components: minimum: 1 title: Priority type: integer + selections: + description: Exact ClawHub releases to cache. + items: + $ref: '#/components/schemas/SkillsUpstreamSelection' + maxItems: 100 + type: array slug_perm: format: slug minLength: 1 @@ -59175,7 +60686,7 @@ components: - name - upstream_url type: object - RubyUpstreamRequest: + SkillsUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -59187,6 +60698,22 @@ components: extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only + selections: + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version verify_ssl: true auth_username: auth_username name: name @@ -59196,7 +60723,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -59253,6 +60780,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -59271,6 +60799,12 @@ components: minimum: 1 title: Priority type: integer + selections: + description: Exact ClawHub releases to cache. + items: + $ref: '#/components/schemas/SkillsUpstreamSelection' + maxItems: 100 + type: array upstream_url: description: '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. ' @@ -59290,7 +60824,7 @@ components: - name - upstream_url type: object - RubyUpstreamRequestPatch: + SkillsUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -59302,6 +60836,22 @@ components: extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only + selections: + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version verify_ssl: true auth_username: auth_username name: name @@ -59311,7 +60861,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -59368,6 +60918,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -59386,6 +60937,12 @@ components: minimum: 1 title: Priority type: integer + selections: + description: Exact ClawHub releases to cache. + items: + $ref: '#/components/schemas/SkillsUpstreamSelection' + maxItems: 100 + type: array upstream_url: description: '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. ' diff --git a/api_audit_log.go b/api_audit_log.go index 85cac59c3..8bf6cf665 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_badges.go b/api_badges.go index ead23806e..40d42f38f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_broadcasts.go b/api_broadcasts.go index f08243003..996c573e0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_bulk_action.go b/api_bulk_action.go index 5c9e74334..0876f6cba 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_distros.go b/api_distros.go index ce03f8435..a19e8cb48 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_entitlements.go b/api_entitlements.go index 9bee537ac..4616dd8ac 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_files.go b/api_files.go index 1713a82ad..f2f09af9e 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_formats.go b/api_formats.go index 300299580..1e05c43b0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_metrics.go b/api_metrics.go index 792fc9b87..6cb5f11fb 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_namespaces.go b/api_namespaces.go index 11667effd..90ba67e54 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_openid.go b/api_openid.go index 2bc25c94c..34d88ac35 100644 --- a/api_openid.go +++ b/api_openid.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_orgs.go b/api_orgs.go index 2f5fd2983..b43e7463c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_packages.go b/api_packages.go index 88972baaa..cbb95e089 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ @@ -6316,6 +6316,167 @@ func (a *PackagesApiService) PackagesUploadRubyExecute(r ApiPackagesUploadRubyRe return localVarReturnValue, localVarHTTPResponse, nil } +type ApiPackagesUploadSkillsRequest struct { + ctx context.Context + ApiService *PackagesApiService + owner string + repo string + data *SkillsPackageUploadRequest +} + +func (r ApiPackagesUploadSkillsRequest) Data(data SkillsPackageUploadRequest) ApiPackagesUploadSkillsRequest { + r.data = &data + return r +} + +func (r ApiPackagesUploadSkillsRequest) Execute() (*SkillsPackageUpload, *http.Response, error) { + return r.ApiService.PackagesUploadSkillsExecute(r) +} + +/* +PackagesUploadSkills Create a new AI Skills package + +Create a new AI Skills package + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param repo + @return ApiPackagesUploadSkillsRequest +*/ +func (a *PackagesApiService) PackagesUploadSkills(ctx context.Context, owner string, repo string) ApiPackagesUploadSkillsRequest { + return ApiPackagesUploadSkillsRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + repo: repo, + } +} + +// Execute executes the request +// @return SkillsPackageUpload +func (a *PackagesApiService) PackagesUploadSkillsExecute(r ApiPackagesUploadSkillsRequest) (*SkillsPackageUpload, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SkillsPackageUpload + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadSkills") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/packages/{owner}/{repo}/upload/skills/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"repo"+"}", url.PathEscape(parameterValueToString(r.repo, "repo")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + type ApiPackagesUploadSwiftRequest struct { ctx context.Context ApiService *PackagesApiService @@ -10860,6 +11021,156 @@ func (a *PackagesApiService) PackagesValidateUploadRubyExecute(r ApiPackagesVali return localVarHTTPResponse, nil } +type ApiPackagesValidateUploadSkillsRequest struct { + ctx context.Context + ApiService *PackagesApiService + owner string + repo string + data *SkillsPackageUploadRequest +} + +func (r ApiPackagesValidateUploadSkillsRequest) Data(data SkillsPackageUploadRequest) ApiPackagesValidateUploadSkillsRequest { + r.data = &data + return r +} + +func (r ApiPackagesValidateUploadSkillsRequest) Execute() (*http.Response, error) { + return r.ApiService.PackagesValidateUploadSkillsExecute(r) +} + +/* +PackagesValidateUploadSkills Validate parameters for create AI Skills package + +Validate parameters for create AI Skills package + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param repo + @return ApiPackagesValidateUploadSkillsRequest +*/ +func (a *PackagesApiService) PackagesValidateUploadSkills(ctx context.Context, owner string, repo string) ApiPackagesValidateUploadSkillsRequest { + return ApiPackagesValidateUploadSkillsRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + repo: repo, + } +} + +// Execute executes the request +func (a *PackagesApiService) PackagesValidateUploadSkillsExecute(r ApiPackagesValidateUploadSkillsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesValidateUploadSkills") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/packages/{owner}/{repo}/validate-upload/skills/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"repo"+"}", url.PathEscape(parameterValueToString(r.repo, "repo")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type ApiPackagesValidateUploadSwiftRequest struct { ctx context.Context ApiService *PackagesApiService diff --git a/api_quota.go b/api_quota.go index 6c00d6728..5fef81bc5 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_rates.go b/api_rates.go index a73bb57be..59ee6d87b 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_recycle_bin.go b/api_recycle_bin.go index 4c2671629..9a5911f8b 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_repos.go b/api_repos.go index d1bd06251..b0ca462a4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ @@ -23689,6 +23689,907 @@ func (a *ReposApiService) ReposUpstreamRubyUpdateExecute(r ApiReposUpstreamRubyU return localVarReturnValue, localVarHTTPResponse, nil } +type ApiReposUpstreamSkillsCreateRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + data *SkillsUpstreamRequest +} + +func (r ApiReposUpstreamSkillsCreateRequest) Data(data SkillsUpstreamRequest) ApiReposUpstreamSkillsCreateRequest { + r.data = &data + return r +} + +func (r ApiReposUpstreamSkillsCreateRequest) Execute() (*SkillsUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamSkillsCreateExecute(r) +} + +/* +ReposUpstreamSkillsCreate Create an AI Skills upstream config for this repository. + +Create an AI Skills upstream config for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @return ApiReposUpstreamSkillsCreateRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsCreate(ctx context.Context, owner string, identifier string) ApiReposUpstreamSkillsCreateRequest { + return ApiReposUpstreamSkillsCreateRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + } +} + +// Execute executes the request +// @return SkillsUpstream +func (a *ReposApiService) ReposUpstreamSkillsCreateExecute(r ApiReposUpstreamSkillsCreateRequest) (*SkillsUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SkillsUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiReposUpstreamSkillsDeleteRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string +} + +func (r ApiReposUpstreamSkillsDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.ReposUpstreamSkillsDeleteExecute(r) +} + +/* +ReposUpstreamSkillsDelete Delete an AI Skills upstream config for this repository. + +Delete an AI Skills upstream config for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @param slugPerm + @return ApiReposUpstreamSkillsDeleteRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsDelete(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamSkillsDeleteRequest { + return ApiReposUpstreamSkillsDeleteRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +func (a *ReposApiService) ReposUpstreamSkillsDeleteExecute(r ApiReposUpstreamSkillsDeleteRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsDelete") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/{slug_perm}/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterValueToString(r.slugPerm, "slugPerm")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiReposUpstreamSkillsListRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + page *int64 + pageSize *int64 +} + +// A page number within the paginated result set. +func (r ApiReposUpstreamSkillsListRequest) Page(page int64) ApiReposUpstreamSkillsListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiReposUpstreamSkillsListRequest) PageSize(pageSize int64) ApiReposUpstreamSkillsListRequest { + r.pageSize = &pageSize + return r +} + +func (r ApiReposUpstreamSkillsListRequest) Execute() ([]SkillsUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamSkillsListExecute(r) +} + +/* +ReposUpstreamSkillsList List AI Skills upstream configs for this repository. + +List AI Skills upstream configs for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @return ApiReposUpstreamSkillsListRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsList(ctx context.Context, owner string, identifier string) ApiReposUpstreamSkillsListRequest { + return ApiReposUpstreamSkillsListRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + } +} + +// Execute executes the request +// @return []SkillsUpstream +func (a *ReposApiService) ReposUpstreamSkillsListExecute(r ApiReposUpstreamSkillsListRequest) ([]SkillsUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []SkillsUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.page != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "", "") + } + if r.pageSize != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiReposUpstreamSkillsPartialUpdateRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string + data *SkillsUpstreamRequestPatch +} + +func (r ApiReposUpstreamSkillsPartialUpdateRequest) Data(data SkillsUpstreamRequestPatch) ApiReposUpstreamSkillsPartialUpdateRequest { + r.data = &data + return r +} + +func (r ApiReposUpstreamSkillsPartialUpdateRequest) Execute() (*SkillsUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamSkillsPartialUpdateExecute(r) +} + +/* +ReposUpstreamSkillsPartialUpdate Partially update an AI Skills upstream config for this repository. + +Partially update an AI Skills upstream config for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @param slugPerm + @return ApiReposUpstreamSkillsPartialUpdateRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsPartialUpdate(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamSkillsPartialUpdateRequest { + return ApiReposUpstreamSkillsPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +// @return SkillsUpstream +func (a *ReposApiService) ReposUpstreamSkillsPartialUpdateExecute(r ApiReposUpstreamSkillsPartialUpdateRequest) (*SkillsUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SkillsUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/{slug_perm}/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterValueToString(r.slugPerm, "slugPerm")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiReposUpstreamSkillsReadRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string +} + +func (r ApiReposUpstreamSkillsReadRequest) Execute() (*SkillsUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamSkillsReadExecute(r) +} + +/* +ReposUpstreamSkillsRead Retrieve an AI Skills upstream config for this repository. + +Retrieve an AI Skills upstream config for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @param slugPerm + @return ApiReposUpstreamSkillsReadRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsRead(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamSkillsReadRequest { + return ApiReposUpstreamSkillsReadRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +// @return SkillsUpstream +func (a *ReposApiService) ReposUpstreamSkillsReadExecute(r ApiReposUpstreamSkillsReadRequest) (*SkillsUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SkillsUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsRead") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/{slug_perm}/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterValueToString(r.slugPerm, "slugPerm")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiReposUpstreamSkillsUpdateRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string + data *SkillsUpstreamRequest +} + +func (r ApiReposUpstreamSkillsUpdateRequest) Data(data SkillsUpstreamRequest) ApiReposUpstreamSkillsUpdateRequest { + r.data = &data + return r +} + +func (r ApiReposUpstreamSkillsUpdateRequest) Execute() (*SkillsUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamSkillsUpdateExecute(r) +} + +/* +ReposUpstreamSkillsUpdate Update an AI Skills upstream config for this repository. + +Update an AI Skills upstream config for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @param slugPerm + @return ApiReposUpstreamSkillsUpdateRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsUpdate(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamSkillsUpdateRequest { + return ApiReposUpstreamSkillsUpdateRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +// @return SkillsUpstream +func (a *ReposApiService) ReposUpstreamSkillsUpdateExecute(r ApiReposUpstreamSkillsUpdateRequest) (*SkillsUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SkillsUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/{slug_perm}/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterValueToString(r.slugPerm, "slugPerm")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + type ApiReposUpstreamSwiftCreateRequest struct { ctx context.Context ApiService *ReposApiService diff --git a/api_status.go b/api_status.go index 3af39fdf4..1c27fdfb4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_storage_regions.go b/api_storage_regions.go index ba79cca70..9e4ed055e 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_user.go b/api_user.go index 5d46b8775..d486857a2 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_users.go b/api_users.go index d50cb0d0d..5118ce7b0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_vulnerabilities.go b/api_vulnerabilities.go index 340774755..ed10872c3 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/api_webhooks.go b/api_webhooks.go index 56033e137..200148e20 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/bin/generate b/bin/generate index 3b7f055cb..db0cc1c39 100755 --- a/bin/generate +++ b/bin/generate @@ -2,7 +2,7 @@ set -eou pipefail -PKG_VERSION=${1:-"0.0.64"} +PKG_VERSION=${1:-"0.0.65"} API_HOST=${2:-"https://api.cloudsmith.io"} # GNU sed is required for the in-place edits below. It is `gsed` on macOS diff --git a/client.go b/client.go index 55f899a43..0c1541403 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ @@ -41,7 +41,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the Cloudsmith API (v1) API v1.1388.0 +// APIClient manages communication with the Cloudsmith API (v1) API v1.1446.0 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/configuration.go b/configuration.go index 49f6aabed..a5bfbe660 100644 --- a/configuration.go +++ b/configuration.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 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.64/go", + UserAgent: "OpenAPI-Generator/0.0.65/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/docs/ErrorDetail.md b/docs/ErrorDetail.md index 17d368df3..865f620dc 100644 --- a/docs/ErrorDetail.md +++ b/docs/ErrorDetail.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Code** | Pointer to **string** | A machine-readable code for the error. Only set for validation errors. | [optional] **Detail** | **string** | An extended message for the response. | **Fields** | Pointer to **map[string][]string** | A Dictionary of related errors where key: Field and value: Array of Errors related to that field | [optional] @@ -26,6 +27,31 @@ NewErrorDetailWithDefaults instantiates a new ErrorDetail 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 +### GetCode + +`func (o *ErrorDetail) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ErrorDetail) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ErrorDetail) SetCode(v string)` + +SetCode sets Code field to given value. + +### HasCode + +`func (o *ErrorDetail) HasCode() bool` + +HasCode returns a boolean if a field has been set. + ### GetDetail `func (o *ErrorDetail) GetDetail() string` diff --git a/docs/OrganizationApiKeyRule.md b/docs/OrganizationApiKeyRule.md index 428adca90..c3a9f7e08 100644 --- a/docs/OrganizationApiKeyRule.md +++ b/docs/OrganizationApiKeyRule.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **MaxAgeHours** | Pointer to **NullableInt64** | The maximum permitted age of an API key for use in the organization. API keys older than this will no longer have access until they are refreshed. To disable the rule unset this value. | [optional] **RuleType** | **string** | Specify which account types this rule applies to: all accounts (deprecated — prefer separate service/user rules), service accounts only, or user accounts only. | **Slug** | Pointer to **string** | Human-readable identifier for the rule type. Automatically generated based on the rule type. | [optional] [readonly] -**SlugPerm** | Pointer to **string** | An auto-generated id that uniquely identifies the API key policy. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | An auto-generated id that uniquely identifies the rule. | [optional] [readonly] **UpdatedAt** | Pointer to **time.Time** | | [optional] [readonly] ## Methods diff --git a/docs/PackagesApi.md b/docs/PackagesApi.md index 2fc67a4f4..54bb57335 100644 --- a/docs/PackagesApi.md +++ b/docs/PackagesApi.md @@ -43,6 +43,7 @@ Method | HTTP request | Description [**PackagesUploadRaw**](PackagesApi.md#PackagesUploadRaw) | **Post** /packages/{owner}/{repo}/upload/raw/ | Create a new Raw package [**PackagesUploadRpm**](PackagesApi.md#PackagesUploadRpm) | **Post** /packages/{owner}/{repo}/upload/rpm/ | Create a new RedHat package [**PackagesUploadRuby**](PackagesApi.md#PackagesUploadRuby) | **Post** /packages/{owner}/{repo}/upload/ruby/ | Create a new Ruby package +[**PackagesUploadSkills**](PackagesApi.md#PackagesUploadSkills) | **Post** /packages/{owner}/{repo}/upload/skills/ | Create a new AI Skills package [**PackagesUploadSwift**](PackagesApi.md#PackagesUploadSwift) | **Post** /packages/{owner}/{repo}/upload/swift/ | Create a new Swift package [**PackagesUploadTerraform**](PackagesApi.md#PackagesUploadTerraform) | **Post** /packages/{owner}/{repo}/upload/terraform/ | Create a new Terraform package [**PackagesUploadVagrant**](PackagesApi.md#PackagesUploadVagrant) | **Post** /packages/{owner}/{repo}/upload/vagrant/ | Create a new Vagrant package @@ -73,6 +74,7 @@ Method | HTTP request | Description [**PackagesValidateUploadRaw**](PackagesApi.md#PackagesValidateUploadRaw) | **Post** /packages/{owner}/{repo}/validate-upload/raw/ | Validate parameters for create Raw package [**PackagesValidateUploadRpm**](PackagesApi.md#PackagesValidateUploadRpm) | **Post** /packages/{owner}/{repo}/validate-upload/rpm/ | Validate parameters for create RedHat package [**PackagesValidateUploadRuby**](PackagesApi.md#PackagesValidateUploadRuby) | **Post** /packages/{owner}/{repo}/validate-upload/ruby/ | Validate parameters for create Ruby package +[**PackagesValidateUploadSkills**](PackagesApi.md#PackagesValidateUploadSkills) | **Post** /packages/{owner}/{repo}/validate-upload/skills/ | Validate parameters for create AI Skills package [**PackagesValidateUploadSwift**](PackagesApi.md#PackagesValidateUploadSwift) | **Post** /packages/{owner}/{repo}/validate-upload/swift/ | Validate parameters for create Swift package [**PackagesValidateUploadTerraform**](PackagesApi.md#PackagesValidateUploadTerraform) | **Post** /packages/{owner}/{repo}/validate-upload/terraform/ | Validate parameters for create Terraform package [**PackagesValidateUploadVagrant**](PackagesApi.md#PackagesValidateUploadVagrant) | **Post** /packages/{owner}/{repo}/validate-upload/vagrant/ | Validate parameters for create Vagrant package @@ -3050,6 +3052,81 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## PackagesUploadSkills + +> SkillsPackageUpload PackagesUploadSkills(ctx, owner, repo).Data(data).Execute() + +Create a new AI Skills package + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + repo := "repo_example" // string | + data := *openapiclient.NewSkillsPackageUploadRequest("Name_example", "PackageFile_example", "Version_example") // SkillsPackageUploadRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.PackagesApi.PackagesUploadSkills(context.Background(), owner, repo).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadSkills``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `PackagesUploadSkills`: SkillsPackageUpload + fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadSkills`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**repo** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiPackagesUploadSkillsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**SkillsPackageUploadRequest**](SkillsPackageUploadRequest.md) | | + +### Return type + +[**SkillsPackageUpload**](SkillsPackageUpload.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## PackagesUploadSwift > SwiftPackageUpload PackagesUploadSwift(ctx, owner, repo).Data(data).Execute() @@ -5248,6 +5325,79 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## PackagesValidateUploadSkills + +> PackagesValidateUploadSkills(ctx, owner, repo).Data(data).Execute() + +Validate parameters for create AI Skills package + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + repo := "repo_example" // string | + data := *openapiclient.NewSkillsPackageUploadRequest("Name_example", "PackageFile_example", "Version_example") // SkillsPackageUploadRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.PackagesApi.PackagesValidateUploadSkills(context.Background(), owner, repo).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesValidateUploadSkills``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**repo** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiPackagesValidateUploadSkillsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**SkillsPackageUploadRequest**](SkillsPackageUploadRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## PackagesValidateUploadSwift > PackagesValidateUploadSwift(ctx, owner, repo).Data(data).Execute() diff --git a/docs/ReposApi.md b/docs/ReposApi.md index ad5d857e2..203b9e355 100644 --- a/docs/ReposApi.md +++ b/docs/ReposApi.md @@ -160,6 +160,12 @@ Method | HTTP request | Description [**ReposUpstreamRubyPartialUpdate**](ReposApi.md#ReposUpstreamRubyPartialUpdate) | **Patch** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Partially update a Ruby upstream config for this repository. [**ReposUpstreamRubyRead**](ReposApi.md#ReposUpstreamRubyRead) | **Get** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Retrieve a Ruby upstream config for this repository. [**ReposUpstreamRubyUpdate**](ReposApi.md#ReposUpstreamRubyUpdate) | **Put** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Update a Ruby upstream config for this repository. +[**ReposUpstreamSkillsCreate**](ReposApi.md#ReposUpstreamSkillsCreate) | **Post** /repos/{owner}/{identifier}/upstream/skills/ | Create an AI Skills upstream config for this repository. +[**ReposUpstreamSkillsDelete**](ReposApi.md#ReposUpstreamSkillsDelete) | **Delete** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Delete an AI Skills upstream config for this repository. +[**ReposUpstreamSkillsList**](ReposApi.md#ReposUpstreamSkillsList) | **Get** /repos/{owner}/{identifier}/upstream/skills/ | List AI Skills upstream configs for this repository. +[**ReposUpstreamSkillsPartialUpdate**](ReposApi.md#ReposUpstreamSkillsPartialUpdate) | **Patch** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Partially update an AI Skills upstream config for this repository. +[**ReposUpstreamSkillsRead**](ReposApi.md#ReposUpstreamSkillsRead) | **Get** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Retrieve an AI Skills upstream config for this repository. +[**ReposUpstreamSkillsUpdate**](ReposApi.md#ReposUpstreamSkillsUpdate) | **Put** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Update an AI Skills upstream config for this repository. [**ReposUpstreamSwiftCreate**](ReposApi.md#ReposUpstreamSwiftCreate) | **Post** /repos/{owner}/{identifier}/upstream/swift/ | Create a Swift upstream config for this repository. [**ReposUpstreamSwiftDelete**](ReposApi.md#ReposUpstreamSwiftDelete) | **Delete** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Delete a Swift upstream config for this repository. [**ReposUpstreamSwiftList**](ReposApi.md#ReposUpstreamSwiftList) | **Get** /repos/{owner}/{identifier}/upstream/swift/ | List Swift upstream configs for this repository. @@ -12004,6 +12010,464 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## ReposUpstreamSkillsCreate + +> SkillsUpstream ReposUpstreamSkillsCreate(ctx, owner, identifier).Data(data).Execute() + +Create an AI Skills upstream config for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_example" // string | + data := *openapiclient.NewSkillsUpstreamRequest("Name_example", "UpstreamUrl_example") // SkillsUpstreamRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamSkillsCreate(context.Background(), owner, identifier).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamSkillsCreate`: SkillsUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamSkillsCreate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**SkillsUpstreamRequest**](SkillsUpstreamRequest.md) | | + +### Return type + +[**SkillsUpstream**](SkillsUpstream.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ReposUpstreamSkillsDelete + +> ReposUpstreamSkillsDelete(ctx, owner, identifier, slugPerm).Execute() + +Delete an AI Skills upstream config for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_example" // string | + slugPerm := "slugPerm_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.ReposApi.ReposUpstreamSkillsDelete(context.Background(), owner, identifier, slugPerm).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsDelete``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | +**slugPerm** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsDeleteRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + +### Return type + + (empty response body) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ReposUpstreamSkillsList + +> []SkillsUpstream ReposUpstreamSkillsList(ctx, owner, identifier).Page(page).PageSize(pageSize).Execute() + +List AI Skills upstream configs for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_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) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamSkillsList(context.Background(), owner, identifier).Page(page).PageSize(pageSize).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamSkillsList`: []SkillsUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamSkillsList`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **page** | **int64** | A page number within the paginated result set. | + **pageSize** | **int64** | Number of results to return per page. | + +### Return type + +[**[]SkillsUpstream**](SkillsUpstream.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ReposUpstreamSkillsPartialUpdate + +> SkillsUpstream ReposUpstreamSkillsPartialUpdate(ctx, owner, identifier, slugPerm).Data(data).Execute() + +Partially update an AI Skills upstream config for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_example" // string | + slugPerm := "slugPerm_example" // string | + data := *openapiclient.NewSkillsUpstreamRequestPatch() // SkillsUpstreamRequestPatch | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamSkillsPartialUpdate(context.Background(), owner, identifier, slugPerm).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamSkillsPartialUpdate`: SkillsUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamSkillsPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | +**slugPerm** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **data** | [**SkillsUpstreamRequestPatch**](SkillsUpstreamRequestPatch.md) | | + +### Return type + +[**SkillsUpstream**](SkillsUpstream.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ReposUpstreamSkillsRead + +> SkillsUpstream ReposUpstreamSkillsRead(ctx, owner, identifier, slugPerm).Execute() + +Retrieve an AI Skills upstream config for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_example" // string | + slugPerm := "slugPerm_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamSkillsRead(context.Background(), owner, identifier, slugPerm).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsRead``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamSkillsRead`: SkillsUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamSkillsRead`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | +**slugPerm** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsReadRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + +### Return type + +[**SkillsUpstream**](SkillsUpstream.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ReposUpstreamSkillsUpdate + +> SkillsUpstream ReposUpstreamSkillsUpdate(ctx, owner, identifier, slugPerm).Data(data).Execute() + +Update an AI Skills upstream config for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_example" // string | + slugPerm := "slugPerm_example" // string | + data := *openapiclient.NewSkillsUpstreamRequest("Name_example", "UpstreamUrl_example") // SkillsUpstreamRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamSkillsUpdate(context.Background(), owner, identifier, slugPerm).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamSkillsUpdate`: SkillsUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamSkillsUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | +**slugPerm** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **data** | [**SkillsUpstreamRequest**](SkillsUpstreamRequest.md) | | + +### Return type + +[**SkillsUpstream**](SkillsUpstream.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## ReposUpstreamSwiftCreate > SwiftUpstream ReposUpstreamSwiftCreate(ctx, owner, identifier).Data(data).Execute() diff --git a/docs/Service.md b/docs/Service.md index a3ae8a848..58cbe0dad 100644 --- a/docs/Service.md +++ b/docs/Service.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **CreatedByUrl** | Pointer to **string** | | [optional] [readonly] **Description** | Pointer to **string** | The description of the service | [optional] **Key** | Pointer to **string** | The API key of the service | [optional] [readonly] -**KeyExpiresAt** | Pointer to **NullableTime** | The time at which the API key will expire. This will only be populated if the Organization has an active API Key Policy. | [optional] [readonly] +**KeyExpiresAt** | Pointer to **NullableTime** | The time at which the API key will expire. This will only be populated if the Organization has an active API key rule. | [optional] [readonly] **Name** | **string** | The name of the service | **Role** | Pointer to **string** | The role of the service. | [optional] [default to "Member"] **Slug** | Pointer to **string** | The slug of the service | [optional] [readonly] diff --git a/docs/SkillsPackageUpload.md b/docs/SkillsPackageUpload.md new file mode 100644 index 000000000..17101e6f5 --- /dev/null +++ b/docs/SkillsPackageUpload.md @@ -0,0 +1,2524 @@ +# SkillsPackageUpload + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **NullableString** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **NullableString** | A textual description of this package. | [optional] [readonly] +**DisplayName** | Pointer to **string** | | [optional] [readonly] +**DisplaySource** | Pointer to **string** | Where the package originated, for example: 'upstream' (proxied/cached from a configured upstream), 'connected_repository' (blended in from a connected target repository), or 'manual_upload' (uploaded directly to Cloudsmith). | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **NullableInt64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**FreeableStorage** | Pointer to **int64** | Amount of storage that will be freed if this package is deleted | [optional] [readonly] +**FullyQualifiedName** | Pointer to **NullableString** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Identifiers** | Pointer to **map[string]string** | Return a map of identifier field names and their values. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsCancellable** | Pointer to **bool** | | [optional] [readonly] +**IsCopyable** | Pointer to **bool** | | [optional] [readonly] +**IsDeleteable** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsHidden** | Pointer to **bool** | | [optional] [readonly] +**IsMoveable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsResyncable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **NullableString** | The license of this package. | [optional] [readonly] +**Name** | **string** | | +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**OsiApproved** | Pointer to **bool** | Whether the package's SPDX license is OSI-approved. | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] +**RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] +**Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**SpdxLicense** | Pointer to **NullableString** | The SPDX license identifier for this package. | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **NullableString** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**StorePath** | Pointer to **NullableString** | Absolute store path for the package, including store hash and name. | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **NullableString** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **NullableTime** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsAutomatic** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TagsStatic** | Pointer to **map[string][]string** | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional] [readonly] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | **string** | | +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewSkillsPackageUpload + +`func NewSkillsPackageUpload(name string, version string, ) *SkillsPackageUpload` + +NewSkillsPackageUpload instantiates a new SkillsPackageUpload object +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 + +### NewSkillsPackageUploadWithDefaults + +`func NewSkillsPackageUploadWithDefaults() *SkillsPackageUpload` + +NewSkillsPackageUploadWithDefaults instantiates a new SkillsPackageUpload 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 + +### GetArchitectures + +`func (o *SkillsPackageUpload) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *SkillsPackageUpload) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *SkillsPackageUpload) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *SkillsPackageUpload) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *SkillsPackageUpload) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *SkillsPackageUpload) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *SkillsPackageUpload) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *SkillsPackageUpload) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *SkillsPackageUpload) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *SkillsPackageUpload) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *SkillsPackageUpload) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *SkillsPackageUpload) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *SkillsPackageUpload) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *SkillsPackageUpload) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *SkillsPackageUpload) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *SkillsPackageUpload) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *SkillsPackageUpload) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *SkillsPackageUpload) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *SkillsPackageUpload) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *SkillsPackageUpload) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *SkillsPackageUpload) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *SkillsPackageUpload) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *SkillsPackageUpload) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *SkillsPackageUpload) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *SkillsPackageUpload) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *SkillsPackageUpload) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *SkillsPackageUpload) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *SkillsPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *SkillsPackageUpload) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *SkillsPackageUpload) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### SetDependenciesChecksumMd5Nil + +`func (o *SkillsPackageUpload) SetDependenciesChecksumMd5Nil(b bool)` + + SetDependenciesChecksumMd5Nil sets the value for DependenciesChecksumMd5 to be an explicit nil + +### UnsetDependenciesChecksumMd5 +`func (o *SkillsPackageUpload) UnsetDependenciesChecksumMd5()` + +UnsetDependenciesChecksumMd5 ensures that no value is present for DependenciesChecksumMd5, not even an explicit nil +### GetDependenciesUrl + +`func (o *SkillsPackageUpload) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *SkillsPackageUpload) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *SkillsPackageUpload) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *SkillsPackageUpload) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *SkillsPackageUpload) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *SkillsPackageUpload) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *SkillsPackageUpload) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *SkillsPackageUpload) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### SetDescriptionNil + +`func (o *SkillsPackageUpload) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *SkillsPackageUpload) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *SkillsPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *SkillsPackageUpload) GetDisplayNameOk() (*string, bool)` + +GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayName + +`func (o *SkillsPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *SkillsPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + +### GetDisplaySource + +`func (o *SkillsPackageUpload) GetDisplaySource() string` + +GetDisplaySource returns the DisplaySource field if non-nil, zero value otherwise. + +### GetDisplaySourceOk + +`func (o *SkillsPackageUpload) GetDisplaySourceOk() (*string, bool)` + +GetDisplaySourceOk returns a tuple with the DisplaySource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplaySource + +`func (o *SkillsPackageUpload) SetDisplaySource(v string)` + +SetDisplaySource sets DisplaySource field to given value. + +### HasDisplaySource + +`func (o *SkillsPackageUpload) HasDisplaySource() bool` + +HasDisplaySource returns a boolean if a field has been set. + +### GetDistro + +`func (o *SkillsPackageUpload) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *SkillsPackageUpload) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *SkillsPackageUpload) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *SkillsPackageUpload) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *SkillsPackageUpload) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *SkillsPackageUpload) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *SkillsPackageUpload) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *SkillsPackageUpload) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *SkillsPackageUpload) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *SkillsPackageUpload) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *SkillsPackageUpload) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *SkillsPackageUpload) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *SkillsPackageUpload) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *SkillsPackageUpload) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *SkillsPackageUpload) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *SkillsPackageUpload) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *SkillsPackageUpload) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *SkillsPackageUpload) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### SetEpochNil + +`func (o *SkillsPackageUpload) SetEpochNil(b bool)` + + SetEpochNil sets the value for Epoch to be an explicit nil + +### UnsetEpoch +`func (o *SkillsPackageUpload) UnsetEpoch()` + +UnsetEpoch ensures that no value is present for Epoch, not even an explicit nil +### GetExtension + +`func (o *SkillsPackageUpload) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *SkillsPackageUpload) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *SkillsPackageUpload) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *SkillsPackageUpload) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *SkillsPackageUpload) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *SkillsPackageUpload) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *SkillsPackageUpload) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *SkillsPackageUpload) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *SkillsPackageUpload) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *SkillsPackageUpload) GetFilesOk() (*[]PackageFile, bool)` + +GetFilesOk returns a tuple with the Files field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFiles + +`func (o *SkillsPackageUpload) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *SkillsPackageUpload) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *SkillsPackageUpload) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *SkillsPackageUpload) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *SkillsPackageUpload) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *SkillsPackageUpload) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *SkillsPackageUpload) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *SkillsPackageUpload) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *SkillsPackageUpload) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *SkillsPackageUpload) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetFreeableStorage + +`func (o *SkillsPackageUpload) GetFreeableStorage() int64` + +GetFreeableStorage returns the FreeableStorage field if non-nil, zero value otherwise. + +### GetFreeableStorageOk + +`func (o *SkillsPackageUpload) GetFreeableStorageOk() (*int64, bool)` + +GetFreeableStorageOk returns a tuple with the FreeableStorage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFreeableStorage + +`func (o *SkillsPackageUpload) SetFreeableStorage(v int64)` + +SetFreeableStorage sets FreeableStorage field to given value. + +### HasFreeableStorage + +`func (o *SkillsPackageUpload) HasFreeableStorage() bool` + +HasFreeableStorage returns a boolean if a field has been set. + +### GetFullyQualifiedName + +`func (o *SkillsPackageUpload) GetFullyQualifiedName() string` + +GetFullyQualifiedName returns the FullyQualifiedName field if non-nil, zero value otherwise. + +### GetFullyQualifiedNameOk + +`func (o *SkillsPackageUpload) GetFullyQualifiedNameOk() (*string, bool)` + +GetFullyQualifiedNameOk returns a tuple with the FullyQualifiedName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFullyQualifiedName + +`func (o *SkillsPackageUpload) SetFullyQualifiedName(v string)` + +SetFullyQualifiedName sets FullyQualifiedName field to given value. + +### HasFullyQualifiedName + +`func (o *SkillsPackageUpload) HasFullyQualifiedName() bool` + +HasFullyQualifiedName returns a boolean if a field has been set. + +### SetFullyQualifiedNameNil + +`func (o *SkillsPackageUpload) SetFullyQualifiedNameNil(b bool)` + + SetFullyQualifiedNameNil sets the value for FullyQualifiedName to be an explicit nil + +### UnsetFullyQualifiedName +`func (o *SkillsPackageUpload) UnsetFullyQualifiedName()` + +UnsetFullyQualifiedName ensures that no value is present for FullyQualifiedName, not even an explicit nil +### GetIdentifierPerm + +`func (o *SkillsPackageUpload) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *SkillsPackageUpload) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *SkillsPackageUpload) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *SkillsPackageUpload) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIdentifiers + +`func (o *SkillsPackageUpload) GetIdentifiers() map[string]string` + +GetIdentifiers returns the Identifiers field if non-nil, zero value otherwise. + +### GetIdentifiersOk + +`func (o *SkillsPackageUpload) GetIdentifiersOk() (*map[string]string, bool)` + +GetIdentifiersOk returns a tuple with the Identifiers field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifiers + +`func (o *SkillsPackageUpload) SetIdentifiers(v map[string]string)` + +SetIdentifiers sets Identifiers field to given value. + +### HasIdentifiers + +`func (o *SkillsPackageUpload) HasIdentifiers() bool` + +HasIdentifiers returns a boolean if a field has been set. + +### GetIndexed + +`func (o *SkillsPackageUpload) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *SkillsPackageUpload) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *SkillsPackageUpload) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *SkillsPackageUpload) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsCancellable + +`func (o *SkillsPackageUpload) GetIsCancellable() bool` + +GetIsCancellable returns the IsCancellable field if non-nil, zero value otherwise. + +### GetIsCancellableOk + +`func (o *SkillsPackageUpload) GetIsCancellableOk() (*bool, bool)` + +GetIsCancellableOk returns a tuple with the IsCancellable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsCancellable + +`func (o *SkillsPackageUpload) SetIsCancellable(v bool)` + +SetIsCancellable sets IsCancellable field to given value. + +### HasIsCancellable + +`func (o *SkillsPackageUpload) HasIsCancellable() bool` + +HasIsCancellable returns a boolean if a field has been set. + +### GetIsCopyable + +`func (o *SkillsPackageUpload) GetIsCopyable() bool` + +GetIsCopyable returns the IsCopyable field if non-nil, zero value otherwise. + +### GetIsCopyableOk + +`func (o *SkillsPackageUpload) GetIsCopyableOk() (*bool, bool)` + +GetIsCopyableOk returns a tuple with the IsCopyable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsCopyable + +`func (o *SkillsPackageUpload) SetIsCopyable(v bool)` + +SetIsCopyable sets IsCopyable field to given value. + +### HasIsCopyable + +`func (o *SkillsPackageUpload) HasIsCopyable() bool` + +HasIsCopyable returns a boolean if a field has been set. + +### GetIsDeleteable + +`func (o *SkillsPackageUpload) GetIsDeleteable() bool` + +GetIsDeleteable returns the IsDeleteable field if non-nil, zero value otherwise. + +### GetIsDeleteableOk + +`func (o *SkillsPackageUpload) GetIsDeleteableOk() (*bool, bool)` + +GetIsDeleteableOk returns a tuple with the IsDeleteable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDeleteable + +`func (o *SkillsPackageUpload) SetIsDeleteable(v bool)` + +SetIsDeleteable sets IsDeleteable field to given value. + +### HasIsDeleteable + +`func (o *SkillsPackageUpload) HasIsDeleteable() bool` + +HasIsDeleteable returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *SkillsPackageUpload) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *SkillsPackageUpload) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *SkillsPackageUpload) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *SkillsPackageUpload) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsHidden + +`func (o *SkillsPackageUpload) GetIsHidden() bool` + +GetIsHidden returns the IsHidden field if non-nil, zero value otherwise. + +### GetIsHiddenOk + +`func (o *SkillsPackageUpload) GetIsHiddenOk() (*bool, bool)` + +GetIsHiddenOk returns a tuple with the IsHidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsHidden + +`func (o *SkillsPackageUpload) SetIsHidden(v bool)` + +SetIsHidden sets IsHidden field to given value. + +### HasIsHidden + +`func (o *SkillsPackageUpload) HasIsHidden() bool` + +HasIsHidden returns a boolean if a field has been set. + +### GetIsMoveable + +`func (o *SkillsPackageUpload) GetIsMoveable() bool` + +GetIsMoveable returns the IsMoveable field if non-nil, zero value otherwise. + +### GetIsMoveableOk + +`func (o *SkillsPackageUpload) GetIsMoveableOk() (*bool, bool)` + +GetIsMoveableOk returns a tuple with the IsMoveable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsMoveable + +`func (o *SkillsPackageUpload) SetIsMoveable(v bool)` + +SetIsMoveable sets IsMoveable field to given value. + +### HasIsMoveable + +`func (o *SkillsPackageUpload) HasIsMoveable() bool` + +HasIsMoveable returns a boolean if a field has been set. + +### GetIsQuarantinable + +`func (o *SkillsPackageUpload) GetIsQuarantinable() bool` + +GetIsQuarantinable returns the IsQuarantinable field if non-nil, zero value otherwise. + +### GetIsQuarantinableOk + +`func (o *SkillsPackageUpload) GetIsQuarantinableOk() (*bool, bool)` + +GetIsQuarantinableOk returns a tuple with the IsQuarantinable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantinable + +`func (o *SkillsPackageUpload) SetIsQuarantinable(v bool)` + +SetIsQuarantinable sets IsQuarantinable field to given value. + +### HasIsQuarantinable + +`func (o *SkillsPackageUpload) HasIsQuarantinable() bool` + +HasIsQuarantinable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *SkillsPackageUpload) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *SkillsPackageUpload) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *SkillsPackageUpload) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *SkillsPackageUpload) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsResyncable + +`func (o *SkillsPackageUpload) GetIsResyncable() bool` + +GetIsResyncable returns the IsResyncable field if non-nil, zero value otherwise. + +### GetIsResyncableOk + +`func (o *SkillsPackageUpload) GetIsResyncableOk() (*bool, bool)` + +GetIsResyncableOk returns a tuple with the IsResyncable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsResyncable + +`func (o *SkillsPackageUpload) SetIsResyncable(v bool)` + +SetIsResyncable sets IsResyncable field to given value. + +### HasIsResyncable + +`func (o *SkillsPackageUpload) HasIsResyncable() bool` + +HasIsResyncable returns a boolean if a field has been set. + +### GetIsSecurityScannable + +`func (o *SkillsPackageUpload) GetIsSecurityScannable() bool` + +GetIsSecurityScannable returns the IsSecurityScannable field if non-nil, zero value otherwise. + +### GetIsSecurityScannableOk + +`func (o *SkillsPackageUpload) GetIsSecurityScannableOk() (*bool, bool)` + +GetIsSecurityScannableOk returns a tuple with the IsSecurityScannable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSecurityScannable + +`func (o *SkillsPackageUpload) SetIsSecurityScannable(v bool)` + +SetIsSecurityScannable sets IsSecurityScannable field to given value. + +### HasIsSecurityScannable + +`func (o *SkillsPackageUpload) HasIsSecurityScannable() bool` + +HasIsSecurityScannable returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *SkillsPackageUpload) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *SkillsPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *SkillsPackageUpload) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *SkillsPackageUpload) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *SkillsPackageUpload) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *SkillsPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *SkillsPackageUpload) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *SkillsPackageUpload) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *SkillsPackageUpload) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *SkillsPackageUpload) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *SkillsPackageUpload) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *SkillsPackageUpload) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *SkillsPackageUpload) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *SkillsPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *SkillsPackageUpload) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *SkillsPackageUpload) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *SkillsPackageUpload) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *SkillsPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *SkillsPackageUpload) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *SkillsPackageUpload) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *SkillsPackageUpload) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *SkillsPackageUpload) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *SkillsPackageUpload) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *SkillsPackageUpload) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### SetLicenseNil + +`func (o *SkillsPackageUpload) SetLicenseNil(b bool)` + + SetLicenseNil sets the value for License to be an explicit nil + +### UnsetLicense +`func (o *SkillsPackageUpload) UnsetLicense()` + +UnsetLicense ensures that no value is present for License, not even an explicit nil +### GetName + +`func (o *SkillsPackageUpload) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsPackageUpload) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsPackageUpload) SetName(v string)` + +SetName sets Name field to given value. + + +### GetNamespace + +`func (o *SkillsPackageUpload) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *SkillsPackageUpload) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *SkillsPackageUpload) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *SkillsPackageUpload) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *SkillsPackageUpload) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *SkillsPackageUpload) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *SkillsPackageUpload) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *SkillsPackageUpload) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *SkillsPackageUpload) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *SkillsPackageUpload) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *SkillsPackageUpload) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *SkillsPackageUpload) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *SkillsPackageUpload) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *SkillsPackageUpload) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *SkillsPackageUpload) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *SkillsPackageUpload) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *SkillsPackageUpload) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *SkillsPackageUpload) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *SkillsPackageUpload) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *SkillsPackageUpload) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetOsiApproved + +`func (o *SkillsPackageUpload) GetOsiApproved() bool` + +GetOsiApproved returns the OsiApproved field if non-nil, zero value otherwise. + +### GetOsiApprovedOk + +`func (o *SkillsPackageUpload) GetOsiApprovedOk() (*bool, bool)` + +GetOsiApprovedOk returns a tuple with the OsiApproved field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOsiApproved + +`func (o *SkillsPackageUpload) SetOsiApproved(v bool)` + +SetOsiApproved sets OsiApproved field to given value. + +### HasOsiApproved + +`func (o *SkillsPackageUpload) HasOsiApproved() bool` + +HasOsiApproved returns a boolean if a field has been set. + +### GetPackageType + +`func (o *SkillsPackageUpload) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *SkillsPackageUpload) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *SkillsPackageUpload) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *SkillsPackageUpload) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetPolicyViolated + +`func (o *SkillsPackageUpload) GetPolicyViolated() bool` + +GetPolicyViolated returns the PolicyViolated field if non-nil, zero value otherwise. + +### GetPolicyViolatedOk + +`func (o *SkillsPackageUpload) GetPolicyViolatedOk() (*bool, bool)` + +GetPolicyViolatedOk returns a tuple with the PolicyViolated field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPolicyViolated + +`func (o *SkillsPackageUpload) SetPolicyViolated(v bool)` + +SetPolicyViolated sets PolicyViolated field to given value. + +### HasPolicyViolated + +`func (o *SkillsPackageUpload) HasPolicyViolated() bool` + +HasPolicyViolated returns a boolean if a field has been set. + +### GetRawLicense + +`func (o *SkillsPackageUpload) GetRawLicense() string` + +GetRawLicense returns the RawLicense field if non-nil, zero value otherwise. + +### GetRawLicenseOk + +`func (o *SkillsPackageUpload) GetRawLicenseOk() (*string, bool)` + +GetRawLicenseOk returns a tuple with the RawLicense field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRawLicense + +`func (o *SkillsPackageUpload) SetRawLicense(v string)` + +SetRawLicense sets RawLicense field to given value. + +### HasRawLicense + +`func (o *SkillsPackageUpload) HasRawLicense() bool` + +HasRawLicense returns a boolean if a field has been set. + +### SetRawLicenseNil + +`func (o *SkillsPackageUpload) SetRawLicenseNil(b bool)` + + SetRawLicenseNil sets the value for RawLicense to be an explicit nil + +### UnsetRawLicense +`func (o *SkillsPackageUpload) UnsetRawLicense()` + +UnsetRawLicense ensures that no value is present for RawLicense, not even an explicit nil +### GetRelease + +`func (o *SkillsPackageUpload) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *SkillsPackageUpload) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *SkillsPackageUpload) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *SkillsPackageUpload) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### SetReleaseNil + +`func (o *SkillsPackageUpload) SetReleaseNil(b bool)` + + SetReleaseNil sets the value for Release to be an explicit nil + +### UnsetRelease +`func (o *SkillsPackageUpload) UnsetRelease()` + +UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetRepository + +`func (o *SkillsPackageUpload) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *SkillsPackageUpload) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *SkillsPackageUpload) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *SkillsPackageUpload) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *SkillsPackageUpload) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *SkillsPackageUpload) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *SkillsPackageUpload) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *SkillsPackageUpload) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *SkillsPackageUpload) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *SkillsPackageUpload) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *SkillsPackageUpload) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *SkillsPackageUpload) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### SetSecurityScanCompletedAtNil + +`func (o *SkillsPackageUpload) SetSecurityScanCompletedAtNil(b bool)` + + SetSecurityScanCompletedAtNil sets the value for SecurityScanCompletedAt to be an explicit nil + +### UnsetSecurityScanCompletedAt +`func (o *SkillsPackageUpload) UnsetSecurityScanCompletedAt()` + +UnsetSecurityScanCompletedAt ensures that no value is present for SecurityScanCompletedAt, not even an explicit nil +### GetSecurityScanStartedAt + +`func (o *SkillsPackageUpload) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *SkillsPackageUpload) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *SkillsPackageUpload) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *SkillsPackageUpload) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### SetSecurityScanStartedAtNil + +`func (o *SkillsPackageUpload) SetSecurityScanStartedAtNil(b bool)` + + SetSecurityScanStartedAtNil sets the value for SecurityScanStartedAt to be an explicit nil + +### UnsetSecurityScanStartedAt +`func (o *SkillsPackageUpload) UnsetSecurityScanStartedAt()` + +UnsetSecurityScanStartedAt ensures that no value is present for SecurityScanStartedAt, not even an explicit nil +### GetSecurityScanStatus + +`func (o *SkillsPackageUpload) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *SkillsPackageUpload) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *SkillsPackageUpload) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *SkillsPackageUpload) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *SkillsPackageUpload) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *SkillsPackageUpload) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *SkillsPackageUpload) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *SkillsPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *SkillsPackageUpload) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *SkillsPackageUpload) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### SetSecurityScanStatusUpdatedAtNil + +`func (o *SkillsPackageUpload) SetSecurityScanStatusUpdatedAtNil(b bool)` + + SetSecurityScanStatusUpdatedAtNil sets the value for SecurityScanStatusUpdatedAt to be an explicit nil + +### UnsetSecurityScanStatusUpdatedAt +`func (o *SkillsPackageUpload) UnsetSecurityScanStatusUpdatedAt()` + +UnsetSecurityScanStatusUpdatedAt ensures that no value is present for SecurityScanStatusUpdatedAt, not even an explicit nil +### GetSelfHtmlUrl + +`func (o *SkillsPackageUpload) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *SkillsPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *SkillsPackageUpload) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *SkillsPackageUpload) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *SkillsPackageUpload) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *SkillsPackageUpload) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *SkillsPackageUpload) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *SkillsPackageUpload) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSelfWebappUrl + +`func (o *SkillsPackageUpload) GetSelfWebappUrl() string` + +GetSelfWebappUrl returns the SelfWebappUrl field if non-nil, zero value otherwise. + +### GetSelfWebappUrlOk + +`func (o *SkillsPackageUpload) GetSelfWebappUrlOk() (*string, bool)` + +GetSelfWebappUrlOk returns a tuple with the SelfWebappUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfWebappUrl + +`func (o *SkillsPackageUpload) SetSelfWebappUrl(v string)` + +SetSelfWebappUrl sets SelfWebappUrl field to given value. + +### HasSelfWebappUrl + +`func (o *SkillsPackageUpload) HasSelfWebappUrl() bool` + +HasSelfWebappUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *SkillsPackageUpload) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *SkillsPackageUpload) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *SkillsPackageUpload) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *SkillsPackageUpload) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *SkillsPackageUpload) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *SkillsPackageUpload) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *SkillsPackageUpload) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *SkillsPackageUpload) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *SkillsPackageUpload) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *SkillsPackageUpload) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *SkillsPackageUpload) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *SkillsPackageUpload) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *SkillsPackageUpload) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *SkillsPackageUpload) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *SkillsPackageUpload) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *SkillsPackageUpload) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *SkillsPackageUpload) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *SkillsPackageUpload) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetSpdxLicense + +`func (o *SkillsPackageUpload) GetSpdxLicense() string` + +GetSpdxLicense returns the SpdxLicense field if non-nil, zero value otherwise. + +### GetSpdxLicenseOk + +`func (o *SkillsPackageUpload) GetSpdxLicenseOk() (*string, bool)` + +GetSpdxLicenseOk returns a tuple with the SpdxLicense field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSpdxLicense + +`func (o *SkillsPackageUpload) SetSpdxLicense(v string)` + +SetSpdxLicense sets SpdxLicense field to given value. + +### HasSpdxLicense + +`func (o *SkillsPackageUpload) HasSpdxLicense() bool` + +HasSpdxLicense returns a boolean if a field has been set. + +### SetSpdxLicenseNil + +`func (o *SkillsPackageUpload) SetSpdxLicenseNil(b bool)` + + SetSpdxLicenseNil sets the value for SpdxLicense to be an explicit nil + +### UnsetSpdxLicense +`func (o *SkillsPackageUpload) UnsetSpdxLicense()` + +UnsetSpdxLicense ensures that no value is present for SpdxLicense, not even an explicit nil +### GetStage + +`func (o *SkillsPackageUpload) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *SkillsPackageUpload) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *SkillsPackageUpload) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *SkillsPackageUpload) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *SkillsPackageUpload) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *SkillsPackageUpload) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *SkillsPackageUpload) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *SkillsPackageUpload) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *SkillsPackageUpload) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *SkillsPackageUpload) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *SkillsPackageUpload) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *SkillsPackageUpload) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *SkillsPackageUpload) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *SkillsPackageUpload) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *SkillsPackageUpload) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *SkillsPackageUpload) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *SkillsPackageUpload) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *SkillsPackageUpload) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *SkillsPackageUpload) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *SkillsPackageUpload) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### SetStatusReasonNil + +`func (o *SkillsPackageUpload) SetStatusReasonNil(b bool)` + + SetStatusReasonNil sets the value for StatusReason to be an explicit nil + +### UnsetStatusReason +`func (o *SkillsPackageUpload) UnsetStatusReason()` + +UnsetStatusReason ensures that no value is present for StatusReason, not even an explicit nil +### GetStatusStr + +`func (o *SkillsPackageUpload) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *SkillsPackageUpload) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *SkillsPackageUpload) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *SkillsPackageUpload) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *SkillsPackageUpload) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *SkillsPackageUpload) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *SkillsPackageUpload) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *SkillsPackageUpload) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *SkillsPackageUpload) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *SkillsPackageUpload) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *SkillsPackageUpload) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *SkillsPackageUpload) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetStorePath + +`func (o *SkillsPackageUpload) GetStorePath() string` + +GetStorePath returns the StorePath field if non-nil, zero value otherwise. + +### GetStorePathOk + +`func (o *SkillsPackageUpload) GetStorePathOk() (*string, bool)` + +GetStorePathOk returns a tuple with the StorePath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStorePath + +`func (o *SkillsPackageUpload) SetStorePath(v string)` + +SetStorePath sets StorePath field to given value. + +### HasStorePath + +`func (o *SkillsPackageUpload) HasStorePath() bool` + +HasStorePath returns a boolean if a field has been set. + +### SetStorePathNil + +`func (o *SkillsPackageUpload) SetStorePathNil(b bool)` + + SetStorePathNil sets the value for StorePath to be an explicit nil + +### UnsetStorePath +`func (o *SkillsPackageUpload) UnsetStorePath()` + +UnsetStorePath ensures that no value is present for StorePath, not even an explicit nil +### GetSubtype + +`func (o *SkillsPackageUpload) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *SkillsPackageUpload) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *SkillsPackageUpload) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *SkillsPackageUpload) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *SkillsPackageUpload) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *SkillsPackageUpload) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *SkillsPackageUpload) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *SkillsPackageUpload) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### SetSummaryNil + +`func (o *SkillsPackageUpload) SetSummaryNil(b bool)` + + SetSummaryNil sets the value for Summary to be an explicit nil + +### UnsetSummary +`func (o *SkillsPackageUpload) UnsetSummary()` + +UnsetSummary ensures that no value is present for Summary, not even an explicit nil +### GetSyncFinishedAt + +`func (o *SkillsPackageUpload) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *SkillsPackageUpload) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *SkillsPackageUpload) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *SkillsPackageUpload) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### SetSyncFinishedAtNil + +`func (o *SkillsPackageUpload) SetSyncFinishedAtNil(b bool)` + + SetSyncFinishedAtNil sets the value for SyncFinishedAt to be an explicit nil + +### UnsetSyncFinishedAt +`func (o *SkillsPackageUpload) UnsetSyncFinishedAt()` + +UnsetSyncFinishedAt ensures that no value is present for SyncFinishedAt, not even an explicit nil +### GetSyncProgress + +`func (o *SkillsPackageUpload) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *SkillsPackageUpload) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *SkillsPackageUpload) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *SkillsPackageUpload) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsAutomatic + +`func (o *SkillsPackageUpload) GetTagsAutomatic() map[string]interface{}` + +GetTagsAutomatic returns the TagsAutomatic field if non-nil, zero value otherwise. + +### GetTagsAutomaticOk + +`func (o *SkillsPackageUpload) GetTagsAutomaticOk() (*map[string]interface{}, bool)` + +GetTagsAutomaticOk returns a tuple with the TagsAutomatic field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsAutomatic + +`func (o *SkillsPackageUpload) SetTagsAutomatic(v map[string]interface{})` + +SetTagsAutomatic sets TagsAutomatic field to given value. + +### HasTagsAutomatic + +`func (o *SkillsPackageUpload) HasTagsAutomatic() bool` + +HasTagsAutomatic returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *SkillsPackageUpload) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *SkillsPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *SkillsPackageUpload) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *SkillsPackageUpload) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTagsStatic + +`func (o *SkillsPackageUpload) GetTagsStatic() map[string][]string` + +GetTagsStatic returns the TagsStatic field if non-nil, zero value otherwise. + +### GetTagsStaticOk + +`func (o *SkillsPackageUpload) GetTagsStaticOk() (*map[string][]string, bool)` + +GetTagsStaticOk returns a tuple with the TagsStatic field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsStatic + +`func (o *SkillsPackageUpload) SetTagsStatic(v map[string][]string)` + +SetTagsStatic sets TagsStatic field to given value. + +### HasTagsStatic + +`func (o *SkillsPackageUpload) HasTagsStatic() bool` + +HasTagsStatic returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *SkillsPackageUpload) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *SkillsPackageUpload) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *SkillsPackageUpload) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *SkillsPackageUpload) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *SkillsPackageUpload) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *SkillsPackageUpload) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *SkillsPackageUpload) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *SkillsPackageUpload) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *SkillsPackageUpload) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *SkillsPackageUpload) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *SkillsPackageUpload) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *SkillsPackageUpload) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *SkillsPackageUpload) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *SkillsPackageUpload) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *SkillsPackageUpload) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *SkillsPackageUpload) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *SkillsPackageUpload) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *SkillsPackageUpload) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *SkillsPackageUpload) SetVersion(v string)` + +SetVersion sets Version field to given value. + + +### GetVersionOrig + +`func (o *SkillsPackageUpload) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *SkillsPackageUpload) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *SkillsPackageUpload) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *SkillsPackageUpload) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *SkillsPackageUpload) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *SkillsPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *SkillsPackageUpload) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *SkillsPackageUpload) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/SkillsPackageUploadRequest.md b/docs/SkillsPackageUploadRequest.md new file mode 100644 index 000000000..2cc61156b --- /dev/null +++ b/docs/SkillsPackageUploadRequest.md @@ -0,0 +1,155 @@ +# SkillsPackageUploadRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | | +**PackageFile** | **string** | The primary file for the package. | +**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] +**Version** | **string** | | + +## Methods + +### NewSkillsPackageUploadRequest + +`func NewSkillsPackageUploadRequest(name string, packageFile string, version string, ) *SkillsPackageUploadRequest` + +NewSkillsPackageUploadRequest instantiates a new SkillsPackageUploadRequest object +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 + +### NewSkillsPackageUploadRequestWithDefaults + +`func NewSkillsPackageUploadRequestWithDefaults() *SkillsPackageUploadRequest` + +NewSkillsPackageUploadRequestWithDefaults instantiates a new SkillsPackageUploadRequest 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 + +### GetName + +`func (o *SkillsPackageUploadRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsPackageUploadRequest) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsPackageUploadRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetPackageFile + +`func (o *SkillsPackageUploadRequest) GetPackageFile() string` + +GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. + +### GetPackageFileOk + +`func (o *SkillsPackageUploadRequest) GetPackageFileOk() (*string, bool)` + +GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageFile + +`func (o *SkillsPackageUploadRequest) SetPackageFile(v string)` + +SetPackageFile sets PackageFile field to given value. + + +### GetRepublish + +`func (o *SkillsPackageUploadRequest) GetRepublish() bool` + +GetRepublish returns the Republish field if non-nil, zero value otherwise. + +### GetRepublishOk + +`func (o *SkillsPackageUploadRequest) GetRepublishOk() (*bool, bool)` + +GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepublish + +`func (o *SkillsPackageUploadRequest) SetRepublish(v bool)` + +SetRepublish sets Republish field to given value. + +### HasRepublish + +`func (o *SkillsPackageUploadRequest) HasRepublish() bool` + +HasRepublish returns a boolean if a field has been set. + +### GetTags + +`func (o *SkillsPackageUploadRequest) GetTags() string` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *SkillsPackageUploadRequest) GetTagsOk() (*string, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *SkillsPackageUploadRequest) SetTags(v string)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *SkillsPackageUploadRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *SkillsPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *SkillsPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetVersion + +`func (o *SkillsPackageUploadRequest) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *SkillsPackageUploadRequest) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *SkillsPackageUploadRequest) SetVersion(v string)` + +SetVersion sets Version field to given value. + + + +[[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/SkillsUpstream.md b/docs/SkillsUpstream.md new file mode 100644 index 000000000..e4542c7ad --- /dev/null +++ b/docs/SkillsUpstream.md @@ -0,0 +1,786 @@ +# SkillsUpstream + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AuthMode** | Pointer to **string** | The authentication mode to use when accessing this upstream. | [optional] [default to "None"] +**AuthSecret** | Pointer to **NullableString** | Secret to provide with requests to upstream. | [optional] +**AuthUsername** | Pointer to **NullableString** | Username to provide with requests to upstream. | [optional] +**Available** | Pointer to **bool** | Whether the upstream is available for use. | [optional] [readonly] +**CanReindex** | Pointer to **bool** | Whether the upstream can be reindexed. | [optional] [readonly] +**CreatedAt** | Pointer to **time.Time** | The datetime the upstream source was created. | [optional] [readonly] +**DisableReason** | Pointer to **string** | | [optional] [readonly] [default to "N/A"] +**DisableReasonText** | Pointer to **string** | Human-readable explanation of why this upstream is disabled | [optional] [readonly] +**ExtraHeader1** | Pointer to **NullableString** | The key for extra header #1 to send to upstream. | [optional] +**ExtraHeader2** | Pointer to **NullableString** | The key for extra header #2 to send to upstream. | [optional] +**ExtraValue1** | Pointer to **NullableString** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**ExtraValue2** | Pointer to **NullableString** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**HasFailedSignatureVerification** | Pointer to **bool** | Whether the upstream has failed signature verification. | [optional] [readonly] +**IndexPackageCount** | Pointer to **NullableInt64** | The number of packages available in this upstream source | [optional] [readonly] +**IndexStatus** | Pointer to **NullableString** | The current indexing status of this upstream source | [optional] [readonly] +**IsActive** | Pointer to **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**LastIndexed** | Pointer to **NullableString** | The last time this upstream source was indexed | [optional] [readonly] +**Mode** | Pointer to **string** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to "Proxy Only"] +**Name** | **string** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | +**PendingValidation** | Pointer to **bool** | When true, this upstream source is pending validation. | [optional] [readonly] +**Priority** | Pointer to **int64** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**Selections** | Pointer to [**[]SkillsUpstreamSelection**](SkillsUpstreamSelection.md) | Exact ClawHub releases to cache. | [optional] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**UpdatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**UpstreamUrl** | **string** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | +**VerifySsl** | Pointer to **bool** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional] + +## Methods + +### NewSkillsUpstream + +`func NewSkillsUpstream(name string, upstreamUrl string, ) *SkillsUpstream` + +NewSkillsUpstream instantiates a new SkillsUpstream object +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 + +### NewSkillsUpstreamWithDefaults + +`func NewSkillsUpstreamWithDefaults() *SkillsUpstream` + +NewSkillsUpstreamWithDefaults instantiates a new SkillsUpstream 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 + +### GetAuthMode + +`func (o *SkillsUpstream) GetAuthMode() string` + +GetAuthMode returns the AuthMode field if non-nil, zero value otherwise. + +### GetAuthModeOk + +`func (o *SkillsUpstream) GetAuthModeOk() (*string, bool)` + +GetAuthModeOk returns a tuple with the AuthMode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthMode + +`func (o *SkillsUpstream) SetAuthMode(v string)` + +SetAuthMode sets AuthMode field to given value. + +### HasAuthMode + +`func (o *SkillsUpstream) HasAuthMode() bool` + +HasAuthMode returns a boolean if a field has been set. + +### GetAuthSecret + +`func (o *SkillsUpstream) GetAuthSecret() string` + +GetAuthSecret returns the AuthSecret field if non-nil, zero value otherwise. + +### GetAuthSecretOk + +`func (o *SkillsUpstream) GetAuthSecretOk() (*string, bool)` + +GetAuthSecretOk returns a tuple with the AuthSecret field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthSecret + +`func (o *SkillsUpstream) SetAuthSecret(v string)` + +SetAuthSecret sets AuthSecret field to given value. + +### HasAuthSecret + +`func (o *SkillsUpstream) HasAuthSecret() bool` + +HasAuthSecret returns a boolean if a field has been set. + +### SetAuthSecretNil + +`func (o *SkillsUpstream) SetAuthSecretNil(b bool)` + + SetAuthSecretNil sets the value for AuthSecret to be an explicit nil + +### UnsetAuthSecret +`func (o *SkillsUpstream) UnsetAuthSecret()` + +UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +### GetAuthUsername + +`func (o *SkillsUpstream) GetAuthUsername() string` + +GetAuthUsername returns the AuthUsername field if non-nil, zero value otherwise. + +### GetAuthUsernameOk + +`func (o *SkillsUpstream) GetAuthUsernameOk() (*string, bool)` + +GetAuthUsernameOk returns a tuple with the AuthUsername field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthUsername + +`func (o *SkillsUpstream) SetAuthUsername(v string)` + +SetAuthUsername sets AuthUsername field to given value. + +### HasAuthUsername + +`func (o *SkillsUpstream) HasAuthUsername() bool` + +HasAuthUsername returns a boolean if a field has been set. + +### SetAuthUsernameNil + +`func (o *SkillsUpstream) SetAuthUsernameNil(b bool)` + + SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil + +### UnsetAuthUsername +`func (o *SkillsUpstream) UnsetAuthUsername()` + +UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +### GetAvailable + +`func (o *SkillsUpstream) GetAvailable() bool` + +GetAvailable returns the Available field if non-nil, zero value otherwise. + +### GetAvailableOk + +`func (o *SkillsUpstream) GetAvailableOk() (*bool, bool)` + +GetAvailableOk returns a tuple with the Available field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAvailable + +`func (o *SkillsUpstream) SetAvailable(v bool)` + +SetAvailable sets Available field to given value. + +### HasAvailable + +`func (o *SkillsUpstream) HasAvailable() bool` + +HasAvailable returns a boolean if a field has been set. + +### GetCanReindex + +`func (o *SkillsUpstream) GetCanReindex() bool` + +GetCanReindex returns the CanReindex field if non-nil, zero value otherwise. + +### GetCanReindexOk + +`func (o *SkillsUpstream) GetCanReindexOk() (*bool, bool)` + +GetCanReindexOk returns a tuple with the CanReindex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCanReindex + +`func (o *SkillsUpstream) SetCanReindex(v bool)` + +SetCanReindex sets CanReindex field to given value. + +### HasCanReindex + +`func (o *SkillsUpstream) HasCanReindex() bool` + +HasCanReindex returns a boolean if a field has been set. + +### GetCreatedAt + +`func (o *SkillsUpstream) GetCreatedAt() time.Time` + +GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. + +### GetCreatedAtOk + +`func (o *SkillsUpstream) GetCreatedAtOk() (*time.Time, bool)` + +GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedAt + +`func (o *SkillsUpstream) SetCreatedAt(v time.Time)` + +SetCreatedAt sets CreatedAt field to given value. + +### HasCreatedAt + +`func (o *SkillsUpstream) HasCreatedAt() bool` + +HasCreatedAt returns a boolean if a field has been set. + +### GetDisableReason + +`func (o *SkillsUpstream) GetDisableReason() string` + +GetDisableReason returns the DisableReason field if non-nil, zero value otherwise. + +### GetDisableReasonOk + +`func (o *SkillsUpstream) 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 *SkillsUpstream) SetDisableReason(v string)` + +SetDisableReason sets DisableReason field to given value. + +### HasDisableReason + +`func (o *SkillsUpstream) HasDisableReason() bool` + +HasDisableReason returns a boolean if a field has been set. + +### GetDisableReasonText + +`func (o *SkillsUpstream) GetDisableReasonText() string` + +GetDisableReasonText returns the DisableReasonText field if non-nil, zero value otherwise. + +### GetDisableReasonTextOk + +`func (o *SkillsUpstream) 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 *SkillsUpstream) SetDisableReasonText(v string)` + +SetDisableReasonText sets DisableReasonText field to given value. + +### HasDisableReasonText + +`func (o *SkillsUpstream) HasDisableReasonText() bool` + +HasDisableReasonText returns a boolean if a field has been set. + +### GetExtraHeader1 + +`func (o *SkillsUpstream) GetExtraHeader1() string` + +GetExtraHeader1 returns the ExtraHeader1 field if non-nil, zero value otherwise. + +### GetExtraHeader1Ok + +`func (o *SkillsUpstream) GetExtraHeader1Ok() (*string, bool)` + +GetExtraHeader1Ok returns a tuple with the ExtraHeader1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader1 + +`func (o *SkillsUpstream) SetExtraHeader1(v string)` + +SetExtraHeader1 sets ExtraHeader1 field to given value. + +### HasExtraHeader1 + +`func (o *SkillsUpstream) HasExtraHeader1() bool` + +HasExtraHeader1 returns a boolean if a field has been set. + +### SetExtraHeader1Nil + +`func (o *SkillsUpstream) SetExtraHeader1Nil(b bool)` + + SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil + +### UnsetExtraHeader1 +`func (o *SkillsUpstream) UnsetExtraHeader1()` + +UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +### GetExtraHeader2 + +`func (o *SkillsUpstream) GetExtraHeader2() string` + +GetExtraHeader2 returns the ExtraHeader2 field if non-nil, zero value otherwise. + +### GetExtraHeader2Ok + +`func (o *SkillsUpstream) GetExtraHeader2Ok() (*string, bool)` + +GetExtraHeader2Ok returns a tuple with the ExtraHeader2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader2 + +`func (o *SkillsUpstream) SetExtraHeader2(v string)` + +SetExtraHeader2 sets ExtraHeader2 field to given value. + +### HasExtraHeader2 + +`func (o *SkillsUpstream) HasExtraHeader2() bool` + +HasExtraHeader2 returns a boolean if a field has been set. + +### SetExtraHeader2Nil + +`func (o *SkillsUpstream) SetExtraHeader2Nil(b bool)` + + SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil + +### UnsetExtraHeader2 +`func (o *SkillsUpstream) UnsetExtraHeader2()` + +UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +### GetExtraValue1 + +`func (o *SkillsUpstream) GetExtraValue1() string` + +GetExtraValue1 returns the ExtraValue1 field if non-nil, zero value otherwise. + +### GetExtraValue1Ok + +`func (o *SkillsUpstream) GetExtraValue1Ok() (*string, bool)` + +GetExtraValue1Ok returns a tuple with the ExtraValue1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue1 + +`func (o *SkillsUpstream) SetExtraValue1(v string)` + +SetExtraValue1 sets ExtraValue1 field to given value. + +### HasExtraValue1 + +`func (o *SkillsUpstream) HasExtraValue1() bool` + +HasExtraValue1 returns a boolean if a field has been set. + +### SetExtraValue1Nil + +`func (o *SkillsUpstream) SetExtraValue1Nil(b bool)` + + SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil + +### UnsetExtraValue1 +`func (o *SkillsUpstream) UnsetExtraValue1()` + +UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +### GetExtraValue2 + +`func (o *SkillsUpstream) GetExtraValue2() string` + +GetExtraValue2 returns the ExtraValue2 field if non-nil, zero value otherwise. + +### GetExtraValue2Ok + +`func (o *SkillsUpstream) GetExtraValue2Ok() (*string, bool)` + +GetExtraValue2Ok returns a tuple with the ExtraValue2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue2 + +`func (o *SkillsUpstream) SetExtraValue2(v string)` + +SetExtraValue2 sets ExtraValue2 field to given value. + +### HasExtraValue2 + +`func (o *SkillsUpstream) HasExtraValue2() bool` + +HasExtraValue2 returns a boolean if a field has been set. + +### SetExtraValue2Nil + +`func (o *SkillsUpstream) SetExtraValue2Nil(b bool)` + + SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil + +### UnsetExtraValue2 +`func (o *SkillsUpstream) UnsetExtraValue2()` + +UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +### GetHasFailedSignatureVerification + +`func (o *SkillsUpstream) GetHasFailedSignatureVerification() bool` + +GetHasFailedSignatureVerification returns the HasFailedSignatureVerification field if non-nil, zero value otherwise. + +### GetHasFailedSignatureVerificationOk + +`func (o *SkillsUpstream) GetHasFailedSignatureVerificationOk() (*bool, bool)` + +GetHasFailedSignatureVerificationOk returns a tuple with the HasFailedSignatureVerification field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasFailedSignatureVerification + +`func (o *SkillsUpstream) SetHasFailedSignatureVerification(v bool)` + +SetHasFailedSignatureVerification sets HasFailedSignatureVerification field to given value. + +### HasHasFailedSignatureVerification + +`func (o *SkillsUpstream) HasHasFailedSignatureVerification() bool` + +HasHasFailedSignatureVerification returns a boolean if a field has been set. + +### GetIndexPackageCount + +`func (o *SkillsUpstream) GetIndexPackageCount() int64` + +GetIndexPackageCount returns the IndexPackageCount field if non-nil, zero value otherwise. + +### GetIndexPackageCountOk + +`func (o *SkillsUpstream) GetIndexPackageCountOk() (*int64, bool)` + +GetIndexPackageCountOk returns a tuple with the IndexPackageCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexPackageCount + +`func (o *SkillsUpstream) SetIndexPackageCount(v int64)` + +SetIndexPackageCount sets IndexPackageCount field to given value. + +### HasIndexPackageCount + +`func (o *SkillsUpstream) HasIndexPackageCount() bool` + +HasIndexPackageCount returns a boolean if a field has been set. + +### SetIndexPackageCountNil + +`func (o *SkillsUpstream) SetIndexPackageCountNil(b bool)` + + SetIndexPackageCountNil sets the value for IndexPackageCount to be an explicit nil + +### UnsetIndexPackageCount +`func (o *SkillsUpstream) UnsetIndexPackageCount()` + +UnsetIndexPackageCount ensures that no value is present for IndexPackageCount, not even an explicit nil +### GetIndexStatus + +`func (o *SkillsUpstream) GetIndexStatus() string` + +GetIndexStatus returns the IndexStatus field if non-nil, zero value otherwise. + +### GetIndexStatusOk + +`func (o *SkillsUpstream) GetIndexStatusOk() (*string, bool)` + +GetIndexStatusOk returns a tuple with the IndexStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexStatus + +`func (o *SkillsUpstream) SetIndexStatus(v string)` + +SetIndexStatus sets IndexStatus field to given value. + +### HasIndexStatus + +`func (o *SkillsUpstream) HasIndexStatus() bool` + +HasIndexStatus returns a boolean if a field has been set. + +### SetIndexStatusNil + +`func (o *SkillsUpstream) SetIndexStatusNil(b bool)` + + SetIndexStatusNil sets the value for IndexStatus to be an explicit nil + +### UnsetIndexStatus +`func (o *SkillsUpstream) UnsetIndexStatus()` + +UnsetIndexStatus ensures that no value is present for IndexStatus, not even an explicit nil +### GetIsActive + +`func (o *SkillsUpstream) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *SkillsUpstream) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *SkillsUpstream) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *SkillsUpstream) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetLastIndexed + +`func (o *SkillsUpstream) GetLastIndexed() string` + +GetLastIndexed returns the LastIndexed field if non-nil, zero value otherwise. + +### GetLastIndexedOk + +`func (o *SkillsUpstream) GetLastIndexedOk() (*string, bool)` + +GetLastIndexedOk returns a tuple with the LastIndexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastIndexed + +`func (o *SkillsUpstream) SetLastIndexed(v string)` + +SetLastIndexed sets LastIndexed field to given value. + +### HasLastIndexed + +`func (o *SkillsUpstream) HasLastIndexed() bool` + +HasLastIndexed returns a boolean if a field has been set. + +### SetLastIndexedNil + +`func (o *SkillsUpstream) SetLastIndexedNil(b bool)` + + SetLastIndexedNil sets the value for LastIndexed to be an explicit nil + +### UnsetLastIndexed +`func (o *SkillsUpstream) UnsetLastIndexed()` + +UnsetLastIndexed ensures that no value is present for LastIndexed, not even an explicit nil +### GetMode + +`func (o *SkillsUpstream) GetMode() string` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *SkillsUpstream) GetModeOk() (*string, bool)` + +GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMode + +`func (o *SkillsUpstream) SetMode(v string)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *SkillsUpstream) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetName + +`func (o *SkillsUpstream) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsUpstream) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsUpstream) SetName(v string)` + +SetName sets Name field to given value. + + +### GetPendingValidation + +`func (o *SkillsUpstream) GetPendingValidation() bool` + +GetPendingValidation returns the PendingValidation field if non-nil, zero value otherwise. + +### GetPendingValidationOk + +`func (o *SkillsUpstream) GetPendingValidationOk() (*bool, bool)` + +GetPendingValidationOk returns a tuple with the PendingValidation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPendingValidation + +`func (o *SkillsUpstream) SetPendingValidation(v bool)` + +SetPendingValidation sets PendingValidation field to given value. + +### HasPendingValidation + +`func (o *SkillsUpstream) HasPendingValidation() bool` + +HasPendingValidation returns a boolean if a field has been set. + +### GetPriority + +`func (o *SkillsUpstream) GetPriority() int64` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *SkillsUpstream) GetPriorityOk() (*int64, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *SkillsUpstream) SetPriority(v int64)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *SkillsUpstream) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetSelections + +`func (o *SkillsUpstream) GetSelections() []SkillsUpstreamSelection` + +GetSelections returns the Selections field if non-nil, zero value otherwise. + +### GetSelectionsOk + +`func (o *SkillsUpstream) GetSelectionsOk() (*[]SkillsUpstreamSelection, bool)` + +GetSelectionsOk returns a tuple with the Selections field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelections + +`func (o *SkillsUpstream) SetSelections(v []SkillsUpstreamSelection)` + +SetSelections sets Selections field to given value. + +### HasSelections + +`func (o *SkillsUpstream) HasSelections() bool` + +HasSelections returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *SkillsUpstream) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *SkillsUpstream) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *SkillsUpstream) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *SkillsUpstream) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetUpdatedAt + +`func (o *SkillsUpstream) GetUpdatedAt() time.Time` + +GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. + +### GetUpdatedAtOk + +`func (o *SkillsUpstream) GetUpdatedAtOk() (*time.Time, bool)` + +GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedAt + +`func (o *SkillsUpstream) SetUpdatedAt(v time.Time)` + +SetUpdatedAt sets UpdatedAt field to given value. + +### HasUpdatedAt + +`func (o *SkillsUpstream) HasUpdatedAt() bool` + +HasUpdatedAt returns a boolean if a field has been set. + +### GetUpstreamUrl + +`func (o *SkillsUpstream) GetUpstreamUrl() string` + +GetUpstreamUrl returns the UpstreamUrl field if non-nil, zero value otherwise. + +### GetUpstreamUrlOk + +`func (o *SkillsUpstream) GetUpstreamUrlOk() (*string, bool)` + +GetUpstreamUrlOk returns a tuple with the UpstreamUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpstreamUrl + +`func (o *SkillsUpstream) SetUpstreamUrl(v string)` + +SetUpstreamUrl sets UpstreamUrl field to given value. + + +### GetVerifySsl + +`func (o *SkillsUpstream) GetVerifySsl() bool` + +GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. + +### GetVerifySslOk + +`func (o *SkillsUpstream) GetVerifySslOk() (*bool, bool)` + +GetVerifySslOk returns a tuple with the VerifySsl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVerifySsl + +`func (o *SkillsUpstream) SetVerifySsl(v bool)` + +SetVerifySsl sets VerifySsl field to given value. + +### HasVerifySsl + +`func (o *SkillsUpstream) HasVerifySsl() bool` + +HasVerifySsl 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/docs/SkillsUpstreamRequest.md b/docs/SkillsUpstreamRequest.md new file mode 100644 index 000000000..7026d4079 --- /dev/null +++ b/docs/SkillsUpstreamRequest.md @@ -0,0 +1,444 @@ +# SkillsUpstreamRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AuthMode** | Pointer to **string** | The authentication mode to use when accessing this upstream. | [optional] [default to "None"] +**AuthSecret** | Pointer to **NullableString** | Secret to provide with requests to upstream. | [optional] +**AuthUsername** | Pointer to **NullableString** | Username to provide with requests to upstream. | [optional] +**ExtraHeader1** | Pointer to **NullableString** | The key for extra header #1 to send to upstream. | [optional] +**ExtraHeader2** | Pointer to **NullableString** | The key for extra header #2 to send to upstream. | [optional] +**ExtraValue1** | Pointer to **NullableString** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**ExtraValue2** | Pointer to **NullableString** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**IsActive** | Pointer to **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**Mode** | Pointer to **string** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to "Proxy Only"] +**Name** | **string** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | +**Priority** | Pointer to **int64** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**Selections** | Pointer to [**[]SkillsUpstreamSelection**](SkillsUpstreamSelection.md) | Exact ClawHub releases to cache. | [optional] +**UpstreamUrl** | **string** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | +**VerifySsl** | Pointer to **bool** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional] + +## Methods + +### NewSkillsUpstreamRequest + +`func NewSkillsUpstreamRequest(name string, upstreamUrl string, ) *SkillsUpstreamRequest` + +NewSkillsUpstreamRequest instantiates a new SkillsUpstreamRequest object +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 + +### NewSkillsUpstreamRequestWithDefaults + +`func NewSkillsUpstreamRequestWithDefaults() *SkillsUpstreamRequest` + +NewSkillsUpstreamRequestWithDefaults instantiates a new SkillsUpstreamRequest 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 + +### GetAuthMode + +`func (o *SkillsUpstreamRequest) GetAuthMode() string` + +GetAuthMode returns the AuthMode field if non-nil, zero value otherwise. + +### GetAuthModeOk + +`func (o *SkillsUpstreamRequest) GetAuthModeOk() (*string, bool)` + +GetAuthModeOk returns a tuple with the AuthMode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthMode + +`func (o *SkillsUpstreamRequest) SetAuthMode(v string)` + +SetAuthMode sets AuthMode field to given value. + +### HasAuthMode + +`func (o *SkillsUpstreamRequest) HasAuthMode() bool` + +HasAuthMode returns a boolean if a field has been set. + +### GetAuthSecret + +`func (o *SkillsUpstreamRequest) GetAuthSecret() string` + +GetAuthSecret returns the AuthSecret field if non-nil, zero value otherwise. + +### GetAuthSecretOk + +`func (o *SkillsUpstreamRequest) GetAuthSecretOk() (*string, bool)` + +GetAuthSecretOk returns a tuple with the AuthSecret field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthSecret + +`func (o *SkillsUpstreamRequest) SetAuthSecret(v string)` + +SetAuthSecret sets AuthSecret field to given value. + +### HasAuthSecret + +`func (o *SkillsUpstreamRequest) HasAuthSecret() bool` + +HasAuthSecret returns a boolean if a field has been set. + +### SetAuthSecretNil + +`func (o *SkillsUpstreamRequest) SetAuthSecretNil(b bool)` + + SetAuthSecretNil sets the value for AuthSecret to be an explicit nil + +### UnsetAuthSecret +`func (o *SkillsUpstreamRequest) UnsetAuthSecret()` + +UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +### GetAuthUsername + +`func (o *SkillsUpstreamRequest) GetAuthUsername() string` + +GetAuthUsername returns the AuthUsername field if non-nil, zero value otherwise. + +### GetAuthUsernameOk + +`func (o *SkillsUpstreamRequest) GetAuthUsernameOk() (*string, bool)` + +GetAuthUsernameOk returns a tuple with the AuthUsername field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthUsername + +`func (o *SkillsUpstreamRequest) SetAuthUsername(v string)` + +SetAuthUsername sets AuthUsername field to given value. + +### HasAuthUsername + +`func (o *SkillsUpstreamRequest) HasAuthUsername() bool` + +HasAuthUsername returns a boolean if a field has been set. + +### SetAuthUsernameNil + +`func (o *SkillsUpstreamRequest) SetAuthUsernameNil(b bool)` + + SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil + +### UnsetAuthUsername +`func (o *SkillsUpstreamRequest) UnsetAuthUsername()` + +UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +### GetExtraHeader1 + +`func (o *SkillsUpstreamRequest) GetExtraHeader1() string` + +GetExtraHeader1 returns the ExtraHeader1 field if non-nil, zero value otherwise. + +### GetExtraHeader1Ok + +`func (o *SkillsUpstreamRequest) GetExtraHeader1Ok() (*string, bool)` + +GetExtraHeader1Ok returns a tuple with the ExtraHeader1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader1 + +`func (o *SkillsUpstreamRequest) SetExtraHeader1(v string)` + +SetExtraHeader1 sets ExtraHeader1 field to given value. + +### HasExtraHeader1 + +`func (o *SkillsUpstreamRequest) HasExtraHeader1() bool` + +HasExtraHeader1 returns a boolean if a field has been set. + +### SetExtraHeader1Nil + +`func (o *SkillsUpstreamRequest) SetExtraHeader1Nil(b bool)` + + SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil + +### UnsetExtraHeader1 +`func (o *SkillsUpstreamRequest) UnsetExtraHeader1()` + +UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +### GetExtraHeader2 + +`func (o *SkillsUpstreamRequest) GetExtraHeader2() string` + +GetExtraHeader2 returns the ExtraHeader2 field if non-nil, zero value otherwise. + +### GetExtraHeader2Ok + +`func (o *SkillsUpstreamRequest) GetExtraHeader2Ok() (*string, bool)` + +GetExtraHeader2Ok returns a tuple with the ExtraHeader2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader2 + +`func (o *SkillsUpstreamRequest) SetExtraHeader2(v string)` + +SetExtraHeader2 sets ExtraHeader2 field to given value. + +### HasExtraHeader2 + +`func (o *SkillsUpstreamRequest) HasExtraHeader2() bool` + +HasExtraHeader2 returns a boolean if a field has been set. + +### SetExtraHeader2Nil + +`func (o *SkillsUpstreamRequest) SetExtraHeader2Nil(b bool)` + + SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil + +### UnsetExtraHeader2 +`func (o *SkillsUpstreamRequest) UnsetExtraHeader2()` + +UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +### GetExtraValue1 + +`func (o *SkillsUpstreamRequest) GetExtraValue1() string` + +GetExtraValue1 returns the ExtraValue1 field if non-nil, zero value otherwise. + +### GetExtraValue1Ok + +`func (o *SkillsUpstreamRequest) GetExtraValue1Ok() (*string, bool)` + +GetExtraValue1Ok returns a tuple with the ExtraValue1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue1 + +`func (o *SkillsUpstreamRequest) SetExtraValue1(v string)` + +SetExtraValue1 sets ExtraValue1 field to given value. + +### HasExtraValue1 + +`func (o *SkillsUpstreamRequest) HasExtraValue1() bool` + +HasExtraValue1 returns a boolean if a field has been set. + +### SetExtraValue1Nil + +`func (o *SkillsUpstreamRequest) SetExtraValue1Nil(b bool)` + + SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil + +### UnsetExtraValue1 +`func (o *SkillsUpstreamRequest) UnsetExtraValue1()` + +UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +### GetExtraValue2 + +`func (o *SkillsUpstreamRequest) GetExtraValue2() string` + +GetExtraValue2 returns the ExtraValue2 field if non-nil, zero value otherwise. + +### GetExtraValue2Ok + +`func (o *SkillsUpstreamRequest) GetExtraValue2Ok() (*string, bool)` + +GetExtraValue2Ok returns a tuple with the ExtraValue2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue2 + +`func (o *SkillsUpstreamRequest) SetExtraValue2(v string)` + +SetExtraValue2 sets ExtraValue2 field to given value. + +### HasExtraValue2 + +`func (o *SkillsUpstreamRequest) HasExtraValue2() bool` + +HasExtraValue2 returns a boolean if a field has been set. + +### SetExtraValue2Nil + +`func (o *SkillsUpstreamRequest) SetExtraValue2Nil(b bool)` + + SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil + +### UnsetExtraValue2 +`func (o *SkillsUpstreamRequest) UnsetExtraValue2()` + +UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +### GetIsActive + +`func (o *SkillsUpstreamRequest) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *SkillsUpstreamRequest) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *SkillsUpstreamRequest) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *SkillsUpstreamRequest) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetMode + +`func (o *SkillsUpstreamRequest) GetMode() string` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *SkillsUpstreamRequest) GetModeOk() (*string, bool)` + +GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMode + +`func (o *SkillsUpstreamRequest) SetMode(v string)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *SkillsUpstreamRequest) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetName + +`func (o *SkillsUpstreamRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsUpstreamRequest) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsUpstreamRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetPriority + +`func (o *SkillsUpstreamRequest) GetPriority() int64` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *SkillsUpstreamRequest) GetPriorityOk() (*int64, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *SkillsUpstreamRequest) SetPriority(v int64)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *SkillsUpstreamRequest) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetSelections + +`func (o *SkillsUpstreamRequest) GetSelections() []SkillsUpstreamSelection` + +GetSelections returns the Selections field if non-nil, zero value otherwise. + +### GetSelectionsOk + +`func (o *SkillsUpstreamRequest) GetSelectionsOk() (*[]SkillsUpstreamSelection, bool)` + +GetSelectionsOk returns a tuple with the Selections field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelections + +`func (o *SkillsUpstreamRequest) SetSelections(v []SkillsUpstreamSelection)` + +SetSelections sets Selections field to given value. + +### HasSelections + +`func (o *SkillsUpstreamRequest) HasSelections() bool` + +HasSelections returns a boolean if a field has been set. + +### GetUpstreamUrl + +`func (o *SkillsUpstreamRequest) GetUpstreamUrl() string` + +GetUpstreamUrl returns the UpstreamUrl field if non-nil, zero value otherwise. + +### GetUpstreamUrlOk + +`func (o *SkillsUpstreamRequest) GetUpstreamUrlOk() (*string, bool)` + +GetUpstreamUrlOk returns a tuple with the UpstreamUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpstreamUrl + +`func (o *SkillsUpstreamRequest) SetUpstreamUrl(v string)` + +SetUpstreamUrl sets UpstreamUrl field to given value. + + +### GetVerifySsl + +`func (o *SkillsUpstreamRequest) GetVerifySsl() bool` + +GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. + +### GetVerifySslOk + +`func (o *SkillsUpstreamRequest) GetVerifySslOk() (*bool, bool)` + +GetVerifySslOk returns a tuple with the VerifySsl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVerifySsl + +`func (o *SkillsUpstreamRequest) SetVerifySsl(v bool)` + +SetVerifySsl sets VerifySsl field to given value. + +### HasVerifySsl + +`func (o *SkillsUpstreamRequest) HasVerifySsl() bool` + +HasVerifySsl 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/docs/SkillsUpstreamRequestPatch.md b/docs/SkillsUpstreamRequestPatch.md new file mode 100644 index 000000000..f115f515a --- /dev/null +++ b/docs/SkillsUpstreamRequestPatch.md @@ -0,0 +1,454 @@ +# SkillsUpstreamRequestPatch + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AuthMode** | Pointer to **string** | The authentication mode to use when accessing this upstream. | [optional] [default to "None"] +**AuthSecret** | Pointer to **NullableString** | Secret to provide with requests to upstream. | [optional] +**AuthUsername** | Pointer to **NullableString** | Username to provide with requests to upstream. | [optional] +**ExtraHeader1** | Pointer to **NullableString** | The key for extra header #1 to send to upstream. | [optional] +**ExtraHeader2** | Pointer to **NullableString** | The key for extra header #2 to send to upstream. | [optional] +**ExtraValue1** | Pointer to **NullableString** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**ExtraValue2** | Pointer to **NullableString** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**IsActive** | Pointer to **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**Mode** | Pointer to **string** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to "Proxy Only"] +**Name** | Pointer to **string** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional] +**Priority** | Pointer to **int64** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**Selections** | Pointer to [**[]SkillsUpstreamSelection**](SkillsUpstreamSelection.md) | Exact ClawHub releases to cache. | [optional] +**UpstreamUrl** | Pointer to **string** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional] +**VerifySsl** | Pointer to **bool** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional] + +## Methods + +### NewSkillsUpstreamRequestPatch + +`func NewSkillsUpstreamRequestPatch() *SkillsUpstreamRequestPatch` + +NewSkillsUpstreamRequestPatch instantiates a new SkillsUpstreamRequestPatch object +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 + +### NewSkillsUpstreamRequestPatchWithDefaults + +`func NewSkillsUpstreamRequestPatchWithDefaults() *SkillsUpstreamRequestPatch` + +NewSkillsUpstreamRequestPatchWithDefaults instantiates a new SkillsUpstreamRequestPatch 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 + +### GetAuthMode + +`func (o *SkillsUpstreamRequestPatch) GetAuthMode() string` + +GetAuthMode returns the AuthMode field if non-nil, zero value otherwise. + +### GetAuthModeOk + +`func (o *SkillsUpstreamRequestPatch) GetAuthModeOk() (*string, bool)` + +GetAuthModeOk returns a tuple with the AuthMode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthMode + +`func (o *SkillsUpstreamRequestPatch) SetAuthMode(v string)` + +SetAuthMode sets AuthMode field to given value. + +### HasAuthMode + +`func (o *SkillsUpstreamRequestPatch) HasAuthMode() bool` + +HasAuthMode returns a boolean if a field has been set. + +### GetAuthSecret + +`func (o *SkillsUpstreamRequestPatch) GetAuthSecret() string` + +GetAuthSecret returns the AuthSecret field if non-nil, zero value otherwise. + +### GetAuthSecretOk + +`func (o *SkillsUpstreamRequestPatch) GetAuthSecretOk() (*string, bool)` + +GetAuthSecretOk returns a tuple with the AuthSecret field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthSecret + +`func (o *SkillsUpstreamRequestPatch) SetAuthSecret(v string)` + +SetAuthSecret sets AuthSecret field to given value. + +### HasAuthSecret + +`func (o *SkillsUpstreamRequestPatch) HasAuthSecret() bool` + +HasAuthSecret returns a boolean if a field has been set. + +### SetAuthSecretNil + +`func (o *SkillsUpstreamRequestPatch) SetAuthSecretNil(b bool)` + + SetAuthSecretNil sets the value for AuthSecret to be an explicit nil + +### UnsetAuthSecret +`func (o *SkillsUpstreamRequestPatch) UnsetAuthSecret()` + +UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +### GetAuthUsername + +`func (o *SkillsUpstreamRequestPatch) GetAuthUsername() string` + +GetAuthUsername returns the AuthUsername field if non-nil, zero value otherwise. + +### GetAuthUsernameOk + +`func (o *SkillsUpstreamRequestPatch) GetAuthUsernameOk() (*string, bool)` + +GetAuthUsernameOk returns a tuple with the AuthUsername field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthUsername + +`func (o *SkillsUpstreamRequestPatch) SetAuthUsername(v string)` + +SetAuthUsername sets AuthUsername field to given value. + +### HasAuthUsername + +`func (o *SkillsUpstreamRequestPatch) HasAuthUsername() bool` + +HasAuthUsername returns a boolean if a field has been set. + +### SetAuthUsernameNil + +`func (o *SkillsUpstreamRequestPatch) SetAuthUsernameNil(b bool)` + + SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil + +### UnsetAuthUsername +`func (o *SkillsUpstreamRequestPatch) UnsetAuthUsername()` + +UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +### GetExtraHeader1 + +`func (o *SkillsUpstreamRequestPatch) GetExtraHeader1() string` + +GetExtraHeader1 returns the ExtraHeader1 field if non-nil, zero value otherwise. + +### GetExtraHeader1Ok + +`func (o *SkillsUpstreamRequestPatch) GetExtraHeader1Ok() (*string, bool)` + +GetExtraHeader1Ok returns a tuple with the ExtraHeader1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader1 + +`func (o *SkillsUpstreamRequestPatch) SetExtraHeader1(v string)` + +SetExtraHeader1 sets ExtraHeader1 field to given value. + +### HasExtraHeader1 + +`func (o *SkillsUpstreamRequestPatch) HasExtraHeader1() bool` + +HasExtraHeader1 returns a boolean if a field has been set. + +### SetExtraHeader1Nil + +`func (o *SkillsUpstreamRequestPatch) SetExtraHeader1Nil(b bool)` + + SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil + +### UnsetExtraHeader1 +`func (o *SkillsUpstreamRequestPatch) UnsetExtraHeader1()` + +UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +### GetExtraHeader2 + +`func (o *SkillsUpstreamRequestPatch) GetExtraHeader2() string` + +GetExtraHeader2 returns the ExtraHeader2 field if non-nil, zero value otherwise. + +### GetExtraHeader2Ok + +`func (o *SkillsUpstreamRequestPatch) GetExtraHeader2Ok() (*string, bool)` + +GetExtraHeader2Ok returns a tuple with the ExtraHeader2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader2 + +`func (o *SkillsUpstreamRequestPatch) SetExtraHeader2(v string)` + +SetExtraHeader2 sets ExtraHeader2 field to given value. + +### HasExtraHeader2 + +`func (o *SkillsUpstreamRequestPatch) HasExtraHeader2() bool` + +HasExtraHeader2 returns a boolean if a field has been set. + +### SetExtraHeader2Nil + +`func (o *SkillsUpstreamRequestPatch) SetExtraHeader2Nil(b bool)` + + SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil + +### UnsetExtraHeader2 +`func (o *SkillsUpstreamRequestPatch) UnsetExtraHeader2()` + +UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +### GetExtraValue1 + +`func (o *SkillsUpstreamRequestPatch) GetExtraValue1() string` + +GetExtraValue1 returns the ExtraValue1 field if non-nil, zero value otherwise. + +### GetExtraValue1Ok + +`func (o *SkillsUpstreamRequestPatch) GetExtraValue1Ok() (*string, bool)` + +GetExtraValue1Ok returns a tuple with the ExtraValue1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue1 + +`func (o *SkillsUpstreamRequestPatch) SetExtraValue1(v string)` + +SetExtraValue1 sets ExtraValue1 field to given value. + +### HasExtraValue1 + +`func (o *SkillsUpstreamRequestPatch) HasExtraValue1() bool` + +HasExtraValue1 returns a boolean if a field has been set. + +### SetExtraValue1Nil + +`func (o *SkillsUpstreamRequestPatch) SetExtraValue1Nil(b bool)` + + SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil + +### UnsetExtraValue1 +`func (o *SkillsUpstreamRequestPatch) UnsetExtraValue1()` + +UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +### GetExtraValue2 + +`func (o *SkillsUpstreamRequestPatch) GetExtraValue2() string` + +GetExtraValue2 returns the ExtraValue2 field if non-nil, zero value otherwise. + +### GetExtraValue2Ok + +`func (o *SkillsUpstreamRequestPatch) GetExtraValue2Ok() (*string, bool)` + +GetExtraValue2Ok returns a tuple with the ExtraValue2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue2 + +`func (o *SkillsUpstreamRequestPatch) SetExtraValue2(v string)` + +SetExtraValue2 sets ExtraValue2 field to given value. + +### HasExtraValue2 + +`func (o *SkillsUpstreamRequestPatch) HasExtraValue2() bool` + +HasExtraValue2 returns a boolean if a field has been set. + +### SetExtraValue2Nil + +`func (o *SkillsUpstreamRequestPatch) SetExtraValue2Nil(b bool)` + + SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil + +### UnsetExtraValue2 +`func (o *SkillsUpstreamRequestPatch) UnsetExtraValue2()` + +UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +### GetIsActive + +`func (o *SkillsUpstreamRequestPatch) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *SkillsUpstreamRequestPatch) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *SkillsUpstreamRequestPatch) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *SkillsUpstreamRequestPatch) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetMode + +`func (o *SkillsUpstreamRequestPatch) GetMode() string` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *SkillsUpstreamRequestPatch) GetModeOk() (*string, bool)` + +GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMode + +`func (o *SkillsUpstreamRequestPatch) SetMode(v string)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *SkillsUpstreamRequestPatch) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetName + +`func (o *SkillsUpstreamRequestPatch) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsUpstreamRequestPatch) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsUpstreamRequestPatch) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *SkillsUpstreamRequestPatch) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetPriority + +`func (o *SkillsUpstreamRequestPatch) GetPriority() int64` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *SkillsUpstreamRequestPatch) GetPriorityOk() (*int64, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *SkillsUpstreamRequestPatch) SetPriority(v int64)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *SkillsUpstreamRequestPatch) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetSelections + +`func (o *SkillsUpstreamRequestPatch) GetSelections() []SkillsUpstreamSelection` + +GetSelections returns the Selections field if non-nil, zero value otherwise. + +### GetSelectionsOk + +`func (o *SkillsUpstreamRequestPatch) GetSelectionsOk() (*[]SkillsUpstreamSelection, bool)` + +GetSelectionsOk returns a tuple with the Selections field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelections + +`func (o *SkillsUpstreamRequestPatch) SetSelections(v []SkillsUpstreamSelection)` + +SetSelections sets Selections field to given value. + +### HasSelections + +`func (o *SkillsUpstreamRequestPatch) HasSelections() bool` + +HasSelections returns a boolean if a field has been set. + +### GetUpstreamUrl + +`func (o *SkillsUpstreamRequestPatch) GetUpstreamUrl() string` + +GetUpstreamUrl returns the UpstreamUrl field if non-nil, zero value otherwise. + +### GetUpstreamUrlOk + +`func (o *SkillsUpstreamRequestPatch) GetUpstreamUrlOk() (*string, bool)` + +GetUpstreamUrlOk returns a tuple with the UpstreamUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpstreamUrl + +`func (o *SkillsUpstreamRequestPatch) SetUpstreamUrl(v string)` + +SetUpstreamUrl sets UpstreamUrl field to given value. + +### HasUpstreamUrl + +`func (o *SkillsUpstreamRequestPatch) HasUpstreamUrl() bool` + +HasUpstreamUrl returns a boolean if a field has been set. + +### GetVerifySsl + +`func (o *SkillsUpstreamRequestPatch) GetVerifySsl() bool` + +GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. + +### GetVerifySslOk + +`func (o *SkillsUpstreamRequestPatch) GetVerifySslOk() (*bool, bool)` + +GetVerifySslOk returns a tuple with the VerifySsl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVerifySsl + +`func (o *SkillsUpstreamRequestPatch) SetVerifySsl(v bool)` + +SetVerifySsl sets VerifySsl field to given value. + +### HasVerifySsl + +`func (o *SkillsUpstreamRequestPatch) HasVerifySsl() bool` + +HasVerifySsl 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/docs/SkillsUpstreamSelection.md b/docs/SkillsUpstreamSelection.md new file mode 100644 index 000000000..a2a6a8a30 --- /dev/null +++ b/docs/SkillsUpstreamSelection.md @@ -0,0 +1,93 @@ +# SkillsUpstreamSelection + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | The skill's ClawHub slug. | +**Publisher** | **string** | The ClawHub owner handle that publishes the skill. | +**Version** | **string** | The exact semantic version of the release. | + +## Methods + +### NewSkillsUpstreamSelection + +`func NewSkillsUpstreamSelection(name string, publisher string, version string, ) *SkillsUpstreamSelection` + +NewSkillsUpstreamSelection instantiates a new SkillsUpstreamSelection object +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 + +### NewSkillsUpstreamSelectionWithDefaults + +`func NewSkillsUpstreamSelectionWithDefaults() *SkillsUpstreamSelection` + +NewSkillsUpstreamSelectionWithDefaults instantiates a new SkillsUpstreamSelection 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 + +### GetName + +`func (o *SkillsUpstreamSelection) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsUpstreamSelection) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsUpstreamSelection) SetName(v string)` + +SetName sets Name field to given value. + + +### GetPublisher + +`func (o *SkillsUpstreamSelection) GetPublisher() string` + +GetPublisher returns the Publisher field if non-nil, zero value otherwise. + +### GetPublisherOk + +`func (o *SkillsUpstreamSelection) GetPublisherOk() (*string, bool)` + +GetPublisherOk returns a tuple with the Publisher field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPublisher + +`func (o *SkillsUpstreamSelection) SetPublisher(v string)` + +SetPublisher sets Publisher field to given value. + + +### GetVersion + +`func (o *SkillsUpstreamSelection) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *SkillsUpstreamSelection) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *SkillsUpstreamSelection) SetVersion(v string)` + +SetVersion sets Version field to given value. + + + +[[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 66b7637cd..bbd7faf54 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_allocated_limit_raw.go b/model_allocated_limit_raw.go index 50864dffe..016ada2ad 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_alpine_package_upload.go b/model_alpine_package_upload.go index 6a68b2acf..4ba773b1d 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_alpine_package_upload_request.go b/model_alpine_package_upload_request.go index ec12441c3..541317640 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_alpine_upstream.go b/model_alpine_upstream.go index ffcc922d7..8bf121df5 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_alpine_upstream_request.go b/model_alpine_upstream_request.go index 6b8444513..5a76793f0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_alpine_upstream_request_patch.go b/model_alpine_upstream_request_patch.go index 01550bf79..a44f0dde3 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_architecture.go b/model_architecture.go index ba7780b15..598624bf8 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_broadcast_token.go b/model_broadcast_token.go index 7b782db8f..2a839b29a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_broadcast_token_input.go b/model_broadcast_token_input.go index 2ca990f63..b6f708a71 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cargo_package_upload.go b/model_cargo_package_upload.go index c2c337b15..9f6d5bca7 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cargo_package_upload_request.go b/model_cargo_package_upload_request.go index 123ce1854..a430e97a4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cargo_upstream.go b/model_cargo_upstream.go index 6f0493161..7d1bea41b 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cargo_upstream_request.go b/model_cargo_upstream_request.go index 73bc07424..c2f6d30a8 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cargo_upstream_request_patch.go b/model_cargo_upstream_request_patch.go index 8fc17dfef..c0e74d7d8 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cocoapods_package_upload.go b/model_cocoapods_package_upload.go index b76ecd124..aaef5d385 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cocoapods_package_upload_request.go b/model_cocoapods_package_upload_request.go index 236309d4d..8ba47f602 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_common_bandwidth_metrics.go b/model_common_bandwidth_metrics.go index 27a92e1a5..8f42de9a3 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_common_bandwidth_metrics_value.go b/model_common_bandwidth_metrics_value.go index 4e785b73a..a0b364ce0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics.go b/model_common_downloads_metrics.go index 20c55f5bd..42b19f482 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics_value.go b/model_common_downloads_metrics_value.go index 74579567b..4ebd0b5ec 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_common_metrics.go b/model_common_metrics.go index 54a77a5cf..79c66af16 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_composer_package_upload.go b/model_composer_package_upload.go index 43c8de247..2cc60e162 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_composer_package_upload_request.go b/model_composer_package_upload_request.go index 8b6d9fe3a..09f761cd0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream.go b/model_composer_upstream.go index faa7ee47d..c68de64e7 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream_request.go b/model_composer_upstream_request.go index 17ae9d1e4..95815af78 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream_request_patch.go b/model_composer_upstream_request_patch.go index f672ee5a2..e34a7cd8c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_conan_package_upload.go b/model_conan_package_upload.go index c38d72553..8c7e481ae 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_conan_package_upload_request.go b/model_conan_package_upload_request.go index 06cf15afe..5c3bcfbdd 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_conda_package_upload.go b/model_conda_package_upload.go index e7a362c9d..5245d8912 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_conda_package_upload_request.go b/model_conda_package_upload_request.go index e62c9fb36..f0fd32d50 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_conda_upstream.go b/model_conda_upstream.go index 2872ee01c..3f878fe6d 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_conda_upstream_request.go b/model_conda_upstream_request.go index 35addf035..4d0678085 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_conda_upstream_request_patch.go b/model_conda_upstream_request_patch.go index 8b10f0f83..462306e6b 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository.go b/model_connected_repository.go index 497c374af..3cbf115bf 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository_request.go b/model_connected_repository_request.go index 3dab43a08..2aa5aaa49 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository_request_patch.go b/model_connected_repository_request_patch.go index fe683a7fa..15dd574fe 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository_target_summary.go b/model_connected_repository_target_summary.go index f9689372a..ab13fa88b 100644 --- a/model_connected_repository_target_summary.go +++ b/model_connected_repository_target_summary.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository_upstream.go b/model_connected_repository_upstream.go index f0cdf1297..25a510d68 100644 --- a/model_connected_repository_upstream.go +++ b/model_connected_repository_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_package_upload.go b/model_cran_package_upload.go index e0e4e1d76..4b9ebfda1 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_package_upload_request.go b/model_cran_package_upload_request.go index d63b32dca..2b86a7e83 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream.go b/model_cran_upstream.go index c91bed2a2..e0b082cde 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request.go b/model_cran_upstream_request.go index c330e86be..765c21e43 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request_patch.go b/model_cran_upstream_request_patch.go index 8b7942283..02d856ea6 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_package_upload.go b/model_dart_package_upload.go index 0ab7e7700..29285ad3d 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_package_upload_request.go b/model_dart_package_upload_request.go index 2c4314985..6dfcd8132 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream.go b/model_dart_upstream.go index aa2040026..4be64f899 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request.go b/model_dart_upstream_request.go index d75e63c85..65db63693 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request_patch.go b/model_dart_upstream_request_patch.go index 79759cfe7..6b8f2c2ff 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_package_upload.go b/model_deb_package_upload.go index 08b8f4234..0f3b6f188 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_package_upload_request.go b/model_deb_package_upload_request.go index b280df78b..dc43ee1cc 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream.go b/model_deb_upstream.go index 455791d38..e7a9734d5 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request.go b/model_deb_upstream_request.go index 1c9105f40..c287c1fb9 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request_patch.go b/model_deb_upstream_request_patch.go index 19e67afae..cc5d40e9d 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_distribution.go b/model_distribution.go index 6928596fa..e8f548088 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_distribution_full.go b/model_distribution_full.go index 91dbe5b26..f773a188c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_distribution_version.go b/model_distribution_version.go index 4e34127d0..061b2a991 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_package_upload.go b/model_docker_package_upload.go index 3eb0ce991..6abfd3b6c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_package_upload_request.go b/model_docker_package_upload_request.go index d9f1fa25f..1abeab32c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream.go b/model_docker_upstream.go index 08d6575e7..9dc189aee 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request.go b/model_docker_upstream_request.go index afad9fb52..47b98c3c3 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request_patch.go b/model_docker_upstream_request_patch.go index b67a2db7d..bba3dba51 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_dynamic_mapping.go b/model_dynamic_mapping.go index 3eae29d7d..ee1b7971f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_entitlement_usage_metrics.go b/model_entitlement_usage_metrics.go index 4ec841fdb..817b65cb2 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_error_detail.go b/model_error_detail.go index d25f321ab..44d304524 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ @@ -21,6 +21,8 @@ var _ MappedNullable = &ErrorDetail{} // ErrorDetail struct for ErrorDetail type ErrorDetail struct { + // A machine-readable code for the error. Only set for validation errors. + Code *string `json:"code,omitempty"` // An extended message for the response. Detail string `json:"detail"` // A Dictionary of related errors where key: Field and value: Array of Errors related to that field @@ -48,6 +50,38 @@ func NewErrorDetailWithDefaults() *ErrorDetail { return &this } +// GetCode returns the Code field value if set, zero value otherwise. +func (o *ErrorDetail) GetCode() string { + if o == nil || IsNil(o.Code) { + var ret string + return ret + } + return *o.Code +} + +// GetCodeOk returns a tuple with the Code field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ErrorDetail) GetCodeOk() (*string, bool) { + if o == nil || IsNil(o.Code) { + return nil, false + } + return o.Code, true +} + +// HasCode returns a boolean if a field has been set. +func (o *ErrorDetail) HasCode() bool { + if o != nil && !IsNil(o.Code) { + return true + } + + return false +} + +// SetCode gets a reference to the given string and assigns it to the Code field. +func (o *ErrorDetail) SetCode(v string) { + o.Code = &v +} + // GetDetail returns the Detail field value func (o *ErrorDetail) GetDetail() string { if o == nil { @@ -114,6 +148,9 @@ func (o ErrorDetail) MarshalJSON() ([]byte, error) { func (o ErrorDetail) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Code) { + toSerialize["code"] = o.Code + } toSerialize["detail"] = o.Detail if !IsNil(o.Fields) { toSerialize["fields"] = o.Fields @@ -161,6 +198,7 @@ func (o *ErrorDetail) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "code") delete(additionalProperties, "detail") delete(additionalProperties, "fields") o.AdditionalProperties = additionalProperties diff --git a/model_eula.go b/model_eula.go index 57f298cbb..ce81d5f1a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_format.go b/model_format.go index 74c519a0f..e680ee780 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_format_support.go b/model_format_support.go index b546ed883..b3c7df043 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_format_support_upstream.go b/model_format_support_upstream.go index 4d4bd5a25..6b4283454 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_generic_package_upload.go b/model_generic_package_upload.go index 078ab8199..46ce4e5b7 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_generic_package_upload_request.go b/model_generic_package_upload_request.go index 51075d8fb..271de8b4e 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_generic_upstream.go b/model_generic_upstream.go index 711ab700b..847269e66 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_generic_upstream_request.go b/model_generic_upstream_request.go index 01bfdde14..c1418a261 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_generic_upstream_request_patch.go b/model_generic_upstream_request_patch.go index 88ce55167..c947b72bf 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_geo_ip_location.go b/model_geo_ip_location.go index 39a1ca527..0e63a49bc 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_go_package_upload.go b/model_go_package_upload.go index ecfa746d1..457f53025 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_go_package_upload_request.go b/model_go_package_upload_request.go index ce0fbe1a7..1eedd10b8 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_go_upstream.go b/model_go_upstream.go index a7b507570..dea1523f6 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_go_upstream_request.go b/model_go_upstream_request.go index 26335150c..5c8d216d3 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_go_upstream_request_patch.go b/model_go_upstream_request_patch.go index 65144409e..76fbb49d3 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_package_upload.go b/model_helm_package_upload.go index d5fbd1db7..6f3f9ce60 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_package_upload_request.go b/model_helm_package_upload_request.go index 8cb06e4a7..31fcb9ee5 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream.go b/model_helm_upstream.go index 88cc4ac73..ed2e8c1b1 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request.go b/model_helm_upstream_request.go index c75c3cf5d..60029f052 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request_patch.go b/model_helm_upstream_request_patch.go index 084bd3e0e..415168866 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_hex_package_upload.go b/model_hex_package_upload.go index ad9a0bb9b..6365d58ab 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_hex_package_upload_request.go b/model_hex_package_upload_request.go index 2e91a57df..8ed941294 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream.go b/model_hex_upstream.go index b2729c2d5..00452c6d8 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream_request.go b/model_hex_upstream_request.go index af17d0ec2..1ef530689 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream_request_patch.go b/model_hex_upstream_request_patch.go index b4c62a213..1d939f554 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_history.go b/model_history.go index 9597c924a..bd6adebbb 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset.go b/model_history_fieldset.go index 71f374910..76af960f9 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset_raw.go b/model_history_fieldset_raw.go index 83f43bce7..7ce381e4e 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_package_upload.go b/model_huggingface_package_upload.go index 56a32d899..57c23ef12 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_package_upload_request.go b/model_huggingface_package_upload_request.go index 324db623a..5ccfe9742 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_upstream.go b/model_huggingface_upstream.go index a23b4271a..b77f8c664 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_upstream_request.go b/model_huggingface_upstream_request.go index 4beaacca9..559940451 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_upstream_request_patch.go b/model_huggingface_upstream_request_patch.go index 1e17424e9..027cefb47 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_luarocks_package_upload.go b/model_luarocks_package_upload.go index 1390a0cc3..cff21c1e4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_luarocks_package_upload_request.go b/model_luarocks_package_upload_request.go index 6b7e3b3ea..ee9264574 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_package_upload.go b/model_maven_package_upload.go index 4e276a631..3bef052e6 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_package_upload_request.go b/model_maven_package_upload_request.go index a37869ab8..4c6b8b0a3 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream.go b/model_maven_upstream.go index 9c5fe5f3d..93cb4ad01 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request.go b/model_maven_upstream_request.go index 292ab2c73..9216f3593 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request_patch.go b/model_maven_upstream_request_patch.go index e9c66a5e2..4d9140afe 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_mcp_package_upload.go b/model_mcp_package_upload.go index 59f10cd77..afa89b8e4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_mcp_package_upload_request.go b/model_mcp_package_upload_request.go index 9677dc2f8..d2356f416 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_member_teams.go b/model_member_teams.go index 20794474e..ca20e78fb 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_namespace.go b/model_namespace.go index 1b145bd00..b6f286e7f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_namespace_audit_log.go b/model_namespace_audit_log.go index db620880d..f22141759 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nested_license_policy.go b/model_nested_license_policy.go index e1217bcc4..0e67b496f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_policy.go b/model_nested_vulnerability_policy.go index 7ffd9cf07..d062f4101 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_scan_results.go b/model_nested_vulnerability_scan_results.go index fed7ebf6a..48aa850fa 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nix_package_upload.go b/model_nix_package_upload.go index 1e4af83d4..27a3fe715 100644 --- a/model_nix_package_upload.go +++ b/model_nix_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nix_package_upload_request.go b/model_nix_package_upload_request.go index f03802835..a964f780c 100644 --- a/model_nix_package_upload_request.go +++ b/model_nix_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nix_upstream.go b/model_nix_upstream.go index ecaa3230c..302482632 100644 --- a/model_nix_upstream.go +++ b/model_nix_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nix_upstream_request.go b/model_nix_upstream_request.go index 3e6eaf79f..578bb57c6 100644 --- a/model_nix_upstream_request.go +++ b/model_nix_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nix_upstream_request_patch.go b/model_nix_upstream_request_patch.go index 8fbf46fae..b078641e6 100644 --- a/model_nix_upstream_request_patch.go +++ b/model_nix_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_package_upload.go b/model_npm_package_upload.go index 4bebcde70..67407e10a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_package_upload_request.go b/model_npm_package_upload_request.go index 0551d5db7..51a6572e1 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream.go b/model_npm_upstream.go index 3975e1dc2..0e2c3855d 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request.go b/model_npm_upstream_request.go index fed0d0c40..beabab6cd 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request_patch.go b/model_npm_upstream_request_patch.go index 3b08bba3d..3b796e1b4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_package_upload.go b/model_nuget_package_upload.go index 258b4f4df..76e56f9d0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_package_upload_request.go b/model_nuget_package_upload_request.go index 93802dc84..4b6e58ca4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream.go b/model_nuget_upstream.go index cc628b80a..f08f60a92 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request.go b/model_nuget_upstream_request.go index 58fe5bb28..f4ecfb412 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request_patch.go b/model_nuget_upstream_request_patch.go index da6d5c732..0da38be24 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_oidc_1.go b/model_oidc_1.go index 0e31793dd..6a564badc 100644 --- a/model_oidc_1.go +++ b/model_oidc_1.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_oidc_request.go b/model_oidc_request.go index de603dc3a..a39c960cc 100644 --- a/model_oidc_request.go +++ b/model_oidc_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization.go b/model_organization.go index dcb070fbb..747c6bf1c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_api_key_rule.go b/model_organization_api_key_rule.go index c51109793..d54f3b226 100644 --- a/model_organization_api_key_rule.go +++ b/model_organization_api_key_rule.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ @@ -35,7 +35,7 @@ type OrganizationApiKeyRule struct { RuleType string `json:"rule_type"` // Human-readable identifier for the rule type. Automatically generated based on the rule type. Slug *string `json:"slug,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` - // An auto-generated id that uniquely identifies the API key policy. + // An auto-generated id that uniquely identifies the rule. SlugPerm *string `json:"slug_perm,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` UpdatedAt *time.Time `json:"updated_at,omitempty"` AdditionalProperties map[string]interface{} diff --git a/model_organization_api_key_rule_request.go b/model_organization_api_key_rule_request.go index 1e1a52c28..1e8a2b2fa 100644 --- a/model_organization_api_key_rule_request.go +++ b/model_organization_api_key_rule_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_api_key_rule_request_patch.go b/model_organization_api_key_rule_request_patch.go index 1b075a929..942b29097 100644 --- a/model_organization_api_key_rule_request_patch.go +++ b/model_organization_api_key_rule_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_custom_domain_nested_repo.go b/model_organization_custom_domain_nested_repo.go index 4d0e3ab87..0e48d2ad3 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_custom_domains.go b/model_organization_custom_domains.go index 843c65380..ae620769e 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync.go b/model_organization_group_sync.go index 347747528..072ce5404 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_request.go b/model_organization_group_sync_request.go index 3173392ca..61e7f2317 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_status.go b/model_organization_group_sync_status.go index 23a4b17e0..e0b22bd4f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite.go b/model_organization_invite.go index 81ede258d..687cbb345 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_extend.go b/model_organization_invite_extend.go index 485ddd416..b2563e3c6 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_request.go b/model_organization_invite_request.go index 7ae9e341f..bdf2d91fa 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update.go b/model_organization_invite_update.go index 02a03a4a4..3e401d0d6 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update_request_patch.go b/model_organization_invite_update_request_patch.go index 6f614e49b..c37147aea 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership.go b/model_organization_membership.go index cb1ae5e01..5a2908705 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_role_update.go b/model_organization_membership_role_update.go index 7ed6d5790..863601f34 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.1388.0 +API version: 1.1446.0 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 d7fddbc84..56ea4b980 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_visibility_update.go b/model_organization_membership_visibility_update.go index 74b96ab7f..21a512498 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.1388.0 +API version: 1.1446.0 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 8a5f393fc..3f10835db 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy.go b/model_organization_package_license_policy.go index 0b64eb001..e9436138a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy_request.go b/model_organization_package_license_policy_request.go index 7d7a630fc..fe3c1f4d3 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.1388.0 +API version: 1.1446.0 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 4c88f0ba9..05958ee31 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy.go b/model_organization_package_vulnerability_policy.go index 69a4d7631..9eb38073b 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy_request.go b/model_organization_package_vulnerability_policy_request.go index 9925fc9fa..8b31ad714 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.1388.0 +API version: 1.1446.0 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 133201c63..ae5612853 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_saml_auth.go b/model_organization_saml_auth.go index 209916594..87262a579 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_saml_auth_request_patch.go b/model_organization_saml_auth_request_patch.go index f4721329c..9b4238617 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team.go b/model_organization_team.go index fd86bbddd..928a06aba 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_invite.go b/model_organization_team_invite.go index 630edd8d6..67418df40 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_members.go b/model_organization_team_members.go index 77642f2bf..db9502031 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request.go b/model_organization_team_request.go index d7d7b6fa4..7b4af4a9b 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request_patch.go b/model_organization_team_request_patch.go index 071047328..db5f66680 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_service_member.go b/model_organization_team_service_member.go index 255252c37..5d587339a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_usage.go b/model_organization_usage.go index cc6d2464a..c21c6e93f 100644 --- a/model_organization_usage.go +++ b/model_organization_usage.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_usage_update.go b/model_organization_usage_update.go index 835b43a5e..b189f9f52 100644 --- a/model_organization_usage_update.go +++ b/model_organization_usage_update.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_usage_update_request_patch.go b/model_organization_usage_update_request_patch.go index 118853a53..cfbec9ad3 100644 --- a/model_organization_usage_update_request_patch.go +++ b/model_organization_usage_update_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_orgs_retrieve_usage_limits_200_response.go b/model_orgs_retrieve_usage_limits_200_response.go index f8d60eae6..392cc96b5 100644 --- a/model_orgs_retrieve_usage_limits_200_response.go +++ b/model_orgs_retrieve_usage_limits_200_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_orgs_update_usage_limits_200_response.go b/model_orgs_update_usage_limits_200_response.go index 1d10899d3..c6e5162ac 100644 --- a/model_orgs_update_usage_limits_200_response.go +++ b/model_orgs_update_usage_limits_200_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_p2_package_upload.go b/model_p2_package_upload.go index 541538084..2bc40a74e 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_p2_package_upload_request.go b/model_p2_package_upload_request.go index d3c20b6f1..9d42dbbdc 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package.go b/model_package.go index b2aa55b06..eda7da241 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_bulk_action.go b/model_package_bulk_action.go index e49081d4c..f72db2e8f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_bulk_action_response.go b/model_package_bulk_action_response.go index b1deb4324..228a0a86e 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_copy.go b/model_package_copy.go index 7acc97237..7470ec5e9 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_copy_request.go b/model_package_copy_request.go index 2ec6f47d4..6c85e8ba9 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy.go b/model_package_deny_policy.go index bae4876e9..c1a3d1065 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request.go b/model_package_deny_policy_request.go index dbb779c6c..c7fef1371 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request_patch.go b/model_package_deny_policy_request_patch.go index 8aba6b5eb..8c8c6e413 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_dependencies.go b/model_package_dependencies.go index 0ebd844a5..5a1d6d2c7 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_dependency.go b/model_package_dependency.go index 196925377..42998c1a4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_detail.go b/model_package_detail.go index 4084e0c9b..4f270bc18 100644 --- a/model_package_detail.go +++ b/model_package_detail.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file.go b/model_package_file.go index fbe0c88cc..b4bd334fc 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file_parts_upload.go b/model_package_file_parts_upload.go index 0b3b4ebd2..2d3f0c2ac 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload.go b/model_package_file_upload.go index 12fded0dc..fc83a884c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload_request.go b/model_package_file_upload_request.go index 830c0a3e5..f837dab7e 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_group.go b/model_package_group.go index dd1bdcea3..b01b3729e 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_license.go b/model_package_license.go index 6b44768ae..481a7f062 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_evaluation_request.go b/model_package_license_policy_evaluation_request.go index 6d7ce2e44..6ad4ffddb 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_violation_log.go b/model_package_license_policy_violation_log.go index db3539fbc..f501b3775 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.1388.0 +API version: 1.1446.0 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 f4f56b463..88cd2a922 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_license_request_patch.go b/model_package_license_request_patch.go index 7fbd9cc42..1449ec98b 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_move.go b/model_package_move.go index f426b0af4..129278048 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_move_request.go b/model_package_move_request.go index 0c9a047fa..69551fc68 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_quarantine.go b/model_package_quarantine.go index fa300b04c..61a308a59 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_quarantine_request.go b/model_package_quarantine_request.go index 822c9df49..e32947a9c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_recycle_bin.go b/model_package_recycle_bin.go index 0cb1f956b..4bb11e8d4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_resync.go b/model_package_resync.go index 711a39508..3a4d0c154 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_status.go b/model_package_status.go index 8e0730d80..15d88a36a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_tag.go b/model_package_tag.go index bb33ac752..94b105d18 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_tag_request.go b/model_package_tag_request.go index 74c7466ff..672de5ede 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_usage_metrics.go b/model_package_usage_metrics.go index 60536d68c..774cbcc79 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability.go b/model_package_vulnerability.go index f8e01b6f5..736f0a0c2 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_evaluation_request.go b/model_package_vulnerability_policy_evaluation_request.go index 2fcfd3fdb..1177f54db 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_violation_log.go b/model_package_vulnerability_policy_violation_log.go index 5c138f9ce..caaa333cc 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.1388.0 +API version: 1.1446.0 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 94bee163a..1a8b442ae 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_packages_groups_list_200_response.go b/model_packages_groups_list_200_response.go index aa7be7dc0..862e09410 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings.go b/model_provider_settings.go index 92b163297..53c8cbafc 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_write.go b/model_provider_settings_write.go index 8a08bb81c..271cdb54f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_write_request.go b/model_provider_settings_write_request.go index f6d29b21e..321634bf4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_write_request_patch.go b/model_provider_settings_write_request_patch.go index 04b49de80..52b368734 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_python_package_upload.go b/model_python_package_upload.go index 7b18b4e4c..927946676 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_python_package_upload_request.go b/model_python_package_upload_request.go index 69d8b308d..730a025e1 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream.go b/model_python_upstream.go index 47a1397ad..c15dc0974 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request.go b/model_python_upstream_request.go index 7231efe0e..5b141666f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request_patch.go b/model_python_upstream_request_patch.go index 4d634e463..8088c16db 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_quota.go b/model_quota.go index 0d635c7d8..247e167fc 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_quota_history.go b/model_quota_history.go index 99abd01e1..f2bd41fc8 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_rate_check.go b/model_rate_check.go index 4888548be..978938119 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_raw_package_upload.go b/model_raw_package_upload.go index 95862e3fb..4117d3f4c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_raw_package_upload_request.go b/model_raw_package_upload_request.go index dd90c0edf..f7517fefc 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_recycle_bin_package.go b/model_recycle_bin_package.go index 2a3bdefe3..2a186050a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repos_connected_list_200_response.go b/model_repos_connected_list_200_response.go index dec0a4f27..9b15c4e69 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository.go b/model_repository.go index 7005740a4..adc3ad3e2 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_audit_log.go b/model_repository_audit_log.go index fdc62b833..86c8ba2e4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_create.go b/model_repository_create.go index f98e75ddb..1fab64893 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_create_request.go b/model_repository_create_request.go index d30bd82ef..43184441f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_ecdsa_key.go b/model_repository_ecdsa_key.go index ed283c513..2801c6918 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_ecdsa_key_create.go b/model_repository_ecdsa_key_create.go index 8ffddadeb..6fdcae648 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_ed25519_key.go b/model_repository_ed25519_key.go index 5103a5e16..e7790200f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_ed25519_key_create.go b/model_repository_ed25519_key_create.go index dbe4b2ebc..69a058be3 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_cidr.go b/model_repository_geo_ip_cidr.go index 893adcf53..0578f17c0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_country_code.go b/model_repository_geo_ip_country_code.go index 678ea3a0b..0e2009a69 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules.go b/model_repository_geo_ip_rules.go index 617f4d339..cdf7c1c93 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules_request.go b/model_repository_geo_ip_rules_request.go index 9dded38ec..13febb4c9 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.1388.0 +API version: 1.1446.0 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 de9a2c351..a88cb3e90 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_status.go b/model_repository_geo_ip_status.go index bee38b29b..3a8e9e311 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address.go b/model_repository_geo_ip_test_address.go index 364302ed3..fabaa55ee 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.1388.0 +API version: 1.1446.0 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 d7b43a0fd..abce04021 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.1388.0 +API version: 1.1446.0 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 236f5dceb..30eb7eb47 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key.go b/model_repository_gpg_key.go index 7056667ee..08040ae39 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key_create.go b/model_repository_gpg_key_create.go index 8e0374d4a..bf3d1bf0c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_dict.go b/model_repository_privilege_dict.go index bee528d36..ab68c3334 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input.go b/model_repository_privilege_input.go index c5bfc99b2..3eb1e7151 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request.go b/model_repository_privilege_input_request.go index 17be467f0..5f8b25dba 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request_patch.go b/model_repository_privilege_input_request_patch.go index c5dbb74d1..b69bcccf6 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_request_patch.go b/model_repository_request_patch.go index ab51f7fea..ccebd309f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_retention_rules.go b/model_repository_retention_rules.go index 94503c0f7..9cfd11795 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_retention_rules_request_patch.go b/model_repository_retention_rules_request_patch.go index 1a209b0fd..6b02471e0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key.go b/model_repository_rsa_key.go index 0c71f3b6a..b6fe5c923 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key_create.go b/model_repository_rsa_key_create.go index c21a0f60b..2af820af9 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token.go b/model_repository_token.go index 93a4b9d0d..d524f6fb3 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_private_broadcasts.go b/model_repository_token_private_broadcasts.go index 535c3ec4a..8e673b19f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_private_broadcasts_request.go b/model_repository_token_private_broadcasts_request.go index f1ff38d32..fd39c29b9 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh.go b/model_repository_token_refresh.go index 5393ef6fe..ad1662da0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh_request.go b/model_repository_token_refresh_request.go index 3ff920137..7688f2d24 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request.go b/model_repository_token_request.go index 4575cc6c9..240b0622b 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request_patch.go b/model_repository_token_request_patch.go index 14fbbc0d3..cd9e1bd77 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync.go b/model_repository_token_sync.go index 127cc9117..5b06cca5d 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync_request.go b/model_repository_token_sync_request.go index af8dd4beb..75d88b357 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_transfer_region.go b/model_repository_transfer_region.go index 5c53e645e..41a4e657c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_transfer_region_request.go b/model_repository_transfer_region_request.go index 6d4a3f74d..970e3b56a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook.go b/model_repository_webhook.go index 619010640..19b68294b 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request.go b/model_repository_webhook_request.go index cc8a809a4..1bab587e7 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request_patch.go b/model_repository_webhook_request_patch.go index e25972c87..5ed8613b6 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_x509_ecdsa_certificate.go b/model_repository_x509_ecdsa_certificate.go index cb42ce903..ce06111b5 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_x509_rsa_certificate.go b/model_repository_x509_rsa_certificate.go index 4d5693b96..97b4e33a0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_resources_rate_check.go b/model_resources_rate_check.go index d775653ef..2285a6a9e 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_package_upload.go b/model_rpm_package_upload.go index ceaec3ce1..56c3d030f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_package_upload_request.go b/model_rpm_package_upload_request.go index 6c6695dc8..e5b9fc8aa 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream.go b/model_rpm_upstream.go index 355df5c59..70627265f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request.go b/model_rpm_upstream_request.go index 760031edd..05fd14c7d 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request_patch.go b/model_rpm_upstream_request_patch.go index 825ab1eda..0ab5f3d6a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_package_upload.go b/model_ruby_package_upload.go index fbf2e7746..1a88e9c7c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_package_upload_request.go b/model_ruby_package_upload_request.go index b580722b7..fbd146741 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream.go b/model_ruby_upstream.go index 020530bff..b3ff77823 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request.go b/model_ruby_upstream_request.go index 08ed5b356..0b5ddcb40 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request_patch.go b/model_ruby_upstream_request_patch.go index efc2ffee6..ce2bc2227 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_service.go b/model_service.go index 4424d84db..26f0311dd 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ @@ -29,7 +29,7 @@ type Service struct { Description *string `json:"description,omitempty"` // The API key of the service Key *string `json:"key,omitempty"` - // The time at which the API key will expire. This will only be populated if the Organization has an active API Key Policy. + // The time at which the API key will expire. This will only be populated if the Organization has an active API key rule. KeyExpiresAt NullableTime `json:"key_expires_at,omitempty"` // The name of the service Name string `json:"name"` diff --git a/model_service_request.go b/model_service_request.go index ea6524af4..f2675a0ba 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_service_request_patch.go b/model_service_request_patch.go index 330d2f1f6..f5457fb8a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_service_teams.go b/model_service_teams.go index daf5b3bbe..bdb58a91c 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_skills_package_upload.go b/model_skills_package_upload.go new file mode 100644 index 000000000..715b3011a --- /dev/null +++ b/model_skills_package_upload.go @@ -0,0 +1,3657 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1446.0 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the SkillsPackageUpload type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsPackageUpload{} + +// SkillsPackageUpload struct for SkillsPackageUpload +type SkillsPackageUpload struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 NullableString `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` + // Where the package originated, for example: 'upstream' (proxied/cached from a configured upstream), 'connected_repository' (blended in from a connected target repository), or 'manual_upload' (uploaded directly to Cloudsmith). + DisplaySource *string `json:"display_source,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch NullableInt64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Amount of storage that will be freed if this package is deleted + FreeableStorage *int64 `json:"freeable_storage,omitempty"` + FullyQualifiedName NullableString `json:"fully_qualified_name,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + // Return a map of identifier field names and their values. + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License NullableString `json:"license,omitempty"` + Name string `json:"name" validate:"regexp=\\\\A[a-z0-9]+(?:-[a-z0-9]+)*$"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // Whether the package's SPDX license is OSI-approved. + OsiApproved *bool `json:"osi_approved,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // Whether or not the package has violated any policy. + PolicyViolated *bool `json:"policy_violated,omitempty"` + // The raw license string. + RawLicense NullableString `json:"raw_license,omitempty"` + // The release of the package version (if any). + Release NullableString `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SelfWebappUrl *string `json:"self_webapp_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` + SlugPerm *string `json:"slug_perm,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` + // The SPDX license identifier for this package. + SpdxLicense NullableString `json:"spdx_license,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason NullableString `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + // Absolute store path for the package, including store hash and name. + StorePath NullableString `json:"store_path,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary NullableString `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt NullableTime `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsAutomatic map[string]interface{} `json:"tags_automatic,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + // All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. + TagsStatic *map[string][]string `json:"tags_static,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + Version string `json:"version"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SkillsPackageUpload SkillsPackageUpload + +// NewSkillsPackageUpload instantiates a new SkillsPackageUpload object +// 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 NewSkillsPackageUpload(name string, version string) *SkillsPackageUpload { + this := SkillsPackageUpload{} + this.Name = name + this.Version = version + return &this +} + +// NewSkillsPackageUploadWithDefaults instantiates a new SkillsPackageUpload 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 +func NewSkillsPackageUploadWithDefaults() *SkillsPackageUpload { + this := SkillsPackageUpload{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetArchitectures() []Architecture { + if o == nil || IsNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || IsNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasArchitectures() bool { + if o != nil && !IsNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *SkillsPackageUpload) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetCdnUrl() string { + if o == nil || IsNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *SkillsPackageUpload) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *SkillsPackageUpload) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *SkillsPackageUpload) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *SkillsPackageUpload) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetChecksumMd5() string { + if o == nil || IsNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetChecksumMd5Ok() (*string, bool) { + if o == nil || IsNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasChecksumMd5() bool { + if o != nil && !IsNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *SkillsPackageUpload) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetChecksumSha1() string { + if o == nil || IsNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetChecksumSha1Ok() (*string, bool) { + if o == nil || IsNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasChecksumSha1() bool { + if o != nil && !IsNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *SkillsPackageUpload) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetChecksumSha256() string { + if o == nil || IsNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetChecksumSha256Ok() (*string, bool) { + if o == nil || IsNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasChecksumSha256() bool { + if o != nil && !IsNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *SkillsPackageUpload) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetChecksumSha512() string { + if o == nil || IsNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetChecksumSha512Ok() (*string, bool) { + if o == nil || IsNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasChecksumSha512() bool { + if o != nil && !IsNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *SkillsPackageUpload) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetDependenciesChecksumMd5() string { + if o == nil || IsNil(o.DependenciesChecksumMd5.Get()) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5.Get() +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 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 *SkillsPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.DependenciesChecksumMd5.Get(), o.DependenciesChecksumMd5.IsSet() +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDependenciesChecksumMd5() bool { + if o != nil && o.DependenciesChecksumMd5.IsSet() { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given NullableString and assigns it to the DependenciesChecksumMd5 field. +func (o *SkillsPackageUpload) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5.Set(&v) +} + +// SetDependenciesChecksumMd5Nil sets the value for DependenciesChecksumMd5 to be an explicit nil +func (o *SkillsPackageUpload) SetDependenciesChecksumMd5Nil() { + o.DependenciesChecksumMd5.Set(nil) +} + +// UnsetDependenciesChecksumMd5 ensures that no value is present for DependenciesChecksumMd5, not even an explicit nil +func (o *SkillsPackageUpload) UnsetDependenciesChecksumMd5() { + o.DependenciesChecksumMd5.Unset() +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetDependenciesUrl() string { + if o == nil || IsNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetDependenciesUrlOk() (*string, bool) { + if o == nil || IsNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDependenciesUrl() bool { + if o != nil && !IsNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *SkillsPackageUpload) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetDescription() string { + if o == nil || IsNil(o.Description.Get()) { + var ret string + return ret + } + return *o.Description.Get() +} + +// GetDescriptionOk returns a tuple with the Description 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 *SkillsPackageUpload) GetDescriptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Description.Get(), o.Description.IsSet() +} + +// HasDescription returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDescription() bool { + if o != nil && o.Description.IsSet() { + return true + } + + return false +} + +// SetDescription gets a reference to the given NullableString and assigns it to the Description field. +func (o *SkillsPackageUpload) SetDescription(v string) { + o.Description.Set(&v) +} + +// SetDescriptionNil sets the value for Description to be an explicit nil +func (o *SkillsPackageUpload) SetDescriptionNil() { + o.Description.Set(nil) +} + +// UnsetDescription ensures that no value is present for Description, not even an explicit nil +func (o *SkillsPackageUpload) UnsetDescription() { + o.Description.Unset() +} + +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetDisplayName() string { + if o == nil || IsNil(o.DisplayName) { + var ret string + return ret + } + return *o.DisplayName +} + +// GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetDisplayNameOk() (*string, bool) { + if o == nil || IsNil(o.DisplayName) { + return nil, false + } + return o.DisplayName, true +} + +// HasDisplayName returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDisplayName() bool { + if o != nil && !IsNil(o.DisplayName) { + return true + } + + return false +} + +// SetDisplayName gets a reference to the given string and assigns it to the DisplayName field. +func (o *SkillsPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + +// GetDisplaySource returns the DisplaySource field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetDisplaySource() string { + if o == nil || IsNil(o.DisplaySource) { + var ret string + return ret + } + return *o.DisplaySource +} + +// GetDisplaySourceOk returns a tuple with the DisplaySource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetDisplaySourceOk() (*string, bool) { + if o == nil || IsNil(o.DisplaySource) { + return nil, false + } + return o.DisplaySource, true +} + +// HasDisplaySource returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDisplaySource() bool { + if o != nil && !IsNil(o.DisplaySource) { + return true + } + + return false +} + +// SetDisplaySource gets a reference to the given string and assigns it to the DisplaySource field. +func (o *SkillsPackageUpload) SetDisplaySource(v string) { + o.DisplaySource = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetDistro() Distribution { + if o == nil || IsNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *SkillsPackageUpload) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *SkillsPackageUpload) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *SkillsPackageUpload) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *SkillsPackageUpload) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetDistroVersion() DistributionVersion { + if o == nil || IsNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || IsNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDistroVersion() bool { + if o != nil && !IsNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *SkillsPackageUpload) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetDownloads() int64 { + if o == nil || IsNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetDownloadsOk() (*int64, bool) { + if o == nil || IsNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDownloads() bool { + if o != nil && !IsNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *SkillsPackageUpload) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetEpoch() int64 { + if o == nil || IsNil(o.Epoch.Get()) { + var ret int64 + return ret + } + return *o.Epoch.Get() +} + +// GetEpochOk returns a tuple with the Epoch 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 *SkillsPackageUpload) GetEpochOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.Epoch.Get(), o.Epoch.IsSet() +} + +// HasEpoch returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasEpoch() bool { + if o != nil && o.Epoch.IsSet() { + return true + } + + return false +} + +// SetEpoch gets a reference to the given NullableInt64 and assigns it to the Epoch field. +func (o *SkillsPackageUpload) SetEpoch(v int64) { + o.Epoch.Set(&v) +} + +// SetEpochNil sets the value for Epoch to be an explicit nil +func (o *SkillsPackageUpload) SetEpochNil() { + o.Epoch.Set(nil) +} + +// UnsetEpoch ensures that no value is present for Epoch, not even an explicit nil +func (o *SkillsPackageUpload) UnsetEpoch() { + o.Epoch.Unset() +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetExtension() string { + if o == nil || IsNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetExtensionOk() (*string, bool) { + if o == nil || IsNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasExtension() bool { + if o != nil && !IsNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *SkillsPackageUpload) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetFilename() string { + if o == nil || IsNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetFilenameOk() (*string, bool) { + if o == nil || IsNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFilename() bool { + if o != nil && !IsNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *SkillsPackageUpload) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetFiles() []PackageFile { + if o == nil || IsNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetFilesOk() ([]PackageFile, bool) { + if o == nil || IsNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFiles() bool { + if o != nil && !IsNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *SkillsPackageUpload) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetFormat() string { + if o == nil || IsNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetFormatOk() (*string, bool) { + if o == nil || IsNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFormat() bool { + if o != nil && !IsNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *SkillsPackageUpload) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetFormatUrl() string { + if o == nil || IsNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetFormatUrlOk() (*string, bool) { + if o == nil || IsNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFormatUrl() bool { + if o != nil && !IsNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *SkillsPackageUpload) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetFreeableStorage returns the FreeableStorage field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetFreeableStorage() int64 { + if o == nil || IsNil(o.FreeableStorage) { + var ret int64 + return ret + } + return *o.FreeableStorage +} + +// GetFreeableStorageOk returns a tuple with the FreeableStorage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetFreeableStorageOk() (*int64, bool) { + if o == nil || IsNil(o.FreeableStorage) { + return nil, false + } + return o.FreeableStorage, true +} + +// HasFreeableStorage returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFreeableStorage() bool { + if o != nil && !IsNil(o.FreeableStorage) { + return true + } + + return false +} + +// SetFreeableStorage gets a reference to the given int64 and assigns it to the FreeableStorage field. +func (o *SkillsPackageUpload) SetFreeableStorage(v int64) { + o.FreeableStorage = &v +} + +// GetFullyQualifiedName returns the FullyQualifiedName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetFullyQualifiedName() string { + if o == nil || IsNil(o.FullyQualifiedName.Get()) { + var ret string + return ret + } + return *o.FullyQualifiedName.Get() +} + +// GetFullyQualifiedNameOk returns a tuple with the FullyQualifiedName 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 *SkillsPackageUpload) GetFullyQualifiedNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.FullyQualifiedName.Get(), o.FullyQualifiedName.IsSet() +} + +// HasFullyQualifiedName returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFullyQualifiedName() bool { + if o != nil && o.FullyQualifiedName.IsSet() { + return true + } + + return false +} + +// SetFullyQualifiedName gets a reference to the given NullableString and assigns it to the FullyQualifiedName field. +func (o *SkillsPackageUpload) SetFullyQualifiedName(v string) { + o.FullyQualifiedName.Set(&v) +} + +// SetFullyQualifiedNameNil sets the value for FullyQualifiedName to be an explicit nil +func (o *SkillsPackageUpload) SetFullyQualifiedNameNil() { + o.FullyQualifiedName.Set(nil) +} + +// UnsetFullyQualifiedName ensures that no value is present for FullyQualifiedName, not even an explicit nil +func (o *SkillsPackageUpload) UnsetFullyQualifiedName() { + o.FullyQualifiedName.Unset() +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIdentifierPerm() string { + if o == nil || IsNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIdentifierPermOk() (*string, bool) { + if o == nil || IsNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIdentifierPerm() bool { + if o != nil && !IsNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *SkillsPackageUpload) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIdentifiers returns the Identifiers field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIdentifiers() map[string]string { + if o == nil || IsNil(o.Identifiers) { + var ret map[string]string + return ret + } + return *o.Identifiers +} + +// GetIdentifiersOk returns a tuple with the Identifiers field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIdentifiersOk() (*map[string]string, bool) { + if o == nil || IsNil(o.Identifiers) { + return nil, false + } + return o.Identifiers, true +} + +// HasIdentifiers returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIdentifiers() bool { + if o != nil && !IsNil(o.Identifiers) { + return true + } + + return false +} + +// SetIdentifiers gets a reference to the given map[string]string and assigns it to the Identifiers field. +func (o *SkillsPackageUpload) SetIdentifiers(v map[string]string) { + o.Identifiers = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIndexed() bool { + if o == nil || IsNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIndexedOk() (*bool, bool) { + if o == nil || IsNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIndexed() bool { + if o != nil && !IsNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *SkillsPackageUpload) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsCancellable returns the IsCancellable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsCancellable() bool { + if o == nil || IsNil(o.IsCancellable) { + var ret bool + return ret + } + return *o.IsCancellable +} + +// GetIsCancellableOk returns a tuple with the IsCancellable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsCancellableOk() (*bool, bool) { + if o == nil || IsNil(o.IsCancellable) { + return nil, false + } + return o.IsCancellable, true +} + +// HasIsCancellable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsCancellable() bool { + if o != nil && !IsNil(o.IsCancellable) { + return true + } + + return false +} + +// SetIsCancellable gets a reference to the given bool and assigns it to the IsCancellable field. +func (o *SkillsPackageUpload) SetIsCancellable(v bool) { + o.IsCancellable = &v +} + +// GetIsCopyable returns the IsCopyable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsCopyable() bool { + if o == nil || IsNil(o.IsCopyable) { + var ret bool + return ret + } + return *o.IsCopyable +} + +// GetIsCopyableOk returns a tuple with the IsCopyable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsCopyableOk() (*bool, bool) { + if o == nil || IsNil(o.IsCopyable) { + return nil, false + } + return o.IsCopyable, true +} + +// HasIsCopyable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsCopyable() bool { + if o != nil && !IsNil(o.IsCopyable) { + return true + } + + return false +} + +// SetIsCopyable gets a reference to the given bool and assigns it to the IsCopyable field. +func (o *SkillsPackageUpload) SetIsCopyable(v bool) { + o.IsCopyable = &v +} + +// GetIsDeleteable returns the IsDeleteable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsDeleteable() bool { + if o == nil || IsNil(o.IsDeleteable) { + var ret bool + return ret + } + return *o.IsDeleteable +} + +// GetIsDeleteableOk returns a tuple with the IsDeleteable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsDeleteableOk() (*bool, bool) { + if o == nil || IsNil(o.IsDeleteable) { + return nil, false + } + return o.IsDeleteable, true +} + +// HasIsDeleteable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsDeleteable() bool { + if o != nil && !IsNil(o.IsDeleteable) { + return true + } + + return false +} + +// SetIsDeleteable gets a reference to the given bool and assigns it to the IsDeleteable field. +func (o *SkillsPackageUpload) SetIsDeleteable(v bool) { + o.IsDeleteable = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsDownloadable() bool { + if o == nil || IsNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsDownloadableOk() (*bool, bool) { + if o == nil || IsNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsDownloadable() bool { + if o != nil && !IsNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *SkillsPackageUpload) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsHidden returns the IsHidden field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsHidden() bool { + if o == nil || IsNil(o.IsHidden) { + var ret bool + return ret + } + return *o.IsHidden +} + +// GetIsHiddenOk returns a tuple with the IsHidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.IsHidden) { + return nil, false + } + return o.IsHidden, true +} + +// HasIsHidden returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsHidden() bool { + if o != nil && !IsNil(o.IsHidden) { + return true + } + + return false +} + +// SetIsHidden gets a reference to the given bool and assigns it to the IsHidden field. +func (o *SkillsPackageUpload) SetIsHidden(v bool) { + o.IsHidden = &v +} + +// GetIsMoveable returns the IsMoveable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsMoveable() bool { + if o == nil || IsNil(o.IsMoveable) { + var ret bool + return ret + } + return *o.IsMoveable +} + +// GetIsMoveableOk returns a tuple with the IsMoveable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsMoveableOk() (*bool, bool) { + if o == nil || IsNil(o.IsMoveable) { + return nil, false + } + return o.IsMoveable, true +} + +// HasIsMoveable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsMoveable() bool { + if o != nil && !IsNil(o.IsMoveable) { + return true + } + + return false +} + +// SetIsMoveable gets a reference to the given bool and assigns it to the IsMoveable field. +func (o *SkillsPackageUpload) SetIsMoveable(v bool) { + o.IsMoveable = &v +} + +// GetIsQuarantinable returns the IsQuarantinable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsQuarantinable() bool { + if o == nil || IsNil(o.IsQuarantinable) { + var ret bool + return ret + } + return *o.IsQuarantinable +} + +// GetIsQuarantinableOk returns a tuple with the IsQuarantinable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsQuarantinableOk() (*bool, bool) { + if o == nil || IsNil(o.IsQuarantinable) { + return nil, false + } + return o.IsQuarantinable, true +} + +// HasIsQuarantinable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsQuarantinable() bool { + if o != nil && !IsNil(o.IsQuarantinable) { + return true + } + + return false +} + +// SetIsQuarantinable gets a reference to the given bool and assigns it to the IsQuarantinable field. +func (o *SkillsPackageUpload) SetIsQuarantinable(v bool) { + o.IsQuarantinable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsQuarantined() bool { + if o == nil || IsNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || IsNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsQuarantined() bool { + if o != nil && !IsNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *SkillsPackageUpload) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsResyncable returns the IsResyncable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsResyncable() bool { + if o == nil || IsNil(o.IsResyncable) { + var ret bool + return ret + } + return *o.IsResyncable +} + +// GetIsResyncableOk returns a tuple with the IsResyncable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsResyncableOk() (*bool, bool) { + if o == nil || IsNil(o.IsResyncable) { + return nil, false + } + return o.IsResyncable, true +} + +// HasIsResyncable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsResyncable() bool { + if o != nil && !IsNil(o.IsResyncable) { + return true + } + + return false +} + +// SetIsResyncable gets a reference to the given bool and assigns it to the IsResyncable field. +func (o *SkillsPackageUpload) SetIsResyncable(v bool) { + o.IsResyncable = &v +} + +// GetIsSecurityScannable returns the IsSecurityScannable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSecurityScannable() bool { + if o == nil || IsNil(o.IsSecurityScannable) { + var ret bool + return ret + } + return *o.IsSecurityScannable +} + +// GetIsSecurityScannableOk returns a tuple with the IsSecurityScannable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSecurityScannableOk() (*bool, bool) { + if o == nil || IsNil(o.IsSecurityScannable) { + return nil, false + } + return o.IsSecurityScannable, true +} + +// HasIsSecurityScannable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSecurityScannable() bool { + if o != nil && !IsNil(o.IsSecurityScannable) { + return true + } + + return false +} + +// SetIsSecurityScannable gets a reference to the given bool and assigns it to the IsSecurityScannable field. +func (o *SkillsPackageUpload) SetIsSecurityScannable(v bool) { + o.IsSecurityScannable = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSyncAwaiting() bool { + if o == nil || IsNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || IsNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSyncAwaiting() bool { + if o != nil && !IsNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *SkillsPackageUpload) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSyncCompleted() bool { + if o == nil || IsNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || IsNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSyncCompleted() bool { + if o != nil && !IsNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *SkillsPackageUpload) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSyncFailed() bool { + if o == nil || IsNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || IsNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSyncFailed() bool { + if o != nil && !IsNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *SkillsPackageUpload) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSyncInFlight() bool { + if o == nil || IsNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || IsNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSyncInFlight() bool { + if o != nil && !IsNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *SkillsPackageUpload) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSyncInProgress() bool { + if o == nil || IsNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || IsNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSyncInProgress() bool { + if o != nil && !IsNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *SkillsPackageUpload) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetLicense() string { + if o == nil || IsNil(o.License.Get()) { + var ret string + return ret + } + return *o.License.Get() +} + +// GetLicenseOk returns a tuple with the License 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 *SkillsPackageUpload) GetLicenseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.License.Get(), o.License.IsSet() +} + +// HasLicense returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasLicense() bool { + if o != nil && o.License.IsSet() { + return true + } + + return false +} + +// SetLicense gets a reference to the given NullableString and assigns it to the License field. +func (o *SkillsPackageUpload) SetLicense(v string) { + o.License.Set(&v) +} + +// SetLicenseNil sets the value for License to be an explicit nil +func (o *SkillsPackageUpload) SetLicenseNil() { + o.License.Set(nil) +} + +// UnsetLicense ensures that no value is present for License, not even an explicit nil +func (o *SkillsPackageUpload) UnsetLicense() { + o.License.Unset() +} + +// GetName returns the Name field value +func (o *SkillsPackageUpload) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *SkillsPackageUpload) SetName(v string) { + o.Name = v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetNamespace() string { + if o == nil || IsNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetNamespaceOk() (*string, bool) { + if o == nil || IsNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasNamespace() bool { + if o != nil && !IsNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *SkillsPackageUpload) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetNamespaceUrl() string { + if o == nil || IsNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetNamespaceUrlOk() (*string, bool) { + if o == nil || IsNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasNamespaceUrl() bool { + if o != nil && !IsNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *SkillsPackageUpload) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetNumFiles() int64 { + if o == nil || IsNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetNumFilesOk() (*int64, bool) { + if o == nil || IsNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasNumFiles() bool { + if o != nil && !IsNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *SkillsPackageUpload) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetOriginRepository() string { + if o == nil || IsNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetOriginRepositoryOk() (*string, bool) { + if o == nil || IsNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasOriginRepository() bool { + if o != nil && !IsNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *SkillsPackageUpload) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetOriginRepositoryUrl() string { + if o == nil || IsNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || IsNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasOriginRepositoryUrl() bool { + if o != nil && !IsNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *SkillsPackageUpload) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetOsiApproved returns the OsiApproved field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetOsiApproved() bool { + if o == nil || IsNil(o.OsiApproved) { + var ret bool + return ret + } + return *o.OsiApproved +} + +// GetOsiApprovedOk returns a tuple with the OsiApproved field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetOsiApprovedOk() (*bool, bool) { + if o == nil || IsNil(o.OsiApproved) { + return nil, false + } + return o.OsiApproved, true +} + +// HasOsiApproved returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasOsiApproved() bool { + if o != nil && !IsNil(o.OsiApproved) { + return true + } + + return false +} + +// SetOsiApproved gets a reference to the given bool and assigns it to the OsiApproved field. +func (o *SkillsPackageUpload) SetOsiApproved(v bool) { + o.OsiApproved = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetPackageType() int64 { + if o == nil || IsNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetPackageTypeOk() (*int64, bool) { + if o == nil || IsNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasPackageType() bool { + if o != nil && !IsNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *SkillsPackageUpload) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetPolicyViolated returns the PolicyViolated field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetPolicyViolated() bool { + if o == nil || IsNil(o.PolicyViolated) { + var ret bool + return ret + } + return *o.PolicyViolated +} + +// GetPolicyViolatedOk returns a tuple with the PolicyViolated field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetPolicyViolatedOk() (*bool, bool) { + if o == nil || IsNil(o.PolicyViolated) { + return nil, false + } + return o.PolicyViolated, true +} + +// HasPolicyViolated returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasPolicyViolated() bool { + if o != nil && !IsNil(o.PolicyViolated) { + return true + } + + return false +} + +// SetPolicyViolated gets a reference to the given bool and assigns it to the PolicyViolated field. +func (o *SkillsPackageUpload) SetPolicyViolated(v bool) { + o.PolicyViolated = &v +} + +// GetRawLicense returns the RawLicense field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetRawLicense() string { + if o == nil || IsNil(o.RawLicense.Get()) { + var ret string + return ret + } + return *o.RawLicense.Get() +} + +// GetRawLicenseOk returns a tuple with the RawLicense 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 *SkillsPackageUpload) GetRawLicenseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RawLicense.Get(), o.RawLicense.IsSet() +} + +// HasRawLicense returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasRawLicense() bool { + if o != nil && o.RawLicense.IsSet() { + return true + } + + return false +} + +// SetRawLicense gets a reference to the given NullableString and assigns it to the RawLicense field. +func (o *SkillsPackageUpload) SetRawLicense(v string) { + o.RawLicense.Set(&v) +} + +// SetRawLicenseNil sets the value for RawLicense to be an explicit nil +func (o *SkillsPackageUpload) SetRawLicenseNil() { + o.RawLicense.Set(nil) +} + +// UnsetRawLicense ensures that no value is present for RawLicense, not even an explicit nil +func (o *SkillsPackageUpload) UnsetRawLicense() { + o.RawLicense.Unset() +} + +// GetRelease returns the Release field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetRelease() string { + if o == nil || IsNil(o.Release.Get()) { + var ret string + return ret + } + return *o.Release.Get() +} + +// GetReleaseOk returns a tuple with the Release 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 *SkillsPackageUpload) GetReleaseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Release.Get(), o.Release.IsSet() +} + +// HasRelease returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasRelease() bool { + if o != nil && o.Release.IsSet() { + return true + } + + return false +} + +// SetRelease gets a reference to the given NullableString and assigns it to the Release field. +func (o *SkillsPackageUpload) SetRelease(v string) { + o.Release.Set(&v) +} + +// SetReleaseNil sets the value for Release to be an explicit nil +func (o *SkillsPackageUpload) SetReleaseNil() { + o.Release.Set(nil) +} + +// UnsetRelease ensures that no value is present for Release, not even an explicit nil +func (o *SkillsPackageUpload) UnsetRelease() { + o.Release.Unset() +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetRepository() string { + if o == nil || IsNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetRepositoryOk() (*string, bool) { + if o == nil || IsNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasRepository() bool { + if o != nil && !IsNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *SkillsPackageUpload) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetRepositoryUrl() string { + if o == nil || IsNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetRepositoryUrlOk() (*string, bool) { + if o == nil || IsNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasRepositoryUrl() bool { + if o != nil && !IsNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *SkillsPackageUpload) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSecurityScanCompletedAt() time.Time { + if o == nil || IsNil(o.SecurityScanCompletedAt.Get()) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt.Get() +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt 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 *SkillsPackageUpload) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanCompletedAt.Get(), o.SecurityScanCompletedAt.IsSet() +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSecurityScanCompletedAt() bool { + if o != nil && o.SecurityScanCompletedAt.IsSet() { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given NullableTime and assigns it to the SecurityScanCompletedAt field. +func (o *SkillsPackageUpload) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt.Set(&v) +} + +// SetSecurityScanCompletedAtNil sets the value for SecurityScanCompletedAt to be an explicit nil +func (o *SkillsPackageUpload) SetSecurityScanCompletedAtNil() { + o.SecurityScanCompletedAt.Set(nil) +} + +// UnsetSecurityScanCompletedAt ensures that no value is present for SecurityScanCompletedAt, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSecurityScanCompletedAt() { + o.SecurityScanCompletedAt.Unset() +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSecurityScanStartedAt() time.Time { + if o == nil || IsNil(o.SecurityScanStartedAt.Get()) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt.Get() +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt 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 *SkillsPackageUpload) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStartedAt.Get(), o.SecurityScanStartedAt.IsSet() +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSecurityScanStartedAt() bool { + if o != nil && o.SecurityScanStartedAt.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given NullableTime and assigns it to the SecurityScanStartedAt field. +func (o *SkillsPackageUpload) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt.Set(&v) +} + +// SetSecurityScanStartedAtNil sets the value for SecurityScanStartedAt to be an explicit nil +func (o *SkillsPackageUpload) SetSecurityScanStartedAtNil() { + o.SecurityScanStartedAt.Set(nil) +} + +// UnsetSecurityScanStartedAt ensures that no value is present for SecurityScanStartedAt, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSecurityScanStartedAt() { + o.SecurityScanStartedAt.Unset() +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSecurityScanStatus() string { + if o == nil || IsNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *SkillsPackageUpload) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *SkillsPackageUpload) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *SkillsPackageUpload) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || IsNil(o.SecurityScanStatusUpdatedAt.Get()) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt.Get() +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt 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 *SkillsPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatusUpdatedAt.Get(), o.SecurityScanStatusUpdatedAt.IsSet() +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && o.SecurityScanStatusUpdatedAt.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given NullableTime and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *SkillsPackageUpload) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt.Set(&v) +} + +// SetSecurityScanStatusUpdatedAtNil sets the value for SecurityScanStatusUpdatedAt to be an explicit nil +func (o *SkillsPackageUpload) SetSecurityScanStatusUpdatedAtNil() { + o.SecurityScanStatusUpdatedAt.Set(nil) +} + +// UnsetSecurityScanStatusUpdatedAt ensures that no value is present for SecurityScanStatusUpdatedAt, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSecurityScanStatusUpdatedAt() { + o.SecurityScanStatusUpdatedAt.Unset() +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSelfHtmlUrl() string { + if o == nil || IsNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || IsNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSelfHtmlUrl() bool { + if o != nil && !IsNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *SkillsPackageUpload) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSelfUrl() string { + if o == nil || IsNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSelfUrlOk() (*string, bool) { + if o == nil || IsNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSelfUrl() bool { + if o != nil && !IsNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *SkillsPackageUpload) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSelfWebappUrl returns the SelfWebappUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSelfWebappUrl() string { + if o == nil || IsNil(o.SelfWebappUrl) { + var ret string + return ret + } + return *o.SelfWebappUrl +} + +// GetSelfWebappUrlOk returns a tuple with the SelfWebappUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSelfWebappUrlOk() (*string, bool) { + if o == nil || IsNil(o.SelfWebappUrl) { + return nil, false + } + return o.SelfWebappUrl, true +} + +// HasSelfWebappUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSelfWebappUrl() bool { + if o != nil && !IsNil(o.SelfWebappUrl) { + return true + } + + return false +} + +// SetSelfWebappUrl gets a reference to the given string and assigns it to the SelfWebappUrl field. +func (o *SkillsPackageUpload) SetSelfWebappUrl(v string) { + o.SelfWebappUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSignatureUrl() string { + if o == nil || IsNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *SkillsPackageUpload) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *SkillsPackageUpload) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *SkillsPackageUpload) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSize() int64 { + if o == nil || IsNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSizeOk() (*int64, bool) { + if o == nil || IsNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSize() bool { + if o != nil && !IsNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *SkillsPackageUpload) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSlug() string { + if o == nil || IsNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSlugOk() (*string, bool) { + if o == nil || IsNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSlug() bool { + if o != nil && !IsNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *SkillsPackageUpload) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSlugPerm() string { + if o == nil || IsNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSlugPermOk() (*string, bool) { + if o == nil || IsNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSlugPerm() bool { + if o != nil && !IsNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *SkillsPackageUpload) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetSpdxLicense returns the SpdxLicense field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSpdxLicense() string { + if o == nil || IsNil(o.SpdxLicense.Get()) { + var ret string + return ret + } + return *o.SpdxLicense.Get() +} + +// GetSpdxLicenseOk returns a tuple with the SpdxLicense 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 *SkillsPackageUpload) GetSpdxLicenseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SpdxLicense.Get(), o.SpdxLicense.IsSet() +} + +// HasSpdxLicense returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSpdxLicense() bool { + if o != nil && o.SpdxLicense.IsSet() { + return true + } + + return false +} + +// SetSpdxLicense gets a reference to the given NullableString and assigns it to the SpdxLicense field. +func (o *SkillsPackageUpload) SetSpdxLicense(v string) { + o.SpdxLicense.Set(&v) +} + +// SetSpdxLicenseNil sets the value for SpdxLicense to be an explicit nil +func (o *SkillsPackageUpload) SetSpdxLicenseNil() { + o.SpdxLicense.Set(nil) +} + +// UnsetSpdxLicense ensures that no value is present for SpdxLicense, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSpdxLicense() { + o.SpdxLicense.Unset() +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStage() int64 { + if o == nil || IsNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStageOk() (*int64, bool) { + if o == nil || IsNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStage() bool { + if o != nil && !IsNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *SkillsPackageUpload) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStageStr() string { + if o == nil || IsNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStageStrOk() (*string, bool) { + if o == nil || IsNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStageStr() bool { + if o != nil && !IsNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *SkillsPackageUpload) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStageUpdatedAt() time.Time { + if o == nil || IsNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStageUpdatedAt() bool { + if o != nil && !IsNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *SkillsPackageUpload) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStatus() int64 { + if o == nil || IsNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStatusOk() (*int64, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *SkillsPackageUpload) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetStatusReason() string { + if o == nil || IsNil(o.StatusReason.Get()) { + var ret string + return ret + } + return *o.StatusReason.Get() +} + +// GetStatusReasonOk returns a tuple with the StatusReason 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 *SkillsPackageUpload) GetStatusReasonOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.StatusReason.Get(), o.StatusReason.IsSet() +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStatusReason() bool { + if o != nil && o.StatusReason.IsSet() { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given NullableString and assigns it to the StatusReason field. +func (o *SkillsPackageUpload) SetStatusReason(v string) { + o.StatusReason.Set(&v) +} + +// SetStatusReasonNil sets the value for StatusReason to be an explicit nil +func (o *SkillsPackageUpload) SetStatusReasonNil() { + o.StatusReason.Set(nil) +} + +// UnsetStatusReason ensures that no value is present for StatusReason, not even an explicit nil +func (o *SkillsPackageUpload) UnsetStatusReason() { + o.StatusReason.Unset() +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStatusStr() string { + if o == nil || IsNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStatusStrOk() (*string, bool) { + if o == nil || IsNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStatusStr() bool { + if o != nil && !IsNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *SkillsPackageUpload) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStatusUpdatedAt() time.Time { + if o == nil || IsNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStatusUpdatedAt() bool { + if o != nil && !IsNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *SkillsPackageUpload) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStatusUrl() string { + if o == nil || IsNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStatusUrlOk() (*string, bool) { + if o == nil || IsNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStatusUrl() bool { + if o != nil && !IsNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *SkillsPackageUpload) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetStorePath returns the StorePath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetStorePath() string { + if o == nil || IsNil(o.StorePath.Get()) { + var ret string + return ret + } + return *o.StorePath.Get() +} + +// GetStorePathOk returns a tuple with the StorePath 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 *SkillsPackageUpload) GetStorePathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.StorePath.Get(), o.StorePath.IsSet() +} + +// HasStorePath returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStorePath() bool { + if o != nil && o.StorePath.IsSet() { + return true + } + + return false +} + +// SetStorePath gets a reference to the given NullableString and assigns it to the StorePath field. +func (o *SkillsPackageUpload) SetStorePath(v string) { + o.StorePath.Set(&v) +} + +// SetStorePathNil sets the value for StorePath to be an explicit nil +func (o *SkillsPackageUpload) SetStorePathNil() { + o.StorePath.Set(nil) +} + +// UnsetStorePath ensures that no value is present for StorePath, not even an explicit nil +func (o *SkillsPackageUpload) UnsetStorePath() { + o.StorePath.Unset() +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSubtype() string { + if o == nil || IsNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSubtypeOk() (*string, bool) { + if o == nil || IsNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSubtype() bool { + if o != nil && !IsNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *SkillsPackageUpload) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSummary() string { + if o == nil || IsNil(o.Summary.Get()) { + var ret string + return ret + } + return *o.Summary.Get() +} + +// GetSummaryOk returns a tuple with the Summary 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 *SkillsPackageUpload) GetSummaryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Summary.Get(), o.Summary.IsSet() +} + +// HasSummary returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSummary() bool { + if o != nil && o.Summary.IsSet() { + return true + } + + return false +} + +// SetSummary gets a reference to the given NullableString and assigns it to the Summary field. +func (o *SkillsPackageUpload) SetSummary(v string) { + o.Summary.Set(&v) +} + +// SetSummaryNil sets the value for Summary to be an explicit nil +func (o *SkillsPackageUpload) SetSummaryNil() { + o.Summary.Set(nil) +} + +// UnsetSummary ensures that no value is present for Summary, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSummary() { + o.Summary.Unset() +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSyncFinishedAt() time.Time { + if o == nil || IsNil(o.SyncFinishedAt.Get()) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt.Get() +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt 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 *SkillsPackageUpload) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.SyncFinishedAt.Get(), o.SyncFinishedAt.IsSet() +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSyncFinishedAt() bool { + if o != nil && o.SyncFinishedAt.IsSet() { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given NullableTime and assigns it to the SyncFinishedAt field. +func (o *SkillsPackageUpload) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt.Set(&v) +} + +// SetSyncFinishedAtNil sets the value for SyncFinishedAt to be an explicit nil +func (o *SkillsPackageUpload) SetSyncFinishedAtNil() { + o.SyncFinishedAt.Set(nil) +} + +// UnsetSyncFinishedAt ensures that no value is present for SyncFinishedAt, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSyncFinishedAt() { + o.SyncFinishedAt.Unset() +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSyncProgress() int64 { + if o == nil || IsNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSyncProgressOk() (*int64, bool) { + if o == nil || IsNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSyncProgress() bool { + if o != nil && !IsNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *SkillsPackageUpload) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsAutomatic returns the TagsAutomatic field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetTagsAutomatic() map[string]interface{} { + if o == nil || IsNil(o.TagsAutomatic) { + var ret map[string]interface{} + return ret + } + return o.TagsAutomatic +} + +// GetTagsAutomaticOk returns a tuple with the TagsAutomatic field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetTagsAutomaticOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.TagsAutomatic) { + return map[string]interface{}{}, false + } + return o.TagsAutomatic, true +} + +// HasTagsAutomatic returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasTagsAutomatic() bool { + if o != nil && !IsNil(o.TagsAutomatic) { + return true + } + + return false +} + +// SetTagsAutomatic gets a reference to the given map[string]interface{} and assigns it to the TagsAutomatic field. +func (o *SkillsPackageUpload) SetTagsAutomatic(v map[string]interface{}) { + o.TagsAutomatic = v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetTagsImmutable() map[string]interface{} { + if o == nil || IsNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasTagsImmutable() bool { + if o != nil && !IsNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *SkillsPackageUpload) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTagsStatic returns the TagsStatic field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetTagsStatic() map[string][]string { + if o == nil || IsNil(o.TagsStatic) { + var ret map[string][]string + return ret + } + return *o.TagsStatic +} + +// GetTagsStaticOk returns a tuple with the TagsStatic field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetTagsStaticOk() (*map[string][]string, bool) { + if o == nil || IsNil(o.TagsStatic) { + return nil, false + } + return o.TagsStatic, true +} + +// HasTagsStatic returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasTagsStatic() bool { + if o != nil && !IsNil(o.TagsStatic) { + return true + } + + return false +} + +// SetTagsStatic gets a reference to the given map[string][]string and assigns it to the TagsStatic field. +func (o *SkillsPackageUpload) SetTagsStatic(v map[string][]string) { + o.TagsStatic = &v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetTypeDisplay() string { + if o == nil || IsNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetTypeDisplayOk() (*string, bool) { + if o == nil || IsNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasTypeDisplay() bool { + if o != nil && !IsNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *SkillsPackageUpload) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetUploadedAt() time.Time { + if o == nil || IsNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasUploadedAt() bool { + if o != nil && !IsNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *SkillsPackageUpload) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetUploader() string { + if o == nil || IsNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetUploaderOk() (*string, bool) { + if o == nil || IsNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasUploader() bool { + if o != nil && !IsNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *SkillsPackageUpload) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetUploaderUrl() string { + if o == nil || IsNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetUploaderUrlOk() (*string, bool) { + if o == nil || IsNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasUploaderUrl() bool { + if o != nil && !IsNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *SkillsPackageUpload) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value +func (o *SkillsPackageUpload) GetVersion() string { + if o == nil { + var ret string + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *SkillsPackageUpload) SetVersion(v string) { + o.Version = v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetVersionOrig() string { + if o == nil || IsNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetVersionOrigOk() (*string, bool) { + if o == nil || IsNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasVersionOrig() bool { + if o != nil && !IsNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *SkillsPackageUpload) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetVulnerabilityScanResultsUrl() string { + if o == nil || IsNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || IsNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !IsNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *SkillsPackageUpload) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o SkillsPackageUpload) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsPackageUpload) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !IsNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !IsNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !IsNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !IsNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if o.DependenciesChecksumMd5.IsSet() { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5.Get() + } + if !IsNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if o.Description.IsSet() { + toSerialize["description"] = o.Description.Get() + } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } + if !IsNil(o.DisplaySource) { + toSerialize["display_source"] = o.DisplaySource + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !IsNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !IsNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if o.Epoch.IsSet() { + toSerialize["epoch"] = o.Epoch.Get() + } + if !IsNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !IsNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !IsNil(o.Files) { + toSerialize["files"] = o.Files + } + if !IsNil(o.Format) { + toSerialize["format"] = o.Format + } + if !IsNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !IsNil(o.FreeableStorage) { + toSerialize["freeable_storage"] = o.FreeableStorage + } + if o.FullyQualifiedName.IsSet() { + toSerialize["fully_qualified_name"] = o.FullyQualifiedName.Get() + } + if !IsNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !IsNil(o.Identifiers) { + toSerialize["identifiers"] = o.Identifiers + } + if !IsNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !IsNil(o.IsCancellable) { + toSerialize["is_cancellable"] = o.IsCancellable + } + if !IsNil(o.IsCopyable) { + toSerialize["is_copyable"] = o.IsCopyable + } + if !IsNil(o.IsDeleteable) { + toSerialize["is_deleteable"] = o.IsDeleteable + } + if !IsNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !IsNil(o.IsHidden) { + toSerialize["is_hidden"] = o.IsHidden + } + if !IsNil(o.IsMoveable) { + toSerialize["is_moveable"] = o.IsMoveable + } + if !IsNil(o.IsQuarantinable) { + toSerialize["is_quarantinable"] = o.IsQuarantinable + } + if !IsNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !IsNil(o.IsResyncable) { + toSerialize["is_resyncable"] = o.IsResyncable + } + if !IsNil(o.IsSecurityScannable) { + toSerialize["is_security_scannable"] = o.IsSecurityScannable + } + if !IsNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !IsNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !IsNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !IsNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !IsNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if o.License.IsSet() { + toSerialize["license"] = o.License.Get() + } + toSerialize["name"] = o.Name + if !IsNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !IsNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !IsNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !IsNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !IsNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !IsNil(o.OsiApproved) { + toSerialize["osi_approved"] = o.OsiApproved + } + if !IsNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !IsNil(o.PolicyViolated) { + toSerialize["policy_violated"] = o.PolicyViolated + } + if o.RawLicense.IsSet() { + toSerialize["raw_license"] = o.RawLicense.Get() + } + if o.Release.IsSet() { + toSerialize["release"] = o.Release.Get() + } + if !IsNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !IsNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if o.SecurityScanCompletedAt.IsSet() { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt.Get() + } + if o.SecurityScanStartedAt.IsSet() { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt.Get() + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if o.SecurityScanStatusUpdatedAt.IsSet() { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt.Get() + } + if !IsNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !IsNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if !IsNil(o.SelfWebappUrl) { + toSerialize["self_webapp_url"] = o.SelfWebappUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !IsNil(o.Size) { + toSerialize["size"] = o.Size + } + if !IsNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !IsNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if o.SpdxLicense.IsSet() { + toSerialize["spdx_license"] = o.SpdxLicense.Get() + } + if !IsNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !IsNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !IsNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.StatusReason.IsSet() { + toSerialize["status_reason"] = o.StatusReason.Get() + } + if !IsNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !IsNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !IsNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if o.StorePath.IsSet() { + toSerialize["store_path"] = o.StorePath.Get() + } + if !IsNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if o.Summary.IsSet() { + toSerialize["summary"] = o.Summary.Get() + } + if o.SyncFinishedAt.IsSet() { + toSerialize["sync_finished_at"] = o.SyncFinishedAt.Get() + } + if !IsNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !IsNil(o.TagsAutomatic) { + toSerialize["tags_automatic"] = o.TagsAutomatic + } + if !IsNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !IsNil(o.TagsStatic) { + toSerialize["tags_static"] = o.TagsStatic + } + if !IsNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !IsNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !IsNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !IsNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + toSerialize["version"] = o.Version + if !IsNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !IsNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsPackageUpload) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "version", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSkillsPackageUpload := _SkillsPackageUpload{} + + err = json.Unmarshal(data, &varSkillsPackageUpload) + + if err != nil { + return err + } + + *o = SkillsPackageUpload(varSkillsPackageUpload) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "architectures") + delete(additionalProperties, "cdn_url") + delete(additionalProperties, "checksum_md5") + delete(additionalProperties, "checksum_sha1") + delete(additionalProperties, "checksum_sha256") + delete(additionalProperties, "checksum_sha512") + delete(additionalProperties, "dependencies_checksum_md5") + delete(additionalProperties, "dependencies_url") + delete(additionalProperties, "description") + delete(additionalProperties, "display_name") + delete(additionalProperties, "display_source") + delete(additionalProperties, "distro") + delete(additionalProperties, "distro_version") + delete(additionalProperties, "downloads") + delete(additionalProperties, "epoch") + delete(additionalProperties, "extension") + delete(additionalProperties, "filename") + delete(additionalProperties, "files") + delete(additionalProperties, "format") + delete(additionalProperties, "format_url") + delete(additionalProperties, "freeable_storage") + delete(additionalProperties, "fully_qualified_name") + delete(additionalProperties, "identifier_perm") + delete(additionalProperties, "identifiers") + delete(additionalProperties, "indexed") + delete(additionalProperties, "is_cancellable") + delete(additionalProperties, "is_copyable") + delete(additionalProperties, "is_deleteable") + delete(additionalProperties, "is_downloadable") + delete(additionalProperties, "is_hidden") + delete(additionalProperties, "is_moveable") + delete(additionalProperties, "is_quarantinable") + delete(additionalProperties, "is_quarantined") + delete(additionalProperties, "is_resyncable") + delete(additionalProperties, "is_security_scannable") + delete(additionalProperties, "is_sync_awaiting") + delete(additionalProperties, "is_sync_completed") + delete(additionalProperties, "is_sync_failed") + delete(additionalProperties, "is_sync_in_flight") + delete(additionalProperties, "is_sync_in_progress") + delete(additionalProperties, "license") + delete(additionalProperties, "name") + delete(additionalProperties, "namespace") + delete(additionalProperties, "namespace_url") + delete(additionalProperties, "num_files") + delete(additionalProperties, "origin_repository") + delete(additionalProperties, "origin_repository_url") + delete(additionalProperties, "osi_approved") + delete(additionalProperties, "package_type") + delete(additionalProperties, "policy_violated") + delete(additionalProperties, "raw_license") + delete(additionalProperties, "release") + delete(additionalProperties, "repository") + delete(additionalProperties, "repository_url") + delete(additionalProperties, "security_scan_completed_at") + delete(additionalProperties, "security_scan_started_at") + delete(additionalProperties, "security_scan_status") + delete(additionalProperties, "security_scan_status_updated_at") + delete(additionalProperties, "self_html_url") + delete(additionalProperties, "self_url") + delete(additionalProperties, "self_webapp_url") + delete(additionalProperties, "signature_url") + delete(additionalProperties, "size") + delete(additionalProperties, "slug") + delete(additionalProperties, "slug_perm") + delete(additionalProperties, "spdx_license") + delete(additionalProperties, "stage") + delete(additionalProperties, "stage_str") + delete(additionalProperties, "stage_updated_at") + delete(additionalProperties, "status") + delete(additionalProperties, "status_reason") + delete(additionalProperties, "status_str") + delete(additionalProperties, "status_updated_at") + delete(additionalProperties, "status_url") + delete(additionalProperties, "store_path") + delete(additionalProperties, "subtype") + delete(additionalProperties, "summary") + delete(additionalProperties, "sync_finished_at") + delete(additionalProperties, "sync_progress") + delete(additionalProperties, "tags_automatic") + delete(additionalProperties, "tags_immutable") + delete(additionalProperties, "tags_static") + delete(additionalProperties, "type_display") + delete(additionalProperties, "uploaded_at") + delete(additionalProperties, "uploader") + delete(additionalProperties, "uploader_url") + delete(additionalProperties, "version") + delete(additionalProperties, "version_orig") + delete(additionalProperties, "vulnerability_scan_results_url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsPackageUpload struct { + value *SkillsPackageUpload + isSet bool +} + +func (v NullableSkillsPackageUpload) Get() *SkillsPackageUpload { + return v.value +} + +func (v *NullableSkillsPackageUpload) Set(val *SkillsPackageUpload) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsPackageUpload) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsPackageUpload) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsPackageUpload(val *SkillsPackageUpload) *NullableSkillsPackageUpload { + return &NullableSkillsPackageUpload{value: val, isSet: true} +} + +func (v NullableSkillsPackageUpload) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsPackageUpload) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_skills_package_upload_request.go b/model_skills_package_upload_request.go new file mode 100644 index 000000000..63edb805b --- /dev/null +++ b/model_skills_package_upload_request.go @@ -0,0 +1,313 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1446.0 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "fmt" +) + +// checks if the SkillsPackageUploadRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsPackageUploadRequest{} + +// SkillsPackageUploadRequest struct for SkillsPackageUploadRequest +type SkillsPackageUploadRequest struct { + Name string `json:"name" validate:"regexp=\\\\A[a-z0-9]+(?:-[a-z0-9]+)*$"` + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` + Version string `json:"version"` + AdditionalProperties map[string]interface{} +} + +type _SkillsPackageUploadRequest SkillsPackageUploadRequest + +// NewSkillsPackageUploadRequest instantiates a new SkillsPackageUploadRequest object +// 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 NewSkillsPackageUploadRequest(name string, packageFile string, version string) *SkillsPackageUploadRequest { + this := SkillsPackageUploadRequest{} + this.Name = name + this.PackageFile = packageFile + this.Version = version + return &this +} + +// NewSkillsPackageUploadRequestWithDefaults instantiates a new SkillsPackageUploadRequest 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 +func NewSkillsPackageUploadRequestWithDefaults() *SkillsPackageUploadRequest { + this := SkillsPackageUploadRequest{} + return &this +} + +// GetName returns the Name field value +func (o *SkillsPackageUploadRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *SkillsPackageUploadRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *SkillsPackageUploadRequest) SetName(v string) { + o.Name = v +} + +// GetPackageFile returns the PackageFile field value +func (o *SkillsPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *SkillsPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *SkillsPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *SkillsPackageUploadRequest) GetRepublish() bool { + if o == nil || IsNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || IsNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *SkillsPackageUploadRequest) HasRepublish() bool { + if o != nil && !IsNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *SkillsPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUploadRequest) GetTags() string { + if o == nil || IsNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *SkillsPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *SkillsPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *SkillsPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *SkillsPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *SkillsPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +// GetVersion returns the Version field value +func (o *SkillsPackageUploadRequest) GetVersion() string { + if o == nil { + var ret string + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *SkillsPackageUploadRequest) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *SkillsPackageUploadRequest) SetVersion(v string) { + o.Version = v +} + +func (o SkillsPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsPackageUploadRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["package_file"] = o.PackageFile + if !IsNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + toSerialize["version"] = o.Version + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "package_file", + "version", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSkillsPackageUploadRequest := _SkillsPackageUploadRequest{} + + err = json.Unmarshal(data, &varSkillsPackageUploadRequest) + + if err != nil { + return err + } + + *o = SkillsPackageUploadRequest(varSkillsPackageUploadRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "package_file") + delete(additionalProperties, "republish") + delete(additionalProperties, "tags") + delete(additionalProperties, "version") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsPackageUploadRequest struct { + value *SkillsPackageUploadRequest + isSet bool +} + +func (v NullableSkillsPackageUploadRequest) Get() *SkillsPackageUploadRequest { + return v.value +} + +func (v *NullableSkillsPackageUploadRequest) Set(val *SkillsPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsPackageUploadRequest(val *SkillsPackageUploadRequest) *NullableSkillsPackageUploadRequest { + return &NullableSkillsPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableSkillsPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_skills_upstream.go b/model_skills_upstream.go new file mode 100644 index 000000000..f0581229b --- /dev/null +++ b/model_skills_upstream.go @@ -0,0 +1,1215 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1446.0 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the SkillsUpstream type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsUpstream{} + +// SkillsUpstream struct for SkillsUpstream +type SkillsUpstream struct { + // The authentication mode to use when accessing this upstream. + AuthMode *string `json:"auth_mode,omitempty"` + // Secret to provide with requests to upstream. + AuthSecret NullableString `json:"auth_secret,omitempty"` + // Username to provide with requests to upstream. + AuthUsername NullableString `json:"auth_username,omitempty"` + // Whether the upstream is available for use. + Available *bool `json:"available,omitempty"` + // Whether the upstream can be reindexed. + CanReindex *bool `json:"can_reindex,omitempty"` + // The datetime the upstream source was created. + CreatedAt *time.Time `json:"created_at,omitempty"` + DisableReason *string `json:"disable_reason,omitempty"` + // Human-readable explanation of why this upstream is disabled + DisableReasonText *string `json:"disable_reason_text,omitempty"` + // The key for extra header #1 to send to upstream. + ExtraHeader1 NullableString `json:"extra_header_1,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The key for extra header #2 to send to upstream. + ExtraHeader2 NullableString `json:"extra_header_2,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue1 NullableString `json:"extra_value_1,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue2 NullableString `json:"extra_value_2,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // Whether the upstream has failed signature verification. + HasFailedSignatureVerification *bool `json:"has_failed_signature_verification,omitempty"` + // The number of packages available in this upstream source + IndexPackageCount NullableInt64 `json:"index_package_count,omitempty"` + // The current indexing status of this upstream source + IndexStatus NullableString `json:"index_status,omitempty"` + // Whether or not this upstream is active and ready for requests. + IsActive *bool `json:"is_active,omitempty"` + // The last time this upstream source was indexed + LastIndexed NullableString `json:"last_indexed,omitempty"` + // 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. + Mode *string `json:"mode,omitempty"` + // A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. + Name string `json:"name" validate:"regexp=^\\\\w[\\\\w \\\\-'\\\\.\\/()]+$"` + // When true, this upstream source is pending validation. + PendingValidation *bool `json:"pending_validation,omitempty"` + // Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. + Priority *int64 `json:"priority,omitempty"` + // Exact ClawHub releases to cache. + Selections []SkillsUpstreamSelection `json:"selections,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` + UpdatedAt *time.Time `json:"updated_at,omitempty"` + // 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. + UpstreamUrl string `json:"upstream_url"` + // 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. + VerifySsl *bool `json:"verify_ssl,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SkillsUpstream SkillsUpstream + +// NewSkillsUpstream instantiates a new SkillsUpstream object +// 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 NewSkillsUpstream(name string, upstreamUrl string) *SkillsUpstream { + this := SkillsUpstream{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + this.Name = name + this.UpstreamUrl = upstreamUrl + return &this +} + +// NewSkillsUpstreamWithDefaults instantiates a new SkillsUpstream 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 +func NewSkillsUpstreamWithDefaults() *SkillsUpstream { + this := SkillsUpstream{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// GetAuthMode returns the AuthMode field value if set, zero value otherwise. +func (o *SkillsUpstream) GetAuthMode() string { + if o == nil || IsNil(o.AuthMode) { + var ret string + return ret + } + return *o.AuthMode +} + +// GetAuthModeOk returns a tuple with the AuthMode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetAuthModeOk() (*string, bool) { + if o == nil || IsNil(o.AuthMode) { + return nil, false + } + return o.AuthMode, true +} + +// HasAuthMode returns a boolean if a field has been set. +func (o *SkillsUpstream) HasAuthMode() bool { + if o != nil && !IsNil(o.AuthMode) { + return true + } + + return false +} + +// SetAuthMode gets a reference to the given string and assigns it to the AuthMode field. +func (o *SkillsUpstream) SetAuthMode(v string) { + o.AuthMode = &v +} + +// GetAuthSecret returns the AuthSecret field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetAuthSecret() string { + if o == nil || IsNil(o.AuthSecret.Get()) { + var ret string + return ret + } + return *o.AuthSecret.Get() +} + +// GetAuthSecretOk returns a tuple with the AuthSecret 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 *SkillsUpstream) GetAuthSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthSecret.Get(), o.AuthSecret.IsSet() +} + +// HasAuthSecret returns a boolean if a field has been set. +func (o *SkillsUpstream) HasAuthSecret() bool { + if o != nil && o.AuthSecret.IsSet() { + return true + } + + return false +} + +// SetAuthSecret gets a reference to the given NullableString and assigns it to the AuthSecret field. +func (o *SkillsUpstream) SetAuthSecret(v string) { + o.AuthSecret.Set(&v) +} + +// SetAuthSecretNil sets the value for AuthSecret to be an explicit nil +func (o *SkillsUpstream) SetAuthSecretNil() { + o.AuthSecret.Set(nil) +} + +// UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +func (o *SkillsUpstream) UnsetAuthSecret() { + o.AuthSecret.Unset() +} + +// GetAuthUsername returns the AuthUsername field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetAuthUsername() string { + if o == nil || IsNil(o.AuthUsername.Get()) { + var ret string + return ret + } + return *o.AuthUsername.Get() +} + +// GetAuthUsernameOk returns a tuple with the AuthUsername 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 *SkillsUpstream) GetAuthUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthUsername.Get(), o.AuthUsername.IsSet() +} + +// HasAuthUsername returns a boolean if a field has been set. +func (o *SkillsUpstream) HasAuthUsername() bool { + if o != nil && o.AuthUsername.IsSet() { + return true + } + + return false +} + +// SetAuthUsername gets a reference to the given NullableString and assigns it to the AuthUsername field. +func (o *SkillsUpstream) SetAuthUsername(v string) { + o.AuthUsername.Set(&v) +} + +// SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil +func (o *SkillsUpstream) SetAuthUsernameNil() { + o.AuthUsername.Set(nil) +} + +// UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +func (o *SkillsUpstream) UnsetAuthUsername() { + o.AuthUsername.Unset() +} + +// GetAvailable returns the Available field value if set, zero value otherwise. +func (o *SkillsUpstream) GetAvailable() bool { + if o == nil || IsNil(o.Available) { + var ret bool + return ret + } + return *o.Available +} + +// GetAvailableOk returns a tuple with the Available field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetAvailableOk() (*bool, bool) { + if o == nil || IsNil(o.Available) { + return nil, false + } + return o.Available, true +} + +// HasAvailable returns a boolean if a field has been set. +func (o *SkillsUpstream) HasAvailable() bool { + if o != nil && !IsNil(o.Available) { + return true + } + + return false +} + +// SetAvailable gets a reference to the given bool and assigns it to the Available field. +func (o *SkillsUpstream) SetAvailable(v bool) { + o.Available = &v +} + +// GetCanReindex returns the CanReindex field value if set, zero value otherwise. +func (o *SkillsUpstream) GetCanReindex() bool { + if o == nil || IsNil(o.CanReindex) { + var ret bool + return ret + } + return *o.CanReindex +} + +// GetCanReindexOk returns a tuple with the CanReindex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetCanReindexOk() (*bool, bool) { + if o == nil || IsNil(o.CanReindex) { + return nil, false + } + return o.CanReindex, true +} + +// HasCanReindex returns a boolean if a field has been set. +func (o *SkillsUpstream) HasCanReindex() bool { + if o != nil && !IsNil(o.CanReindex) { + return true + } + + return false +} + +// SetCanReindex gets a reference to the given bool and assigns it to the CanReindex field. +func (o *SkillsUpstream) SetCanReindex(v bool) { + o.CanReindex = &v +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. +func (o *SkillsUpstream) GetCreatedAt() time.Time { + if o == nil || IsNil(o.CreatedAt) { + var ret time.Time + return ret + } + return *o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.CreatedAt) { + return nil, false + } + return o.CreatedAt, true +} + +// HasCreatedAt returns a boolean if a field has been set. +func (o *SkillsUpstream) HasCreatedAt() bool { + if o != nil && !IsNil(o.CreatedAt) { + return true + } + + return false +} + +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *SkillsUpstream) SetCreatedAt(v time.Time) { + o.CreatedAt = &v +} + +// GetDisableReason returns the DisableReason field value if set, zero value otherwise. +func (o *SkillsUpstream) 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 *SkillsUpstream) 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 *SkillsUpstream) 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 *SkillsUpstream) SetDisableReason(v string) { + o.DisableReason = &v +} + +// GetDisableReasonText returns the DisableReasonText field value if set, zero value otherwise. +func (o *SkillsUpstream) 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 *SkillsUpstream) 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 *SkillsUpstream) 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 *SkillsUpstream) SetDisableReasonText(v string) { + o.DisableReasonText = &v +} + +// GetExtraHeader1 returns the ExtraHeader1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetExtraHeader1() string { + if o == nil || IsNil(o.ExtraHeader1.Get()) { + var ret string + return ret + } + return *o.ExtraHeader1.Get() +} + +// GetExtraHeader1Ok returns a tuple with the ExtraHeader1 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 *SkillsUpstream) GetExtraHeader1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader1.Get(), o.ExtraHeader1.IsSet() +} + +// HasExtraHeader1 returns a boolean if a field has been set. +func (o *SkillsUpstream) HasExtraHeader1() bool { + if o != nil && o.ExtraHeader1.IsSet() { + return true + } + + return false +} + +// SetExtraHeader1 gets a reference to the given NullableString and assigns it to the ExtraHeader1 field. +func (o *SkillsUpstream) SetExtraHeader1(v string) { + o.ExtraHeader1.Set(&v) +} + +// SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil +func (o *SkillsUpstream) SetExtraHeader1Nil() { + o.ExtraHeader1.Set(nil) +} + +// UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +func (o *SkillsUpstream) UnsetExtraHeader1() { + o.ExtraHeader1.Unset() +} + +// GetExtraHeader2 returns the ExtraHeader2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetExtraHeader2() string { + if o == nil || IsNil(o.ExtraHeader2.Get()) { + var ret string + return ret + } + return *o.ExtraHeader2.Get() +} + +// GetExtraHeader2Ok returns a tuple with the ExtraHeader2 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 *SkillsUpstream) GetExtraHeader2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader2.Get(), o.ExtraHeader2.IsSet() +} + +// HasExtraHeader2 returns a boolean if a field has been set. +func (o *SkillsUpstream) HasExtraHeader2() bool { + if o != nil && o.ExtraHeader2.IsSet() { + return true + } + + return false +} + +// SetExtraHeader2 gets a reference to the given NullableString and assigns it to the ExtraHeader2 field. +func (o *SkillsUpstream) SetExtraHeader2(v string) { + o.ExtraHeader2.Set(&v) +} + +// SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil +func (o *SkillsUpstream) SetExtraHeader2Nil() { + o.ExtraHeader2.Set(nil) +} + +// UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +func (o *SkillsUpstream) UnsetExtraHeader2() { + o.ExtraHeader2.Unset() +} + +// GetExtraValue1 returns the ExtraValue1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetExtraValue1() string { + if o == nil || IsNil(o.ExtraValue1.Get()) { + var ret string + return ret + } + return *o.ExtraValue1.Get() +} + +// GetExtraValue1Ok returns a tuple with the ExtraValue1 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 *SkillsUpstream) GetExtraValue1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue1.Get(), o.ExtraValue1.IsSet() +} + +// HasExtraValue1 returns a boolean if a field has been set. +func (o *SkillsUpstream) HasExtraValue1() bool { + if o != nil && o.ExtraValue1.IsSet() { + return true + } + + return false +} + +// SetExtraValue1 gets a reference to the given NullableString and assigns it to the ExtraValue1 field. +func (o *SkillsUpstream) SetExtraValue1(v string) { + o.ExtraValue1.Set(&v) +} + +// SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil +func (o *SkillsUpstream) SetExtraValue1Nil() { + o.ExtraValue1.Set(nil) +} + +// UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +func (o *SkillsUpstream) UnsetExtraValue1() { + o.ExtraValue1.Unset() +} + +// GetExtraValue2 returns the ExtraValue2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetExtraValue2() string { + if o == nil || IsNil(o.ExtraValue2.Get()) { + var ret string + return ret + } + return *o.ExtraValue2.Get() +} + +// GetExtraValue2Ok returns a tuple with the ExtraValue2 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 *SkillsUpstream) GetExtraValue2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue2.Get(), o.ExtraValue2.IsSet() +} + +// HasExtraValue2 returns a boolean if a field has been set. +func (o *SkillsUpstream) HasExtraValue2() bool { + if o != nil && o.ExtraValue2.IsSet() { + return true + } + + return false +} + +// SetExtraValue2 gets a reference to the given NullableString and assigns it to the ExtraValue2 field. +func (o *SkillsUpstream) SetExtraValue2(v string) { + o.ExtraValue2.Set(&v) +} + +// SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil +func (o *SkillsUpstream) SetExtraValue2Nil() { + o.ExtraValue2.Set(nil) +} + +// UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +func (o *SkillsUpstream) UnsetExtraValue2() { + o.ExtraValue2.Unset() +} + +// GetHasFailedSignatureVerification returns the HasFailedSignatureVerification field value if set, zero value otherwise. +func (o *SkillsUpstream) GetHasFailedSignatureVerification() bool { + if o == nil || IsNil(o.HasFailedSignatureVerification) { + var ret bool + return ret + } + return *o.HasFailedSignatureVerification +} + +// GetHasFailedSignatureVerificationOk returns a tuple with the HasFailedSignatureVerification field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetHasFailedSignatureVerificationOk() (*bool, bool) { + if o == nil || IsNil(o.HasFailedSignatureVerification) { + return nil, false + } + return o.HasFailedSignatureVerification, true +} + +// HasHasFailedSignatureVerification returns a boolean if a field has been set. +func (o *SkillsUpstream) HasHasFailedSignatureVerification() bool { + if o != nil && !IsNil(o.HasFailedSignatureVerification) { + return true + } + + return false +} + +// SetHasFailedSignatureVerification gets a reference to the given bool and assigns it to the HasFailedSignatureVerification field. +func (o *SkillsUpstream) SetHasFailedSignatureVerification(v bool) { + o.HasFailedSignatureVerification = &v +} + +// GetIndexPackageCount returns the IndexPackageCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetIndexPackageCount() int64 { + if o == nil || IsNil(o.IndexPackageCount.Get()) { + var ret int64 + return ret + } + return *o.IndexPackageCount.Get() +} + +// GetIndexPackageCountOk returns a tuple with the IndexPackageCount 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 *SkillsUpstream) GetIndexPackageCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.IndexPackageCount.Get(), o.IndexPackageCount.IsSet() +} + +// HasIndexPackageCount returns a boolean if a field has been set. +func (o *SkillsUpstream) HasIndexPackageCount() bool { + if o != nil && o.IndexPackageCount.IsSet() { + return true + } + + return false +} + +// SetIndexPackageCount gets a reference to the given NullableInt64 and assigns it to the IndexPackageCount field. +func (o *SkillsUpstream) SetIndexPackageCount(v int64) { + o.IndexPackageCount.Set(&v) +} + +// SetIndexPackageCountNil sets the value for IndexPackageCount to be an explicit nil +func (o *SkillsUpstream) SetIndexPackageCountNil() { + o.IndexPackageCount.Set(nil) +} + +// UnsetIndexPackageCount ensures that no value is present for IndexPackageCount, not even an explicit nil +func (o *SkillsUpstream) UnsetIndexPackageCount() { + o.IndexPackageCount.Unset() +} + +// GetIndexStatus returns the IndexStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetIndexStatus() string { + if o == nil || IsNil(o.IndexStatus.Get()) { + var ret string + return ret + } + return *o.IndexStatus.Get() +} + +// GetIndexStatusOk returns a tuple with the IndexStatus 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 *SkillsUpstream) GetIndexStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.IndexStatus.Get(), o.IndexStatus.IsSet() +} + +// HasIndexStatus returns a boolean if a field has been set. +func (o *SkillsUpstream) HasIndexStatus() bool { + if o != nil && o.IndexStatus.IsSet() { + return true + } + + return false +} + +// SetIndexStatus gets a reference to the given NullableString and assigns it to the IndexStatus field. +func (o *SkillsUpstream) SetIndexStatus(v string) { + o.IndexStatus.Set(&v) +} + +// SetIndexStatusNil sets the value for IndexStatus to be an explicit nil +func (o *SkillsUpstream) SetIndexStatusNil() { + o.IndexStatus.Set(nil) +} + +// UnsetIndexStatus ensures that no value is present for IndexStatus, not even an explicit nil +func (o *SkillsUpstream) UnsetIndexStatus() { + o.IndexStatus.Unset() +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *SkillsUpstream) GetIsActive() bool { + if o == nil || IsNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetIsActiveOk() (*bool, bool) { + if o == nil || IsNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *SkillsUpstream) HasIsActive() bool { + if o != nil && !IsNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *SkillsUpstream) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetLastIndexed returns the LastIndexed field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetLastIndexed() string { + if o == nil || IsNil(o.LastIndexed.Get()) { + var ret string + return ret + } + return *o.LastIndexed.Get() +} + +// GetLastIndexedOk returns a tuple with the LastIndexed 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 *SkillsUpstream) GetLastIndexedOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LastIndexed.Get(), o.LastIndexed.IsSet() +} + +// HasLastIndexed returns a boolean if a field has been set. +func (o *SkillsUpstream) HasLastIndexed() bool { + if o != nil && o.LastIndexed.IsSet() { + return true + } + + return false +} + +// SetLastIndexed gets a reference to the given NullableString and assigns it to the LastIndexed field. +func (o *SkillsUpstream) SetLastIndexed(v string) { + o.LastIndexed.Set(&v) +} + +// SetLastIndexedNil sets the value for LastIndexed to be an explicit nil +func (o *SkillsUpstream) SetLastIndexedNil() { + o.LastIndexed.Set(nil) +} + +// UnsetLastIndexed ensures that no value is present for LastIndexed, not even an explicit nil +func (o *SkillsUpstream) UnsetLastIndexed() { + o.LastIndexed.Unset() +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *SkillsUpstream) GetMode() string { + if o == nil || IsNil(o.Mode) { + var ret string + return ret + } + return *o.Mode +} + +// GetModeOk returns a tuple with the Mode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetModeOk() (*string, bool) { + if o == nil || IsNil(o.Mode) { + return nil, false + } + return o.Mode, true +} + +// HasMode returns a boolean if a field has been set. +func (o *SkillsUpstream) HasMode() bool { + if o != nil && !IsNil(o.Mode) { + return true + } + + return false +} + +// SetMode gets a reference to the given string and assigns it to the Mode field. +func (o *SkillsUpstream) SetMode(v string) { + o.Mode = &v +} + +// GetName returns the Name field value +func (o *SkillsUpstream) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *SkillsUpstream) SetName(v string) { + o.Name = v +} + +// GetPendingValidation returns the PendingValidation field value if set, zero value otherwise. +func (o *SkillsUpstream) GetPendingValidation() bool { + if o == nil || IsNil(o.PendingValidation) { + var ret bool + return ret + } + return *o.PendingValidation +} + +// GetPendingValidationOk returns a tuple with the PendingValidation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetPendingValidationOk() (*bool, bool) { + if o == nil || IsNil(o.PendingValidation) { + return nil, false + } + return o.PendingValidation, true +} + +// HasPendingValidation returns a boolean if a field has been set. +func (o *SkillsUpstream) HasPendingValidation() bool { + if o != nil && !IsNil(o.PendingValidation) { + return true + } + + return false +} + +// SetPendingValidation gets a reference to the given bool and assigns it to the PendingValidation field. +func (o *SkillsUpstream) SetPendingValidation(v bool) { + o.PendingValidation = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *SkillsUpstream) GetPriority() int64 { + if o == nil || IsNil(o.Priority) { + var ret int64 + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetPriorityOk() (*int64, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *SkillsUpstream) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given int64 and assigns it to the Priority field. +func (o *SkillsUpstream) SetPriority(v int64) { + o.Priority = &v +} + +// GetSelections returns the Selections field value if set, zero value otherwise. +func (o *SkillsUpstream) GetSelections() []SkillsUpstreamSelection { + if o == nil || IsNil(o.Selections) { + var ret []SkillsUpstreamSelection + return ret + } + return o.Selections +} + +// GetSelectionsOk returns a tuple with the Selections field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetSelectionsOk() ([]SkillsUpstreamSelection, bool) { + if o == nil || IsNil(o.Selections) { + return nil, false + } + return o.Selections, true +} + +// HasSelections returns a boolean if a field has been set. +func (o *SkillsUpstream) HasSelections() bool { + if o != nil && !IsNil(o.Selections) { + return true + } + + return false +} + +// SetSelections gets a reference to the given []SkillsUpstreamSelection and assigns it to the Selections field. +func (o *SkillsUpstream) SetSelections(v []SkillsUpstreamSelection) { + o.Selections = v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *SkillsUpstream) GetSlugPerm() string { + if o == nil || IsNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetSlugPermOk() (*string, bool) { + if o == nil || IsNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *SkillsUpstream) HasSlugPerm() bool { + if o != nil && !IsNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *SkillsUpstream) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise. +func (o *SkillsUpstream) GetUpdatedAt() time.Time { + if o == nil || IsNil(o.UpdatedAt) { + var ret time.Time + return ret + } + return *o.UpdatedAt +} + +// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetUpdatedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.UpdatedAt) { + return nil, false + } + return o.UpdatedAt, true +} + +// HasUpdatedAt returns a boolean if a field has been set. +func (o *SkillsUpstream) HasUpdatedAt() bool { + if o != nil && !IsNil(o.UpdatedAt) { + return true + } + + return false +} + +// SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field. +func (o *SkillsUpstream) SetUpdatedAt(v time.Time) { + o.UpdatedAt = &v +} + +// GetUpstreamUrl returns the UpstreamUrl field value +func (o *SkillsUpstream) GetUpstreamUrl() string { + if o == nil { + var ret string + return ret + } + + return o.UpstreamUrl +} + +// GetUpstreamUrlOk returns a tuple with the UpstreamUrl field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetUpstreamUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.UpstreamUrl, true +} + +// SetUpstreamUrl sets field value +func (o *SkillsUpstream) SetUpstreamUrl(v string) { + o.UpstreamUrl = v +} + +// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. +func (o *SkillsUpstream) GetVerifySsl() bool { + if o == nil || IsNil(o.VerifySsl) { + var ret bool + return ret + } + return *o.VerifySsl +} + +// GetVerifySslOk returns a tuple with the VerifySsl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetVerifySslOk() (*bool, bool) { + if o == nil || IsNil(o.VerifySsl) { + return nil, false + } + return o.VerifySsl, true +} + +// HasVerifySsl returns a boolean if a field has been set. +func (o *SkillsUpstream) HasVerifySsl() bool { + if o != nil && !IsNil(o.VerifySsl) { + return true + } + + return false +} + +// SetVerifySsl gets a reference to the given bool and assigns it to the VerifySsl field. +func (o *SkillsUpstream) SetVerifySsl(v bool) { + o.VerifySsl = &v +} + +func (o SkillsUpstream) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsUpstream) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AuthMode) { + toSerialize["auth_mode"] = o.AuthMode + } + if o.AuthSecret.IsSet() { + toSerialize["auth_secret"] = o.AuthSecret.Get() + } + if o.AuthUsername.IsSet() { + toSerialize["auth_username"] = o.AuthUsername.Get() + } + if !IsNil(o.Available) { + toSerialize["available"] = o.Available + } + if !IsNil(o.CanReindex) { + toSerialize["can_reindex"] = o.CanReindex + } + 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 o.ExtraHeader1.IsSet() { + toSerialize["extra_header_1"] = o.ExtraHeader1.Get() + } + if o.ExtraHeader2.IsSet() { + toSerialize["extra_header_2"] = o.ExtraHeader2.Get() + } + if o.ExtraValue1.IsSet() { + toSerialize["extra_value_1"] = o.ExtraValue1.Get() + } + if o.ExtraValue2.IsSet() { + toSerialize["extra_value_2"] = o.ExtraValue2.Get() + } + if !IsNil(o.HasFailedSignatureVerification) { + toSerialize["has_failed_signature_verification"] = o.HasFailedSignatureVerification + } + if o.IndexPackageCount.IsSet() { + toSerialize["index_package_count"] = o.IndexPackageCount.Get() + } + if o.IndexStatus.IsSet() { + toSerialize["index_status"] = o.IndexStatus.Get() + } + if !IsNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if o.LastIndexed.IsSet() { + toSerialize["last_indexed"] = o.LastIndexed.Get() + } + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } + toSerialize["name"] = o.Name + if !IsNil(o.PendingValidation) { + toSerialize["pending_validation"] = o.PendingValidation + } + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.Selections) { + toSerialize["selections"] = o.Selections + } + if !IsNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !IsNil(o.UpdatedAt) { + toSerialize["updated_at"] = o.UpdatedAt + } + toSerialize["upstream_url"] = o.UpstreamUrl + if !IsNil(o.VerifySsl) { + toSerialize["verify_ssl"] = o.VerifySsl + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsUpstream) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "upstream_url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSkillsUpstream := _SkillsUpstream{} + + err = json.Unmarshal(data, &varSkillsUpstream) + + if err != nil { + return err + } + + *o = SkillsUpstream(varSkillsUpstream) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "auth_mode") + delete(additionalProperties, "auth_secret") + delete(additionalProperties, "auth_username") + delete(additionalProperties, "available") + delete(additionalProperties, "can_reindex") + delete(additionalProperties, "created_at") + delete(additionalProperties, "disable_reason") + delete(additionalProperties, "disable_reason_text") + delete(additionalProperties, "extra_header_1") + delete(additionalProperties, "extra_header_2") + delete(additionalProperties, "extra_value_1") + delete(additionalProperties, "extra_value_2") + delete(additionalProperties, "has_failed_signature_verification") + delete(additionalProperties, "index_package_count") + delete(additionalProperties, "index_status") + delete(additionalProperties, "is_active") + delete(additionalProperties, "last_indexed") + delete(additionalProperties, "mode") + delete(additionalProperties, "name") + delete(additionalProperties, "pending_validation") + delete(additionalProperties, "priority") + delete(additionalProperties, "selections") + delete(additionalProperties, "slug_perm") + delete(additionalProperties, "updated_at") + delete(additionalProperties, "upstream_url") + delete(additionalProperties, "verify_ssl") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsUpstream struct { + value *SkillsUpstream + isSet bool +} + +func (v NullableSkillsUpstream) Get() *SkillsUpstream { + return v.value +} + +func (v *NullableSkillsUpstream) Set(val *SkillsUpstream) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsUpstream) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsUpstream) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsUpstream(val *SkillsUpstream) *NullableSkillsUpstream { + return &NullableSkillsUpstream{value: val, isSet: true} +} + +func (v NullableSkillsUpstream) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsUpstream) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_skills_upstream_request.go b/model_skills_upstream_request.go new file mode 100644 index 000000000..804a1baa2 --- /dev/null +++ b/model_skills_upstream_request.go @@ -0,0 +1,728 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1446.0 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "fmt" +) + +// checks if the SkillsUpstreamRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsUpstreamRequest{} + +// SkillsUpstreamRequest struct for SkillsUpstreamRequest +type SkillsUpstreamRequest struct { + // The authentication mode to use when accessing this upstream. + AuthMode *string `json:"auth_mode,omitempty"` + // Secret to provide with requests to upstream. + AuthSecret NullableString `json:"auth_secret,omitempty"` + // Username to provide with requests to upstream. + AuthUsername NullableString `json:"auth_username,omitempty"` + // The key for extra header #1 to send to upstream. + ExtraHeader1 NullableString `json:"extra_header_1,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The key for extra header #2 to send to upstream. + ExtraHeader2 NullableString `json:"extra_header_2,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue1 NullableString `json:"extra_value_1,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue2 NullableString `json:"extra_value_2,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // Whether or not this upstream is active and ready for requests. + IsActive *bool `json:"is_active,omitempty"` + // 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. + Mode *string `json:"mode,omitempty"` + // A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. + Name string `json:"name" validate:"regexp=^\\\\w[\\\\w \\\\-'\\\\.\\/()]+$"` + // Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. + Priority *int64 `json:"priority,omitempty"` + // Exact ClawHub releases to cache. + Selections []SkillsUpstreamSelection `json:"selections,omitempty"` + // 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. + UpstreamUrl string `json:"upstream_url"` + // 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. + VerifySsl *bool `json:"verify_ssl,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SkillsUpstreamRequest SkillsUpstreamRequest + +// NewSkillsUpstreamRequest instantiates a new SkillsUpstreamRequest object +// 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 NewSkillsUpstreamRequest(name string, upstreamUrl string) *SkillsUpstreamRequest { + this := SkillsUpstreamRequest{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + this.Name = name + this.UpstreamUrl = upstreamUrl + return &this +} + +// NewSkillsUpstreamRequestWithDefaults instantiates a new SkillsUpstreamRequest 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 +func NewSkillsUpstreamRequestWithDefaults() *SkillsUpstreamRequest { + this := SkillsUpstreamRequest{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// GetAuthMode returns the AuthMode field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetAuthMode() string { + if o == nil || IsNil(o.AuthMode) { + var ret string + return ret + } + return *o.AuthMode +} + +// GetAuthModeOk returns a tuple with the AuthMode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetAuthModeOk() (*string, bool) { + if o == nil || IsNil(o.AuthMode) { + return nil, false + } + return o.AuthMode, true +} + +// HasAuthMode returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasAuthMode() bool { + if o != nil && !IsNil(o.AuthMode) { + return true + } + + return false +} + +// SetAuthMode gets a reference to the given string and assigns it to the AuthMode field. +func (o *SkillsUpstreamRequest) SetAuthMode(v string) { + o.AuthMode = &v +} + +// GetAuthSecret returns the AuthSecret field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetAuthSecret() string { + if o == nil || IsNil(o.AuthSecret.Get()) { + var ret string + return ret + } + return *o.AuthSecret.Get() +} + +// GetAuthSecretOk returns a tuple with the AuthSecret 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 *SkillsUpstreamRequest) GetAuthSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthSecret.Get(), o.AuthSecret.IsSet() +} + +// HasAuthSecret returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasAuthSecret() bool { + if o != nil && o.AuthSecret.IsSet() { + return true + } + + return false +} + +// SetAuthSecret gets a reference to the given NullableString and assigns it to the AuthSecret field. +func (o *SkillsUpstreamRequest) SetAuthSecret(v string) { + o.AuthSecret.Set(&v) +} + +// SetAuthSecretNil sets the value for AuthSecret to be an explicit nil +func (o *SkillsUpstreamRequest) SetAuthSecretNil() { + o.AuthSecret.Set(nil) +} + +// UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetAuthSecret() { + o.AuthSecret.Unset() +} + +// GetAuthUsername returns the AuthUsername field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetAuthUsername() string { + if o == nil || IsNil(o.AuthUsername.Get()) { + var ret string + return ret + } + return *o.AuthUsername.Get() +} + +// GetAuthUsernameOk returns a tuple with the AuthUsername 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 *SkillsUpstreamRequest) GetAuthUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthUsername.Get(), o.AuthUsername.IsSet() +} + +// HasAuthUsername returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasAuthUsername() bool { + if o != nil && o.AuthUsername.IsSet() { + return true + } + + return false +} + +// SetAuthUsername gets a reference to the given NullableString and assigns it to the AuthUsername field. +func (o *SkillsUpstreamRequest) SetAuthUsername(v string) { + o.AuthUsername.Set(&v) +} + +// SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil +func (o *SkillsUpstreamRequest) SetAuthUsernameNil() { + o.AuthUsername.Set(nil) +} + +// UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetAuthUsername() { + o.AuthUsername.Unset() +} + +// GetExtraHeader1 returns the ExtraHeader1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetExtraHeader1() string { + if o == nil || IsNil(o.ExtraHeader1.Get()) { + var ret string + return ret + } + return *o.ExtraHeader1.Get() +} + +// GetExtraHeader1Ok returns a tuple with the ExtraHeader1 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 *SkillsUpstreamRequest) GetExtraHeader1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader1.Get(), o.ExtraHeader1.IsSet() +} + +// HasExtraHeader1 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasExtraHeader1() bool { + if o != nil && o.ExtraHeader1.IsSet() { + return true + } + + return false +} + +// SetExtraHeader1 gets a reference to the given NullableString and assigns it to the ExtraHeader1 field. +func (o *SkillsUpstreamRequest) SetExtraHeader1(v string) { + o.ExtraHeader1.Set(&v) +} + +// SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil +func (o *SkillsUpstreamRequest) SetExtraHeader1Nil() { + o.ExtraHeader1.Set(nil) +} + +// UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetExtraHeader1() { + o.ExtraHeader1.Unset() +} + +// GetExtraHeader2 returns the ExtraHeader2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetExtraHeader2() string { + if o == nil || IsNil(o.ExtraHeader2.Get()) { + var ret string + return ret + } + return *o.ExtraHeader2.Get() +} + +// GetExtraHeader2Ok returns a tuple with the ExtraHeader2 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 *SkillsUpstreamRequest) GetExtraHeader2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader2.Get(), o.ExtraHeader2.IsSet() +} + +// HasExtraHeader2 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasExtraHeader2() bool { + if o != nil && o.ExtraHeader2.IsSet() { + return true + } + + return false +} + +// SetExtraHeader2 gets a reference to the given NullableString and assigns it to the ExtraHeader2 field. +func (o *SkillsUpstreamRequest) SetExtraHeader2(v string) { + o.ExtraHeader2.Set(&v) +} + +// SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil +func (o *SkillsUpstreamRequest) SetExtraHeader2Nil() { + o.ExtraHeader2.Set(nil) +} + +// UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetExtraHeader2() { + o.ExtraHeader2.Unset() +} + +// GetExtraValue1 returns the ExtraValue1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetExtraValue1() string { + if o == nil || IsNil(o.ExtraValue1.Get()) { + var ret string + return ret + } + return *o.ExtraValue1.Get() +} + +// GetExtraValue1Ok returns a tuple with the ExtraValue1 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 *SkillsUpstreamRequest) GetExtraValue1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue1.Get(), o.ExtraValue1.IsSet() +} + +// HasExtraValue1 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasExtraValue1() bool { + if o != nil && o.ExtraValue1.IsSet() { + return true + } + + return false +} + +// SetExtraValue1 gets a reference to the given NullableString and assigns it to the ExtraValue1 field. +func (o *SkillsUpstreamRequest) SetExtraValue1(v string) { + o.ExtraValue1.Set(&v) +} + +// SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil +func (o *SkillsUpstreamRequest) SetExtraValue1Nil() { + o.ExtraValue1.Set(nil) +} + +// UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetExtraValue1() { + o.ExtraValue1.Unset() +} + +// GetExtraValue2 returns the ExtraValue2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetExtraValue2() string { + if o == nil || IsNil(o.ExtraValue2.Get()) { + var ret string + return ret + } + return *o.ExtraValue2.Get() +} + +// GetExtraValue2Ok returns a tuple with the ExtraValue2 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 *SkillsUpstreamRequest) GetExtraValue2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue2.Get(), o.ExtraValue2.IsSet() +} + +// HasExtraValue2 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasExtraValue2() bool { + if o != nil && o.ExtraValue2.IsSet() { + return true + } + + return false +} + +// SetExtraValue2 gets a reference to the given NullableString and assigns it to the ExtraValue2 field. +func (o *SkillsUpstreamRequest) SetExtraValue2(v string) { + o.ExtraValue2.Set(&v) +} + +// SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil +func (o *SkillsUpstreamRequest) SetExtraValue2Nil() { + o.ExtraValue2.Set(nil) +} + +// UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetExtraValue2() { + o.ExtraValue2.Unset() +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetIsActive() bool { + if o == nil || IsNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetIsActiveOk() (*bool, bool) { + if o == nil || IsNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasIsActive() bool { + if o != nil && !IsNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *SkillsUpstreamRequest) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetMode() string { + if o == nil || IsNil(o.Mode) { + var ret string + return ret + } + return *o.Mode +} + +// GetModeOk returns a tuple with the Mode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetModeOk() (*string, bool) { + if o == nil || IsNil(o.Mode) { + return nil, false + } + return o.Mode, true +} + +// HasMode returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasMode() bool { + if o != nil && !IsNil(o.Mode) { + return true + } + + return false +} + +// SetMode gets a reference to the given string and assigns it to the Mode field. +func (o *SkillsUpstreamRequest) SetMode(v string) { + o.Mode = &v +} + +// GetName returns the Name field value +func (o *SkillsUpstreamRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *SkillsUpstreamRequest) SetName(v string) { + o.Name = v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetPriority() int64 { + if o == nil || IsNil(o.Priority) { + var ret int64 + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetPriorityOk() (*int64, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given int64 and assigns it to the Priority field. +func (o *SkillsUpstreamRequest) SetPriority(v int64) { + o.Priority = &v +} + +// GetSelections returns the Selections field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetSelections() []SkillsUpstreamSelection { + if o == nil || IsNil(o.Selections) { + var ret []SkillsUpstreamSelection + return ret + } + return o.Selections +} + +// GetSelectionsOk returns a tuple with the Selections field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetSelectionsOk() ([]SkillsUpstreamSelection, bool) { + if o == nil || IsNil(o.Selections) { + return nil, false + } + return o.Selections, true +} + +// HasSelections returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasSelections() bool { + if o != nil && !IsNil(o.Selections) { + return true + } + + return false +} + +// SetSelections gets a reference to the given []SkillsUpstreamSelection and assigns it to the Selections field. +func (o *SkillsUpstreamRequest) SetSelections(v []SkillsUpstreamSelection) { + o.Selections = v +} + +// GetUpstreamUrl returns the UpstreamUrl field value +func (o *SkillsUpstreamRequest) GetUpstreamUrl() string { + if o == nil { + var ret string + return ret + } + + return o.UpstreamUrl +} + +// GetUpstreamUrlOk returns a tuple with the UpstreamUrl field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetUpstreamUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.UpstreamUrl, true +} + +// SetUpstreamUrl sets field value +func (o *SkillsUpstreamRequest) SetUpstreamUrl(v string) { + o.UpstreamUrl = v +} + +// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetVerifySsl() bool { + if o == nil || IsNil(o.VerifySsl) { + var ret bool + return ret + } + return *o.VerifySsl +} + +// GetVerifySslOk returns a tuple with the VerifySsl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetVerifySslOk() (*bool, bool) { + if o == nil || IsNil(o.VerifySsl) { + return nil, false + } + return o.VerifySsl, true +} + +// HasVerifySsl returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasVerifySsl() bool { + if o != nil && !IsNil(o.VerifySsl) { + return true + } + + return false +} + +// SetVerifySsl gets a reference to the given bool and assigns it to the VerifySsl field. +func (o *SkillsUpstreamRequest) SetVerifySsl(v bool) { + o.VerifySsl = &v +} + +func (o SkillsUpstreamRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsUpstreamRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AuthMode) { + toSerialize["auth_mode"] = o.AuthMode + } + if o.AuthSecret.IsSet() { + toSerialize["auth_secret"] = o.AuthSecret.Get() + } + if o.AuthUsername.IsSet() { + toSerialize["auth_username"] = o.AuthUsername.Get() + } + if o.ExtraHeader1.IsSet() { + toSerialize["extra_header_1"] = o.ExtraHeader1.Get() + } + if o.ExtraHeader2.IsSet() { + toSerialize["extra_header_2"] = o.ExtraHeader2.Get() + } + if o.ExtraValue1.IsSet() { + toSerialize["extra_value_1"] = o.ExtraValue1.Get() + } + if o.ExtraValue2.IsSet() { + toSerialize["extra_value_2"] = o.ExtraValue2.Get() + } + if !IsNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } + toSerialize["name"] = o.Name + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.Selections) { + toSerialize["selections"] = o.Selections + } + toSerialize["upstream_url"] = o.UpstreamUrl + if !IsNil(o.VerifySsl) { + toSerialize["verify_ssl"] = o.VerifySsl + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsUpstreamRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "upstream_url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSkillsUpstreamRequest := _SkillsUpstreamRequest{} + + err = json.Unmarshal(data, &varSkillsUpstreamRequest) + + if err != nil { + return err + } + + *o = SkillsUpstreamRequest(varSkillsUpstreamRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "auth_mode") + delete(additionalProperties, "auth_secret") + delete(additionalProperties, "auth_username") + delete(additionalProperties, "extra_header_1") + delete(additionalProperties, "extra_header_2") + delete(additionalProperties, "extra_value_1") + delete(additionalProperties, "extra_value_2") + delete(additionalProperties, "is_active") + delete(additionalProperties, "mode") + delete(additionalProperties, "name") + delete(additionalProperties, "priority") + delete(additionalProperties, "selections") + delete(additionalProperties, "upstream_url") + delete(additionalProperties, "verify_ssl") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsUpstreamRequest struct { + value *SkillsUpstreamRequest + isSet bool +} + +func (v NullableSkillsUpstreamRequest) Get() *SkillsUpstreamRequest { + return v.value +} + +func (v *NullableSkillsUpstreamRequest) Set(val *SkillsUpstreamRequest) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsUpstreamRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsUpstreamRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsUpstreamRequest(val *SkillsUpstreamRequest) *NullableSkillsUpstreamRequest { + return &NullableSkillsUpstreamRequest{value: val, isSet: true} +} + +func (v NullableSkillsUpstreamRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsUpstreamRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_skills_upstream_request_patch.go b/model_skills_upstream_request_patch.go new file mode 100644 index 000000000..ab255ff99 --- /dev/null +++ b/model_skills_upstream_request_patch.go @@ -0,0 +1,723 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1446.0 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// checks if the SkillsUpstreamRequestPatch type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsUpstreamRequestPatch{} + +// SkillsUpstreamRequestPatch struct for SkillsUpstreamRequestPatch +type SkillsUpstreamRequestPatch struct { + // The authentication mode to use when accessing this upstream. + AuthMode *string `json:"auth_mode,omitempty"` + // Secret to provide with requests to upstream. + AuthSecret NullableString `json:"auth_secret,omitempty"` + // Username to provide with requests to upstream. + AuthUsername NullableString `json:"auth_username,omitempty"` + // The key for extra header #1 to send to upstream. + ExtraHeader1 NullableString `json:"extra_header_1,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The key for extra header #2 to send to upstream. + ExtraHeader2 NullableString `json:"extra_header_2,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue1 NullableString `json:"extra_value_1,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue2 NullableString `json:"extra_value_2,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // Whether or not this upstream is active and ready for requests. + IsActive *bool `json:"is_active,omitempty"` + // 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. + Mode *string `json:"mode,omitempty"` + // A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. + Name *string `json:"name,omitempty" validate:"regexp=^\\\\w[\\\\w \\\\-'\\\\.\\/()]+$"` + // Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. + Priority *int64 `json:"priority,omitempty"` + // Exact ClawHub releases to cache. + Selections []SkillsUpstreamSelection `json:"selections,omitempty"` + // 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. + UpstreamUrl *string `json:"upstream_url,omitempty"` + // 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. + VerifySsl *bool `json:"verify_ssl,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SkillsUpstreamRequestPatch SkillsUpstreamRequestPatch + +// NewSkillsUpstreamRequestPatch instantiates a new SkillsUpstreamRequestPatch object +// 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 NewSkillsUpstreamRequestPatch() *SkillsUpstreamRequestPatch { + this := SkillsUpstreamRequestPatch{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// NewSkillsUpstreamRequestPatchWithDefaults instantiates a new SkillsUpstreamRequestPatch 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 +func NewSkillsUpstreamRequestPatchWithDefaults() *SkillsUpstreamRequestPatch { + this := SkillsUpstreamRequestPatch{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// GetAuthMode returns the AuthMode field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetAuthMode() string { + if o == nil || IsNil(o.AuthMode) { + var ret string + return ret + } + return *o.AuthMode +} + +// GetAuthModeOk returns a tuple with the AuthMode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetAuthModeOk() (*string, bool) { + if o == nil || IsNil(o.AuthMode) { + return nil, false + } + return o.AuthMode, true +} + +// HasAuthMode returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasAuthMode() bool { + if o != nil && !IsNil(o.AuthMode) { + return true + } + + return false +} + +// SetAuthMode gets a reference to the given string and assigns it to the AuthMode field. +func (o *SkillsUpstreamRequestPatch) SetAuthMode(v string) { + o.AuthMode = &v +} + +// GetAuthSecret returns the AuthSecret field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetAuthSecret() string { + if o == nil || IsNil(o.AuthSecret.Get()) { + var ret string + return ret + } + return *o.AuthSecret.Get() +} + +// GetAuthSecretOk returns a tuple with the AuthSecret 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 *SkillsUpstreamRequestPatch) GetAuthSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthSecret.Get(), o.AuthSecret.IsSet() +} + +// HasAuthSecret returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasAuthSecret() bool { + if o != nil && o.AuthSecret.IsSet() { + return true + } + + return false +} + +// SetAuthSecret gets a reference to the given NullableString and assigns it to the AuthSecret field. +func (o *SkillsUpstreamRequestPatch) SetAuthSecret(v string) { + o.AuthSecret.Set(&v) +} + +// SetAuthSecretNil sets the value for AuthSecret to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetAuthSecretNil() { + o.AuthSecret.Set(nil) +} + +// UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetAuthSecret() { + o.AuthSecret.Unset() +} + +// GetAuthUsername returns the AuthUsername field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetAuthUsername() string { + if o == nil || IsNil(o.AuthUsername.Get()) { + var ret string + return ret + } + return *o.AuthUsername.Get() +} + +// GetAuthUsernameOk returns a tuple with the AuthUsername 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 *SkillsUpstreamRequestPatch) GetAuthUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthUsername.Get(), o.AuthUsername.IsSet() +} + +// HasAuthUsername returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasAuthUsername() bool { + if o != nil && o.AuthUsername.IsSet() { + return true + } + + return false +} + +// SetAuthUsername gets a reference to the given NullableString and assigns it to the AuthUsername field. +func (o *SkillsUpstreamRequestPatch) SetAuthUsername(v string) { + o.AuthUsername.Set(&v) +} + +// SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetAuthUsernameNil() { + o.AuthUsername.Set(nil) +} + +// UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetAuthUsername() { + o.AuthUsername.Unset() +} + +// GetExtraHeader1 returns the ExtraHeader1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetExtraHeader1() string { + if o == nil || IsNil(o.ExtraHeader1.Get()) { + var ret string + return ret + } + return *o.ExtraHeader1.Get() +} + +// GetExtraHeader1Ok returns a tuple with the ExtraHeader1 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 *SkillsUpstreamRequestPatch) GetExtraHeader1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader1.Get(), o.ExtraHeader1.IsSet() +} + +// HasExtraHeader1 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasExtraHeader1() bool { + if o != nil && o.ExtraHeader1.IsSet() { + return true + } + + return false +} + +// SetExtraHeader1 gets a reference to the given NullableString and assigns it to the ExtraHeader1 field. +func (o *SkillsUpstreamRequestPatch) SetExtraHeader1(v string) { + o.ExtraHeader1.Set(&v) +} + +// SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetExtraHeader1Nil() { + o.ExtraHeader1.Set(nil) +} + +// UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetExtraHeader1() { + o.ExtraHeader1.Unset() +} + +// GetExtraHeader2 returns the ExtraHeader2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetExtraHeader2() string { + if o == nil || IsNil(o.ExtraHeader2.Get()) { + var ret string + return ret + } + return *o.ExtraHeader2.Get() +} + +// GetExtraHeader2Ok returns a tuple with the ExtraHeader2 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 *SkillsUpstreamRequestPatch) GetExtraHeader2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader2.Get(), o.ExtraHeader2.IsSet() +} + +// HasExtraHeader2 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasExtraHeader2() bool { + if o != nil && o.ExtraHeader2.IsSet() { + return true + } + + return false +} + +// SetExtraHeader2 gets a reference to the given NullableString and assigns it to the ExtraHeader2 field. +func (o *SkillsUpstreamRequestPatch) SetExtraHeader2(v string) { + o.ExtraHeader2.Set(&v) +} + +// SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetExtraHeader2Nil() { + o.ExtraHeader2.Set(nil) +} + +// UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetExtraHeader2() { + o.ExtraHeader2.Unset() +} + +// GetExtraValue1 returns the ExtraValue1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetExtraValue1() string { + if o == nil || IsNil(o.ExtraValue1.Get()) { + var ret string + return ret + } + return *o.ExtraValue1.Get() +} + +// GetExtraValue1Ok returns a tuple with the ExtraValue1 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 *SkillsUpstreamRequestPatch) GetExtraValue1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue1.Get(), o.ExtraValue1.IsSet() +} + +// HasExtraValue1 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasExtraValue1() bool { + if o != nil && o.ExtraValue1.IsSet() { + return true + } + + return false +} + +// SetExtraValue1 gets a reference to the given NullableString and assigns it to the ExtraValue1 field. +func (o *SkillsUpstreamRequestPatch) SetExtraValue1(v string) { + o.ExtraValue1.Set(&v) +} + +// SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetExtraValue1Nil() { + o.ExtraValue1.Set(nil) +} + +// UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetExtraValue1() { + o.ExtraValue1.Unset() +} + +// GetExtraValue2 returns the ExtraValue2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetExtraValue2() string { + if o == nil || IsNil(o.ExtraValue2.Get()) { + var ret string + return ret + } + return *o.ExtraValue2.Get() +} + +// GetExtraValue2Ok returns a tuple with the ExtraValue2 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 *SkillsUpstreamRequestPatch) GetExtraValue2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue2.Get(), o.ExtraValue2.IsSet() +} + +// HasExtraValue2 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasExtraValue2() bool { + if o != nil && o.ExtraValue2.IsSet() { + return true + } + + return false +} + +// SetExtraValue2 gets a reference to the given NullableString and assigns it to the ExtraValue2 field. +func (o *SkillsUpstreamRequestPatch) SetExtraValue2(v string) { + o.ExtraValue2.Set(&v) +} + +// SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetExtraValue2Nil() { + o.ExtraValue2.Set(nil) +} + +// UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetExtraValue2() { + o.ExtraValue2.Unset() +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetIsActive() bool { + if o == nil || IsNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetIsActiveOk() (*bool, bool) { + if o == nil || IsNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasIsActive() bool { + if o != nil && !IsNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *SkillsUpstreamRequestPatch) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetMode() string { + if o == nil || IsNil(o.Mode) { + var ret string + return ret + } + return *o.Mode +} + +// GetModeOk returns a tuple with the Mode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetModeOk() (*string, bool) { + if o == nil || IsNil(o.Mode) { + return nil, false + } + return o.Mode, true +} + +// HasMode returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasMode() bool { + if o != nil && !IsNil(o.Mode) { + return true + } + + return false +} + +// SetMode gets a reference to the given string and assigns it to the Mode field. +func (o *SkillsUpstreamRequestPatch) SetMode(v string) { + o.Mode = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *SkillsUpstreamRequestPatch) SetName(v string) { + o.Name = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetPriority() int64 { + if o == nil || IsNil(o.Priority) { + var ret int64 + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetPriorityOk() (*int64, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given int64 and assigns it to the Priority field. +func (o *SkillsUpstreamRequestPatch) SetPriority(v int64) { + o.Priority = &v +} + +// GetSelections returns the Selections field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetSelections() []SkillsUpstreamSelection { + if o == nil || IsNil(o.Selections) { + var ret []SkillsUpstreamSelection + return ret + } + return o.Selections +} + +// GetSelectionsOk returns a tuple with the Selections field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetSelectionsOk() ([]SkillsUpstreamSelection, bool) { + if o == nil || IsNil(o.Selections) { + return nil, false + } + return o.Selections, true +} + +// HasSelections returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasSelections() bool { + if o != nil && !IsNil(o.Selections) { + return true + } + + return false +} + +// SetSelections gets a reference to the given []SkillsUpstreamSelection and assigns it to the Selections field. +func (o *SkillsUpstreamRequestPatch) SetSelections(v []SkillsUpstreamSelection) { + o.Selections = v +} + +// GetUpstreamUrl returns the UpstreamUrl field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetUpstreamUrl() string { + if o == nil || IsNil(o.UpstreamUrl) { + var ret string + return ret + } + return *o.UpstreamUrl +} + +// GetUpstreamUrlOk returns a tuple with the UpstreamUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetUpstreamUrlOk() (*string, bool) { + if o == nil || IsNil(o.UpstreamUrl) { + return nil, false + } + return o.UpstreamUrl, true +} + +// HasUpstreamUrl returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasUpstreamUrl() bool { + if o != nil && !IsNil(o.UpstreamUrl) { + return true + } + + return false +} + +// SetUpstreamUrl gets a reference to the given string and assigns it to the UpstreamUrl field. +func (o *SkillsUpstreamRequestPatch) SetUpstreamUrl(v string) { + o.UpstreamUrl = &v +} + +// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetVerifySsl() bool { + if o == nil || IsNil(o.VerifySsl) { + var ret bool + return ret + } + return *o.VerifySsl +} + +// GetVerifySslOk returns a tuple with the VerifySsl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetVerifySslOk() (*bool, bool) { + if o == nil || IsNil(o.VerifySsl) { + return nil, false + } + return o.VerifySsl, true +} + +// HasVerifySsl returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasVerifySsl() bool { + if o != nil && !IsNil(o.VerifySsl) { + return true + } + + return false +} + +// SetVerifySsl gets a reference to the given bool and assigns it to the VerifySsl field. +func (o *SkillsUpstreamRequestPatch) SetVerifySsl(v bool) { + o.VerifySsl = &v +} + +func (o SkillsUpstreamRequestPatch) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsUpstreamRequestPatch) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AuthMode) { + toSerialize["auth_mode"] = o.AuthMode + } + if o.AuthSecret.IsSet() { + toSerialize["auth_secret"] = o.AuthSecret.Get() + } + if o.AuthUsername.IsSet() { + toSerialize["auth_username"] = o.AuthUsername.Get() + } + if o.ExtraHeader1.IsSet() { + toSerialize["extra_header_1"] = o.ExtraHeader1.Get() + } + if o.ExtraHeader2.IsSet() { + toSerialize["extra_header_2"] = o.ExtraHeader2.Get() + } + if o.ExtraValue1.IsSet() { + toSerialize["extra_value_1"] = o.ExtraValue1.Get() + } + if o.ExtraValue2.IsSet() { + toSerialize["extra_value_2"] = o.ExtraValue2.Get() + } + if !IsNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.Selections) { + toSerialize["selections"] = o.Selections + } + if !IsNil(o.UpstreamUrl) { + toSerialize["upstream_url"] = o.UpstreamUrl + } + if !IsNil(o.VerifySsl) { + toSerialize["verify_ssl"] = o.VerifySsl + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsUpstreamRequestPatch) UnmarshalJSON(data []byte) (err error) { + varSkillsUpstreamRequestPatch := _SkillsUpstreamRequestPatch{} + + err = json.Unmarshal(data, &varSkillsUpstreamRequestPatch) + + if err != nil { + return err + } + + *o = SkillsUpstreamRequestPatch(varSkillsUpstreamRequestPatch) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "auth_mode") + delete(additionalProperties, "auth_secret") + delete(additionalProperties, "auth_username") + delete(additionalProperties, "extra_header_1") + delete(additionalProperties, "extra_header_2") + delete(additionalProperties, "extra_value_1") + delete(additionalProperties, "extra_value_2") + delete(additionalProperties, "is_active") + delete(additionalProperties, "mode") + delete(additionalProperties, "name") + delete(additionalProperties, "priority") + delete(additionalProperties, "selections") + delete(additionalProperties, "upstream_url") + delete(additionalProperties, "verify_ssl") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsUpstreamRequestPatch struct { + value *SkillsUpstreamRequestPatch + isSet bool +} + +func (v NullableSkillsUpstreamRequestPatch) Get() *SkillsUpstreamRequestPatch { + return v.value +} + +func (v *NullableSkillsUpstreamRequestPatch) Set(val *SkillsUpstreamRequestPatch) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsUpstreamRequestPatch) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsUpstreamRequestPatch) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsUpstreamRequestPatch(val *SkillsUpstreamRequestPatch) *NullableSkillsUpstreamRequestPatch { + return &NullableSkillsUpstreamRequestPatch{value: val, isSet: true} +} + +func (v NullableSkillsUpstreamRequestPatch) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsUpstreamRequestPatch) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_skills_upstream_selection.go b/model_skills_upstream_selection.go new file mode 100644 index 000000000..e88b8bb65 --- /dev/null +++ b/model_skills_upstream_selection.go @@ -0,0 +1,228 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1446.0 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "fmt" +) + +// checks if the SkillsUpstreamSelection type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsUpstreamSelection{} + +// SkillsUpstreamSelection struct for SkillsUpstreamSelection +type SkillsUpstreamSelection struct { + // The skill's ClawHub slug. + Name string `json:"name" validate:"regexp=\\\\A[a-z0-9]+(?:-[a-z0-9]+)*$"` + // The ClawHub owner handle that publishes the skill. + Publisher string `json:"publisher" validate:"regexp=\\\\A[a-z0-9]+(?:-[a-z0-9]+)*$"` + // The exact semantic version of the release. + Version string `json:"version"` + AdditionalProperties map[string]interface{} +} + +type _SkillsUpstreamSelection SkillsUpstreamSelection + +// NewSkillsUpstreamSelection instantiates a new SkillsUpstreamSelection object +// 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 NewSkillsUpstreamSelection(name string, publisher string, version string) *SkillsUpstreamSelection { + this := SkillsUpstreamSelection{} + this.Name = name + this.Publisher = publisher + this.Version = version + return &this +} + +// NewSkillsUpstreamSelectionWithDefaults instantiates a new SkillsUpstreamSelection 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 +func NewSkillsUpstreamSelectionWithDefaults() *SkillsUpstreamSelection { + this := SkillsUpstreamSelection{} + return &this +} + +// GetName returns the Name field value +func (o *SkillsUpstreamSelection) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamSelection) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *SkillsUpstreamSelection) SetName(v string) { + o.Name = v +} + +// GetPublisher returns the Publisher field value +func (o *SkillsUpstreamSelection) GetPublisher() string { + if o == nil { + var ret string + return ret + } + + return o.Publisher +} + +// GetPublisherOk returns a tuple with the Publisher field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamSelection) GetPublisherOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Publisher, true +} + +// SetPublisher sets field value +func (o *SkillsUpstreamSelection) SetPublisher(v string) { + o.Publisher = v +} + +// GetVersion returns the Version field value +func (o *SkillsUpstreamSelection) GetVersion() string { + if o == nil { + var ret string + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamSelection) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *SkillsUpstreamSelection) SetVersion(v string) { + o.Version = v +} + +func (o SkillsUpstreamSelection) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsUpstreamSelection) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["publisher"] = o.Publisher + toSerialize["version"] = o.Version + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsUpstreamSelection) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "publisher", + "version", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSkillsUpstreamSelection := _SkillsUpstreamSelection{} + + err = json.Unmarshal(data, &varSkillsUpstreamSelection) + + if err != nil { + return err + } + + *o = SkillsUpstreamSelection(varSkillsUpstreamSelection) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "publisher") + delete(additionalProperties, "version") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsUpstreamSelection struct { + value *SkillsUpstreamSelection + isSet bool +} + +func (v NullableSkillsUpstreamSelection) Get() *SkillsUpstreamSelection { + return v.value +} + +func (v *NullableSkillsUpstreamSelection) Set(val *SkillsUpstreamSelection) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsUpstreamSelection) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsUpstreamSelection) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsUpstreamSelection(val *SkillsUpstreamSelection) *NullableSkillsUpstreamSelection { + return &NullableSkillsUpstreamSelection{value: val, isSet: true} +} + +func (v NullableSkillsUpstreamSelection) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsUpstreamSelection) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_status_basic.go b/model_status_basic.go index 48bf93cd9..2e44fa821 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit.go b/model_storage_allocated_limit.go index 9b759aab9..92e7014c8 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit_raw.go b/model_storage_allocated_limit_raw.go index eb54004f3..0e1db9288 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_region.go b/model_storage_region.go index 270ad51ac..108b164be 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage.go b/model_storage_usage.go index 9b5588ce7..18fbe92c2 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage_raw.go b/model_storage_usage_raw.go index a5f93f908..704b162b5 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_package_upload.go b/model_swift_package_upload.go index deefd1d51..70a327f6a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_package_upload_request.go b/model_swift_package_upload_request.go index 7401a4e66..4b4504555 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream.go b/model_swift_upstream.go index 9205e3753..3be843e71 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request.go b/model_swift_upstream_request.go index 48c3f2cb1..8b4c46e0d 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request_patch.go b/model_swift_upstream_request_patch.go index b3b8f5c35..240067096 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_terraform_package_upload.go b/model_terraform_package_upload.go index 3a3b92bde..fc012c250 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_terraform_package_upload_request.go b/model_terraform_package_upload_request.go index deb0ea6de..27b32b4b2 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_usage.go b/model_usage.go index 650cfe626..05cfc5119 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_fieldset.go b/model_usage_fieldset.go index 5a595da62..8a7b5884d 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits.go b/model_usage_limits.go index d32b0f503..473ee7f39 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits_raw.go b/model_usage_limits_raw.go index f851bb119..f3fa0eda3 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_raw.go b/model_usage_raw.go index 931c47015..b1a7d19e9 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token.go b/model_user_auth_token.go index 225048362..c27ca118a 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token_request.go b/model_user_auth_token_request.go index 45d23f6c0..7aae583a6 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_user_authentication_token.go b/model_user_authentication_token.go index 02ebd7f89..6ceaff98d 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_user_brief.go b/model_user_brief.go index 46dc5b625..1ab12865f 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_user_profile.go b/model_user_profile.go index 6fb5413b8..6b6d4c206 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_user_tokens_list_200_response.go b/model_user_tokens_list_200_response.go index aa95912d3..0d1672b08 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_vagrant_package_upload.go b/model_vagrant_package_upload.go index 64ce77a11..ae89f07e4 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_vagrant_package_upload_request.go b/model_vagrant_package_upload_request.go index 867d34bd6..24e7367d2 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_vsx_package_upload.go b/model_vsx_package_upload.go index b7f0558a4..85cc44ec7 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_vsx_package_upload_request.go b/model_vsx_package_upload_request.go index c041ca4c0..728deffa7 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability.go b/model_vulnerability.go index 3262005fc..102af24f6 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan.go b/model_vulnerability_scan.go index 313be7f58..eae609fa9 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results.go b/model_vulnerability_scan_results.go index 2ce88b6c7..1a2e962c5 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results_list.go b/model_vulnerability_scan_results_list.go index ac5a168e2..2c1649109 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_version.go b/model_vulnerability_scan_version.go index ac1fcf7df..dc60fe4a0 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_web_osv_severity_counts.go b/model_web_osv_severity_counts.go index 1edd9b080..0f8cd08cc 100644 --- a/model_web_osv_severity_counts.go +++ b/model_web_osv_severity_counts.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/model_webhook_template.go b/model_webhook_template.go index 93f1b261e..b19782322 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.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/response.go b/response.go index d5eb0cb38..5f31897c3 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */ diff --git a/utils.go b/utils.go index 1e11682be..e79e57e6f 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1446.0 Contact: support@cloudsmith.io */