From 76087e675cef09c9debbc88019b7c79e3d3100d5 Mon Sep 17 00:00:00 2001 From: Bartosz Blizniak Date: Fri, 24 May 2024 10:03:42 -0700 Subject: [PATCH 1/2] Update team management bindings --- CONTRIBUTING.md | 22 -- README.md | 5 +- api/openapi.yaml | 202 +++++++++++++++++- api_audit_log.go | 2 +- api_badges.go | 2 +- api_distros.go | 2 +- api_entitlements.go | 2 +- api_files.go | 2 +- api_formats.go | 2 +- api_metrics.go | 2 +- api_namespaces.go | 2 +- api_orgs.go | 139 +++++++++++- api_packages.go | 2 +- api_quota.go | 2 +- api_rates.go | 2 +- api_repos.go | 2 +- 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/AlpinePackageUpload.md | 26 +++ docs/CargoPackageUpload.md | 26 +++ docs/CocoapodsPackageUpload.md | 26 +++ docs/ComposerPackageUpload.md | 26 +++ docs/ConanPackageUpload.md | 26 +++ docs/CondaPackageUpload.md | 26 +++ docs/CranPackageUpload.md | 26 +++ docs/DartPackageUpload.md | 26 +++ docs/DebPackageUpload.md | 26 +++ docs/DockerPackageUpload.md | 26 +++ docs/GoPackageUpload.md | 26 +++ docs/HelmPackageUpload.md | 26 +++ docs/HexPackageUpload.md | 26 +++ docs/LuarocksPackageUpload.md | 26 +++ docs/MavenPackageUpload.md | 26 +++ docs/NpmPackageUpload.md | 26 +++ docs/NugetPackageUpload.md | 26 +++ docs/OrgsApi.md | 77 ++++++- docs/P2PackageUpload.md | 26 +++ docs/Package.md | 26 +++ docs/PackageCopy.md | 26 +++ docs/PackageMove.md | 26 +++ docs/PackageQuarantine.md | 26 +++ docs/PackageResync.md | 26 +++ docs/PackageTag.md | 26 +++ docs/PythonPackageUpload.md | 26 +++ docs/RawPackageUpload.md | 26 +++ docs/Repository.md | 2 +- docs/RepositoryCreate.md | 2 +- docs/RpmPackageUpload.md | 26 +++ docs/RubyPackageUpload.md | 26 +++ docs/StatusBasic.md | 2 +- docs/SwiftPackageUpload.md | 26 +++ docs/TerraformPackageUpload.md | 26 +++ docs/VagrantPackageUpload.md | 26 +++ model_allocated_limit.go | 2 +- model_allocated_limit_raw.go | 2 +- model_alpine_package_upload.go | 38 +++- model_alpine_package_upload_request.go | 2 +- model_architecture.go | 2 +- model_cargo_package_upload.go | 38 +++- model_cargo_package_upload_request.go | 2 +- model_cocoapods_package_upload.go | 38 +++- 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 | 38 +++- model_composer_package_upload_request.go | 2 +- model_conan_package_upload.go | 38 +++- model_conan_package_upload_request.go | 2 +- model_conda_package_upload.go | 38 +++- model_conda_package_upload_request.go | 2 +- model_cran_package_upload.go | 38 +++- 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 | 38 +++- 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 | 38 +++- 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 | 38 +++- 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_entitlement_usage_metrics.go | 2 +- model_error_detail.go | 2 +- model_eula.go | 2 +- model_format.go | 2 +- model_format_support.go | 2 +- model_format_support_upstream.go | 2 +- model_geo_ip_location.go | 2 +- model_go_package_upload.go | 38 +++- model_go_package_upload_request.go | 2 +- model_helm_package_upload.go | 38 +++- 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 | 38 +++- model_hex_package_upload_request.go | 2 +- model_history.go | 2 +- model_history_fieldset.go | 2 +- model_history_fieldset_raw.go | 2 +- model_luarocks_package_upload.go | 38 +++- model_luarocks_package_upload_request.go | 2 +- model_maven_package_upload.go | 38 +++- 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_namespace.go | 2 +- model_namespace_audit_log.go | 2 +- model_nested_license_policy.go | 2 +- model_nested_vulnerability_policy.go | 2 +- model_nested_vulnerability_scan_results.go | 2 +- model_npm_package_upload.go | 38 +++- 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 | 38 +++- model_nuget_package_upload_request.go | 2 +- model_nuget_upstream.go | 2 +- model_nuget_upstream_request.go | 2 +- model_nuget_upstream_request_patch.go | 2 +- model_organization.go | 2 +- 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_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_team.go | 2 +- model_organization_team_members.go | 2 +- model_organization_team_membership.go | 2 +- model_organization_team_request.go | 2 +- model_organization_team_request_patch.go | 2 +- model_p2_package_upload.go | 38 +++- model_p2_package_upload_request.go | 2 +- model_package.go | 38 +++- model_package_copy.go | 38 +++- model_package_copy_request.go | 2 +- model_package_deny_policy.go | 2 +- model_package_deny_policy_request.go | 2 +- model_package_deny_policy_request_patch.go | 2 +- model_package_dependencies.go | 2 +- model_package_dependency.go | 2 +- model_package_file.go | 2 +- model_package_file_parts_upload.go | 2 +- model_package_file_upload.go | 2 +- model_package_file_upload_request.go | 2 +- ...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_move.go | 38 +++- model_package_move_request.go | 2 +- model_package_quarantine.go | 38 +++- model_package_quarantine_request.go | 2 +- model_package_resync.go | 38 +++- model_package_status.go | 2 +- model_package_tag.go | 38 +++- 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_provider_settings.go | 2 +- model_provider_settings_request.go | 2 +- model_provider_settings_request_patch.go | 2 +- model_python_package_upload.go | 38 +++- 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 | 38 +++- model_raw_package_upload_request.go | 2 +- model_repository.go | 7 +- model_repository_audit_log.go | 2 +- model_repository_create.go | 7 +- model_repository_create_request.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_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_rsa_key.go | 2 +- model_repository_rsa_key_create.go | 2 +- model_repository_token.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_webhook.go | 2 +- model_repository_webhook_request.go | 2 +- model_repository_webhook_request_patch.go | 2 +- model_resources_rate_check.go | 2 +- model_rpm_package_upload.go | 38 +++- 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 | 38 +++- model_ruby_package_upload_request.go | 2 +- model_ruby_upstream.go | 2 +- model_ruby_upstream_request.go | 2 +- model_ruby_upstream_request_patch.go | 2 +- model_service.go | 2 +- model_service_request.go | 2 +- model_service_request_patch.go | 2 +- model_service_teams.go | 2 +- model_status_basic.go | 2 +- model_storage_allocated_limit.go | 2 +- model_storage_allocated_limit_raw.go | 2 +- model_storage_region.go | 2 +- model_storage_usage.go | 2 +- model_storage_usage_raw.go | 2 +- model_swift_package_upload.go | 38 +++- 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 | 38 +++- 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_brief.go | 2 +- model_user_profile.go | 2 +- model_vagrant_package_upload.go | 38 +++- model_vagrant_package_upload_request.go | 2 +- model_vulnerability.go | 2 +- model_vulnerability_scan.go | 2 +- model_vulnerability_scan_results.go | 2 +- model_vulnerability_scan_results_list.go | 2 +- model_vulnerability_scan_version.go | 2 +- model_webhook_template.go | 2 +- response.go | 2 +- utils.go | 2 +- 286 files changed, 2593 insertions(+), 288 deletions(-) delete mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 86172aac..00000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,22 +0,0 @@ -# Contributing - -Please refer to Cloudsmith's standard guide on [Open-Source Contributing](https://help.cloudsmith.io/docs/contributing). - -## Updating bindings - -* Update `PKG_VERSION` in `bin/generate` -* Run `bin/generate` to generate bindings -* Create a PR specifing API and binding version -* Create git tag and release in github - -## Contributor License Agreement - -By making any contributions to Cloudsmith Ltd projects you agree to be bound by the terms of the Cloudsmith Ltd [Contributor License Agreement](https://help.cloudsmith.io/docs/contributor-license-agreement). - -## Coding Conventions - -Follow existing structure and style of the build and release scripts. Languages bindings are generated automatically. - -## Need Help? - -See the section for raising a question in the [Contributing Guide](https://help.cloudsmith.io/docs/contributing). \ No newline at end of file diff --git a/README.md b/README.md index 323d2421..88d2f065 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.401.1 -- Package version: 0.0.35 +- API version: 1.417.0 +- Package version: 0.0.36 - Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io) @@ -105,6 +105,7 @@ Class | Method | HTTP request | Description *MetricsApi* | [**MetricsPackagesList**](docs/MetricsApi.md#metricspackageslist) | **Get** /metrics/packages/{owner}/{repo}/ | View for listing package usage metrics, for a repository. *NamespacesApi* | [**NamespacesList**](docs/NamespacesApi.md#namespaceslist) | **Get** /namespaces/ | Get a list of all namespaces the user belongs to. *NamespacesApi* | [**NamespacesRead**](docs/NamespacesApi.md#namespacesread) | **Get** /namespaces/{slug}/ | Views for working with namespaces. +*OrgsApi* | [**OrgsDelete**](docs/OrgsApi.md#orgsdelete) | **Delete** /orgs/{org}/ | Delete the specified organization. *OrgsApi* | [**OrgsDenyPolicyCreate**](docs/OrgsApi.md#orgsdenypolicycreate) | **Post** /orgs/{org}/deny-policy/ | Create a package deny policy. *OrgsApi* | [**OrgsDenyPolicyDelete**](docs/OrgsApi.md#orgsdenypolicydelete) | **Delete** /orgs/{org}/deny-policy/{slug_perm}/ | Delete a package deny policy. *OrgsApi* | [**OrgsDenyPolicyList**](docs/OrgsApi.md#orgsdenypolicylist) | **Get** /orgs/{org}/deny-policy/ | Get a list of all package deny policies. diff --git a/api/openapi.yaml b/api/openapi.yaml index 006579b5..2f60d03f 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.401.1 + version: 1.417.0 servers: - url: https://api.cloudsmith.io/v1 security: @@ -1517,6 +1517,36 @@ paths: tags: - orgs /orgs/{org}/: + delete: + description: Delete the specified organization. + operationId: orgs_delete + parameters: + - in: path + name: org + 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). + security: + - apikey: [] + summary: Delete the specified organization. + tags: + - orgs get: description: Get the details for the specific organization. operationId: orgs_read @@ -3841,6 +3871,12 @@ paths: required: true schema: type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/OrganizationTeamMembers' + required: false responses: "204": content: @@ -3871,6 +3907,7 @@ paths: summary: Replace all team members. tags: - orgs + x-codegen-request-body-name: data /orgs/{org}/vulnerability-policy-violation/: get: description: List all current vulnerability policy violations for this Organization. @@ -16506,6 +16543,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version tags: "{}" @@ -16639,6 +16677,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -17042,6 +17084,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -17174,6 +17217,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -17565,6 +17612,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -17697,6 +17745,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -18088,6 +18140,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -18220,6 +18273,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -18611,6 +18668,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -18743,6 +18801,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -19185,6 +19247,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -19333,6 +19396,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -19724,6 +19791,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -19856,6 +19924,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -20263,6 +20335,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -20396,6 +20469,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -20795,6 +20872,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -20927,6 +21005,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -21350,6 +21432,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -21482,6 +21565,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -21873,6 +21960,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -22005,6 +22093,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -22396,6 +22488,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -22528,6 +22621,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -22927,6 +23024,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -23059,6 +23157,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -23450,6 +23552,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -23582,6 +23685,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -23973,6 +24080,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -24105,6 +24213,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -24573,6 +24685,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -24715,6 +24828,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -25137,6 +25254,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -25269,6 +25387,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -25667,6 +25789,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -25799,6 +25922,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -26190,6 +26317,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -26322,6 +26450,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -26713,6 +26845,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -26845,6 +26978,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -27274,6 +27411,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -27406,6 +27544,10 @@ components: nullable: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -27804,6 +27946,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -27936,6 +28079,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -28327,6 +28474,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -28459,6 +28607,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -28907,6 +29059,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -29054,6 +29207,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -29468,6 +29625,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -29600,6 +29758,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -30012,6 +30174,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version is_resyncable: true @@ -30145,6 +30308,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -30533,6 +30700,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version tags: "{}" @@ -30666,6 +30834,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -31137,6 +31309,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version tags: "{}" @@ -31270,6 +31443,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -31649,6 +31826,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version tags: "{}" @@ -31782,6 +31960,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -32151,6 +32333,7 @@ components: status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech + display_name: display_name slug_perm: slug_perm version: version tags: "{}" @@ -32284,6 +32467,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -32842,6 +33029,10 @@ components: readOnly: true title: Description type: string + display_name: + readOnly: true + title: Display name + type: string distro: $ref: '#/components/schemas/Distribution' distro_version: @@ -33957,6 +34148,7 @@ components: title: Delete packages type: string deleted_at: + description: The datetime the repository was manually deleted at. format: date-time nullable: true readOnly: true @@ -34776,6 +34968,7 @@ components: title: Delete packages type: string deleted_at: + description: The datetime the repository was manually deleted at. format: date-time nullable: true readOnly: true @@ -40025,6 +40218,7 @@ components: \ or cache only mode." enum: - Proxy Only + - Cache and Proxy title: Mode type: string name: @@ -40151,6 +40345,7 @@ components: \ or cache only mode." enum: - Proxy Only + - Cache and Proxy title: Mode type: string name: @@ -40265,6 +40460,7 @@ components: \ or cache only mode." enum: - Proxy Only + - Cache and Proxy title: Mode type: string name: @@ -40302,7 +40498,7 @@ components: StatusBasic: example: detail: Cloudsmith API is operational. - version: 1.401.1 + version: 1.417.0 properties: detail: default: Cloudsmith API is operational. @@ -40312,7 +40508,7 @@ components: title: Detail type: string version: - default: 1.401.1 + default: 1.417.0 description: The current version for the Cloudsmith service. minLength: 1 readOnly: true diff --git a/api_audit_log.go b/api_audit_log.go index 796a1fb4..16c52bb9 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_badges.go b/api_badges.go index 5106d129..89332d85 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_distros.go b/api_distros.go index 2043b826..475050d9 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_entitlements.go b/api_entitlements.go index f0a45a54..07df0e3e 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_files.go b/api_files.go index e9874f54..9889cc87 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_formats.go b/api_formats.go index 36f2a05d..2cf237f0 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_metrics.go b/api_metrics.go index a8f88285..5d6a3c48 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_namespaces.go b/api_namespaces.go index 12e13466..dd0b25ba 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_orgs.go b/api_orgs.go index f1ae84e7..b156d4ed 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -23,6 +23,133 @@ import ( // OrgsApiService OrgsApi service type OrgsApiService service +type ApiOrgsDeleteRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string +} + +func (r ApiOrgsDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.OrgsDeleteExecute(r) +} + +/* +OrgsDelete Delete the specified organization. + +Delete the specified organization. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @return ApiOrgsDeleteRequest +*/ +func (a *OrgsApiService) OrgsDelete(ctx context.Context, org string) ApiOrgsDeleteRequest { + return ApiOrgsDeleteRequest{ + ApiService: a, + ctx: ctx, + org: org, + } +} + +// Execute executes the request +func (a *OrgsApiService) OrgsDeleteExecute(r ApiOrgsDeleteRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsDelete") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterValueToString(r.org, "org")), -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 ApiOrgsDenyPolicyCreateRequest struct { ctx context.Context ApiService *OrgsApiService @@ -7804,6 +7931,12 @@ type ApiOrgsTeamsMembersUpdateRequest struct { ApiService *OrgsApiService org string team string + data *OrganizationTeamMembers +} + +func (r ApiOrgsTeamsMembersUpdateRequest) Data(data OrganizationTeamMembers) ApiOrgsTeamsMembersUpdateRequest { + r.data = &data + return r } func (r ApiOrgsTeamsMembersUpdateRequest) Execute() (*OrganizationTeamMembers, *http.Response, error) { @@ -7853,7 +7986,7 @@ func (a *OrgsApiService) OrgsTeamsMembersUpdateExecute(r ApiOrgsTeamsMembersUpda localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -7869,6 +8002,8 @@ func (a *OrgsApiService) OrgsTeamsMembersUpdateExecute(r ApiOrgsTeamsMembersUpda 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 { diff --git a/api_packages.go b/api_packages.go index ec68fc41..78f01dbd 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_quota.go b/api_quota.go index 0897dc64..93aa6154 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_rates.go b/api_rates.go index 22fd2518..22a03b09 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_repos.go b/api_repos.go index c1715510..37a6fcec 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_status.go b/api_status.go index 9963cca9..d970eb95 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_storage_regions.go b/api_storage_regions.go index c2abcd1c..02e712bf 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_user.go b/api_user.go index 84a8fb4c..49375755 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_users.go b/api_users.go index e927e7fa..8b5fe2fa 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_vulnerabilities.go b/api_vulnerabilities.go index 7bceebdd..f7d28d84 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/api_webhooks.go b/api_webhooks.go index 6f5a38c9..67a28bab 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/bin/generate b/bin/generate index cda21278..bd639a9f 100755 --- a/bin/generate +++ b/bin/generate @@ -2,7 +2,7 @@ set -eou pipefail -PKG_VERSION=${1:-"0.0.35"} +PKG_VERSION=${1:-"0.0.36"} API_HOST=${2:-"https://api.cloudsmith.io"} diff --git a/client.go b/client.go index c712e9f9..bc393567 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -42,7 +42,7 @@ var ( queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) ) -// APIClient manages communication with the Cloudsmith API (v1) API v1.401.1 +// APIClient manages communication with the Cloudsmith API (v1) API v1.417.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 5611fe9e..27e910a6 100644 --- a/configuration.go +++ b/configuration.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.401.1 +API version: 1.417.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.35/go", + UserAgent: "OpenAPI-Generator/0.0.36/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/docs/AlpinePackageUpload.md b/docs/AlpinePackageUpload.md index 462d5688..5f98268a 100644 --- a/docs/AlpinePackageUpload.md +++ b/docs/AlpinePackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *AlpinePackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *AlpinePackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *AlpinePackageUpload) 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 *AlpinePackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *AlpinePackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *AlpinePackageUpload) GetDistro() Distribution` diff --git a/docs/CargoPackageUpload.md b/docs/CargoPackageUpload.md index 580f8cff..7f0fdb95 100644 --- a/docs/CargoPackageUpload.md +++ b/docs/CargoPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *CargoPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *CargoPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *CargoPackageUpload) 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 *CargoPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *CargoPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *CargoPackageUpload) GetDistro() Distribution` diff --git a/docs/CocoapodsPackageUpload.md b/docs/CocoapodsPackageUpload.md index 64eec111..0f12eaf8 100644 --- a/docs/CocoapodsPackageUpload.md +++ b/docs/CocoapodsPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *CocoapodsPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *CocoapodsPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *CocoapodsPackageUpload) 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 *CocoapodsPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *CocoapodsPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *CocoapodsPackageUpload) GetDistro() Distribution` diff --git a/docs/ComposerPackageUpload.md b/docs/ComposerPackageUpload.md index 54bfd6fc..121d6aae 100644 --- a/docs/ComposerPackageUpload.md +++ b/docs/ComposerPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *ComposerPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *ComposerPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *ComposerPackageUpload) 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 *ComposerPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *ComposerPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *ComposerPackageUpload) GetDistro() Distribution` diff --git a/docs/ConanPackageUpload.md b/docs/ConanPackageUpload.md index 501e1682..7809a1ac 100644 --- a/docs/ConanPackageUpload.md +++ b/docs/ConanPackageUpload.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -426,6 +427,31 @@ HasDescription returns a boolean if a field has been set. `func (o *ConanPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *ConanPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *ConanPackageUpload) 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 *ConanPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *ConanPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *ConanPackageUpload) GetDistro() Distribution` diff --git a/docs/CondaPackageUpload.md b/docs/CondaPackageUpload.md index a4ed16b2..766231c9 100644 --- a/docs/CondaPackageUpload.md +++ b/docs/CondaPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *CondaPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *CondaPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *CondaPackageUpload) 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 *CondaPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *CondaPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *CondaPackageUpload) GetDistro() Distribution` diff --git a/docs/CranPackageUpload.md b/docs/CranPackageUpload.md index aec70e8c..e6c2ca88 100644 --- a/docs/CranPackageUpload.md +++ b/docs/CranPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -355,6 +356,31 @@ HasDescription returns a boolean if a field has been set. `func (o *CranPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *CranPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *CranPackageUpload) 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 *CranPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *CranPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *CranPackageUpload) GetDistro() Distribution` diff --git a/docs/DartPackageUpload.md b/docs/DartPackageUpload.md index fa65f7a2..a510435a 100644 --- a/docs/DartPackageUpload.md +++ b/docs/DartPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *DartPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *DartPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *DartPackageUpload) 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 *DartPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *DartPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *DartPackageUpload) GetDistro() Distribution` diff --git a/docs/DebPackageUpload.md b/docs/DebPackageUpload.md index 6985c988..691a2cdc 100644 --- a/docs/DebPackageUpload.md +++ b/docs/DebPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *DebPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *DebPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *DebPackageUpload) 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 *DebPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *DebPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *DebPackageUpload) GetDistro() Distribution` diff --git a/docs/DockerPackageUpload.md b/docs/DockerPackageUpload.md index 23756cef..877dda62 100644 --- a/docs/DockerPackageUpload.md +++ b/docs/DockerPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *DockerPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *DockerPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *DockerPackageUpload) 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 *DockerPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *DockerPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *DockerPackageUpload) GetDistro() Distribution` diff --git a/docs/GoPackageUpload.md b/docs/GoPackageUpload.md index c5e7b6a8..52a53c89 100644 --- a/docs/GoPackageUpload.md +++ b/docs/GoPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *GoPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *GoPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *GoPackageUpload) 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 *GoPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *GoPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *GoPackageUpload) GetDistro() Distribution` diff --git a/docs/HelmPackageUpload.md b/docs/HelmPackageUpload.md index cd86da08..cf05a5fe 100644 --- a/docs/HelmPackageUpload.md +++ b/docs/HelmPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *HelmPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *HelmPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *HelmPackageUpload) 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 *HelmPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *HelmPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *HelmPackageUpload) GetDistro() Distribution` diff --git a/docs/HexPackageUpload.md b/docs/HexPackageUpload.md index f899bfe9..a439171d 100644 --- a/docs/HexPackageUpload.md +++ b/docs/HexPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *HexPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *HexPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *HexPackageUpload) 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 *HexPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *HexPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *HexPackageUpload) GetDistro() Distribution` diff --git a/docs/LuarocksPackageUpload.md b/docs/LuarocksPackageUpload.md index 45e1faf3..07d52377 100644 --- a/docs/LuarocksPackageUpload.md +++ b/docs/LuarocksPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *LuarocksPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *LuarocksPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *LuarocksPackageUpload) 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 *LuarocksPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *LuarocksPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *LuarocksPackageUpload) GetDistro() Distribution` diff --git a/docs/MavenPackageUpload.md b/docs/MavenPackageUpload.md index ec7c119f..70115971 100644 --- a/docs/MavenPackageUpload.md +++ b/docs/MavenPackageUpload.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -394,6 +395,31 @@ HasDescription returns a boolean if a field has been set. `func (o *MavenPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *MavenPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *MavenPackageUpload) 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 *MavenPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *MavenPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *MavenPackageUpload) GetDistro() Distribution` diff --git a/docs/NpmPackageUpload.md b/docs/NpmPackageUpload.md index f9583ef2..c0f1704e 100644 --- a/docs/NpmPackageUpload.md +++ b/docs/NpmPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *NpmPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *NpmPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *NpmPackageUpload) 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 *NpmPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *NpmPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *NpmPackageUpload) GetDistro() Distribution` diff --git a/docs/NugetPackageUpload.md b/docs/NugetPackageUpload.md index b3b71a0f..fd166a7d 100644 --- a/docs/NugetPackageUpload.md +++ b/docs/NugetPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *NugetPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *NugetPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *NugetPackageUpload) 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 *NugetPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *NugetPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *NugetPackageUpload) GetDistro() Distribution` diff --git a/docs/OrgsApi.md b/docs/OrgsApi.md index 8e0e674d..76a82ba1 100644 --- a/docs/OrgsApi.md +++ b/docs/OrgsApi.md @@ -4,6 +4,7 @@ All URIs are relative to *https://api.cloudsmith.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**OrgsDelete**](OrgsApi.md#OrgsDelete) | **Delete** /orgs/{org}/ | Delete the specified organization. [**OrgsDenyPolicyCreate**](OrgsApi.md#OrgsDenyPolicyCreate) | **Post** /orgs/{org}/deny-policy/ | Create a package deny policy. [**OrgsDenyPolicyDelete**](OrgsApi.md#OrgsDenyPolicyDelete) | **Delete** /orgs/{org}/deny-policy/{slug_perm}/ | Delete a package deny policy. [**OrgsDenyPolicyList**](OrgsApi.md#OrgsDenyPolicyList) | **Get** /orgs/{org}/deny-policy/ | Get a list of all package deny policies. @@ -72,6 +73,74 @@ Method | HTTP request | Description +## OrgsDelete + +> OrgsDelete(ctx, org).Execute() + +Delete the specified organization. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + org := "org_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.OrgsApi.OrgsDelete(context.Background(), org).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsDelete``: %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. +**org** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsDeleteRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[apikey](../README.md#apikey) + +### 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) + + ## OrgsDenyPolicyCreate > PackageDenyPolicy OrgsDenyPolicyCreate(ctx, org).Data(data).Execute() @@ -3860,7 +3929,7 @@ Name | Type | Description | Notes ## OrgsTeamsMembersUpdate -> OrganizationTeamMembers OrgsTeamsMembersUpdate(ctx, org, team).Execute() +> OrganizationTeamMembers OrgsTeamsMembersUpdate(ctx, org, team).Data(data).Execute() Replace all team members. @@ -3881,10 +3950,11 @@ import ( func main() { org := "org_example" // string | team := "team_example" // string | + data := *openapiclient.NewOrganizationTeamMembers([]openapiclient.OrganizationTeamMembership{*openapiclient.NewOrganizationTeamMembership("Role_example", "User_example")}) // OrganizationTeamMembers | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgsApi.OrgsTeamsMembersUpdate(context.Background(), org, team).Execute() + resp, r, err := apiClient.OrgsApi.OrgsTeamsMembersUpdate(context.Background(), org, team).Data(data).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsMembersUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -3912,6 +3982,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **data** | [**OrganizationTeamMembers**](OrganizationTeamMembers.md) | | ### Return type @@ -3923,7 +3994,7 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined +- **Content-Type**: application/json - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) diff --git a/docs/P2PackageUpload.md b/docs/P2PackageUpload.md index 184efe5a..af2c4d15 100644 --- a/docs/P2PackageUpload.md +++ b/docs/P2PackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *P2PackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *P2PackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *P2PackageUpload) 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 *P2PackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *P2PackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *P2PackageUpload) GetDistro() Distribution` diff --git a/docs/Package.md b/docs/Package.md index 2ecef197..bc2633a6 100644 --- a/docs/Package.md +++ b/docs/Package.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -355,6 +356,31 @@ HasDescription returns a boolean if a field has been set. `func (o *Package) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *Package) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *Package) 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 *Package) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *Package) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *Package) GetDistro() Distribution` diff --git a/docs/PackageCopy.md b/docs/PackageCopy.md index 8ff92693..e5e6ec8f 100644 --- a/docs/PackageCopy.md +++ b/docs/PackageCopy.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -355,6 +356,31 @@ HasDescription returns a boolean if a field has been set. `func (o *PackageCopy) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *PackageCopy) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *PackageCopy) 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 *PackageCopy) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *PackageCopy) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *PackageCopy) GetDistro() Distribution` diff --git a/docs/PackageMove.md b/docs/PackageMove.md index 30d49076..5f2081f9 100644 --- a/docs/PackageMove.md +++ b/docs/PackageMove.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -355,6 +356,31 @@ HasDescription returns a boolean if a field has been set. `func (o *PackageMove) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *PackageMove) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *PackageMove) 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 *PackageMove) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *PackageMove) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *PackageMove) GetDistro() Distribution` diff --git a/docs/PackageQuarantine.md b/docs/PackageQuarantine.md index 90fc45e4..8c473637 100644 --- a/docs/PackageQuarantine.md +++ b/docs/PackageQuarantine.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -355,6 +356,31 @@ HasDescription returns a boolean if a field has been set. `func (o *PackageQuarantine) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *PackageQuarantine) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *PackageQuarantine) 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 *PackageQuarantine) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *PackageQuarantine) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *PackageQuarantine) GetDistro() Distribution` diff --git a/docs/PackageResync.md b/docs/PackageResync.md index 7f85c38b..1ba0a967 100644 --- a/docs/PackageResync.md +++ b/docs/PackageResync.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -355,6 +356,31 @@ HasDescription returns a boolean if a field has been set. `func (o *PackageResync) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *PackageResync) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *PackageResync) 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 *PackageResync) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *PackageResync) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *PackageResync) GetDistro() Distribution` diff --git a/docs/PackageTag.md b/docs/PackageTag.md index a5dc7f66..32de7d40 100644 --- a/docs/PackageTag.md +++ b/docs/PackageTag.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -355,6 +356,31 @@ HasDescription returns a boolean if a field has been set. `func (o *PackageTag) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *PackageTag) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *PackageTag) 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 *PackageTag) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *PackageTag) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *PackageTag) GetDistro() Distribution` diff --git a/docs/PythonPackageUpload.md b/docs/PythonPackageUpload.md index 0dcf0981..3eceab62 100644 --- a/docs/PythonPackageUpload.md +++ b/docs/PythonPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *PythonPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *PythonPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *PythonPackageUpload) 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 *PythonPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *PythonPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *PythonPackageUpload) GetDistro() Distribution` diff --git a/docs/RawPackageUpload.md b/docs/RawPackageUpload.md index 02d66d80..55c97181 100644 --- a/docs/RawPackageUpload.md +++ b/docs/RawPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] +**DisplayName** | Pointer to **string** | | [optional] [readonly] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *RawPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *RawPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *RawPackageUpload) 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 *RawPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *RawPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *RawPackageUpload) GetDistro() Distribution` diff --git a/docs/Repository.md b/docs/Repository.md index e2b8cd12..e7237f60 100644 --- a/docs/Repository.md +++ b/docs/Repository.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **DefaultPrivilege** | Pointer to **string** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional] [default to "None"] **DeleteOwn** | Pointer to **bool** | If checked, users can delete any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] **DeletePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional] [default to "Admin"] -**DeletedAt** | Pointer to **NullableTime** | | [optional] [readonly] +**DeletedAt** | Pointer to **NullableTime** | The datetime the repository was manually deleted at. | [optional] [readonly] **Description** | Pointer to **string** | A description of the repository's purpose/contents. | [optional] **Distributes** | Pointer to **[]string** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **DockerRefreshTokensEnabled** | Pointer to **bool** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] diff --git a/docs/RepositoryCreate.md b/docs/RepositoryCreate.md index 57b4f88f..5f9efbde 100644 --- a/docs/RepositoryCreate.md +++ b/docs/RepositoryCreate.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **DefaultPrivilege** | Pointer to **string** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional] [default to "None"] **DeleteOwn** | Pointer to **bool** | If checked, users can delete any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] **DeletePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional] [default to "Admin"] -**DeletedAt** | Pointer to **NullableTime** | | [optional] [readonly] +**DeletedAt** | Pointer to **NullableTime** | The datetime the repository was manually deleted at. | [optional] [readonly] **Description** | Pointer to **string** | A description of the repository's purpose/contents. | [optional] **Distributes** | Pointer to **[]string** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **DockerRefreshTokensEnabled** | Pointer to **bool** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] diff --git a/docs/RpmPackageUpload.md b/docs/RpmPackageUpload.md index 6e0d2054..d4924b78 100644 --- a/docs/RpmPackageUpload.md +++ b/docs/RpmPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *RpmPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *RpmPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *RpmPackageUpload) 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 *RpmPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *RpmPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *RpmPackageUpload) GetDistro() Distribution` diff --git a/docs/RubyPackageUpload.md b/docs/RubyPackageUpload.md index 83312635..9629ddc9 100644 --- a/docs/RubyPackageUpload.md +++ b/docs/RubyPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *RubyPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *RubyPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *RubyPackageUpload) 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 *RubyPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *RubyPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *RubyPackageUpload) GetDistro() Distribution` diff --git a/docs/StatusBasic.md b/docs/StatusBasic.md index 111017c5..c0225189 100644 --- a/docs/StatusBasic.md +++ b/docs/StatusBasic.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Detail** | Pointer to **string** | The message describing the state of the API. | [optional] [readonly] [default to "Cloudsmith API is operational."] -**Version** | Pointer to **string** | The current version for the Cloudsmith service. | [optional] [readonly] [default to "1.401.1"] +**Version** | Pointer to **string** | The current version for the Cloudsmith service. | [optional] [readonly] [default to "1.417.0"] ## Methods diff --git a/docs/SwiftPackageUpload.md b/docs/SwiftPackageUpload.md index a52db40d..5916dcc8 100644 --- a/docs/SwiftPackageUpload.md +++ b/docs/SwiftPackageUpload.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -409,6 +410,31 @@ HasDescription returns a boolean if a field has been set. `func (o *SwiftPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *SwiftPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *SwiftPackageUpload) 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 *SwiftPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *SwiftPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *SwiftPackageUpload) GetDistro() Distribution` diff --git a/docs/TerraformPackageUpload.md b/docs/TerraformPackageUpload.md index 71ed6249..300132b6 100644 --- a/docs/TerraformPackageUpload.md +++ b/docs/TerraformPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -354,6 +355,31 @@ HasDescription returns a boolean if a field has been set. `func (o *TerraformPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *TerraformPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *TerraformPackageUpload) 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 *TerraformPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *TerraformPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *TerraformPackageUpload) GetDistro() Distribution` diff --git a/docs/VagrantPackageUpload.md b/docs/VagrantPackageUpload.md index 8788f826..aa18f0dd 100644 --- a/docs/VagrantPackageUpload.md +++ b/docs/VagrantPackageUpload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **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] **Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] **DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] **Downloads** | Pointer to **int64** | | [optional] [readonly] @@ -355,6 +356,31 @@ HasDescription returns a boolean if a field has been set. `func (o *VagrantPackageUpload) UnsetDescription()` UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *VagrantPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *VagrantPackageUpload) 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 *VagrantPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *VagrantPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + ### GetDistro `func (o *VagrantPackageUpload) GetDistro() Distribution` diff --git a/model_allocated_limit.go b/model_allocated_limit.go index 1a397066..ef981d8b 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_allocated_limit_raw.go b/model_allocated_limit_raw.go index 0a39af7e..e8a3b803 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_alpine_package_upload.go b/model_alpine_package_upload.go index 3c21e96f..51d1b716 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type AlpinePackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *AlpinePackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *AlpinePackageUpload) 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 *AlpinePackageUpload) 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 *AlpinePackageUpload) 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 *AlpinePackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *AlpinePackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o AlpinePackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_alpine_package_upload_request.go b/model_alpine_package_upload_request.go index 41b9062b..67bfda16 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_architecture.go b/model_architecture.go index 9914618c..3efb08ea 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_cargo_package_upload.go b/model_cargo_package_upload.go index b6528df7..5b2e7cad 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type CargoPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *CargoPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *CargoPackageUpload) 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 *CargoPackageUpload) 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 *CargoPackageUpload) 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 *CargoPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *CargoPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o CargoPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_cargo_package_upload_request.go b/model_cargo_package_upload_request.go index f88734e0..6d9b0a1d 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_cocoapods_package_upload.go b/model_cocoapods_package_upload.go index 2a39d83c..cfc0ddd1 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type CocoapodsPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *CocoapodsPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *CocoapodsPackageUpload) 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 *CocoapodsPackageUpload) 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 *CocoapodsPackageUpload) 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 *CocoapodsPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *CocoapodsPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o CocoapodsPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_cocoapods_package_upload_request.go b/model_cocoapods_package_upload_request.go index bcb08841..5d328363 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_common_bandwidth_metrics.go b/model_common_bandwidth_metrics.go index f36e7558..6a88a327 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_common_bandwidth_metrics_value.go b/model_common_bandwidth_metrics_value.go index 7df54a09..4002b8a0 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics.go b/model_common_downloads_metrics.go index a3235eb9..0b7155fa 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics_value.go b/model_common_downloads_metrics_value.go index b37bab0a..926ee1e9 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_common_metrics.go b/model_common_metrics.go index 524d11a8..ab06784e 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_composer_package_upload.go b/model_composer_package_upload.go index d8bf6e3d..d380ad0d 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type ComposerPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *ComposerPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *ComposerPackageUpload) 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 *ComposerPackageUpload) 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 *ComposerPackageUpload) 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 *ComposerPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ComposerPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o ComposerPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_composer_package_upload_request.go b/model_composer_package_upload_request.go index 55226e6a..810474b7 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_conan_package_upload.go b/model_conan_package_upload.go index 5e4475b1..78344228 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -36,6 +36,7 @@ type ConanPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -550,6 +551,38 @@ func (o *ConanPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *ConanPackageUpload) 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 *ConanPackageUpload) 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 *ConanPackageUpload) 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 *ConanPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ConanPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2859,6 +2892,9 @@ func (o ConanPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_conan_package_upload_request.go b/model_conan_package_upload_request.go index 257f90ee..05bc56cd 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_conda_package_upload.go b/model_conda_package_upload.go index dc672ffb..cc902cfc 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type CondaPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *CondaPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *CondaPackageUpload) 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 *CondaPackageUpload) 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 *CondaPackageUpload) 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 *CondaPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *CondaPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o CondaPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_conda_package_upload_request.go b/model_conda_package_upload_request.go index 90cf411e..7ec355c5 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_package_upload.go b/model_cran_package_upload.go index 95dab8eb..0b017613 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type CranPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -462,6 +463,38 @@ func (o *CranPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *CranPackageUpload) 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 *CranPackageUpload) 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 *CranPackageUpload) 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 *CranPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *CranPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2808,6 +2841,9 @@ func (o CranPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_cran_package_upload_request.go b/model_cran_package_upload_request.go index c8f55981..aad7c341 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream.go b/model_cran_upstream.go index 01bcb3b9..e47a5932 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request.go b/model_cran_upstream_request.go index 9e4fceee..0305acc0 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request_patch.go b/model_cran_upstream_request_patch.go index 9a610542..11f49b5d 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_package_upload.go b/model_dart_package_upload.go index 32afa99c..fcd7a3e1 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type DartPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *DartPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *DartPackageUpload) 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 *DartPackageUpload) 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 *DartPackageUpload) 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 *DartPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *DartPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o DartPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_dart_package_upload_request.go b/model_dart_package_upload_request.go index db8472fc..e99c2c62 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream.go b/model_dart_upstream.go index 4bcd96ac..7d522a9a 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request.go b/model_dart_upstream_request.go index 19e172bb..46bfccc9 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request_patch.go b/model_dart_upstream_request_patch.go index e7cdc135..4909f3c0 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_package_upload.go b/model_deb_package_upload.go index c1b07ef4..8bc3b1bb 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type DebPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *DebPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *DebPackageUpload) 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 *DebPackageUpload) 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 *DebPackageUpload) 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 *DebPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *DebPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o DebPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_deb_package_upload_request.go b/model_deb_package_upload_request.go index fd58be8b..8a36b127 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream.go b/model_deb_upstream.go index dfd68acd..fbf66386 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request.go b/model_deb_upstream_request.go index 64ad654c..89735903 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request_patch.go b/model_deb_upstream_request_patch.go index 46cc25bb..225cbe31 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_distribution.go b/model_distribution.go index 02b2596b..259f6269 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_distribution_full.go b/model_distribution_full.go index 511e702c..923e3ff6 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_distribution_version.go b/model_distribution_version.go index 812e5f2f..682def21 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_package_upload.go b/model_docker_package_upload.go index 0a028a9a..5f04dff8 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type DockerPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *DockerPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *DockerPackageUpload) 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 *DockerPackageUpload) 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 *DockerPackageUpload) 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 *DockerPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *DockerPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o DockerPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_docker_package_upload_request.go b/model_docker_package_upload_request.go index 863f5548..388d1892 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream.go b/model_docker_upstream.go index 8dc23e4c..66cef554 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request.go b/model_docker_upstream_request.go index 54286878..50e0047b 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request_patch.go b/model_docker_upstream_request_patch.go index c4a78b15..597584ae 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_entitlement_usage_metrics.go b/model_entitlement_usage_metrics.go index bb1d5e6b..0328291d 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_error_detail.go b/model_error_detail.go index 48a7a9a2..37c719b9 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_eula.go b/model_eula.go index 09605a8b..b23b7db7 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_format.go b/model_format.go index 9a4a0ae4..3980b786 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_format_support.go b/model_format_support.go index 2c4103a4..8a8ef271 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_format_support_upstream.go b/model_format_support_upstream.go index 6d534e36..2dda93e3 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_geo_ip_location.go b/model_geo_ip_location.go index f88f58aa..487a87bb 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_go_package_upload.go b/model_go_package_upload.go index f5dede01..d5ca07c0 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type GoPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *GoPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *GoPackageUpload) 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 *GoPackageUpload) 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 *GoPackageUpload) 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 *GoPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *GoPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o GoPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_go_package_upload_request.go b/model_go_package_upload_request.go index c9ef3347..d6536e3c 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_package_upload.go b/model_helm_package_upload.go index 73f27c34..2df1208b 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type HelmPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *HelmPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *HelmPackageUpload) 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 *HelmPackageUpload) 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 *HelmPackageUpload) 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 *HelmPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *HelmPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o HelmPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_helm_package_upload_request.go b/model_helm_package_upload_request.go index 04d5d2ae..ed809da6 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream.go b/model_helm_upstream.go index ca3f6d1a..56670831 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request.go b/model_helm_upstream_request.go index 7a1a0efa..4b49bbbe 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request_patch.go b/model_helm_upstream_request_patch.go index 7278b88f..1d357846 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_hex_package_upload.go b/model_hex_package_upload.go index 4adebae5..ee3f5d72 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type HexPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *HexPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *HexPackageUpload) 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 *HexPackageUpload) 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 *HexPackageUpload) 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 *HexPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *HexPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o HexPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_hex_package_upload_request.go b/model_hex_package_upload_request.go index b16f9758..6ce0170a 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_history.go b/model_history.go index 3d1cc3ea..8d2cc6a3 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset.go b/model_history_fieldset.go index d242ecc7..7b5e6c7a 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset_raw.go b/model_history_fieldset_raw.go index d794a325..17c11a32 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_luarocks_package_upload.go b/model_luarocks_package_upload.go index 647a55fa..3ff40b58 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type LuarocksPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *LuarocksPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *LuarocksPackageUpload) 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 *LuarocksPackageUpload) 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 *LuarocksPackageUpload) 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 *LuarocksPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *LuarocksPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o LuarocksPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_luarocks_package_upload_request.go b/model_luarocks_package_upload_request.go index c9a5bb29..7c9ff4e0 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_package_upload.go b/model_maven_package_upload.go index a4d4d3ee..bc73209c 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -34,6 +34,7 @@ type MavenPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -511,6 +512,38 @@ func (o *MavenPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *MavenPackageUpload) 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 *MavenPackageUpload) 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 *MavenPackageUpload) 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 *MavenPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *MavenPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2989,6 +3022,9 @@ func (o MavenPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_maven_package_upload_request.go b/model_maven_package_upload_request.go index 8b0dfa36..d472a798 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream.go b/model_maven_upstream.go index 272fa27c..d54d0fa5 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request.go b/model_maven_upstream_request.go index e8ef6912..2f6412d8 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request_patch.go b/model_maven_upstream_request_patch.go index 8f907d10..0448f6e5 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_namespace.go b/model_namespace.go index 770ef050..15128b43 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_namespace_audit_log.go b/model_namespace_audit_log.go index 4184b408..87298e94 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_nested_license_policy.go b/model_nested_license_policy.go index 68b3822c..5ed5d135 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_policy.go b/model_nested_vulnerability_policy.go index 59d255ca..a002f007 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_scan_results.go b/model_nested_vulnerability_scan_results.go index 604ed335..ed8f6906 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_package_upload.go b/model_npm_package_upload.go index 20077634..883f5cc3 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type NpmPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *NpmPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *NpmPackageUpload) 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 *NpmPackageUpload) 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 *NpmPackageUpload) 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 *NpmPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *NpmPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o NpmPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_npm_package_upload_request.go b/model_npm_package_upload_request.go index 38a8d385..d40f3e99 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream.go b/model_npm_upstream.go index 66111cfa..c17da3e8 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request.go b/model_npm_upstream_request.go index 9d8957bb..f8f842df 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request_patch.go b/model_npm_upstream_request_patch.go index 55c40c8a..8a1f3463 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_package_upload.go b/model_nuget_package_upload.go index adb9430e..522218e1 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type NugetPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *NugetPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *NugetPackageUpload) 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 *NugetPackageUpload) 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 *NugetPackageUpload) 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 *NugetPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *NugetPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o NugetPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_nuget_package_upload_request.go b/model_nuget_package_upload_request.go index 532b1762..1a7b65cb 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream.go b/model_nuget_upstream.go index e23e112f..032d884c 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request.go b/model_nuget_upstream_request.go index 252c9d9e..f35930ea 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request_patch.go b/model_nuget_upstream_request_patch.go index cad45781..c2c75964 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization.go b/model_organization.go index 692f4105..37b9aeaa 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync.go b/model_organization_group_sync.go index c6d25bfb..6144fc5c 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_request.go b/model_organization_group_sync_request.go index 24576a8c..b54a4b30 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_status.go b/model_organization_group_sync_status.go index 30127698..99b6e352 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite.go b/model_organization_invite.go index 8a3fb356..d3beef54 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_extend.go b/model_organization_invite_extend.go index 72e1b8e8..592c9255 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_request.go b/model_organization_invite_request.go index 11686476..4f77c0e2 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update.go b/model_organization_invite_update.go index 1a2c20e9..c152837e 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update_request_patch.go b/model_organization_invite_update_request_patch.go index 4892c4de..8a4b2626 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership.go b/model_organization_membership.go index abebdb94..1e40a9c2 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy.go b/model_organization_package_license_policy.go index 0fdce801..eba8c159 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy_request.go b/model_organization_package_license_policy_request.go index b32b34a8..033f7dde 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.401.1 +API version: 1.417.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 d6f19ac5..e63be459 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy.go b/model_organization_package_vulnerability_policy.go index eccf4483..21a922e7 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy_request.go b/model_organization_package_vulnerability_policy_request.go index e788b091..feb1aa7d 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.401.1 +API version: 1.417.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 f65a3a42..a0b2472d 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team.go b/model_organization_team.go index 77b4d3c1..8304c0ba 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_members.go b/model_organization_team_members.go index cb663f2e..64de203f 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_membership.go b/model_organization_team_membership.go index c507877a..cf18168f 100644 --- a/model_organization_team_membership.go +++ b/model_organization_team_membership.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request.go b/model_organization_team_request.go index e1aac652..f41249c8 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request_patch.go b/model_organization_team_request_patch.go index 9c57699f..d83cb176 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_p2_package_upload.go b/model_p2_package_upload.go index ee31ec86..91e854a3 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type P2PackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *P2PackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *P2PackageUpload) 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 *P2PackageUpload) 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 *P2PackageUpload) 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 *P2PackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *P2PackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o P2PackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_p2_package_upload_request.go b/model_p2_package_upload_request.go index 37083370..73af7ae8 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package.go b/model_package.go index 5d8d6f33..6a677357 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type Package struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -462,6 +463,38 @@ func (o *Package) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *Package) 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 *Package) 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 *Package) 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 *Package) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *Package) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2797,6 +2830,9 @@ func (o Package) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_package_copy.go b/model_package_copy.go index 9e857d19..77084a5b 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type PackageCopy struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -463,6 +464,38 @@ func (o *PackageCopy) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *PackageCopy) 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 *PackageCopy) 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 *PackageCopy) 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 *PackageCopy) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PackageCopy) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2798,6 +2831,9 @@ func (o PackageCopy) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_package_copy_request.go b/model_package_copy_request.go index 55e71488..39a3dde2 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy.go b/model_package_deny_policy.go index 0503d88f..378f1e89 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request.go b/model_package_deny_policy_request.go index d1e6af38..348b83bd 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request_patch.go b/model_package_deny_policy_request_patch.go index b81695b1..6e3ff9f5 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_dependencies.go b/model_package_dependencies.go index d304331a..ab29184b 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_dependency.go b/model_package_dependency.go index ed09859c..e0143624 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file.go b/model_package_file.go index 14075348..9e763b1e 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file_parts_upload.go b/model_package_file_parts_upload.go index 291c5176..b2d33d3b 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload.go b/model_package_file_upload.go index ec141f9e..a507a1eb 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload_request.go b/model_package_file_upload_request.go index dfcd45e2..74168a38 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_evaluation_request.go b/model_package_license_policy_evaluation_request.go index 2cd38a4d..026e43e2 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_violation_log.go b/model_package_license_policy_violation_log.go index d9f693bb..5a196105 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.401.1 +API version: 1.417.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 6ca5d8e6..621e76d3 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_move.go b/model_package_move.go index d74cb0d4..7aa26b41 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type PackageMove struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -463,6 +464,38 @@ func (o *PackageMove) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *PackageMove) 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 *PackageMove) 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 *PackageMove) 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 *PackageMove) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PackageMove) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2798,6 +2831,9 @@ func (o PackageMove) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_package_move_request.go b/model_package_move_request.go index 22a945b2..484db87e 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_quarantine.go b/model_package_quarantine.go index 606dac40..bac24c03 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type PackageQuarantine struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -462,6 +463,38 @@ func (o *PackageQuarantine) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *PackageQuarantine) 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 *PackageQuarantine) 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 *PackageQuarantine) 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 *PackageQuarantine) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PackageQuarantine) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2797,6 +2830,9 @@ func (o PackageQuarantine) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_package_quarantine_request.go b/model_package_quarantine_request.go index cf8b5786..3ec27515 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_resync.go b/model_package_resync.go index eec24093..750a951d 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type PackageResync struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -462,6 +463,38 @@ func (o *PackageResync) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *PackageResync) 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 *PackageResync) 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 *PackageResync) 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 *PackageResync) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PackageResync) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2797,6 +2830,9 @@ func (o PackageResync) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_package_status.go b/model_package_status.go index dac4e9f2..9b5cc509 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_tag.go b/model_package_tag.go index f6ed6ccb..b36f5bc0 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type PackageTag struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -466,6 +467,38 @@ func (o *PackageTag) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *PackageTag) 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 *PackageTag) 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 *PackageTag) 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 *PackageTag) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PackageTag) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2801,6 +2834,9 @@ func (o PackageTag) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_package_tag_request.go b/model_package_tag_request.go index ae97f034..d5e2605c 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_usage_metrics.go b/model_package_usage_metrics.go index 2a3e3a6a..fa7e49d9 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability.go b/model_package_vulnerability.go index 9d9bdedc..a0437115 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_evaluation_request.go b/model_package_vulnerability_policy_evaluation_request.go index 39017422..2f14bf0e 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_violation_log.go b/model_package_vulnerability_policy_violation_log.go index 2d6f3c32..f618641f 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.401.1 +API version: 1.417.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 a32b0845..eb2872aa 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings.go b/model_provider_settings.go index 23f019b6..5696b2af 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_request.go b/model_provider_settings_request.go index cf92d53a..9e2fcca2 100644 --- a/model_provider_settings_request.go +++ b/model_provider_settings_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_request_patch.go b/model_provider_settings_request_patch.go index e25068b1..fcc7ec35 100644 --- a/model_provider_settings_request_patch.go +++ b/model_provider_settings_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_python_package_upload.go b/model_python_package_upload.go index b6055203..c230e9eb 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type PythonPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *PythonPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *PythonPackageUpload) 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 *PythonPackageUpload) 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 *PythonPackageUpload) 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 *PythonPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PythonPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o PythonPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_python_package_upload_request.go b/model_python_package_upload_request.go index 239038eb..22325435 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream.go b/model_python_upstream.go index 4b8ffc04..e40212d4 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request.go b/model_python_upstream_request.go index 517b8d22..ef8b47ae 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request_patch.go b/model_python_upstream_request_patch.go index d0111b37..08b086df 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_quota.go b/model_quota.go index 8628ac58..06afe512 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_quota_history.go b/model_quota_history.go index 124b2b25..df48360b 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_rate_check.go b/model_rate_check.go index d5a7ba61..57eb9169 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_raw_package_upload.go b/model_raw_package_upload.go index 66ded6c9..512a8660 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type RawPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *RawPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *RawPackageUpload) 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 *RawPackageUpload) 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 *RawPackageUpload) 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 *RawPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RawPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o RawPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_raw_package_upload_request.go b/model_raw_package_upload_request.go index 29f7dbe7..6530bd2e 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository.go b/model_repository.go index ab9fd7b1..45c3bedb 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -37,8 +37,9 @@ type Repository struct { // If checked, users can delete any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. DeleteOwn *bool `json:"delete_own,omitempty"` // This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. - DeletePackages *string `json:"delete_packages,omitempty"` - DeletedAt NullableTime `json:"deleted_at,omitempty"` + DeletePackages *string `json:"delete_packages,omitempty"` + // The datetime the repository was manually deleted at. + DeletedAt NullableTime `json:"deleted_at,omitempty"` // A description of the repository's purpose/contents. Description *string `json:"description,omitempty"` // The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. diff --git a/model_repository_audit_log.go b/model_repository_audit_log.go index 63d1f0e1..d47e8d35 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_create.go b/model_repository_create.go index 6ca92151..2d474c19 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -37,8 +37,9 @@ type RepositoryCreate struct { // If checked, users can delete any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. DeleteOwn *bool `json:"delete_own,omitempty"` // This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. - DeletePackages *string `json:"delete_packages,omitempty"` - DeletedAt NullableTime `json:"deleted_at,omitempty"` + DeletePackages *string `json:"delete_packages,omitempty"` + // The datetime the repository was manually deleted at. + DeletedAt NullableTime `json:"deleted_at,omitempty"` // A description of the repository's purpose/contents. Description *string `json:"description,omitempty"` // The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. diff --git a/model_repository_create_request.go b/model_repository_create_request.go index 70cc208c..9a2d435e 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_cidr.go b/model_repository_geo_ip_cidr.go index ff749f72..5a85871f 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_country_code.go b/model_repository_geo_ip_country_code.go index b7a197bd..6aacc635 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules.go b/model_repository_geo_ip_rules.go index 03dd2c26..deaaa330 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules_request.go b/model_repository_geo_ip_rules_request.go index 422bf29e..3ba3ce72 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.401.1 +API version: 1.417.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 f6d822ee..384b0582 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address.go b/model_repository_geo_ip_test_address.go index 62e911c9..d60ef152 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.401.1 +API version: 1.417.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 2ee2b978..328dca5d 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.401.1 +API version: 1.417.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 b24613bf..369a64ae 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key.go b/model_repository_gpg_key.go index 5e68c5c4..097e2b27 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key_create.go b/model_repository_gpg_key_create.go index 6263b3df..bf98c58a 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_dict.go b/model_repository_privilege_dict.go index 516da8c4..f426e54a 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input.go b/model_repository_privilege_input.go index f5f50dbf..056054cb 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request.go b/model_repository_privilege_input_request.go index 47447bf5..9dc03cce 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request_patch.go b/model_repository_privilege_input_request_patch.go index 2250add5..9ce8427c 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_request_patch.go b/model_repository_request_patch.go index 0f24aca5..019dfbc9 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key.go b/model_repository_rsa_key.go index a42b2f15..66f27414 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key_create.go b/model_repository_rsa_key_create.go index 8385d36d..301d82d3 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token.go b/model_repository_token.go index 2618b8d6..129962dc 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh.go b/model_repository_token_refresh.go index e7ea7520..8ae77e0f 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh_request.go b/model_repository_token_refresh_request.go index e49820fc..6b0096f1 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request.go b/model_repository_token_request.go index 8e91bec1..a118905a 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request_patch.go b/model_repository_token_request_patch.go index 14c1d4f3..a96ea0ff 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync.go b/model_repository_token_sync.go index 31d8318d..13c9d1bd 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync_request.go b/model_repository_token_sync_request.go index 12c0a8c6..d82ea53c 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook.go b/model_repository_webhook.go index d0f85e8d..95383709 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request.go b/model_repository_webhook_request.go index 54bab1aa..e301522c 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request_patch.go b/model_repository_webhook_request_patch.go index aa9b8596..2ed064cf 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_resources_rate_check.go b/model_resources_rate_check.go index 43efac02..1d89fbf0 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_package_upload.go b/model_rpm_package_upload.go index c10e16d8..0b41bffb 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type RpmPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *RpmPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *RpmPackageUpload) 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 *RpmPackageUpload) 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 *RpmPackageUpload) 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 *RpmPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RpmPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o RpmPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_rpm_package_upload_request.go b/model_rpm_package_upload_request.go index 28acd337..8ccaf344 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream.go b/model_rpm_upstream.go index 5780e4ee..d4f06c64 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request.go b/model_rpm_upstream_request.go index 1dfb9400..19c6fbb6 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request_patch.go b/model_rpm_upstream_request_patch.go index 80bbd536..ac6dd696 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_package_upload.go b/model_ruby_package_upload.go index 0bde80d1..45d58f72 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type RubyPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *RubyPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *RubyPackageUpload) 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 *RubyPackageUpload) 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 *RubyPackageUpload) 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 *RubyPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RubyPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o RubyPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_ruby_package_upload_request.go b/model_ruby_package_upload_request.go index 0084da61..4053a25c 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream.go b/model_ruby_upstream.go index 6b8f33fb..d5280fad 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request.go b/model_ruby_upstream_request.go index c131e5b4..2fbad3a8 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request_patch.go b/model_ruby_upstream_request_patch.go index cbc0bb46..d5dcbf32 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_service.go b/model_service.go index e91c9287..a5a12808 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_service_request.go b/model_service_request.go index adbe1ebd..59a028d7 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_service_request_patch.go b/model_service_request_patch.go index cf67e563..131959e6 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_service_teams.go b/model_service_teams.go index 0023d8c1..ea96c5bd 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_status_basic.go b/model_status_basic.go index 1c764e0f..b3657a3e 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit.go b/model_storage_allocated_limit.go index 34586b8e..f94f63a0 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit_raw.go b/model_storage_allocated_limit_raw.go index 148a2e15..9d3bf035 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_region.go b/model_storage_region.go index 16916f1f..83b5f7e3 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage.go b/model_storage_usage.go index 3c18427b..beb43dc7 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage_raw.go b/model_storage_usage_raw.go index 8a06dacc..935920a3 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_package_upload.go b/model_swift_package_upload.go index abdeaa70..6f0d5269 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -36,6 +36,7 @@ type SwiftPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -538,6 +539,38 @@ func (o *SwiftPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *SwiftPackageUpload) 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 *SwiftPackageUpload) 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 *SwiftPackageUpload) 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 *SwiftPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *SwiftPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2908,6 +2941,9 @@ func (o SwiftPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_swift_package_upload_request.go b/model_swift_package_upload_request.go index 12d479d0..7ae90362 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream.go b/model_swift_upstream.go index cbd3d28c..894b6059 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request.go b/model_swift_upstream_request.go index 43b4d3c8..38c45aec 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request_patch.go b/model_swift_upstream_request_patch.go index 1f927e7f..96f50094 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_terraform_package_upload.go b/model_terraform_package_upload.go index fb2b80b5..fa1bfd38 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type TerraformPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -460,6 +461,38 @@ func (o *TerraformPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *TerraformPackageUpload) 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 *TerraformPackageUpload) 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 *TerraformPackageUpload) 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 *TerraformPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *TerraformPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2763,6 +2796,9 @@ func (o TerraformPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_terraform_package_upload_request.go b/model_terraform_package_upload_request.go index e4396b80..d8795a80 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_usage.go b/model_usage.go index 0693a58f..d8952094 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_fieldset.go b/model_usage_fieldset.go index 8732b7df..a896bbc7 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits.go b/model_usage_limits.go index bb429e3e..c963a7f8 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits_raw.go b/model_usage_limits_raw.go index af07632b..3578c34e 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_raw.go b/model_usage_raw.go index f2d297b3..69b9b943 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token.go b/model_user_auth_token.go index 2eb405e7..628eb2e4 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token_request.go b/model_user_auth_token_request.go index 786eefea..f78c1b5c 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_user_brief.go b/model_user_brief.go index b2946ca2..2dd4f734 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_user_profile.go b/model_user_profile.go index f6d6cfa3..3d8d7b5a 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_vagrant_package_upload.go b/model_vagrant_package_upload.go index b906f29f..54170266 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ @@ -32,6 +32,7 @@ type VagrantPackageUpload struct { DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` Distro NullableDistribution `json:"distro,omitempty"` DistroVersion *DistributionVersion `json:"distro_version,omitempty"` Downloads *int64 `json:"downloads,omitempty"` @@ -465,6 +466,38 @@ func (o *VagrantPackageUpload) UnsetDescription() { o.Description.Unset() } +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *VagrantPackageUpload) 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 *VagrantPackageUpload) 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 *VagrantPackageUpload) 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 *VagrantPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + // GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). func (o *VagrantPackageUpload) GetDistro() Distribution { if o == nil || IsNil(o.Distro.Get()) { @@ -2754,6 +2787,9 @@ func (o VagrantPackageUpload) ToMap() (map[string]interface{}, error) { if o.Description.IsSet() { toSerialize["description"] = o.Description.Get() } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } if o.Distro.IsSet() { toSerialize["distro"] = o.Distro.Get() } diff --git a/model_vagrant_package_upload_request.go b/model_vagrant_package_upload_request.go index 642c02fd..2e851301 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability.go b/model_vulnerability.go index e965ac95..a5f73b08 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan.go b/model_vulnerability_scan.go index 29a736c2..37659a82 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results.go b/model_vulnerability_scan_results.go index 30075e9e..76519d07 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results_list.go b/model_vulnerability_scan_results_list.go index 46b180eb..71a14469 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_version.go b/model_vulnerability_scan_version.go index bc762757..8710c52f 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/model_webhook_template.go b/model_webhook_template.go index cf732515..170c62de 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.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/response.go b/response.go index fb3d6c26..8b9e3d3d 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ diff --git a/utils.go b/utils.go index c83a98d8..c5097160 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.401.1 +API version: 1.417.0 Contact: support@cloudsmith.io */ From 95a8fc5d0c72642af7874acf486697b903ff30ec Mon Sep 17 00:00:00 2001 From: Bartosz Blizniak Date: Fri, 24 May 2024 10:06:05 -0700 Subject: [PATCH 2/2] Update team management bindings --- CONTRIBUTING.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..86172aac --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,22 @@ +# Contributing + +Please refer to Cloudsmith's standard guide on [Open-Source Contributing](https://help.cloudsmith.io/docs/contributing). + +## Updating bindings + +* Update `PKG_VERSION` in `bin/generate` +* Run `bin/generate` to generate bindings +* Create a PR specifing API and binding version +* Create git tag and release in github + +## Contributor License Agreement + +By making any contributions to Cloudsmith Ltd projects you agree to be bound by the terms of the Cloudsmith Ltd [Contributor License Agreement](https://help.cloudsmith.io/docs/contributor-license-agreement). + +## Coding Conventions + +Follow existing structure and style of the build and release scripts. Languages bindings are generated automatically. + +## Need Help? + +See the section for raising a question in the [Contributing Guide](https://help.cloudsmith.io/docs/contributing). \ No newline at end of file